sparc-sun-solaris2.10-gcc -c -DPERL_CORE -fwrapv -fno-strict-aliasing -pipe -I/g entoo/prefix32/usr/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPERL_USE _SAFE_PUTENV -O2 -pipe -Wall -Werror=declaration-after-statement -Werror=pointer -arith -Wextra -Wc++-compat -Wwrite-strings -fPIC miniperlmain.c sparc-sun-solaris2.10-gcc -o miniperl \ opmini.o perlmini.o gv.o toke.o perly.o pad.o regcomp.o dump.o util.o mg.o reentr.o mro_core.o keywords.o hv.o av.o run.o pp_hot.o sv.o pp.o scope.o pp_ctl .o pp_sys.o doop.o doio.o regexec.o utf8.o taint.o deb.o universal.o globals.o p erlio.o perlapi.o numeric.o mathoms.o locale.o pp_pack.o pp_sort.o caretx.o dquo te.o time64.o miniperlmain.o -lsocket -ldl -lm -lc /gentoo/prefix32/usr/sparc-sun-solaris2.10/binutils-bin/2.29.1/ld: pp_sys.o: undefined reference to symbol 'h_errno@@SUNW_0.7' /lib/libnsl.so.1: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status make: *** [makefile:357: lib/buildcustomize.pl] Error 1
x86_64-pc-solaris2.11-gcc -c -DPERL_CORE -fwrapv -fno-strict-aliasing -pipe -I/gentoo/prefix64/usr/include -m64 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPERL_USE_SAFE_PUTENV -O2 -pipe -Wall -Werror=declaration-after-statement -Werror=pointer-arith -Wextra -Wc++-compat -Wwrite-strings -fPIC op.c x86_64-pc-solaris2.11-gcc -m64 -o miniperl \ opmini.o perlmini.o gv.o toke.o perly.o pad.o regcomp.o dump.o util.o mg.o reentr.o mro_core.o keywords.o hv.o av.o run.o pp_hot.o sv.o pp.o scope.o pp_ctl.o pp_sys.o doop.o doio.o regexec.o utf8.o taint.o deb.o universal.o globals.o perlio.o perlapi.o numeric.o mathoms.o locale.o pp_pack.o pp_sort.o caretx.o dquote.o time64.o miniperlmain.o -lsocket -ldl -lm -lc /gentoo/prefix64/usr/x86_64-pc-solaris2.11/binutils-bin/2.29.1/ld: pp_sys.o: undefined reference to symbol 'h_errno@@SUNW_0.7' /lib/amd64/libnsl.so.1: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status make: *** [makefile:357: lib/buildcustomize.pl] Error 1
OK so Solaris does need -lnsl (while we got rid of it everywhere else)...
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b8ba085fab5473f384c355d76399c6d6a8bafdc1 commit b8ba085fab5473f384c355d76399c6d6a8bafdc1 Author: Fabian Groffen <grobian@gentoo.org> AuthorDate: 2019-05-22 08:49:05 +0000 Commit: Fabian Groffen <grobian@gentoo.org> CommitDate: 2019-05-22 08:49:26 +0000 dev-lang/perl: fix patch disabling for Solaris, bug #684024 Closes: https://bugs.gentoo.org/684024 Signed-off-by: Fabian Groffen <grobian@gentoo.org> Package-Manager: Portage-2.3.62, Repoman-2.3.11 dev-lang/perl/perl-5.28.2-r1.ebuild | 2 +- dev-lang/perl/perl-5.28.9999.ebuild | 2 +- dev-lang/perl/perl-5.30.0_rc2.ebuild | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5afd6764237be4bf787f612fc1bdc4165b1a4b2d commit 5afd6764237be4bf787f612fc1bdc4165b1a4b2d Author: Fabian Groffen <grobian@gentoo.org> AuthorDate: 2019-05-22 08:50:13 +0000 Commit: Fabian Groffen <grobian@gentoo.org> CommitDate: 2019-05-22 08:50:13 +0000 profiles/prefix/sunos/solaris/package.mask: drop perl mask perl was fixed for Solaris Bug: https://bugs.gentoo.org/684024 Signed-off-by: Fabian Groffen <grobian@gentoo.org> profiles/prefix/sunos/solaris/package.mask | 4 ---- 1 file changed, 4 deletions(-)