Opened 2 years ago

Last modified 14 months ago

#66337 assigned defect

py-m2crypto @0.38.0_1 failing to build

Reported by: jmroot (Joshua Root) Owned by: aque (Allan Que)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: py-m2crypto

Description

Example log: https://build.macports.org/builders/ports-12_x86_64-builder/builds/48348/steps/install-port/logs/stdio

Relevant error seems to be:

src/SWIG/_m2crypto_wrap.c:10608:17: error: implicit declaration of function 'OPENSSL_sk_find_all' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
  result = (int)OPENSSL_sk_find_all(arg1,(void const *)arg2,arg3);
                ^

Change History (4)

comment:1 Changed 2 years ago by aque (Allan Que)

This seems to be an issue only with Python 3.7. I get the same error when building with it, but not with python36, python38 and python39.

comment:2 Changed 2 years ago by jmroot (Joshua Root)

comment:3 Changed 2 years ago by aque (Allan Que)

It fails here as well. I then tried python35 and tested with python310 - both were successful.

comment:4 Changed 14 months ago by aque (Allan Que)

Issue caused by an extra include "-I/opt/local/libexec/openssl11/include" in py27 and py37 builds. Builds were successful after removing the folder. More info in https://github.com/macports/macports-ports/pull/20551#issuecomment-1732367841.

Note: See TracTickets for help on using tickets.