RJVB / macstrop

RJVB's repository of alternative macports, with ports missing from or overriding those in the standard collection, including a set of KF5 ports.
20 stars 9 forks source link

openssl3 fails to build on Linux: `Can't locate lib.pm in @INC` #114

Closed barracuda156 closed 2 weeks ago

barracuda156 commented 1 month ago
--->  Fetching distfiles for openssl3
--->  Verifying checksums for openssl3
--->  Checksumming openssl-3.2.1.tar.gz
--->  Extracting openssl3
--->  Extracting openssl-3.2.1.tar.gz
--->  Applying patches to openssl3
--->  Applying e9d7083e241670332e0443da0f0d4ffb52829f08.patch
patching file ./ssl/ssl_lib.c
Hunk #1 succeeded at 4485 (offset 28 lines).
patching file ./ssl/ssl_sess.c
patching file ./ssl/statem/statem_srvr.c
--->  Configuring openssl3
Can't locate lib.pm in @INC (you may need to install the lib module) (@INC contains: /usr/lib/perl5/site_perl/5.34.1/riscv64-linux /usr/lib/perl5/site_perl/5.34.1 /usr/lib/perl5/vendor_perl/5.34.1/riscv64-linux /usr/lib/perl5/vendor_perl/5.34.1 /usr/lib/perl5/5.34.1/riscv64-linux /usr/lib/perl5/5.34.1) at /opt/local/var/macports/build/_home_svacchanda_macstrop_devel_openssl3/openssl3/work/openssl-3.2.1/Configure line 16.
BEGIN failed--compilation aborted at /opt/local/var/macports/build/_home_svacchanda_macstrop_devel_openssl3/openssl3/work/openssl-3.2.1/Configure line 16.
Command failed:  cd "/opt/local/var/macports/build/_home_svacchanda_macstrop_devel_openssl3/openssl3/work/openssl-3.2.1" && bash -o pipefail -c './config  --prefix=/opt/local/libexec/openssl3 -L/opt/local/lib --openssldir=/opt/local/libexec/openssl3/etc/openssl shared zlib --libdir=/opt/local/libexec/openssl3/lib -no-tests -no-docs |& tee /opt/local/var/macports/build/_home_svacchanda_macstrop_devel_openssl3/openssl3/work/.macports.openssl3.configure.log' 
Exit code: 2
Error: Failed to configure openssl3: configure failure: command execution failed
Error: See /opt/local/var/macports/logs/_home_svacchanda_macstrop_devel_openssl3/openssl3/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug.
Error: Processing of port openssl failed

So perl5.34 is unavailable, but openssl3 does not ask for it, however looks into versioned locations.

barracuda156 commented 1 month ago

Also openssl11:

--->  Extracting openssl11
--->  Extracting openssl-1.1.1w.tar.gz
--->  Configuring openssl11
Operating system: riscv64-whatever-linux2
Can't locate lib.pm in @INC (you may need to install the lib module) (@INC contains: /usr/lib/perl5/site_perl/5.34.1/riscv64-linux /usr/lib/perl5/site_perl/5.34.1 /usr/lib/perl5/vendor_perl/5.34.1/riscv64-linux /usr/lib/perl5/vendor_perl/5.34.1 /usr/lib/perl5/5.34.1/riscv64-linux /usr/lib/perl5/5.34.1) at ./Configure line 16.
BEGIN failed--compilation aborted at ./Configure line 16.
Can't locate lib.pm in @INC (you may need to install the lib module) (@INC contains: /usr/lib/perl5/site_perl/5.34.1/riscv64-linux /usr/lib/perl5/site_perl/5.34.1 /usr/lib/perl5/vendor_perl/5.34.1/riscv64-linux /usr/lib/perl5/vendor_perl/5.34.1 /usr/lib/perl5/5.34.1/riscv64-linux /usr/lib/perl5/5.34.1) at ./Configure line 16.
BEGIN failed--compilation aborted at ./Configure line 16.
This system (linux-generic32) is not supported. See file INSTALL for details.
Command failed:  cd "/opt/local/var/macports/build/_home_svacchanda_macstrop_devel_openssl11/openssl11/work/openssl-1.1.1w" && bash -o pipefail -c './config  --prefix=/opt/local/libexec/openssl11 -L/opt/local/lib --openssldir=/opt/local/libexec/openssl11/etc/openssl shared zlib |& tee /opt/local/var/macports/build/_home_svacchanda_macstrop_devel_openssl11/openssl11/work/.macports.openssl11.configure.log' 
Exit code: 1
Error: Failed to configure openssl11: configure failure: command execution failed
Error: See /opt/local/var/macports/logs/_home_svacchanda_macstrop_devel_openssl11/openssl11/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug.
Error: Processing of port openssl11 failed
RJVB commented 1 month ago

This has to be an issue with perl not being installed because of failing patchfile issue that must have been resolved by now

barracuda156 commented 2 weeks ago

Closing, since I have installed both openssl.