Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 134774 - binutils-2.16.1-r2: build fails with LINGUAS="zh"
Summary: binutils-2.16.1-r2: build fails with LINGUAS="zh"
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-29 06:06 UTC by Boris Dusek
Modified: 2006-06-11 15:05 UTC (History)
0 users

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 Boris Dusek 2006-05-29 06:06:46 UTC
i686-pc-linux-gnu-ranlib .libs/libbfd.a
creating libbfd.la
(cd .libs && rm -f libbfd.la && ln -s ../libbfd.la libbfd.la)
libtooldir=`/bin/sh ./libtool --config | sed -n -e 's/^objdir=//p'`; \
if [ -f $libtooldir/libbfd.a ]; then \
  cp $libtooldir/libbfd.a libbfd.tmp; \
  i686-pc-linux-gnu-ranlib libbfd.tmp; \
  /bin/sh /home/tmp/portage/binutils-2.16.1-r2/work/binutils-2.16.1/bfd/../move-if-change libbfd.tmp libbfd.a; \
else true; fi
touch stamp-lib
make[3]: Leaving directory `/home/tmp/portage/binutils-2.16.1-r2/work/build/bfd'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/tmp/portage/binutils-2.16.1-r2/work/build/bfd'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/tmp/portage/binutils-2.16.1-r2/work/build/bfd'
make: *** [all-bfd] Error 2



I just can't see the cause of the error anywhere. It "just fails" with no apparent reason (maybe "make" itself is to blame?).

Emerge info output:

Portage 2.0.54-r2 (default-linux/x86/2006.0, gcc-3.4.5, glibc-2.4-r3, 2.6.14-gentoo-r5 i686)
=================================================================
System uname: 2.6.14-gentoo-r5 i686 Mobile AMD Athlon(tm) XP 2400+
Gentoo Base System version 1.6.14
ccache version 2.3 [disabled]
dev-lang/python:     2.3.5-r2, 2.4.2
dev-python/pycrypto: 2.0-r1
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-Os -march=athlon-xp -fomit-frame-pointer -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/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/"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-Os -march=athlon-xp -fomit-frame-pointer -pipe -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.chello.cz/mirrors/gentoo-mirror ftp://ftp.sh.cvut.cz/MIRRORS/gentoo http://gentoo.ynet.sk/pub"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en cs sk ru he hi ar zh"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/home/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/mine"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="x86 3dnow X a52 aac aalib acl acpi adns alsa apache2 arts atlas audiofile avi bash-completion berkdb bitmap-fonts bonobo bzip2 cairo cdb cdparanoia cdr cli crypt cscope cups curl dri dv dvd eds emacs emboss encode exif expat fam fbcon ffmpeg flac foomaticdb fortran gcj gdbm gif ginac glut gmp gphoto2 gpm gstreamer gtk gtk2 guile icq idn ieee1394 imagemagick imlib ipv6 irc isdnlog jack jpeg junit kde kdeenablefinal kdexdeltas lcms libcaca libg++ libwww lua mad mhash mikmod mmx mng mp3 mpeg ncurses nls nptl nsplugin ogg openal opengl oss pam pcre pdflib perl pic plotutils png pppd python qt readline reflection ruby samba scanner sdl session speex spl sqlite sse ssl subversion symlink tcpd tetex threads tiff truetype truetype-fonts type1-fonts udev unicode usb vorbis win32codecs wmf xinerama xml xml2 xorg xv xvid yaz zlib video_cards_via input_devices_keyboard input_devices_mouse input_devices_synaptics linguas_en linguas_cs linguas_sk linguas_ru linguas_he linguas_hi linguas_ar linguas_zh userland_GNU kernel_linux elibc_glibc"
Unset:  CTARGET, INSTALL_MASK, LANG, PORTAGE_RSYNC_EXTRA_OPTS, PORTAGE_RSYNC_OPTS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-05-29 06:18:38 UTC
Try w/ MAKEOPTS="-j1", we can't fix something if we don't see the error...
Comment 2 Boris Dusek 2006-05-29 07:03:14 UTC
(In reply to comment #1)
> Try w/ MAKEOPTS="-j1", we can't fix something if we don't see the error...
> 

So I tried 'MAKEOPTS="-j1" emerge -u binutils', but sadly the error output is exactly the same.
Comment 3 Boris Dusek 2006-06-08 05:03:25 UTC
(In reply to comment #1)
> Try w/ MAKEOPTS="-j1", we can't fix something if we don't see the error...
> 
I tried today with make-3.80-r4 and make-3.81, binutils-2.16.1 and binutils-2.16.1-r2, alle with MAKEOPTS="-j1", but still no success. I really don't know what to do to find the cause of the problem. I even tried binutils-2.15.92.0.2-r10 (all binutils I tested are stable on x86), but got this error:

cd .. \
  && CONFIG_FILES=po/Makefile.in:po/Make-in \
     CONFIG_HEADERS= /bin/sh ./config.status
config.status: creating po/Makefile.in
config.status: executing depfiles commands
config.status: executing default commands
make[3]: Leaving directory `/home/tmp/portage/binutils-2.15.92.0.2-r10/work/build/bfd/po'
make[3]: Entering directory `/home/tmp/portage/binutils-2.15.92.0.2-r10/work/build/bfd/po'
make[3]: *** No rule to make target `zh.gmo', needed by `all-yes'.  Stop.
make[3]: Leaving directory `/home/tmp/portage/binutils-2.15.92.0.2-r10/work/build/bfd/po'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/tmp/portage/binutils-2.15.92.0.2-r10/work/build/bfd'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/tmp/portage/binutils-2.15.92.0.2-r10/work/build/bfd'
make: *** [all-bfd] Error 2

Comment 4 SpanKY gentoo-dev 2006-06-08 10:35:46 UTC
run `emerge binutils >& log` and post the log as an attachment
Comment 5 Boris Dusek 2006-06-08 12:24:05 UTC
(In reply to comment #1)
> Try w/ MAKEOPTS="-j1", we can't fix something if we don't see the error...
> 

O.k, cleaning the LINGUAS variable made it build successfully. I will post a full bzipped log sometime soon of the faulty build.
Comment 6 SpanKY gentoo-dev 2006-06-11 15:05:24 UTC
zh gets properly scrubbed in my env:
 * Sorry, but binutils does not support the en LINGUA
 * Sorry, but binutils does not support the cs LINGUA
 * Sorry, but binutils does not support the zh LINGUA