pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
perl build with PKG_DEVELOPER=yes fails for me / pbulk setup woes
Hi !
On a freshly checked out (2020-02-06) pkgsrc from anoncvs.netbsd.org a
perl5 build with
PKG_DEVELOPER=yes set fails for me with
....
/bin/ln -s /usr/pkg/lib/perl5/man/man1/perllink.1
/usr/pkgsrc/lang/perl5/work/.destdir/usr/pkg/man/man1/perllink.1
=> Automatic manual page handling
=> Generating post-install file lists
=> Checking file-check results for perl-5.32.1
=> Checking for non-existent script interpreters in perl-5.32.1
=> Checking file permissions in perl-5.32.1
=> Checking for missing run-time search paths in perl-5.32.1
ERROR: lib/perl5/5.32.0/x86_64-netbsd-thread-multi/auto/B/B.so: missing
library: libperl.so
ERROR:
lib/perl5/5.32.0/x86_64-netbsd-thread-multi/auto/Compress/Raw/Bzip2/Bzip2.so:
missing library: libperl.so
ERROR:
lib/perl5/5.32.0/x86_64-netbsd-thread-multi/auto/Compress/Raw/Zlib/Zlib.so:
missing library: libperl.so
ERROR: lib/perl5/5.32.0/x86_64-netbsd-thread-multi/auto/Cwd/Cwd.so:
missing library: libperl.so
...
*** Error code 1
Stop.
make[1]: stopped in /usr/pkgsrc/lang/perl5
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/lang/perl5
Specific setup: /usr/pkgsrc is a null mount from a zfs file system. This
should not matter though.
This prohibits creating the pbulk build environment with
"/usr/pkgsrc/mk/pbulk/pbulk.sh -n"
as it sets PKG_DEVELOPER=yes.
Setting PKG_DEVELOPER=no in /usr/pkgsrc/mk/pbulk/pbulk.sh continues
until the bison build
aborts with:
...
===> Building for bison-3.7.5
/usr/bin/touch /tmp/obj-pbulk/devel/bison/work/bison-3.7.5/doc/bison.1
GEN examples/extracted.stamp
Can't load
'/usr/pbulk/lib/perl5/5.32.0/x86_64-netbsd-thread-multi/auto/Cwd/Cwd.so'
for module Cwd:
/usr/pbulk/lib/perl5/5.32.0/x86_64-netbsd-thread-multi/auto/Cwd/Cwd.so:
Shared object "libperl.so" not found at
/usr/pbulk/lib/perl5/5.32.0/XSLoader.pm line 93.
at /usr/pbulk/lib/perl5/5.32.0/x86_64-netbsd-thread-multi/Cwd.pm line 82.
Compilation failed in require at
/usr/pbulk/lib/perl5/5.32.0/File/Path.pm line 6.
BEGIN failed--compilation aborted at
/usr/pbulk/lib/perl5/5.32.0/File/Path.pm line 6.
Compilation failed in require at ./examples/extexi line 51.
BEGIN failed--compilation aborted at ./examples/extexi line 51.
*** Error code 255
So it looks like RPATH needs to be corrected in the modules and the
PKG_DEVELOPER
RPATH check needs some work.
Did I miss anything here?
Frank
.
Home |
Main Index |
Thread Index |
Old Index