pkgsrc-Bugs archive

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

pkg/55997: lang/perl5 fails to build on NetBSD-current



>Number:         55997
>Category:       pkg
>Synopsis:       lang/perl5 fails to build on NetBSD-current
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Feb 17 14:20:00 +0000 2021
>Originator:     Martin Husemann
>Release:        NetBSD 9.99.80
>Organization:
The NetBSD Foundation, Inc.
>Environment:
System: NetBSD seven-days-to-the-wolves.aprisoft.de 9.99.80 NetBSD 9.99.80 (GENERIC) #437: Wed Feb 17 11:59:57 CET 2021 martin%seven-days-to-the-wolves.aprisoft.de@localhost:/work/src/sys/arch/amd64/compile/GENERIC amd64
Architecture: x86_64
Machine: amd64
>Description:

I am not sure this is a pkgsrc problem - I can reproduce the issue in various
setups using COMPAT_NETBSD32 (in this case: a i386 chroot on an amd64 system).
I am pretty sure the same perl pkg did build a few days ago, and the
build failure looks like a bogus @INC environment - so could be caused
by a broken /bin/sh or broken /usr/bin/make as well.

The perl build fails for me with:

--- lib/auto/Encode/Encode.so ---
LD_LIBRARY_PATH=/tmp/pkgobj/lang/perl5/work/perl-5.32.1 ./miniperl -Ilib make_ext.pl lib/auto/Encode/Encode.so  MAKE="/usr/bin/make" LIBPERL_A=libperl.so LINKTYPE=dynamic
ERROR from evaluation of /tmp/pkgobj/lang/perl5/work/perl-5.32.1/cpan/Encode/Byte/Makefile.PL: Can't locate File/Spec/Functions.pm in @INC (you may need to install the File::Spec::Functions module) (@INC contains: / /.work.log/cv.h/Carp/lib /.work.log/cv.h/PathTools /.work.log/cv.h/PathTools/Cwd.pm / / / / /.work.log/embedvar.h/re / / / / / / / / /.work.log/intrpvar.h /.work.log/charclass_invlists.h/Encode .) at ./Makefile.PL line 4.
BEGIN failed--compilation aborted at ./Makefile.PL line 4.
Unsuccessful Makefile.PL(cpan/Encode): code=512 at make_ext.pl line 536.
*** [lib/auto/Encode/Encode.so] Error code 2


and the file exists:

# ll ./work/perl-5.32.1/lib/File/Spec/Functions.pm 
-r--r--r--  1 root  513  2348 Dec 18 11:04 ./work/perl-5.32.1/lib/File/Spec/Functions.pm

but notice the apparently totaly broken @INC listed.

>How-To-Repeat:

build pkgsrc/lang/perl5 on latest -current? or maybe only COMPAT_NETBSD32
latest -current?

>Fix:
n/a



Home | Main Index | Thread Index | Old Index