Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 265283 - sys-devel/gcc fails to build when LANGUAGES is set in environment
Summary: sys-devel/gcc fails to build when LANGUAGES is set in environment
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-07 11:26 UTC by Miguel R. Caudevilla
Modified: 2009-07-05 19:56 UTC (History)
0 users

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


Attachments
Error log for libstdc++-v3-3.3.6 (build.log,85.72 KB, text/plain)
2009-04-07 11:27 UTC, Miguel R. Caudevilla
Details
Log file for gcc-4.3.2-r3 (build.log,157.16 KB, text/plain)
2009-04-07 11:34 UTC, Miguel R. Caudevilla
Details
emerge --info --verbose request (info,11.62 KB, text/plain)
2009-04-08 15:39 UTC, Miguel R. Caudevilla
Details
make.conf file (make.conf,2.13 KB, text/plain)
2009-04-10 11:37 UTC, Miguel R. Caudevilla
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Miguel R. Caudevilla 2009-04-07 11:26:22 UTC
When i try to reemerge libstdc++-v3-3.3.6 with new use flags or try to compile the new revision of gcc-4.3.2-r3 i come around with this error:

make[1]: *** No rule to make target `python', needed by `native'.  Stop.

I've been searching around for quite a long time and can't find a clue about what could be happening.

Reproducible: Always

Steps to Reproduce:




Portage 2.1.6.7 (default/linux/amd64/2008.0, gcc-4.1.2, glibc-2.8_p20080602-r1, 2.6.28.8-custom x86_64)
=================================================================
System uname: Linux-2.6.28.8-custom-x86_64-AMD_Athlon-tm-_64_Processor_3200+-with-glibc2.2.5
Timestamp of tree: Sat, 04 Apr 2009 13:55:01 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 2.1.7
dev-lang/python:     2.5.2-r7
dev-util/cmake:      2.6.2-r1
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
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.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=athlon64 -mfpmath=sse -msse -msse2 -mmmx -m3dnow -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=athlon64 -mfpmath=sse -msse -msse2 -mmmx -m3dnow -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://ftp.udc.es/gentoo/ ftp://ftp.udc.es/gentoo/ http://gentoo-euetib.upc.es/mirror/gentoo/"
LANG="C"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X aac acl acpi alsa amd64 aoss bash-completion berkdb bzip2 cairo cd cli consolekit cracklib crypt cups custom-optimization cvs dbus device-mapper dvd exif fam fat ffmpeg firefox flac fortran ftp fuse gdbm gif gimp glade glib glitz gnome gnome-keyring gnuplot gnutls gpm gstreamer gtk gzip hal hddtemp iconv ieee1394 imagemagick ipod isdnlog jpeg kpathsea latex libnotify lm_sensors midi mime mmap mmx mp3 mpeg msn mudflap multilib nautilus ncurses networkmanager new-login nls nptl nptlonly nsplugin ntfs nvidia ogg opengl openmp pam pcmcia pcre pdf perl plotutils png posix ppds pppd pstricks python quicktime raw rdesktop readline reflection reiserfs rtsp scanner sensord session snmp speex spell spl sqlite sse sse2 ssl svg symlink sysfs syslog tcl tcpd threads tiff tk truetype unicode usb vcd vnc vorbis wifi wmf wxwindows xcb xcomposite xft xinerama xml xorg xpm xscreensaver xulrunner xv xvid xvmc zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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 evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Miguel R. Caudevilla 2009-04-07 11:27:49 UTC
Created attachment 187552 [details]
Error log for libstdc++-v3-3.3.6
Comment 2 Miguel R. Caudevilla 2009-04-07 11:34:23 UTC
Created attachment 187554 [details]
Log file for gcc-4.3.2-r3
Comment 3 SpanKY gentoo-dev 2009-04-08 10:35:27 UTC
you probably have something set in your environment that you shouldnt.  run `emerge --info --verbose` and post the output as an attachment.
Comment 4 Miguel R. Caudevilla 2009-04-08 15:39:15 UTC
Created attachment 187698 [details]
emerge --info --verbose request
Comment 5 SpanKY gentoo-dev 2009-04-09 00:24:11 UTC
LANGUAGES="python tcl tk xml"

that doesnt look right ... do `unset LANGUAGES` and see if that fixes things
Comment 6 Miguel R. Caudevilla 2009-04-09 10:26:33 UTC
(In reply to comment #5)
> LANGUAGES="python tcl tk xml"
> 
> that doesnt look right ... do `unset LANGUAGES` and see if that fixes things
> 

(In reply to comment #5)
> LANGUAGES="python tcl tk xml"
> 
> that doesnt look right ... do `unset LANGUAGES` and see if that fixes things
> 

Ok! It works! Thanks for your support.

Should I remove the entire line from my /etc/make.conf file. Is it useless?
Comment 7 SpanKY gentoo-dev 2009-04-09 10:31:07 UTC
i dont know why it would be there in the first place ... so yes, you should remove it ...
Comment 8 Miguel R. Caudevilla 2009-04-10 11:36:53 UTC
(In reply to comment #7)
> i dont know why it would be there in the first place ... so yes, you should
> remove it ...
> 

The answer is easy, to cleanup the mess in make.conf file. I'm attaching my make.conf file. Would you mind to take a look?

What i have done is to make a series of variables with more descriptive names rather than USE="a big list of flags". I don't know if this isn't recommended but for the rest of applications it hasn't ever failed. Please let me know if i am doing something wrong.

Also, should i mark the bug as closed?
Comment 9 Miguel R. Caudevilla 2009-04-10 11:37:46 UTC
Created attachment 187877 [details]
make.conf file
Comment 10 SpanKY gentoo-dev 2009-04-10 13:33:45 UTC
just use a different variable then

sed -i 's:LANGUAGES:PROG_LANGS:' make.conf
Comment 11 Miguel R. Caudevilla 2009-04-10 22:47:22 UTC
Ok done! Thanks for your support. Do I mark bug as closed?
Comment 12 SpanKY gentoo-dev 2009-07-05 19:56:43 UTC
the ebuild should be smarter about this and prevent people from shooting themselves in the foot ... i cant think of a reason people would want to control LANGUAGES manually

http://sources.gentoo.org/eclass/toolchain.eclass?r1=1.401&r2=1.402