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