pkgsrc-Users archive

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

Re: huge perl modules update



Hej,

> Am 12.09.2020 um 20:58 schrieb Thomas Klausner <wiz%NetBSD.org@localhost>:
> 
> On Sat, Sep 12, 2020 at 08:39:25PM +0200, oskar%fessel.org@localhost wrote:
>> I didn’t think so until:
>> Can't load '/usr/pkg/lib/perl5/5.32.0/x86_64-netbsd-thread-multi/auto/Fcntl/Fcntl.so' for module Fcntl: /usr/pkg/lib/perl5/5.32.0/x86_64-netbsd-thread-multi/auto/Fcntl/Fcntl.so: Shared object "libperl.so" not found at /usr/pkg/lib/perl5/5.32.0/XSLoader.pm line 93.
>> at /usr/pkg/lib/perl5/5.32.0/x86_64-netbsd-thread-multi/Fcntl.pm line 66.
>> Compilation failed in require at /usr/pkg/lib/perl5/5.32.0/x86_64-netbsd-thread-multi/POSIX.pm line 17.
>> 
>> This may be totally unrelated, though, because it looks like this is an issue within the base package (at least on one specific system, which unfortunately was in production until that happened…)
>> 
>> zappa# ldd /usr/pkg/lib/perl5/5.32.0/x86_64-netbsd-thread-multi/auto/Fcntl/Fcntl.so
>> /usr/pkg/lib/perl5/5.32.0/x86_64-netbsd-thread-multi/auto/Fcntl/Fcntl.so:
>> 	-lperl => not found
>> 	-lc.12 => /usr/lib/libc.so.12
>> 
>> even the binary package working on another machine installed on this one does not find libperl.so.
>> This is on NetBSD 9.99.52 amd64.  Working fine on 9.99.72.
>> Works also with symbolic linkt of libperl.so into /usr/pkg/lib.
>> 
>> Any ideas?
> 
> Sorry, I can't reproduce this on either 9.99.72/amd64 nor 9.0/amd64:
> 
>> ldd /usr/pkg/lib/perl5/5.32.0/x86_64-netbsd-thread-multi/auto/Fcntl/Fcntl.so
> /usr/pkg/lib/perl5/5.32.0/x86_64-netbsd-thread-multi/auto/Fcntl/Fcntl.so:
>        -lperl => /usr/pkg/lib/perl5/5.32.0/x86_64-netbsd-thread-multi/CORE/libperl.so
>        -lm.0 => /usr/lib/libm.so.0
>        -lc.12 => /usr/lib/libc.so.12
>        -lcrypt.1 => /usr/lib/libcrypt.so.1
>        -lpthread.1 => /usr/lib/libpthread.so.1
> 
>> objdump -x /usr/pkg/lib/perl5/5.32.0/x86_64-netbsd-thread-multi/auto/Fcntl/Fcntl.so | grep -i RPATH
>  RPATH                /usr/pkg/lib:/usr/pkg/lib/perl5/5.32.0/x86_64-netbsd-thread-multi/CORE
> 
objdump -x /usr/pkg/lib/perl5/5.32.0/x86_64-netbsd-thread-multi/auto/Fcntl/Fcntl.so | grep -i RPATH
  RPATH                /usr/pkg/lib

>> pkg_info -Fe /usr/pkg/lib/perl5/5.32.0/x86_64-netbsd-thread-multi/CORE/libperl.so
> perl-5.32.0nb1
> 
pkg_info -Fe /usr/pkg/lib/perl5/5.32.0/x86_64-netbsd-thread-multi/CORE/libperl.so
perl-5.32.0nb1

shasum  /usr/pkg/lib/perl5/5.32.0/x86_64-netbsd-thread-multi/auto/Fcntl/Fcntl.so
e5cdbcb0ae75359109f3c7c30c625441c72a8915  /usr/pkg/lib/perl5/5.32.0/x86_64-netbsd-thread-multi/auto/Fcntl/Fcntl.so


on 9.99.72:
 objdump -x /usr/pkg/lib/perl5/5.32.0/x86_64-netbsd-thread-multi/auto/Fcntl/Fcntl.so | grep -i RPATH
  RPATH                /usr/pkg/lib:/usr/pkg/lib/perl5/5.32.0/x86_64-netbsd-thread-multi/CORE
shasum /usr/pkg/lib/perl5/5.32.0/x86_64-netbsd-thread-multi/auto/Fcntl/Fcntl.so
3c0f3364835f6ad344756605fd71beb8cd2fe926  /usr/pkg/lib/perl5/5.32.0/x86_64-netbsd-thread-multi/auto/Fcntl/Fcntl.so

installed using the very same binary package.

Weird.

Cheers
	Oskar

Attachment: signature.asc
Description: Message signed with OpenPGP



Home | Main Index | Thread Index | Old Index