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 23:26 schrieb Thomas Klausner <wiz%NetBSD.org@localhost>:
> 
> On Sat, Sep 12, 2020 at 10:57:16PM +0200, oskar%fessel.org@localhost wrote:
>> 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.
> 
> If it's from the same binary package, it should have the same checksum.
> 
> I suggest you investigate this particular detail and/or reinstall.
> Thomas
> 
Thanks for the hint.  I found out two things:
they were not from the same package due to a copy error.

After fixing that, perl dumped core on me because 9.99.72 built binaries do not mix well with 9.99.52 and userland from 9.99.15 (mostly), as well as code optimized for newer architectures might hit unimplemented opcodes on Nehalem…

Nevertheless, in case someone else stumbles over the real issue here, the native build problem did go away after removing PERL related environment settings from $HOME/.shrc:
#PERL5LIB="/root/perl5/lib/perl5${PERL5LIB:+:${PERL5LIB}}"; export PERL5LIB;
#PERL_LOCAL_LIB_ROOT="/root/perl5${PERL_LOCAL_LIB_ROOT:+:${PERL_LOCAL_LIB_ROOT}}"; export PERL_LOCAL_LIB_ROOT;
#PERL_MB_OPT="--install_base \"/root/perl5\""; export PERL_MB_OPT;
#PERL_MM_OPT="INSTALL_BASE=/root/perl5"; export PERL_MM_OPT;

I simply do not remember when these entered my shell profile.
And I did not have the patience to test out which one was the culprit.

Cheers
	Oskar

Attachment: signature.asc
Description: Message signed with OpenPGP



Home | Main Index | Thread Index | Old Index