> swigging SWIG/_m2crypto.i to SWIG/_m2crypto_wrap.c > /usr/local/bin/swig3.0 -python -I/usr/local/include -I/usr/local/include/python2.7 -I/usr/local/include -I/usr/local/include/openssl -I/usr/bin/../lib/clang/4.0.0/include -I/usr/include -includeall -modern -builtin -outdir /wrkdirs/usr/ports/security/py-m2crypto/work-py27/M2Crypto-0.30.1/M2Crypto -o SWIG/_m2crypto_wrap.c SWIG/_m2crypto.i > /usr/include/x86/_types.h:67: Error: Syntax error in input(1). During BSDCan 2018 the intention to update OpenSSL in base to 1.1.x branch was documented. Intention is to update 12-STABLE to current 1.1.0 and subsequently update it to 1.1.1 when that is released. Poudriere log: https://keg.brnrd.eu/data/111amd64-default-openssl110/2018-06-11_10h42m37s/logs/errors/py27-m2crypto-0.30.1.log
Add a note here that Viktor Dukhovni <ietf-dane at dukhovni.org> submitted a patch at https://lists.freebsd.org/pipermail/freebsd-python/2018-September/015429.html
A commit references this bug: Author: sunpoet Date: Mon Sep 24 11:14:19 UTC 2018 New revision: 480594 URL: https://svnweb.freebsd.org/changeset/ports/480594 Log: Fix build with OpenSSL 1.1.* PR: 229019 Reported by: brnrd Obtained by: Viktor Dukhovni <ietf-dane at dukhovni.org> Reference: https://lists.freebsd.org/pipermail/freebsd-python/2018-September/015429.html Changes: head/security/py-m2crypto/Makefile head/security/py-m2crypto/files/ head/security/py-m2crypto/files/patch-SWIG-_m2crypto.i head/security/py-m2crypto/files/patch-setup.py
I've test it with the following cases: - python27 + base openssl (1.0.2*) - python36 + base openssl - python36 + openssl-devel (1.1.0i) python27 with openssl-devel was skipped due to unsolved build failure of _hashlib.so and _ssl.so.
Committed. Thanks!