easybuild-easyblocks
easybuild-easyblocks copied to clipboard
Perl build fails when PERL5LIB variable is set.
Output from the log:
== FAILED: Installation ended unsuccessfully (build directory: /home/g/gwolosh/.local/easybuild/build/Perl/5.32.0/GCCcore-10.2.0): build failed (first 300 chars): cmd " perl Makefile.PL PREFIX=/opt/site/easybuild/software/Perl/5.32.0-GCCcore-10.2.0 " exited with exit code 127 and output: perl: symbol lookup error: /usr/lib64/perl5/vendor_perl/auto/Cwd/Cwd.so: undefined symbol: Perl_xs_apiversion_bootcheck (took 25 min 46 sec) == Results of the build can be found in the log file(s) /scratch/eb-3jyvszub/easybuild-Perl-5.32.0-20210217.085104.mDmWB.log ERROR: Build of /opt/site/easybuild/software/EasyBuild/4.3.2/easybuild/easyconfigs/p/Perl/Perl-5.32.0-GCCcore-10.2.0.eb failed (err: 'build failed (first 300 chars): cmd " perl Makefile.PL PREFIX=/opt/site/easybuild/software/Perl/5.32.0-GCCcore-10.2.0 " exited with exit code 127 and output:\nperl: symbol lookup error: /usr/lib64/perl5/vendor_perl/auto/Cwd/Cwd.so: undefined symbol: Perl_xs_apiversion_bootcheck\n')
unsetting PERL5LIB fixed this issue.
Perhaps warn user when $PERL5LIB is set