Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#54420 - [perl-cpanplus] loadable library and perl binaries are mismatched

Attached to Project: Community Packages
Opened by Jesús Ruiz (jesrui) - Monday, 12 June 2017, 11:34 GMT
Last edited by Doug Newgard (Scimmia) - Monday, 12 June 2017, 17:40 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Florian Pritz (bluewind)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

Invoking cpanp fails with the following error:

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

Trying to rebuild the package with the current PKGBUILD fails with the same error:

==> Starting build()...
vxs.c: loadable library and perl binaries are mismatched (got handshake key 0xdb80080, needed 0xde00080)

Additional info:
* package version(s) 0.9168-2
This task depends upon

Closed by  Doug Newgard (Scimmia)
Monday, 12 June 2017, 17:40 GMT
Reason for closing:  Not a bug
Additional comments about closing:  Caused by unofficial package
Comment by Doug Newgard (Scimmia) - Monday, 12 June 2017, 15:26 GMT
And do you have anything in /usr/lib/perl5/site_perl/ or /usr/share/perl5/site_perl/
Comment by Jesús Ruiz (jesrui) - Monday, 12 June 2017, 17:20 GMT
Nothing in /usr/lib/perl5/site_perl/ but:

$ ls /usr/share/perl5/site_perl/Git/
Mediawiki.pm
$ pacman -Q --owns /usr/share/perl5/site_perl/Git/Mediawiki.pm
/usr/share/perl5/site_perl/Git/Mediawiki.pm is owned by git 2.13.1-1

Anyway, even if I remove Git/Mediawiki.pm from /usr/share/perl5/site_perl/ cpanp keeps failing.
Comment by Doug Newgard (Scimmia) - Monday, 12 June 2017, 17:31 GMT
Well that's a bug in the git package, it should be in the vendor_perl dir. Unrelated, though.
Comment by Jesús Ruiz (jesrui) - Monday, 12 June 2017, 17:33 GMT
Your advice put me in the right direction! the culprit was perl-version, a package that I installed some time ago from non-official sources (and then forgot about it).

$ strace -e open cpanp
...
open("/usr/lib/perl5/vendor_perl/auto/version/vxs/vxs.so", O_RDONLY|O_CLOEXEC) = 10
vxs.c: loadable library and perl binaries are mismatched (got handshake key 0xdb80080, needed 0xde00080)
+++ exited with 1 +++

$ pacman -Q --owns "/usr/lib/perl5/vendor_perl/auto/version/vxs/vxs.so"
/usr/lib/perl5/vendor_perl/auto/version/vxs/vxs.so is owned by perl-version 0.9917-1

Removing perl-version (on which no package depends anyway) solves the problem. cpanp works again.

Loading...