Python39 poudriere build failure /usr/local/lib/libcrypto.so.12 not found

I'm getting the following error when building lang/python39:
Code:
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   python39-3.9.19 depends on package: pkgconf>=1.3.0_1 - not found
===>   Installing existing package /packages/All/pkgconf-2.2.0,1.pkg
[13-default-job-01] Installing pkgconf-2.2.0,1...
[13-default-job-01] Extracting pkgconf-2.2.0,1: .......... done
===>   python39-3.9.19 depends on package: pkgconf>=1.3.0_1 - found
===>   Returning to build of python39-3.9.19
===>   python39-3.9.19 depends on file: /usr/local/lib/libcrypto.so.12 - not found
===>   Installing existing package /packages/All/openssl-3.0.13_4,1.pkg
[13-default-job-01] Installing openssl-3.0.13_4,1...
[13-default-job-01] Extracting openssl-3.0.13_4,1: .......... done
===>   python39-3.9.19 depends on file: /usr/local/lib/libcrypto.so.12 - not found
*** Error code 1
I've tried deleting my poudriere jail and recreating it, updating the port tree, and still getting the same error.
Anyone getting similar error. I do have `DEFAULT_VERSIONS+= ssl=openssl` in make.conf.
 
After changing
DEFAULT_VERSIONS+= ssl=openssl to
DEFAULT_VERSIONS+= ssl=openssl31
I successfully built python.
However, when I tried to build other packages, somehow python got rebuilt and getting error of `/usr/local/lib/libcrypto.so.13 - not found` on a different package
Then I changed it to
DEFAULT_VERSIONS+= ssl=openssl32 and built that package.

The most recent pkg I was trying to build was dns/bind918, which has a dependency devel/doxygen and the build failed with
`/usr/local/lib/libcrypto.so.13 not found ` in `cmake-core` and the error is now
`cmake-core-3.29.3 depends on file: /usr/local/lib/libcrypto.so.15 - not found`
I don't know what I have messed up.
 
After changing
DEFAULT_VERSIONS+= ssl=openssl to
DEFAULT_VERSIONS+= ssl=openssl31
I successfully built python.
However, when I tried to build other packages, somehow python got rebuilt and getting error of `/usr/local/lib/libcrypto.so.13 - not found` on a different package
Then I changed it to
DEFAULT_VERSIONS+= ssl=openssl32 and built that package.
Now you have a whole bunch of stuff installed that's linked to all sorts of different versions of OpenSSL. Don't change this halfway through a build, set it once then rebuild everything so everything gets linked to the same OpenSSL version.

If you're on 14.0+ leave this setting on OpenSSL from the base. There's no real need to set it to any of the port OpenSSL versions.
 
I have tried deleting all options and configure every single port option from scratch, but still getting the same error. I'm on 13.2. Due to some hardware issue, I couldn't upgrade to 13.3. I tried recreating poudriere jail with 13.3, same result.
 
Due to some hardware issue, I couldn't upgrade to 13.3.
I very much doubt a hardware issue is going to prevent an upgrade to 13.3. If there's an actual hardware issue you're going to have that issue on any version.

I tried recreating poudriere jail with 13.3, same result.
A jail cannot have a higher version than the host. Jails can only be at the same or lower version. There's backwards compatibility in the kernel, not forward compatibility.
 
Back
Top