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
The NetBSD Foundation, Inc.
System: NetBSD 9.99.80 NetBSD 9.99.80 (GENERIC) #437: Wed Feb 17 11:59:57 CET 2021 amd64
Architecture: x86_64
Machine: amd64

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/ ---
LD_LIBRARY_PATH=/tmp/pkgobj/lang/perl5/work/perl-5.32.1 ./miniperl -Ilib lib/auto/Encode/  MAKE="/usr/bin/make" 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/ 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/ / / / / /.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 line 536.
*** [lib/auto/Encode/] Error code 2

and the file exists:

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

but notice the apparently totaly broken @INC listed.


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


Home | Main Index | Thread Index | Old Index