You are not logged in.

#1 2013-05-28 01:04:18

luolimao
Member
Registered: 2011-09-29
Posts: 10

[SOLVED] Perl refuses to run certain utilities

[Aside: Sorry, not really an Arch newbie, but I am a forum and Perl newbie; not sure where else to post this.]
I am the current maintainer of the AUR package called mesa-demos-git; it was flagged out-of-date, and I was going to examine the problem (and throw in the new VCS syntax for good measure) when I was greeted with this fun little error:

==> Starting build()...
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal -I m4
Attempt to reload Scalar/Util.pm aborted.
Compilation failed in require at /usr/lib/perl5/site_perl/Data/Dumper.pm line 297.
aclocal: error: echo failed with exit status: 1
autoreconf: aclocal failed with exit status: 1

Running aclocal by itself in a directory with a configure.ac fails, as one would expect from the above error (even though it has worked in the past on other packages I've updated in the last couple weeks).
I also wasn't thinking for a while and thought it was a missing module, so I ran cpan to try to install it, but cpan fails with the same error.

Yeah, so something's wrong with the perl configuration on my system; I tried a `pacman -Rnsdd perl` and a reinstall, but to no avail. Actually, since no package seems to own /usr/lib/perl5/site_perl/Scalar/Util.pm, I have no idea where to start.

What's going on here and how can I even begin to solve this?

Last edited by luolimao (2013-05-28 03:03:46)

Offline

#2 2013-05-28 01:52:24

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,173

Re: [SOLVED] Perl refuses to run certain utilities

Does any package own anything in site_perl? I ask because that directory is empty on my system. I'm wondering if those files have been installed manually and are being used instead of the versions in core_perl/vendor_perl such as /usr/lib/perl5/core_perl/Scalar/Util.pm, for example.


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#3 2013-05-28 03:03:31

luolimao
Member
Registered: 2011-09-29
Posts: 10

Re: [SOLVED] Perl refuses to run certain utilities

No package owns anything in site-perl. Thanks, deleting the entire site-perl folder works.

Offline

Board footer

Powered by FluxBB