pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/52276: lang/perl5 (5.26.0) does not compile on Solaris 11.3



>Number:         52276
>Category:       pkg
>Synopsis:       lang/perl5 (5.26.0) does not compile on Solaris 11.3
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jun 06 12:50:00 +0000 2017
>Originator:     Joern Clausen
>Release:        
>Organization:
University of Bielefeld
>Environment:
>Description:
The updated version of lang/perl5 does not compile on Solaris 11.3. The build ultimately fails with


/opt/pkgsrc/pkg-hrz/pkgsrc/lang/perl5/work.pkgsrc-sol11i86/perl-5.26.0/cpan/Math-BigInt-FastCalc/../../miniperl "-I../../lib" -MExtUtils::Command::MM -e 'cp_nonempty' -- FastCalc.bs ../../lib/auto/Math/BigInt/FastCalc/FastCalc.bs 644
rm -f ../../lib/auto/Math/BigInt/FastCalc/FastCalc.so
gcc  -shared -m64 -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -Wl,-R/opt/pkg-hrz/20170529/lib -L/usr/gnu/lib -fstack-protector-strong FastCalc.o  -o ../../lib/auto/Math/BigInt/FastCalc/FastCalc.so
chmod 755 ../../lib/auto/Math/BigInt/FastCalc/FastCalc.so
LD_LIBRARY_PATH=/opt/pkgsrc/pkg-hrz/pkgsrc/lang/perl5/work.pkgsrc-sol11i86/perl-5.26.0  ./perl -Ilib -I. -f pod/buildtoc -q
bash: line 2: ./perl: No such file or directory
*** [pod/perltoc.pod] Error code 127

bmake: stopped in /opt/pkgsrc/pkg-hrz/pkgsrc/lang/perl5/work.pkgsrc-sol11i86/perl-5.26.0
1 error


but there are earlier errors like


gcc  -shared -m64 -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -Wl,-R/opt/pkg-hrz/20170529/lib -L/usr/gnu/lib -fstack-protector-strong shared.o  -o ../../lib/auto/threads/shared/shared.so
chmod 755 ../../lib/auto/threads/shared/shared.so
bash: line 1: ./perl: No such file or directory
WARNING: re-sorting MANIFEST
bash: line 1: ./perl: No such file or directory

        Making utilities
../miniperl -I../lib encguess.PL
Extracting encguess (with variable substitutions)
../miniperl -I../lib corelist.PL
Extracting corelist (with variable substitutions)
../miniperl -I../lib cpan.PL
Extracting cpan (with variable substitutions)


Extracting the Perl sources outside pkgsrc and configuring it with "./Configure -d -Dcc=gcc" results in a successful build. Comparing the two builds, the failing command "./perl pod/buildtoc" comes at a much later point in the build, when "perl" has actually been built.
>How-To-Repeat:

>Fix:



Home | Main Index | Thread Index | Old Index