Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 42033 - Error emerging sys-devel/binutils-2.14.90.0.8-r1: pt.gmo
Summary: Error emerging sys-devel/binutils-2.14.90.0.8-r1: pt.gmo
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:
: 124915 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-02-18 08:32 UTC by José Romildo Malaquias
Modified: 2006-03-07 01:08 UTC (History)
2 users (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 José Romildo Malaquias 2004-02-18 08:32:21 UTC
When emerging sys-devel/binutils-2.14.90.0.8-r1 I have got the message:

[...]
Making all in po
make[3]: Entering directory `/var/tmp/portage/binutils-2.14.90.0.8-r1/work/binutils-2.14.90.0.8/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.14.90.0.8-r1/work/binutils-2.14.90.0.8/opcodes/po'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/binutils-2.14.90.0.8-r1/work/binutils-2.14.90.0.8/opcodes'
make[1]: *** [all-recursive-am] Error 2
make[1]: Leaving directory `/var/tmp/portage/binutils-2.14.90.0.8-r1/work/binutils-2.14.90.0.8/opcodes'
make: *** [all-opcodes] Error 2
 
!!! ERROR: sys-devel/binutils-2.14.90.0.8-r1 failed.
!!! Function src_compile, Line 88, Exitcode 2
!!! (no error message)

Reproducible: Always
Steps to Reproduce:
1.
2.
3.




# emerge --info
Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.3_pre20040207-r0,
2.6.3-rc3-gentoo)
=================================================================
System uname: 2.6.3-rc3-gentoo i686 AMD Athlon(tm) XP 2000+
Gentoo Base System version 1.4.3.13
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=athlon-xp -funroll-loops -fprefetch-loop-arrays -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3/share/config /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/env.d"
CXXFLAGS="-O3 -march=athlon-xp -funroll-loops -fprefetch-loop-arrays -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs buildpkg ccache sandbox"
GENTOO_MIRRORS="http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="3dnow X aalib acl acpi alsa apm arts artswrappersuid avi berkdb bonobo cdr
crypt cups dvd encode esd fbcon foomaticdb gdbm gif gnome gpm gracenote gtk gtk2
gtkhtml guile imap imlib imlib2 java javascript jpeg kde libg++ libwww lirc mad
mbox mikmod mmx motif mozilla mozsvg mpeg mysql ncurses nls oggvorbis opengl oss
pam pdflib perl png python qt quicktime readline rplay samba sdl slang spell sse
ssl stroke svga tcltk tcpd tetex tiff truetype usb wmf x86 xface xml xml2 xmms
xv zlib"
Comment 1 Bastiaan Wakkie 2004-02-19 10:03:42 UTC
Same error after somewhat 2 ours after:
cdimage portage # scripts/bootstrap.sh


8< - - - - - - - - - - - - - - - - - - - - - - - - - - 
gcc: Internal error: Terminated (program cc1)
Please submit a full bug report.
See <URL:http://bugs.gentoo.org/> for instructions.
{standard input}: Assembler messages:
{standard input}:13745: Warning: end of file not at end of a line; newline inserted
{standard input}:14514: Error: no such instruction: `c'
make[3]: *** [elf.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/var/tmp/portage/binutils-2.14.90.0.8-r1/work/binutils-2.14.90.0.8/bfd'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/binutils-2.14.90.0.8-r1/work/binutils-2.14.90.0.8/bfd'
make[1]: *** [all-recursive-am] Error 2
make[1]: Leaving directory `/var/tmp/portage/binutils-2.14.90.0.8-r1/work/binutils-2.14.90.0.8/bfd'
make: *** [all-bfd] Error 2

!!! ERROR: sys-devel/binutils-2.14.90.0.8-r1 failed.
!!! Function src_compile, Line 88, Exitcode 2
!!! (no error message)

C -DPIC -o .libs/elf32-i386.oct-prototypes -Wmissing-prototypes -march=i486 -O3 -pipe -c elf32-i386.c  -fPI
{standard input}:14514: Error: no such instruction: `c'
make[3]: *** [elf.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
gcc: elf32-i386.c: No such file or directory
gcc: no input files
rch=i486 -O3 -pipe -c elf32.c -I./../intl -I../intl   -W -Wall -Wstrict-prototypes -Wmissing-prototypes -ma
./libtool: ./libtool: No such file or directory
make[3]: Leaving directory `/var/tmp/portage/binutils-2.14.90.0.8-r1/work/binutils-2.14.90.0.8/bfd'
IC -o .libs/elf32.oall -Wstrict-prototypes -Wmissing-prototypes -march=i486 -O3 -pipe -c elf32.c  -fPIC -DP
gcc: elf32.c: No such file or directory
gcc: no input files
f32-i386.o >/dev/null 2>&1trict-prototypes -Wmissing-prototypes -march=i486 -O3 -pipe -c elf32-i386.c -o el
make[1]: *** [all-recursive-am] Error 2
make[1]: Leaving directory `/var/tmp/portage/binutils-2.14.90.0.8-r1/work/binutils-2.14.90.0.8/bfd'
rch=i486 -O3 -pipe -c elf.ce  -I./../intl -I../intl   -W -Wall -Wstrict-prototypes -Wmissing-prototypes -ma
./libtool: ./libtool: No such file or directory
 -o .libs/elf.oW -Wall -Wstrict-prototypes -Wmissing-prototypes -march=i486 -O3 -pipe -c elf.c  -fPIC -DPIC
gcc: elf.c: No such file or directory
gcc: no input files
make: *** [all-bfd] Error 2

 >/dev/null 2>&1 -Wall -Wstrict-prototypes -Wmissing-prototypes -march=i486 -O3 -pipe -c elf32.c -o elf32.o
!!! ERROR: sys-devel/binutils-2.14.90.0.8-r1 failed.
!!! Function src_compile, Line 88, Exitcode 2


cdimage portage # emerge info
Portage 2.0.50-r1 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.20-xfs-r2)
=================================================================
System uname: 2.4.20-xfs-r2 i686 Pentium II (Deschutes)
Gentoo Base System version 1.4.3.8p1
Autoconf:
Automake:
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=i486 -O3 -pipe"
CHOST="i486-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=i486 -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs buildpkg ccache sandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.skynet.be/gentoo/"
USE="X apache2 berkdb crypt cups encode foomaticdb gdbm gif gnome gpm gtk gtk2 imagemagick jpeg ldap libg++ libwww motif mozilla mpeg mysql ncurses odbc oggvorbis opengl pam pdflib perl png python readline samba slang spell ssl svga tcpd truetype unicode x86 xml2 zlib"

Comment 2 José Romildo Malaquias 2004-02-19 11:32:48 UTC
The error originally reported hapened when the LINGUAS environment variable was set as

LINGUAS="en pt fr de"

in /etc/env.d/02locale. Before reporting the bug I have done

unset LINGUAS

but the error persisted.

After commenting out the line that sets the LINGUAS variable in /etc/env.d/02locale and rebooting the system, the error has gone and the package emerged successfully, although I do not understand why "unset LINGUAS" prior to emerging was not enough.
Comment 3 José Romildo Malaquias 2004-02-19 11:47:05 UTC
It seems that additional comment #1 is not pertinent to this bug, as it seems that what is reported there is not related to the bug title: "Error emerging sys-devel/binutils-2.14.90.0.8-r1: pt.gmo". I suggest that Bastiaan Wakkie reports his bug as a new bug.
Comment 4 Martin Schlemmer (RETIRED) gentoo-dev 2004-02-19 12:39:11 UTC
Second problem like this (other with sharutils).  What version gettext/related?
Comment 5 Alexander Gabert (RETIRED) gentoo-dev 2004-03-04 06:25:20 UTC
the environment for building is taken from the env files in the directory where you temporary disabled the LINGUA variable

this is also the reason it did not work for unsetting it at the command line

i think the actual bug could be the result of using -O3 and thus the compiler has died in cc1

but i may be wrong-

just to be sure, please try lowering to -O2 and see if it is really the LINGUA problem you mentioned and it keeps coming back at you.

if not, we have the -O3 problem here again

thanks,

Alex
Comment 6 José Romildo Malaquias 2004-03-09 07:30:10 UTC
I changed the optimizations from "-O3" to "-O2" in /etc/make.conf and kept LINGUAS set to "en pt fr de" in /etc/env.d/02locale. Emerging sys-devel/binutils-2.14.90.0.8-r1 still fails with the message "No rule to make target `pt.gmo'".
Comment 7 katerina 2004-06-09 13:26:55 UTC
I had exactly the same error as the reporter; taking pt out of my LINGUAS in /etc/make.conf fixed it.
Comment 8 Seemant Kulleen (RETIRED) gentoo-dev 2004-06-09 13:35:33 UTC
I reckon the safe thing would be to empty out the LINGUAS variable in the ebuild
Comment 9 Alexander Gabert (RETIRED) gentoo-dev 2004-09-23 19:05:20 UTC
Use more recent binutils versions and report back.

Bug will be closed if two weeks no reply.

Thanks,

Alex
Comment 10 José Romildo Malaquias 2004-10-08 04:20:08 UTC
I still see the same problem with pt.gmo when the environment variable LINGUAS is set to "en pt pt_BR fr de" (sys-devel/binutils-2.15.92.0.2)

[...]
Making all in po
make[3]: Entering directory `/var/tmp/portage/binutils-2.15.92.0.2/work/binutils-2.15.92.0.2/opcodes/po'
make[3]: *** No rule to make target `pt.gmo', needed by `all-yes'.  Stop.

But with LINGUAS unset, emerging succeeds.
Comment 11 Freyr Gunnar Ólafsson 2004-10-15 06:04:04 UTC
I'm also having a problem with compiling binutils :-(
Here is the std output

config.status: creating po/Makefile.in
config.status: executing depfiles commands
config.status: executing default commands
make[3]: Leaving directory `/var/tmp/portage/binutils-2.15.92.0.2-r1/work/binutils-2.15.92.0.2/bfd/po'
make[3]: Entering directory `/var/tmp/portage/binutils-2.15.92.0.2-r1/work/binutils-2.15.92.0.2/bfd/po'
file=./`echo fr | sed 's,.*/,,'`.gmo \
  && rm -f $file && PATH=../src:$PATH /usr/bin/gmsgfmt -o $file fr.po
file=./`echo tr | sed 's,.*/,,'`.gmo \
  && rm -f $file && PATH=../src:$PATH /usr/bin/gmsgfmt -o $file tr.po
/usr/bin/gmsgfmt: error while loading shared libraries: libgettextlib-0.14.1.so: cannot open shared object file: No such file or directory
make[3]: *** [fr.gmo] Error 127
make[3]: *** Waiting for unfinished jobs....
/usr/bin/gmsgfmt: error while loading shared libraries: libgettextlib-0.14.1.so: cannot open shared object file: No such file or directory
make[3]: *** [tr.gmo] Error 127
make[3]: Leaving directory `/var/tmp/portage/binutils-2.15.92.0.2-r1/work/binutils-2.15.92.0.2/bfd/po'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/binutils-2.15.92.0.2-r1/work/binutils-2.15.92.0.2/bfd'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/var/tmp/portage/binutils-2.15.92.0.2-r1/work/binutils-2.15.92.0.2/bfd'
make: *** [all-bfd] Error 2

emerge infoPortage 2.0.51_rc9 (default-x86-2004.2, gcc-3.4.2, glibc-2.3.4.20041006-r0, 2.6.9-rc3 i686)
=================================================================
System uname: 2.6.9-rc3 i686 AMD Athlon(tm) processor
Gentoo Base System version 1.5.3
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.90.0.1.1-r3
Headers:  sys-kernel/linux-headers-2.4.22
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-tbird -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /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/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-tbird -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache digest distlocks sandbox userpriv usersandbox"
GENTOO_MIRRORS="ftp://ftp.rhnet.is/gentoo http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowex S3TC X acpi acpi4linux aliaschain alsa apache2 avi berkdb bindist bitmap-fonts blender-game bzlib cdinstall cdparanoia cdr chroot crypt cups dga directfb divx4linux dvd dvdread encode f77 fbcon ffmpeg foomaticdb fs ftp gdbm gif gimp gimpprint gnome gpm gstreamer gtk gtk2 icq jabber javascript joystick jpeg kde libwww mad maildir md5sum mikmod mmx mpeg mpeg4 mplayer msn music ncurses net nls nocd offensive oggvorbis openal opengl oss pam parse-clocks pdflib perl php physfs png print pthreads python qtquicktime readline samba sdl slang speedo spell src ssl stencil-buffer svga tcpd tiff truetype usb x86 xface xml2 xmms xprint xrandr xv xvid yahoo zlib"

Hope this helps.
Comment 12 Freyr Gunnar Ólafsson 2004-10-15 06:20:11 UTC
using -O2 fixed it. Thx
Comment 13 SpanKY gentoo-dev 2004-10-20 07:49:07 UTC
can you guys edit the ebuild that you're having trouble with and add
this to the end of src_unpack():

cd ${S}
strip-linguas -i */po

then try emerging with your LINGUAS set normally
Comment 14 José Romildo Malaquias 2004-10-20 08:46:14 UTC
Addind those two lines to the end of src_upack() did not solve the problem, unfortunatly.

It seems that there is no support for "pt" in binutils. Consequently it fails to compile when "pt" is in the LINGUAS environment variable. When pt is removed from LINGUAS, the problem is gone.

But this should not prevent compilation of binutils. Other packages also does not have Portuguese messages and still compile without such problems regarding LINGUAS.
Comment 15 SpanKY gentoo-dev 2004-10-30 15:42:26 UTC
fixed in cvs with strip-linguas -i */po
Comment 16 SpanKY gentoo-dev 2006-03-06 16:02:04 UTC
*** Bug 124915 has been marked as a duplicate of this bug. ***
Comment 17 Alexander Skwar 2006-03-07 01:08:15 UTC
Hm, how's this bug fixed?

As laid out in Bug 124915, some parts of binutils do have support for the de LINGUA. But still the warning message shows up.