public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Kevin O'Gorman" <kogorman@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] Cannot emerge mod_perl, cannot access CPAN, perl no longer sane
Date: Sat, 8 Sep 2007 08:07:47 -0700	[thread overview]
Message-ID: <9acccfe50709080807v39370611k8df0d5df137dba76@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 3056 bytes --]

I just now attempted to emerge mod_perl, and had it fail early.  Apparently
it's touchy about a perl module Errno.pm
It makes reference to a kernel version I no longer even have installed, in
the file /usr/lib/perl5/site_perl/5.8.8/Errno.pm.

So I tried to get to CPAN to see if there was something I could download.
It has the same problem.

Now here's an odd thing.  The version of Errno that's failing is timestamped
August 14th.  A version with the
current architecture, timestamped today, exists at
/usr/lib/perl5/5.8.8/i686-linux-thread-multi/Errno.pm

I don't see immediately how to get my system sane again.   I could just copy
the Errno.pm, but I'm not sure that's wise.


Anyway, the emerge failed like this:
>>> Compiling source in /var/tmp/portage/www-apache/mod_perl-2.0.3-r1
/work/mod_perl-2.0.3 ...
Errno architecture (i686-linux-2.6.16-gentoo-r7-kosmanor) does not match
executable architecture (i686-linux-thread-multi-2.6.22-gentoo-r2-kosmanor)
at /usr/lib/perl5/site_perl/5.8.8/Errno.pm line 11.
Compilation failed in require at /usr/lib/perl5/5.8.8/File/Path.pm line 185.
BEGIN failed--compilation aborted at /usr/lib/perl5/5.8.8/File/Path.pm line
185.
Compilation failed in require at Apache-Test/lib/Apache/TestConfig.pm line
46.
BEGIN failed--compilation aborted at Apache-Test/lib/Apache/TestConfig.pm
line 46.
Compilation failed in require at lib/ModPerl/Code.pm line 27.
BEGIN failed--compilation aborted at lib/ModPerl/Code.pm line 27.
Compilation failed in require at lib/Apache2/Build.pm line 48.
BEGIN failed--compilation aborted at lib/Apache2/Build.pm line 48.
Compilation failed in require at Makefile.PL line 36.
BEGIN failed--compilation aborted at Makefile.PL line 36.

!!! ERROR: www-apache/mod_perl-2.0.3-r1 failed.
Call stack:
  ebuild.sh, line 1638:   Called dyn_compile
  ebuild.sh, line 985:   Called qa_call 'src_compile'
  ebuild.sh, line 44:   Called src_compile
  mod_perl-2.0.3-r1.ebuild, line 92:   Called die

!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if
relevant.
!!! A complete build log is located at
'/var/tmp/portage/www-apache/mod_perl-2.0.3-r1/temp/build.log'.



While the command 'perl -mCPAN -e shell' failed like this:
treat portage # perl -mCPAN -e shell
Errno architecture (i686-linux-2.6.16-gentoo-r7-kosmanor) does not match
executable architecture (i686-linux-thread-multi-2.6.22-gentoo-r2-kosmanor)
at /usr/lib/perl5/site_perl/5.8.8/Errno.pm line 11.
Compilation failed in require at /usr/lib/perl5/5.8.8/File/Path.pm line 185.
BEGIN failed--compilation aborted at /usr/lib/perl5/5.8.8/File/Path.pm line
185.
Compilation failed in require at /usr/lib/perl5/5.8.8/ExtUtils/MakeMaker.pm
line 9.
BEGIN failed--compilation aborted at
/usr/lib/perl5/5.8.8/ExtUtils/MakeMaker.pm line 9.
Compilation failed in require at /usr/lib/perl5/5.8.8/CPAN.pm line 16.
BEGIN failed--compilation aborted at /usr/lib/perl5/5.8.8/CPAN.pm line 16.
Compilation failed in require.
BEGIN failed--compilation aborted.
treat portage #


-- 
Kevin O'Gorman, PhD

[-- Attachment #2: Type: text/html, Size: 3455 bytes --]

                 reply	other threads:[~2007-09-08 15:19 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9acccfe50709080807v39370611k8df0d5df137dba76@mail.gmail.com \
    --to=kogorman@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox