You are not logged in.

#1 2013-07-26 21:30:57

Zenol
Member
Registered: 2013-01-09
Posts: 7

"cpan" and "git svn" brokens

Hi,

I don't know how, but it seams I managed to broken my perl / git svn install while updating :

DeepThought% cpan
Attempt to reload Scalar/Util.pm aborted.
Compilation failed in require at /usr/share/perl5/core_perl/Safe.pm line 4.
BEGIN failed--compilation aborted at /usr/share/perl5/core_perl/Safe.pm line 4.
Compilation failed in require at /usr/share/perl5/site_perl/CPAN.pm line 56.
BEGIN failed--compilation aborted at /usr/share/perl5/site_perl/CPAN.pm line 56.
Compilation failed in require at /usr/share/perl5/site_perl/App/Cpan.pm line 218.
BEGIN failed--compilation aborted at /usr/share/perl5/site_perl/App/Cpan.pm line 218.
Compilation failed in require at /usr/bin/site_perl/cpan line 9.
BEGIN failed--compilation aborted at /usr/bin/site_perl/cpan line 9.
DeepThought% git svn
Attempt to reload Scalar/Util.pm aborted.
Compilation failed in require at /usr/lib/perl5/vendor_perl/SVN/Core.pm line 408.
BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/SVN/Core.pm line 408.
Compilation failed in require at /usr/share/perl5/site_perl/Git/SVN/Utils.pm line 6.
BEGIN failed--compilation aborted at /usr/share/perl5/site_perl/Git/SVN/Utils.pm line 6.
Compilation failed in require at /usr/share/perl5/site_perl/Git/SVN.pm line 33.
BEGIN failed--compilation aborted at /usr/share/perl5/site_perl/Git/SVN.pm line 33.
Compilation failed in require at /usr/lib/git-core/git-svn line 25.
BEGIN failed--compilation aborted at /usr/lib/git-core/git-svn line 25.

I tried to reinstall the packages git, subversion, perl, and cpre, but it don't solve it.
I read it could be related to C implementation of some stuff used by perl script that needs to be recompiled, but I don't know which.

Any advice / explanation on what's happening? smile

Offline

#2 2013-07-26 22:22:25

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 20,135
Website

Re: "cpan" and "git svn" brokens

Not a pacman issue, moving to Apps & DEs...


Arch + dwm   •   Mercurial repos  •   Github

Registered Linux User #482438

Offline

#3 2013-07-27 15:59:20

Zenol
Member
Registered: 2013-01-09
Posts: 7

Re: "cpan" and "git svn" brokens

Thanks to users on #archlinux, I managed to solve this problem.

First, I removed[1] with

yaourt -Rdd package_name

all packages with perl-*, and perl / pcre. Then, I checkell all remaining packages that has stuff in /usr/lib/perl15 with

pacman -Qo /usr/lib/perl15

. Then, I uninstalled those packages with also -Rdd.
After that, I flashed the cache with

pacman -Scc

, and removed all remaining files in /usr/lib/perl15.

And to finished, I reinstalled all those packages with

yaourt -S

.

And it worked smile

[1] I had lots of stuff that depended on perl, like llvm, ghc, etc. I made custom install (compiled ghc by hand and installed it) and replaced some files from the ghc package, so I don't wanted to reinstall it. "dd" means do not check dependencies.

Offline

Board footer

Powered by FluxBB