pkgsrc-Users archive

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

Re: perl build with PKG_DEVELOPER=yes fails for me / pbulk setup woes (solved)

Found it. I had ages old environment variables.





Sorry for the noise.


On 02/06/21 18:39, Frank Kardel wrote:
Hi !

On a freshly checked out (2020-02-06) pkgsrc from 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/ missing library: ERROR: lib/perl5/5.32.0/x86_64-netbsd-thread-multi/auto/Compress/Raw/Bzip2/ missing library: ERROR: lib/perl5/5.32.0/x86_64-netbsd-thread-multi/auto/Compress/Raw/Zlib/ missing library: ERROR: lib/perl5/5.32.0/x86_64-netbsd-thread-multi/auto/Cwd/ missing library:

*** Error code 1

make[1]: stopped in /usr/pkgsrc/lang/perl5
*** Error code 1

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/ -n"

as it sets PKG_DEVELOPER=yes.

Setting PKG_DEVELOPER=no in /usr/pkgsrc/mk/pbulk/ 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/' for module Cwd: /usr/pbulk/lib/perl5/5.32.0/x86_64-netbsd-thread-multi/auto/Cwd/ Shared object "" not found at /usr/pbulk/lib/perl5/5.32.0/ line 93. at /usr/pbulk/lib/perl5/5.32.0/x86_64-netbsd-thread-multi/ line 82. Compilation failed in require at /usr/pbulk/lib/perl5/5.32.0/File/ line 6. BEGIN failed--compilation aborted at /usr/pbulk/lib/perl5/5.32.0/File/ 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?



Home | Main Index | Thread Index | Old Index