When emerging binutils-2.15.92.0.2-r7, I get this error: make[2]: Entering directory `/var/tmp/portage/binutils-2.15.92.0.2-r7/work/build/opcodes' Making all in po make[3]: Entering directory `/var/tmp/portage/binutils-2.15.92.0.2-r7/work/build/opcodes/po' make[3]: *** No rule to make target `pt.gmo', needed by `all-yes'. Stop. make[3]: Leaving directory `/var/tmp/portage/binutils-2.15.92.0.2-r7/work/build/opcodes/po' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/binutils-2.15.92.0.2-r7/work/build/opcodes' make[1]: *** [all] Error 2 make[1]: Leaving directory `/var/tmp/portage/binutils-2.15.92.0.2-r7/work/build/opcodes' make: *** [all-opcodes] Error 2 !!! ERROR: sys-devel/binutils-2.15.92.0.2-r7 failed. !!! Function toolchain-binutils_src_compile, Line 115, Exitcode 2 !!! emake failed !!! If you need support, post the topmost build error, NOT this status message. so there's no rule to make "pt.gmo", I belive related to the portuguese translations. Reproducible: Always Steps to Reproduce: 1.(setup the system for portuguese locales) 2. emerge binutils Actual Results: (...) make[2]: Entering directory `/var/tmp/portage/binutils-2.15.92.0.2-r7/work/build/opcodes' Making all in po make[3]: Entering directory `/var/tmp/portage/binutils-2.15.92.0.2-r7/work/build/opcodes/po' make[3]: *** No rule to make target `pt.gmo', needed by `all-yes'. Stop. make[3]: Leaving directory `/var/tmp/portage/binutils-2.15.92.0.2-r7/work/build/opcodes/po' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/binutils-2.15.92.0.2-r7/work/build/opcodes' make[1]: *** [all] Error 2 make[1]: Leaving directory `/var/tmp/portage/binutils-2.15.92.0.2-r7/work/build/opcodes' make: *** [all-opcodes] Error 2 !!! ERROR: sys-devel/binutils-2.15.92.0.2-r7 failed. !!! Function toolchain-binutils_src_compile, Line 115, Exitcode 2 !!! emake failed !!! If you need support, post the topmost build error, NOT this status message. Expected Results: It should have make pt.gmo, and emerged binutils Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5, glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r4 i686) ================================================================= System uname: 2.6.11-gentoo-r4 i686 Intel(R) Pentium(R) 4 CPU 2.66GHz Gentoo Base System version 1.4.16 Python: dev-lang/python-2.2.3-r5,dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb 7 2005, 18:08:11)] distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] dev-lang/python: 2.2.3-r5, 2.3.4-r1 sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4 sys-devel/binutils: 2.15.92.0.2-r1 sys-devel/libtool: 1.5.10-r4 virtual/os-headers: 2.6.8.1-r4 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O3 -mcpu=pentium4 -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -mcpu=pentium4 -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distcc distlocks sandbox sfperms" GENTOO_MIRRORS="ftp://ftp.rnl.ist.utl.pt/pub/gentoo http://darkstar.ist.utl.pt/gentoo http://ftp.gentoo-pt.org/pub/gentoo ftp://gentoo.chem.wisc.edu/gentoo/ ftp://ftp.rxd.hu ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://mirror.datapipe.net/gentoo" LANG="pt_PT@euro" MAKEOPTS="-j4" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X Xaw3d aac aalib acpi alsa apm arts avi berkdb bitmap-fonts cdparanoia cdr crypt cups curl directfb divx4linux dvd dvdr emboss encode esd fam fbcon flac foomaticdb fortran gcj gdbm gif gpm gtk gtk2 imagemagick imlib jack java jpeg kde kdeenablefinal libcaca libg++ libwww lirc live mad matroska mikmod mmx mmxext motif mp3 mpeg nas ncurses network nls nptl nvidia offensive ogg oggvorbis opengl oss pdflib perl png ppds python qt quicktime readline samba sdl slang spell sse sse2 ssl svg svga tcltk tcpd tetex threads tiff tls truetype truetype-fonts type1-fonts usb userlocales v4l v4l2 videos win32codecs xml xml2 xmms xpm xv xvid zlib linguas_pt" Unset: ASFLAGS, CBUILD, CTARGET, LC_ALL, LDFLAGS
please run `emerge binutils >& log` and post the log as an attachment
Created attachment 55849 [details] the "log" file you asked for Here it goes.. thanks!
if you set LANG to just 'pt' does it work ? how about if you just unset it ?
Both setting LANG to pt and unsetting it don't work, getting the same error. So I got suspicious about the LINGUAS var in make.conf. Unsetting it seems to work! It's compiling way past the previous point. Seems "they" don't like portuguese people :P
the binutils eclass should strip unsupported LINGUAS automatically does it work if you do this: rm -r /var/tmp/portage/binutils* sed -i -e 's:unset LINGUAS:export LINGUAS="":' /usr/portage/eclass/eutils.eclass emerge binutils
yap, it works!
thanks for testing, fix added to cvs ;)