Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 158088 - dev-perl/XML-Parser-2.34 wants i386-pc-linux-gnu-gcc which i never had
Summary: dev-perl/XML-Parser-2.34 wants i386-pc-linux-gnu-gcc which i never had
Status: VERIFIED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
: 159681 172628 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-12-13 17:11 UTC by Alexander Gabert (RETIRED)
Modified: 2007-10-21 01:25 UTC (History)
3 users (show)

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


Attachments
dev-perl:XML-Parser-2.34:20070124-212406.log (dev-perl:XML-Parser-2.34:20070124-212406.log,3.65 KB, text/plain)
2007-01-24 21:28 UTC, Lee
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Gabert (RETIRED) gentoo-dev 2006-12-13 17:11:19 UTC
this bug is for an experienced bug resolver.

it does NOT contain emerge --info.
and it does not contain a solution.

it is a pure informational message to the author of the ebuild to make things better.


cp Parser/Encodings/iso-8859-5.enc blib/lib/XML/Parser/Encodings/iso-8859-5.enc
make[1]: Entering directory `/var/tmp/portage/XML-Parser-2.34/work/XML-Parser-2.34/Expat'
cp Expat.pm ../blib/lib/XML/Parser/Expat.pm
/usr/bin/perl5.8.8 /usr/lib/perl5/5.8.8/ExtUtils/xsubpp -noprototypes -typemap /usr/lib/perl5/5.8.8/Ext
Utils/typemap -typemap typemap  Expat.xs > Expat.xsc && mv Expat.xsc Expat.c
i386-pc-linux-gnu-gcc -c   -fno-strict-aliasing -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE
 -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -mtune=i686 -pipe   -DVERSION=\"2.34\" -DXS_VERSION=\"2
.34\" -fPIC "-I/usr/lib/perl5/5.8.8/i386-linux/CORE"   Expat.c
gcc-config error: Could not run/locate "i386-pc-linux-gnu-gcc"
make[1]: *** [Expat.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/XML-Parser-2.34/work/XML-Parser-2.34/Expat'
make: *** [subdirs] Error 2

!!! ERROR: dev-perl/XML-Parser-2.34 failed.


this gcc-config profile was never on my system.
i "fixed" the issue with cp -avpx another-profile i386-pc-linux-gnu-gcc

could the ebuild please either use the current gcc or if that's not possible for some weird reason, try ANY i386 gcc thats actually available on the system?


TIA

Alex
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-12-13 17:32:01 UTC
Did you change your CHOST? Why didn't you include emerge --info which is extremely informative for this typo of issues? :(

Anyway, your whole perl is compiled for i386-pc-linux-gnu:

<snip>
-I/usr/lib/perl5/5.8.8/i386-linux/CORE
</snip>

If you changed it to something else, then follow http://www.gentoo.org/doc/en/change-chost.xml, check for stale symlinks in /usr/bin and for stale entries pointing to i386 stuff in /etc/env.d
Comment 2 Michael Cummings (RETIRED) gentoo-dev 2006-12-13 17:44:10 UTC
Sounds like either you changed chosts, or built this from an old x86 image - the 386 is the compiler/chost used to compile your perl version, not a requirement of either the module or perl
Comment 3 Alexander Gabert (RETIRED) gentoo-dev 2006-12-14 01:53:02 UTC
this is your "old stage": stage3-x86-2006.0.tar.bz2

chroot001 jadefalcon ~ # emerge --info
Portage 2.1.1-r2 (default-linux/x86/no-nptl, gcc-4.1.1, glibc-2.5-r0, 2.4.33.4-grsec i686)
=================================================================
System uname: 2.4.33.4-grsec i686 Pentium III (Coppermine)
Gentoo Base System version 1.12.6
Last Sync: Mon, 11 Dec 2006 01:47:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: [Not Present]
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -mtune=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo"
CXXFLAGS="-O2 -mtune=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig cvs distclean distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LINGUAS="de"
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'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/chroot/tmp/kevquinn_overlays/toolchain"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa apm arts berkdb bitmap-fonts cli cracklib crypt cups dlloader dri eds elibc_glibc emboss encode foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 hardened iconv imlib input_devices_joystick input_devices_keyboard input_devices_mouse ipv6 isdnlog jpeg kde kernel_linux libg++ libwww linguas_de mad mikmod motif mp3 mpeg ncurses nls ogg opengl oss pam pcre perl png pppd python qt3 qt4 quicktime readline reflection sdl session spell spl ssl tcpd truetype truetype-fonts type1-fonts userland_GNU video_cards_apm video_cards_dummy video_cards_fbdev video_cards_mga video_cards_nv video_cards_nvidia video_cards_sis video_cards_vesa video_cards_vga video_cards_vmware vorbis xml xorg xv zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS

chroot001 jadefalcon ~ # gcc-config -l; gcc -v; echo "x${GCC_SPECS}y"
 [1] i386-pc-linux-gnu-3.4.4
 [2] i386-pc-linux-gnu-3.4.4-hardened
 [3] i386-pc-linux-gnu-3.4.4-hardenednopie
 [4] i386-pc-linux-gnu-3.4.4-hardenednopiessp
 [5] i386-pc-linux-gnu-3.4.4-hardenednossp
 [6] i386-pc-linux-gnu-gcc
 [7] i686-pc-linux-gnu-4.1.1 *
 [8] i686-pc-linux-gnu-4.1.1-hardenednopie
 [9] i686-pc-linux-gnu-4.1.1-hardenednopiessp
 [10] i686-pc-linux-gnu-4.1.1-hardenednossp
 [11] i686-pc-linux-gnu-4.1.1-vanilla
Reading specs from /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/specs
Target: i686-pc-linux-gnu
Configured with: /var/tmp/portage/gcc-4.1.1-r3/work/gcc-4.1.1/configure --prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/4.1.1 --includedir=/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include --datadir=/usr/share/gcc-data/i686-pc-linux-gnu/4.1.1 --mandir=/usr/share/gcc-data/i686-pc-linux-gnu/4.1.1/man --infodir=/usr/share/gcc-data/i686-pc-linux-gnu/4.1.1/info --with-gxx-include-dir=/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/g++-v4 --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --disable-altivec --enable-nls --without-included-gettext --with-system-zlib --disable-checking --disable-werror --disable-libunwind-exceptions --disable-multilib --disable-libmudflap --disable-libssp --disable-libgcj --enable-languages=c,c++,fortran --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu
Thread model: posix
gcc version 4.1.1 (Gentoo 4.1.1-r3, pie-9.0.5)
xy

entry number 6 has been manually added by me.

i didnt start an argument about the Gentoo toolchain being broken or perl or this XML-whatever.

all i was asking for is a check in the ebuild to not have people fall into that again.  Changing the CHOST for glibc-2.4 is not a natural disaster that excuses every bug that follows after it.

*shrug*

-Alex
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2007-01-02 01:19:03 UTC
*** Bug 159681 has been marked as a duplicate of this bug. ***
Comment 5 Lee 2007-01-24 21:23:37 UTC
This is a fresh install of 2006.1 i686-pc-linux-gnu. Started the install yesterday. Never had i386-pc-liux-gnu.


i386-pc-linux-gnu-gcc -c   -fno-strict-aliasing -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -mtune=i686 -pipe   -DVERSION=\"2.34\" -DXS_VERSION=\"2.34\" -fPIC "-I/usr/lib/perl5/5.8.8/i386-linux/CORE"   Expat.c
gcc-config error: Could not run/locate "i386-pc-linux-gnu-gcc"
make[1]: *** [Expat.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/dev-perl/XML-Parser-2.34/work/XML-Parser-2.34/Expat'
make: *** [subdirs] Error 2

!!! ERROR: dev-perl/XML-Parser-2.34 failed.
Call stack:
  ebuild.sh, line 1611:   Called dyn_compile
  ebuild.sh, line 968:   Called qa_call 'src_compile'
  environment, line 3208:   Called src_compile
  ebuild.sh, line 1301:   Called perl-module_src_compile
  perl-module.eclass, line 138:   Called die

!!! compilation failed
!!! 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:XML-Parser-2.34:20070124-210920.log'.

emerge --info
Portage 2.1.2-r3 (default-linux/x86/no-nptl, gcc-4.1.1, glibc-2.5-r0, 2.6.19-gentoo-r4 i686)
=================================================================
System uname: 2.6.19-gentoo-r4 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System release 1.12.9
Timestamp of tree: Wed, 24 Jan 2007 18:30:01 +0000
dev-java/java-config: 1.3.7, 2.0.31-r3
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.18.1
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.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.19.2-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=pentium4 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org ftp://ftp.du.se/pub/os/gentoo http://ds.thn.htu.se/linux/gentoo http://mirror.gentoo.no/ http://gentoo.osuosl.org/ ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/ ftp://ftp.gtlib.gatech.edu/pub/gentoo ftp://ftp.ussg.iu.edu/pub/linux/gentoo ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ ftp://gentoo.mirrors.pair.com/ ftp://gentoo.mirrors.tds.net/gentoo ftp://gentoo.netnitco.net/pub/mirrors/gentoo/source/ ftp://mirror.datapipe.net/gentoo http://mirror.uni-c.dk/pub/gentoo/ http://trumpetti.atm.tut.fi/gentoo/ http://ftp.club-internet.fr/pub/mirrors/gentoo ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://pandemonium.tiscali.de/pub/gentoo/ ftp://files.gentoo.org ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://mirrors.blueyonder.co.uk/mirrors/gentoo ftp://ftp.mirrorservice.org/sites/www.ibiblio.org/gentoo/ ftp://ftp.planetmirror.com/pub/gentoo/ ftp://mirror.pacific.net.au/linux/Gentoo ftp://mirror.isp.net.au/pub/gentoo/ "
LINGUAS="en_US en"
MAKEOPTS="-j3"
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"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 acpi alsa apm artworkextra autoipd avahi berkdb bitmap-fonts branding bzip2 cdr cli cracklib crypt cups dbus dlloader dri dvd dvdr eds emboss encode ffmpeg firefox flac foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 hal iconv imlib ipv6 isdnlog java jbig jpeg jpeg2k libg++ libnotify libwww mad mikmod mmx motif mozbranding mp3 mpeg ncurses nfs nls nsplugin offensive ogg opengl oss pam pcre perl png ppds pppd python quicktime readline reflection samba sdl session spell spl sse sse2 ssl tcpd theora tiff truetype truetype-fonts type1-fonts usb vorbis wmf x86 xforms xml xorg xv zlib" ALSA_CARDS="intel8x0" 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_US en" USERLAND="GNU" VIDEO_CARDS="fglrx radeon"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

Comment 6 Lee 2007-01-24 21:28:15 UTC
Created attachment 108058 [details]
dev-perl:XML-Parser-2.34:20070124-212406.log
Comment 7 Ákos Maróy 2007-02-12 09:50:45 UTC
I have the same issue here - brand new install, first emerge, and I get the same error as reported in this bug. seemingly perl is compiled for i386 in the stage3 tarball.

re-emerging perl does solve the issue though - but still, this shouldn't be an issue in the first place.
Comment 8 Jakub Moc (RETIRED) gentoo-dev 2007-03-29 06:35:00 UTC
*** Bug 172628 has been marked as a duplicate of this bug. ***
Comment 9 Jakub Moc (RETIRED) gentoo-dev 2007-10-21 01:25:40 UTC
Closing.