Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 88481 - binutils locales problem
Summary: binutils locales problem
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-09 08:14 UTC by Renato Caldas
Modified: 2005-04-15 15:01 UTC (History)
0 users

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


Attachments
the "log" file you asked for (log,181.92 KB, text/plain)
2005-04-10 03:53 UTC, Renato Caldas
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Renato Caldas 2005-04-09 08:14:47 UTC
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
Comment 1 SpanKY gentoo-dev 2005-04-09 18:24:38 UTC
please run `emerge binutils >& log` and post the log as an attachment
Comment 2 Renato Caldas 2005-04-10 03:53:44 UTC
Created attachment 55849 [details]
the "log" file you asked for

Here it goes.. thanks!
Comment 3 SpanKY gentoo-dev 2005-04-10 22:15:10 UTC
if you set LANG to just 'pt' does it work ?  how about if you just unset it ?
Comment 4 Renato Caldas 2005-04-11 01:59:01 UTC
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
Comment 5 SpanKY gentoo-dev 2005-04-11 18:36:01 UTC
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
Comment 6 Renato Caldas 2005-04-12 12:46:13 UTC
yap, it works!
Comment 7 SpanKY gentoo-dev 2005-04-15 15:01:49 UTC
thanks for testing, fix added to cvs ;)