Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 232457 - emerge of dev-perl/Socket6-0.20 fails with "Can't locate config.pl in @INC"
Summary: emerge of dev-perl/Socket6-0.20 fails with "Can't locate config.pl in @INC"
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-20 11:35 UTC by shimi
Modified: 2008-07-20 16:49 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description shimi 2008-07-20 11:35:30 UTC
>>> Emerging (9 of 28) dev-perl/Socket6-0.20 to /
>>> Downloading 'http://mirror.hamakor.org.il/pub/mirrors/gentoo/distfiles/Socket6-0.20.tar.gz'
--14:16:45--  http://mirror.hamakor.org.il/pub/mirrors/gentoo/distfiles/Socket6-0.20.tar.gz
           => `/usr/portage/distfiles/Socket6-0.20.tar.gz'
Resolving mirror.hamakor.org.il... 82.80.248.176
Connecting to mirror.hamakor.org.il|82.80.248.176|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 57,153 (56K) [application/x-gzip]

100%[=========================================================>] 57,153        --.--K/s

14:16:45 (3.67 MB/s) - `/usr/portage/distfiles/Socket6-0.20.tar.gz' saved [57153/57153]

 * checking ebuild checksums ;-) ...                                                           [ ok ]
 * checking auxfile checksums ;-) ...                                                          [ ok ]
 * checking miscfile checksums ;-) ...                                                         [ ok ]
 * checking Socket6-0.20.tar.gz ;-) ...                                                        [ ok ]

>>> Unpacking source...
>>> Unpacking Socket6-0.20.tar.gz to /var/tmp/portage/dev-perl/Socket6-0.20/work
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/dev-perl/Socket6-0.20/work/Socket6-0.20 ...
 * Using ExtUtils::MakeMaker
Can't locate config.pl in @INC (@INC contains: /etc/perl /usr/lib/perl5/vendor_perl/5.8.8/i686-linux/usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7 /usr/lib/perl5/vendor_perl/5.8.7/i686-linux /usr/lib/perl5/vendor_perl /usr/lib/perl5/site_perl/5.8.8/i686-linux /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.6/i686-linux /usr/lib/perl5/site_perl /usr/lib/perl5/5.8.8/i686-linux /usr/lib/perl5/5.8.8 /usr/local/lib/site_perl .) at Makefile.PLline 41.

!!! ERROR: dev-perl/Socket6-0.20 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_compile
  ebuild.sh, line 971:   Called qa_call 'src_compile'
  environment, line 3367:   Called src_compile
  ebuild.sh, line 1304:   Called perl-module_src_compile
  perl-module.eclass, line 146:   Called perl-module_src_prep
  perl-module.eclass, line 135:   Called die

!!! Unable to build! (are you using USE="build"?)
!!! 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/dev-perl/Socket6-0.20/temp/build.log'.


/var/tmp/portage/dev-perl/Socket6-0.20/temp/build.log doesn't contain anything not listed above...

# emerge --info
Portage 2.1.2.2 (default/linux/x86/2008.0/server, gcc-4.1.1, glibc-2.5-r2, 2.6.23-gentoo-r8 i686)
=================================================================
System uname: 2.6.23-gentoo-r8 i686 Intel(R) Xeon(TM) CPU 3.00GHz
Gentoo Base System release 1.12.9
Timestamp of tree: Sun, 20 Jul 2008 09:00:01 +0000
app-shells/bash:     3.2_p15-r1
dev-java/java-config: 2.0.30
dev-lang/python:     2.3.5-r3, 2.4.4
dev-python/pycrypto: 2.0.1-r5
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-Os -march=pentium4 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-Os -march=pentium4 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.hamakor.org.il/pub/mirrors/gentoo/"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file--delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acl apache2 berkdb bidi big-tables bzip2 clamav cli cracklib crypt cups dri foomaticdb fortran ftp gdbm gpm iconv innodb ipv6 isdnlog ldap mailwrapper memlimit midi mnogosearch mudflap mysql ncurses netboot nis nls nptl nptlonly openmp pam pcre perl php posix pppd python readline reflection sambasession slang snmp spl sqlite sse ssl symlink tcpd threads truetype unicode usb utf8 vhosts winbind x86 xml xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_configlogio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="fbdev glint i810 mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Carsten Lohrke (RETIRED) gentoo-dev 2008-07-20 13:35:39 UTC
This seems to be an very outdated box with this old Portage version. Please update it ASAP. May it be that you didn't run perl-cleaner script after updating Perl, as the post install message told you?
Comment 2 shimi 2008-07-20 16:17:56 UTC
OK, I did both and now it works...

Re. your comment on Perl telling me to run something after an upgrade - this probably got lost during the long tail of emerges (it has been some time since I upgraded Perl...)

Though probably not related to this bug, if this thing is REQUIRED as it BREAKS things, maybe emerge should automatically run this by itself upon upgrading of Perl...
Comment 3 Carsten Lohrke (RETIRED) gentoo-dev 2008-07-20 16:49:26 UTC
(In reply to comment #2)
> Re. your comment on Perl telling me to run something after an upgrade - this
> probably got lost during the long tail of emerges (it has been some time since
> I upgraded Perl...)

Not an excuse anymore. Portage reiterates the messages at the end by default and  you can configure the elog feature to your liking. See e.g. /etc/make.conf.example.

> Though probably not related to this bug, if this thing is REQUIRED as it BREAKS
> things, maybe emerge should automatically run this by itself upon upgrading of
> Perl...
> 

Portage can't call itself. There's a whole slew of changes needed to make Portage work more transparently, correctly and gracefully. See also bug 155723.