lang/python27 failed today in my weekly poudriere builds on 12.4-RELEASE with latest *and* quarterly ports
I know this thing is ancient and should rot in hell, but some ports still depend on that cruft (in my case FreeCAD, bhyve-firmware and nexctcloud-client).
Here are the (i think) relevant parts of the logfile:
Looking back through the logs, python27 was last queued and built at july 24th with the same version (2.7.18_2), and since then there were no updates to the port. So most likely updates to OpenSSL might have caused this? The official packages for FreeBSD:12:amd64 were build on 5.9.2023, since then security/openssl was updated to 1.1.1w,1.
Wild guess: as 1.1.1w is the final version of 1.1.1 there have been some changes/additions to simplify the transition to OpenSSL v3 and the ancient python27 build process doesn't play well with that? (in other words, I *really* hope "SSLv3_method" is referring to something OpenSSLv3 related, not to SSLv3 which is thankfully dead and gone for several years now...)
I know this thing is ancient and should rot in hell, but some ports still depend on that cruft (in my case FreeCAD, bhyve-firmware and nexctcloud-client).
Here are the (i think) relevant parts of the logfile:
Code:
building '_ssl' extension
cc -fPIC -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DNDEBUG -I. -IInclude -I./Include -I/usr/local/include -I/wrkdirs/usr/ports/lang/python27/work/Python-2.7.18/Include -I/wrkdirs/usr/ports/lang/python27/work/Python-2.7.18 -c /wrkdirs/usr/ports/lang/python27/work/Python-2.7.18/Modules/_ssl.c -o build/temp.freebsd-12.4-RELEASE-p5-amd64-2.7/wrkdirs/usr/ports/lang/python27/work/Python-2.7.18/Modules/_ssl.o
In file included from /wrkdirs/usr/ports/lang/python27/work/Python-2.7.18/Modules/_ssl.c:47:
In file included from /wrkdirs/usr/ports/lang/python27/work/Python-2.7.18/Modules/socketmodule.h:59:
In file included from /usr/include/bluetooth.h:54:
/usr/include/netgraph/bluetooth/include/ng_btsocket.h:244:2: warning: "Make sure new member of socket address initialized" [-W#warnings]
#warning "Make sure new member of socket address initialized"
^
1 warning generated.
cc -shared -lpthread -L/usr/local/lib -Wl,-rpath,/usr/local/lib -fstack-protector-strong -lpthread -L/usr/local/lib -Wl,-rpath,/usr/local/lib -fstack-protector-strong -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -I/usr/local/include build/temp.freebsd-12.4-RELEASE-p5-amd64-2.7/wrkdirs/usr/ports/lang/python27/work/Python-2.7.18/Modules/_ssl.o -L/usr/local/lib -L. -lssl -lcrypto -lpython2.7 -o build/lib.freebsd-12.4-RELEASE-p5-amd64-2.7/_ssl.so
*** WARNING: renaming "_ssl" since importing it failed: build/lib.freebsd-12.4-RELEASE-p5-amd64-2.7/_ssl.so: Undefined symbol "SSLv3_method"
[...]
===> Building package for python27-2.7.18_2
pkg-static: Unable to access file /wrkdirs/usr/ports/lang/python27/work/stage/usr/local/lib/python2.7/lib-dynload/_ssl.so:No such file or directory
*** Error code 1
Looking back through the logs, python27 was last queued and built at july 24th with the same version (2.7.18_2), and since then there were no updates to the port. So most likely updates to OpenSSL might have caused this? The official packages for FreeBSD:12:amd64 were build on 5.9.2023, since then security/openssl was updated to 1.1.1w,1.
Wild guess: as 1.1.1w is the final version of 1.1.1 there have been some changes/additions to simplify the transition to OpenSSL v3 and the ancient python27 build process doesn't play well with that? (in other words, I *really* hope "SSLv3_method" is referring to something OpenSSLv3 related, not to SSLv3 which is thankfully dead and gone for several years now...)