After upgrading perl my installation is hosed. Whenever I try to run a perl program, for instance CPAN, I bomb out with the following: toovey4 linux-2.6.22-gentoo-r6 # cpan Errno architecture (x86_64-linux-2.6.16-gentoo-r7) does not match executable architecture (x86_64-linux-thread-multi-2.6.21-gentoo-r3) at /usr/lib64/perl5/site_perl/5.8.8/Errno.pm line 11. Compilation failed in require at /usr/lib64/perl5/5.8.8/File/Path.pm line 185. BEGIN failed--compilation aborted at /usr/lib64/perl5/5.8.8/File/Path.pm line 185. Compilation failed in require at /usr/lib64/perl5/5.8.8/ExtUtils/MakeMaker.pm line 9. BEGIN failed--compilation aborted at /usr/lib64/perl5/5.8.8/ExtUtils/MakeMaker.pm line 9. Compilation failed in require at /usr/lib64/perl5/5.8.8/CPAN.pm line 16. BEGIN failed--compilation aborted at /usr/lib64/perl5/5.8.8/CPAN.pm line 16. Compilation failed in require at /usr/bin/cpan line 119. BEGIN failed--compilation aborted at /usr/bin/cpan line 119. I tried upgrading glibc to see if that would help no avail. Reproducible: Always I cannot run perl-info because it relies on perl. toovey4 linux-2.6.22-gentoo-r6 # perl -V Summary of my perl5 (revision 5 version 8 subversion 8) configuration: Platform: osname=linux, osvers=2.6.21-gentoo-r3, archname=x86_64-linux-thread-multi uname='linux toovey4 2.6.21-gentoo-r3 #3 smp fri jun 8 14:08:58 est 2007 x86_64 dual core amd opteron(tm) processor 265 authenticamd gnulinux ' config_args='-des -Darchname=x86_64-linux-thread -Dcccdlflags=-fPIC -Dccdlflags=-rdynamic -Dcc=x86_64-pc-linux-gnu-gcc -Dprefix=/usr -Dvendorprefix=/usr -Dsiteprefix=/usr -Dlocincpth= -Doptimize=-march=opteron -O2 -pipe -Duselargefiles -Dd_semctl_semun -Dscriptdir=/usr/bin -Dman1dir=/usr/share/man/man1 -Dman3dir=/usr/share/man/man3 -Dinstallman1dir=/usr/share/man/man1 -Dinstallman3dir=/usr/share/man/man3 -Dman1ext=1 -Dman3ext=3pm -Dinc_version_list=5.8.0 5.8.0/x86_64-linux-thread-multi 5.8.2 5.8.2/x86_64-linux-thread-multi 5.8.4 5.8.4/x86_64-linux-thread-multi 5.8.5 5.8.5/x86_64-linux-thread-multi 5.8.6 5.8.6/x86_64-linux-thread-multi 5.8.7 5.8.7/x86_64-linux-thread-multi -Dinc_version_list=5.8.0 5.8.0/x86_64-linux-thread-multi 5.8.2 5.8.2/x86_64-linux-thread-multi 5.8.4 5.8.4/x86_64-linux-thread-multi 5.8.5 5.8.5/x86_64-linux-thread-multi 5.8.6 5.8.6/x86_64-linux-thread-multi 5.8.7 5.8.7/x86_64-linux-thread-multi -Dcf_by=Gentoo -Ud_csh -Dusenm -Dusethreads -Di_ndbm -Di_gdbm -Di_db -Dusrinc=/usr/include/gentoo-multilib/amd64 -Dlibpth=/usr/local/lib64 /lib64 /usr/lib64' hint=recommended, useposix=true, d_sigaction=define usethreads=define use5005threads=undef useithreads=define usemultiplicity=define useperlio=define d_sfio=undef uselargefiles=define usesocks=undef use64bitint=define use64bitall=define uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='x86_64-pc-linux-gnu-gcc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno-strict-aliasing -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm', optimize='-march=opteron -O2 -pipe', cppflags='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/include/gdbm' ccversion='', gccversion='4.1.1 (Gentoo 4.1.1-r3)', gccosandvers='' intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16 ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 alignbytes=8, prototype=define Linker and Libraries: ld='x86_64-pc-linux-gnu-gcc', ldflags =' -L/usr/local/lib64' libpth=/usr/local/lib64 /lib64 /usr/lib64 libs=-lpthread -lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lc perllibs=-lpthread -lnsl -ldl -lm -lcrypt -lutil -lc libc=/lib/libc-2.6.1.so, so=so, useshrplib=false, libperl=libperl.a gnulibc_version='2.6.1' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic' cccdlflags='-fPIC', lddlflags='-shared -L/usr/local/lib64' Characteristics of this binary (from libperl): Compile-time options: MULTIPLICITY PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP THREADS_HAVE_PIDS USE_64_BIT_ALL USE_64_BIT_INT USE_ITHREADS USE_LARGE_FILES USE_PERLIO USE_REENTRANT_API Built under linux Compiled at Sep 6 2007 15:23:52 @INC: /etc/perl /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi /usr/lib64/perl5/vendor_perl/5.8.8 /usr/lib64/perl5/vendor_perl /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi /usr/lib64/perl5/site_perl/5.8.8 /usr/lib64/perl5/site_perl /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi /usr/lib64/perl5/5.8.8 /usr/local/lib/site_perl . toovey4 linux-2.6.22-gentoo-r6 #
I got medeval on my system. I uninstalled perl and libperl and did a: #rm -rf /usr/lib/perl5 I don't suggest this because you will delete perl modules installed via emerge. If you don't mind that though this worked for me. Brian
Uh, you only need to edit /usr/lib/perl5/5.8.8/i686-linux/Errno.pm to work around this, no need for such drastic solutions. Though I still fail to see why'd you be hitting something this in the first place.
I ran into this does it help? https://bugs.launchpad.net/ubuntu/+source/perl/+bug/13668
(In reply to comment #3) > I ran into this does it help? > > https://bugs.launchpad.net/ubuntu/+source/perl/+bug/13668 Uhm, not much I'm afraid. This issue is ages old, and noone hit it ever since, see Bug 84868. Not reproducible at all.
Well something to keep an eye out for if more reports come in. Thanks for you hard work with Gentoo. Brian
*** Bug 200271 has been marked as a duplicate of this bug. ***
Can anyone explain why http://bugs.gentoo.org/show_bug.cgi?id=200271 is marked a duplicate of this bug? I fail to see the connection between being unable to compile gtk+ and Perl breaking, or where I should go to fix the gtk+ issue.
http://bugs.gentoo.org/attachment.cgi?id=136962&action=view