You are not logged in.

#1 2017-12-17 09:22:45

MafiaInc
Member
From: Sofia, Bulgaria
Registered: 2016-11-25
Posts: 7
Website

Issue with perl modules and packaging

Hello,

I have some wired issue with perl modules or more particular with List::Util. I even opened a BUG about that with confidence that I didn't installed nothing from AUR that is perl related or something outside of the official repositories. Here is the link to the BUG which was rejected of course: https://bugs.archlinux.org/task/56731

Here are some details. I found the issue when trying to use autoreconf:

$ autoreconf
ListUtil.c: loadable library and perl binaries are mismatched (got handshake key 0xdb80080, needed 0xde00080)

Trying to load this module:
$ perl -M'List::Util' -e1
ListUtil.c: loadable library and perl binaries are mismatched (got handshake key 0xdb80080, needed 0xde00080)

I haven't installed anything from CPAN manually and the perl package postinstall scrip here : https://git.archlinux.org/svntogit/pack … kages/perl doesn't report any broken modules too.

Following is the list of all installed perl related packages that I have. I tried to reinstall all of them without success to resolve the issue sad  :

$ pacman -Q | grep perl
perl 5.26.1-1
perl-clone 0.39-4
perl-dbi 1.637-3
perl-encode-locale 1.05-3
perl-error 0.17025-2
perl-file-listing 6.04-4
perl-html-parser 3.72-5
perl-html-tagset 3.20-6
perl-http-cookies 6.04-2
perl-http-daemon 6.01-5
perl-http-date 6.02-4
perl-http-message 6.13-2
perl-http-negotiate 6.01-4
perl-io-html 1.001-3
perl-libwww 6.26-3
perl-lwp-mediatypes 6.02-4
perl-net-http 6.17-1
perl-parse-yapp 1.05-8
perl-try-tiny 0.28-3
perl-uri 1.72-2
perl-www-robotrules 6.02-4
perl-xml-libxml 2.0129-4
perl-xml-namespacesupport 1.12-2
perl-xml-parser 2.44-6
perl-xml-sax 0.99-5
perl-xml-sax-base 1.09-2
python2-hyperlink 17.3.1-1

Does anyone have a suggestion?

Thanks!


-- Me not hungry

Offline

#2 2017-12-17 11:49:53

thefallenrat
Member
From: openRC Wonderland
Registered: 2017-11-22
Posts: 10

Re: Issue with perl modules and packaging

Have you tried running detect-old-perl-modules.sh[1] script from the link Scimmia gave you in the bug report? That script should help you tracking down which perl packages that needs rebuilding

See https://www.archlinux.org/news/perl-lib … th-change/ for details

footnote :

[1] - https://git.archlinux.org/svntogit/pack … kages/perl


If I can hit that bullseye, the rest of the dominoes will fall like a house of cards. Checkmate!

Offline

#3 2017-12-17 14:42:50

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,463

Re: Issue with perl modules and packaging

What's in 'pacman -Qm'? Do you have any unofficial repos in pacman.conf? Do you have anything in /usr/lib/perl5/5.26/site_perl/ or /usr/share/perl5/site_perl?

Online

#4 2017-12-17 16:07:18

apg
Developer
Registered: 2012-11-10
Posts: 211

Re: Issue with perl modules and packaging

perl -e '-e "$_/List/Util.pm" and print $_ foreach @INC'

Offline

#5 2017-12-17 19:52:42

MafiaInc
Member
From: Sofia, Bulgaria
Registered: 2016-11-25
Posts: 7
Website

Re: Issue with perl modules and packaging

apg wrote:
perl -e '-e "$_/List/Util.pm" and print $_ foreach @INC'

Thanks apg! Using this command I was able to find out that something, somehow, someday obviously had created local perl5 directory in my home. It looks like this : /home/mafiainc/perl5/lib/perl5/x86_64-linux-thread-multi/usr/lib/perl5/5.26/core_perl

Really strange, I don't recall that I created this. May be we should upgrade the detect-old-perl-modules.sh script to also consider such scenarios or it isn't actually it's purpose?

Thanks one more time to everyone for the help!

Cheers


-- Me not hungry

Offline

#6 2017-12-18 00:50:55

eschwartz
Fellow
Registered: 2014-08-08
Posts: 4,097

Re: Issue with perl modules and packaging

The script will not check user home directories. The script runs as root.

If you can get perl to work by trying a test user with a clean profile, that is a red flag that you should look at your personal user settings.


Managing AUR repos The Right Way -- aurpublish (now a standalone tool)

Offline

Board footer

Powered by FluxBB