Gentoo Archives: gentoo-user

From: Kevin O'Gorman <kogorman@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Cannot emerge mod_perl, cannot access CPAN, perl no longer sane
Date: Sat, 08 Sep 2007 15:19:57
Message-Id: 9acccfe50709080807v39370611k8df0d5df137dba76@mail.gmail.com
1 I just now attempted to emerge mod_perl, and had it fail early. Apparently
2 it's touchy about a perl module Errno.pm
3 It makes reference to a kernel version I no longer even have installed, in
4 the file /usr/lib/perl5/site_perl/5.8.8/Errno.pm.
5
6 So I tried to get to CPAN to see if there was something I could download.
7 It has the same problem.
8
9 Now here's an odd thing. The version of Errno that's failing is timestamped
10 August 14th. A version with the
11 current architecture, timestamped today, exists at
12 /usr/lib/perl5/5.8.8/i686-linux-thread-multi/Errno.pm
13
14 I don't see immediately how to get my system sane again. I could just copy
15 the Errno.pm, but I'm not sure that's wise.
16
17
18 Anyway, the emerge failed like this:
19 >>> Compiling source in /var/tmp/portage/www-apache/mod_perl-2.0.3-r1
20 /work/mod_perl-2.0.3 ...
21 Errno architecture (i686-linux-2.6.16-gentoo-r7-kosmanor) does not match
22 executable architecture (i686-linux-thread-multi-2.6.22-gentoo-r2-kosmanor)
23 at /usr/lib/perl5/site_perl/5.8.8/Errno.pm line 11.
24 Compilation failed in require at /usr/lib/perl5/5.8.8/File/Path.pm line 185.
25 BEGIN failed--compilation aborted at /usr/lib/perl5/5.8.8/File/Path.pm line
26 185.
27 Compilation failed in require at Apache-Test/lib/Apache/TestConfig.pm line
28 46.
29 BEGIN failed--compilation aborted at Apache-Test/lib/Apache/TestConfig.pm
30 line 46.
31 Compilation failed in require at lib/ModPerl/Code.pm line 27.
32 BEGIN failed--compilation aborted at lib/ModPerl/Code.pm line 27.
33 Compilation failed in require at lib/Apache2/Build.pm line 48.
34 BEGIN failed--compilation aborted at lib/Apache2/Build.pm line 48.
35 Compilation failed in require at Makefile.PL line 36.
36 BEGIN failed--compilation aborted at Makefile.PL line 36.
37
38 !!! ERROR: www-apache/mod_perl-2.0.3-r1 failed.
39 Call stack:
40 ebuild.sh, line 1638: Called dyn_compile
41 ebuild.sh, line 985: Called qa_call 'src_compile'
42 ebuild.sh, line 44: Called src_compile
43 mod_perl-2.0.3-r1.ebuild, line 92: Called die
44
45 !!! (no error message)
46 !!! If you need support, post the topmost build error, and the call stack if
47 relevant.
48 !!! A complete build log is located at
49 '/var/tmp/portage/www-apache/mod_perl-2.0.3-r1/temp/build.log'.
50
51
52
53 While the command 'perl -mCPAN -e shell' failed like this:
54 treat portage # perl -mCPAN -e shell
55 Errno architecture (i686-linux-2.6.16-gentoo-r7-kosmanor) does not match
56 executable architecture (i686-linux-thread-multi-2.6.22-gentoo-r2-kosmanor)
57 at /usr/lib/perl5/site_perl/5.8.8/Errno.pm line 11.
58 Compilation failed in require at /usr/lib/perl5/5.8.8/File/Path.pm line 185.
59 BEGIN failed--compilation aborted at /usr/lib/perl5/5.8.8/File/Path.pm line
60 185.
61 Compilation failed in require at /usr/lib/perl5/5.8.8/ExtUtils/MakeMaker.pm
62 line 9.
63 BEGIN failed--compilation aborted at
64 /usr/lib/perl5/5.8.8/ExtUtils/MakeMaker.pm line 9.
65 Compilation failed in require at /usr/lib/perl5/5.8.8/CPAN.pm line 16.
66 BEGIN failed--compilation aborted at /usr/lib/perl5/5.8.8/CPAN.pm line 16.
67 Compilation failed in require.
68 BEGIN failed--compilation aborted.
69 treat portage #
70
71
72 --
73 Kevin O'Gorman, PhD