Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 131667 - perl-core/Storable fails
Summary: perl-core/Storable fails
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-29 05:27 UTC by Etaoin Shrdlu
Modified: 2006-04-29 08:21 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 Etaoin Shrdlu 2006-04-29 05:27:08 UTC
>>> emerge (1 of 25) perl-core/Storable-2.15 to /
>>> md5 files   ;-) Storable-2.07-r1.ebuild
>>> md5 files   ;-) Storable-2.13.ebuild
>>> md5 files   ;-) Storable-2.15.ebuild
>>> md5 files   ;-) files/digest-Storable-2.13
>>> md5 files   ;-) files/digest-Storable-2.15
>>> md5 files   ;-) files/digest-Storable-2.07-r1
>>> md5 src_uri ;-) Storable-2.15.tar.gz
>>> Unpacking source...
>>> Unpacking Storable-2.15.tar.gz to /var/tmp/portage/Storable-2.15/work
>>> Source unpacked.
 * Using ExtUtils::MakeMaker
Checking if your kit is complete...
Looks good
Processing hints file hints/linux.pl
Writing Makefile for Storable
cp Storable.pm blib/lib/Storable.pm
AutoSplitting blib/lib/Storable.pm (blib/lib/auto/Storable)
/usr/bin/perl5.8.7 /usr/lib/perl5/5.8.7/ExtUtils/xsubpp  -typemap /usr/lib/perl5/5.8.7/ExtUtils/typemap  Storable.xs > Storable.xsc && mv Storable.xsc Storable.c
i386-pc-linux-gnu-gcc -c   -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -mtune=i686 -pipe   -DVERSION=\"2.15\" -DXS_VERSION=\"2.15\" -fPIC "-I/usr/lib/perl5/5.8.7/i386-linux/CORE"   Storable.c
gcc-config error: Could not run/locate "i386-pc-linux-gnu-gcc"
make: *** [Storable.o] Error 1

!!! ERROR: perl-core/Storable-2.15 failed.
!!! Function perl-module_src_compile, Line 119, Exitcode 2
!!! compilation failed
!!! If you need support, post the topmost build error, NOT this status message.
------------------------------
Portage 2203-svn (default-linux/x86/2006.0, gcc-3.4.5, glibc-2.3.6-r3, 2.6.15.1 i686)
=================================================================
System uname: 2.6.15.1 i686 Pentium III (Katmai)
Gentoo Base System version 1.6.14
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium3 -O3 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium3 -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp6.uni-erlangen.de/pub/mirrors/gentoo                 http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo                 http://trumpetti.atm.tut.fi/gentoo                 http://ftp.heanet.ie/pub/gentoo                 http://darkstar.ist.utl.pt/gentoo                 http://gd.tuwien.ac.at/opsys/linux/gentoo                 http://gentoo.oregonstate.edu                 http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 apache2 berkdb bzlib cli crypt curl curlwrappers dba dbm dio encode exif extensions fam ftp gd gdbm iconv imap inifile innodb ipv6 ldap maildir mbox mcal mime mmap mng mpm-threadpool mysql ncurses nls nptl nptlonly offensive pam pcntl pcre pear perl php posix python readline samba session shared sharedmem slp soap sockets ssl sysvipc threads truetype unicode userlocales vhosts xml xml2 xmlrpc xsl zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-04-29 05:34:57 UTC
> Could not run/locate "i386-pc-linux-gnu-gcc"
> CHOST="i686-pc-linux-gnu"

That's what happens if you mess w/ your CHOST. You must run 'emerge -e system' at least after doing that.
Comment 2 Etaoin Shrdlu 2006-04-29 08:04:53 UTC
(In reply to comment #1)
> > Could not run/locate "i386-pc-linux-gnu-gcc"
> > CHOST="i686-pc-linux-gnu"
> 
> That's what happens if you mess w/ your CHOST. You must run 'emerge -e system'
> at least after doing that.

Of course I did not mess with my CHOST, this is a new install and the CHOST was not touched from the original make.conf used during the installation. I just changed my USE flags and did an emerge --newuse world right after the first boot into the new system. Then, trying to emerge apache, I run into this error.
Comment 3 Etaoin Shrdlu 2006-04-29 08:21:45 UTC
I found that I have this:

# cat /etc/env.d/05binutils
MANPATH=/usr/share/binutils-data/i386-pc-linux-gnu/2.16.1/man
INFOPATH=/usr/share/binutils-data/i386-pc-linux-gnu/2.16.1/info
LDPATH=/usr/i386-pc-linux-gnu/lib
# ls /etc/env.d/binutils/
config-i386-pc-linux-gnu  i386-pc-linux-gnu-2.16.1
# cat /etc/env.d/binutils/i386-pc-linux-gnu-2.16.1
TARGET="i386-pc-linux-gnu"
VER="2.16.1"
LIBPATH="/usr/lib/binutils/i386-pc-linux-gnu/2.16.1"
FAKE_TARGETS="i386-pc-linux-gnu"

I certainly did not put those there...I'm reemerging binutils at the moment to see if it helps.