Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 258563 - Net-LibIDN-0.11:gcc-config error: Could not run/locate "i486-pc-linux-gnu-gcc"
Summary: Net-LibIDN-0.11:gcc-config error: Could not run/locate "i486-pc-linux-gnu-gcc"
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-11 07:17 UTC by Morladim
Modified: 2009-02-11 07:43 UTC (History)
1 user (show)

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 Morladim 2009-02-11 07:17:53 UTC
while emerge Net-LibIDN
Error message:Could not run/locate "i486-pc-linux-gnu-gcc"
but indeed I use i686-pc-linux-gnu-gcc
I found that the "MAKEFILE" in "/var/tmp/portage/dev-perl/Net-LibIDN-0.11/work/Net-LibIDN-0.11 "

At line 33:
"CC = i486-pc-linux-gnu-gcc" 
line 38:
"LD = i486-pc-linux-gnu-gcc"
line 319:
"        i486-pc-linux-gnu-gcc -E -c $(PASTHRU_INC) $(INC) \"



Reproducible: Always

Steps to Reproduce:
>>> Emerging (1 of 1) dev-perl/Net-LibIDN-0.11
 * Net-LibIDN-0.11.tar.gz RMD160 SHA1 SHA256 size ;-) ...                          [ ok ]
 * checking ebuild checksums ;-) ...                                               [ ok ]
 * checking auxfile checksums ;-) ...                                              [ ok ]
 * checking miscfile checksums ;-) ...                                             [ ok ]
>>> Unpacking source...
>>> Unpacking Net-LibIDN-0.11.tar.gz to /var/tmp/portage/dev-perl/Net-LibIDN-0.11/work
>>> Source unpacked in /var/tmp/portage/dev-perl/Net-LibIDN-0.11/work
>>> Compiling source in /var/tmp/portage/dev-perl/Net-LibIDN-0.11/work/Net-LibIDN-0.11 ...
 * Using ExtUtils::MakeMaker
Found LibIDN, with TLD checking support
Checking if your kit is complete...
Looks good
Writing Makefile for Net::LibIDN
cp LibIDN.pm blib/lib/Net/LibIDN.pm
AutoSplitting blib/lib/Net/LibIDN.pm (blib/lib/auto/Net/LibIDN)
/usr/bin/perl5.8.8 /usr/lib/perl5/5.8.8/ExtUtils/xsubpp  -typemap /usr/lib/perl5/5.8.8/ExtUtils/typemap  LibIDN.xs > LibIDN.xsc && mv LibIDN.xsc LibIDN.c
i486-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=\"0.11\" -DXS_VERSION=\"0.11\" -fPIC "-I/usr/lib/perl5/5.8.8/i486-linux/CORE"  -DHAVE_TLD LibIDN.c
gcc-config error: Could not run/locate "i486-pc-linux-gnu-gcc"
make: *** [LibIDN.o] Error 1
 *
 * ERROR: dev-perl/Net-LibIDN-0.11 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2392:  Called perl-module_src_compile
 *             environment, line 2134:  Called die
 * The specific snippet of code:
 *           make ${mymake} || die "compilation failed";
 *  The die message:
 *   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/Net-LibIDN-0.11/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-perl/Net-LibIDN-0.11/temp/environment'.
 *

>>> Failed to emerge dev-perl/Net-LibIDN-0.11, Log file:

>>>  '/var/tmp/portage/dev-perl/Net-LibIDN-0.11/temp/build.log'




emerge --info
Portage 2.1.6.7 (default/linux/x86/2008.0, gcc-4.3.3, glibc-2.9_p20081201-r1, 2.6.28-gentoo-r1 i686)
=================================================================
System uname: Linux-2.6.28-gentoo-r1-i686-Intel-R-_Pentium-R-_4_CPU_2.80GHz-with-glibc2.0
Timestamp of tree: Sun, 08 Feb 2009 01:45:01 +0000
ccache version 2.4 [disabled]
app-shells/bash:     3.2_p48
dev-java/java-config: 1.3.7-r1, 2.1.7
dev-lang/python:     2.4.4-r15, 2.5.4-r2
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.6.2-r1
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.4.2
sys-apps/sandbox:    1.3.2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.7.9-r1, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.19.1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.28-r1
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -mtune=i686 -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/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -mtune=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://61.135.158.199"
LANG="zh_CN.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="zh_CN"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/enlightenment /usr/local/portage/layman/gentoo-china"
SYNC="rsync://61.135.158.199/gentoo-portage"
USE="X a52 aac acl acpi alsa apache2 apm arts audiofile avi bash-completion berkdb bitmap-fonts bizp2 bzip2 cdr chardet cjk cli cracklib crypt ctype cups curl dbus dri dvd dvdr dvdread encode expat faac faad ffmpeg flac freetype freetype2 gd gdbm gif gpm gtk gtk2 iconv immqt-bc isdnlog java jpeg jpeg2k kde libg++ mad midi mmx mmxext motif mp3 mpeg mplayer mudflap mysql ncurses nls nptl nptlonly nsplugin ogg oggvorbis old-crypt openal opengl openmp pam pcre perl php5 png pppd python qt4 quicktime readline reflection scim sdl session spell spl sse sse2 sse3 ssl sysfs tcpd theora tiff tk truetype unicode usb utf8 win32codecs x86 xml xml2 xmlrpc xorg xscreensaver xv xvid zh_CN 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 mmap_emul 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_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="zh_CN" USERLAND="GNU" VIDEO_CARDS=" fbdev vesa fglrx intel"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Morladim 2009-02-11 07:27:50 UTC
 perl -v

This is perl, v5.8.8 built for i486-linux

Copyright 1987-2006, Larry Wall

Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.

Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl".  If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.
Comment 2 Morladim 2009-02-11 07:39:21 UTC
After I reemerge perl all be ok!
perl -v

This is perl, v5.8.8 built for i686-linux

Copyright 1987-2006, Larry Wall
Comment 3 Morladim 2009-02-11 07:43:06 UTC
But I don't know why and when the perl was built for i486-linux!