/usr/lib/perl5/site_perl/5.8.8/Errno.pm in Gentoo
I have a Gentoo system where I have just updated perl and I am now unable to emerge anything else as I need to edit the above file.
I get aclocal errors when emerging and it is caused by an error in this file.
In the file I currently have this at the top:
#
# This file is auto-generated. ***ANY*** changes here will be lost
#
package Errno;
our (@EXPORT_OK,%EXPORT_TAGS,@ISA,$VERSION,%errno,$AUTOLOAD);
use Exporter ();
use Config;
use strict;
"$Config{'archname'}-$Config{'osvers'}" eq
"i686-linux-2.6.18.8-linode19" or
die "Errno architecture (i686-linux-2.6.18.8-linode19) does not match executable architecture ($Config{'archname'}-$Config{'osvers'})";
$VERSION = "1.10";
$VERSION = eval $VERSION;
@ISA = qw(Exporter);
I have to change i686-linux-2.6.18.8-linode19 to i686-linux-2.6.18.8-linode22 to get things to emerge correctly. I have recently rebooted into a new kernel, hence the name change.
Does anyone know what makes this file so I can make the update process automatic?
Thanks,
Rich
2 Replies
$ equery belongs Errno.pm
[ Searching for file(s) Errno.pm in *… ]
dev-lang/perl-5.8.8-r8 (/usr/lib64/perl5/5.8.8/x86_64-linux/Errno.pm)
````
My gentoo system doesn't have that file under "site-perl", but you might find out who put it there with the above command.
(if you don't have the equery command, emerge gentoolkit)
I have one owned by perl in the similar directory to you, but no owner for the "site_perl" file:
# equery belongs Errno.pm
[ Searching for file(s) Errno.pm in *... ]
dev-lang/perl-5.8.8-r8 (/usr/lib/perl5/5.8.8/i686-linux/Errno.pm)
# ls -al /usr/lib/perl5/site_perl/5.8.8/Errno.pm
-r--r--r-- 1 root root 7541 Dec 5 14:54 /usr/lib/perl5/site_perl/5.8.8/Errno.pm
#
I think it may be created with the perl-cleaner tool?
Rich.