Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 76737 - stage3's gettext segfaults
Summary: stage3's gettext segfaults
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High major (vote)
Assignee: AMD64 Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-05 00:58 UTC by Marc Gracia
Modified: 2005-03-28 09:26 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 Marc Gracia 2005-01-05 00:58:08 UTC
Any time I try to emerge gcc-3.4.3 the ebuild fails when doing the "po's", on msgfmt de.mo. I tried disabling multilib as sugested on some other gcc related bugs, but with the same result. (I'm updating from a UniversalCD stage3 install).
Here goes the last lines output:

...
ar cru .libs/libstdc++.a  allocator.o codecvt.o complex_io.o ctype.o debug.o debug_list.o functexcept.o globals_locale.o globals_io.o ios.o ios_failure.o ios_init.o ios_locale.o limits.o list.o locale.o locale_init.o locale_facets.o localename.o stdexcept.o strstream.o tree.o allocator-inst.o concept-inst.o fstream-inst.o ext-inst.o io-inst.o istream-inst.o locale-inst.o locale-misc-inst.o misc-inst.o ostream-inst.o sstream-inst.o streambuf-inst.o string-inst.o valarray-inst.o wlocale-inst.o wstring-inst.o atomicity.o codecvt_members.o collate_members.o ctype_members.o messages_members.o monetary_members.o numeric_members.o time_members.o basic_file.o c++locale.o .libs/libstdc++.lax/libmath.a/stubs.o  .libs/libstdc++.lax/libsupc++convenience.a/new_opnt.o .libs/libstdc++.lax/libsupc++convenience.a/vec.o .libs/libstdc++.lax/libsupc++convenience.a/eh_term_handler.o .libs/libstdc++.lax/libsupc++convenience.a/eh_terminate.o .libs/libstdc++.lax/libsupc++convenience.a/eh_unex_handler.o .libs/libstdc++.lax/libsupc++convenience.a/eh_type.o .libs/libstdc++.lax/libsupc++convenience.a/eh_alloc.o .libs/libstdc++.lax/libsupc++convenience.a/new_opvnt.o .libs/libstdc++.lax/libsupc++convenience.a/eh_aux_runtime.o .libs/libstdc++.lax/libsupc++convenience.a/eh_personality.o .libs/libstdc++.lax/libsupc++convenience.a/eh_catch.o .libs/libstdc++.lax/libsupc++convenience.a/new_handler.o .libs/libstdc++.lax/libsupc++convenience.a/tinfo.o .libs/libstdc++.lax/libsupc++convenience.a/del_opv.o .libs/libstdc++.lax/libsupc++convenience.a/del_opvnt.o .libs/libstdc++.lax/libsupc++convenience.a/cp-demangle.o .libs/libstdc++.lax/libsupc++convenience.a/del_op.o .libs/libstdc++.lax/libsupc++convenience.a/pure.o .libs/libstdc++.lax/libsupc++convenience.a/guard.o .libs/libstdc++.lax/libsupc++convenience.a/new_op.o .libs/libstdc++.lax/libsupc++convenience.a/vterminate.o .libs/libstdc++.lax/libsupc++convenience.a/new_opv.o .libs/libstdc++.lax/libsupc++convenience.a/eh_exception.o .libs/libstdc++.lax/libsupc++convenience.a/eh_globals.o .libs/libstdc++.lax/libsupc++convenience.a/tinfo2.o .libs/libstdc++.lax/libsupc++convenience.a/del_opnt.o .libs/libstdc++.lax/libsupc++convenience.a/eh_throw.o
ranlib .libs/libstdc++.a
rm -fr .libs/libstdc++.lax
creating libstdc++.la
(cd .libs && rm -f libstdc++.la && ln -s ../libstdc++.la libstdc++.la)
make[3]: Leaving directory `/var/tmp/portage/gcc-3.4.3/work/build/x86_64-pc-linux-gnu/libstdc++-v3/src'
Making all in po
make[3]: Entering directory `/var/tmp/portage/gcc-3.4.3/work/build/x86_64-pc-linux-gnu/libstdc++-v3/po'
msgfmt -o de.mo /var/tmp/portage/gcc-3.4.3/work/gcc-3.4.3/libstdc++-v3/po/de.po
make[3]: *** [de.mo] Violaci�n de segmento
make[3]: Leaving directory `/var/tmp/portage/gcc-3.4.3/work/build/x86_64-pc-linux-gnu/libstdc++-v3/po'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/gcc-3.4.3/work/build/x86_64-pc-linux-gnu/libstdc++-v3'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/var/tmp/portage/gcc-3.4.3/work/build/x86_64-pc-linux-gnu/libstdc++-v3'
make: *** [all-target-libstdc++-v3] Error 2

!!! ERROR: sys-devel/gcc-3.4.3 failed.
!!! Function gcc_do_make, Line 1297, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.

Reproducible: Always
Steps to Reproduce:
1.emerge --updtate gcc
2.Compiling...
3.Fails

Actual Results:  
gcc-3.4.3 not emerged, and seems needed for most ebuilds from now on, so I'm
pretty blocked.

Expected Results:  
gcc-installed
Comment 1 James Stockton 2005-01-05 01:11:30 UTC
You forgot to include output from "emerge info".
Comment 2 Marc Gracia 2005-01-05 01:23:14 UTC
Sorry, here goes:

#emerge info
Portage 2.0.51-r3 (default-linux/amd64/2004.3, gcc-3.4.2, glibc-2.3.4.20040808-r1, 2.6.9-gentoo-r1 x86_64)
=================================================================
System uname: 2.6.9-gentoo-r1 x86_64 AMD Athlon(tm) 64 Processor 3500+
Gentoo Base System version 1.4.16
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.90.0.1.1-r3
Headers:  sys-kernel/linux26-headers-2.6.8.1-r1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CFLAGS="-march=athlon64 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon64 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox"
GENTOO_MIRRORS="http://gentoo.osuosl.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j7"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X aalib acpi alsa berkdb bidi bitmap-fonts cdparanoia cdr crypt cups directfb divx4linux dvd dvdread edl esd f77 fam fbcon flac fortran ggi gif gnome gpm gstreamer gtk ipv6 jack java jp2 jpeg ldap libcaca lirc live lzo lzw lzw-tiff mad matroska mpeg multilib mysql mythtv ncurses network nls nvidia oggvorbis opengl oss pam perl png python qt readline rtc samba sdl ssl tcpd tga theora tiff truetype truetype-fonts type1-fonts usb userlocales v4l v4l2 xinerama xml2 xmms xpm xrandr xv xvid zlib"
Comment 3 Marc Gracia 2005-01-05 03:00:29 UTC
I found the problem....

All msgxxx commands do segfaults (msgfmt,msgcat,msgmerge...)

Which package I must emerge in order to recompile it?
I missed some point on UniversalCD install?
Comment 4 f5d8fd51ed1e804c9e8d0357e8614e0493b06e96 2005-01-05 08:03:57 UTC
IIRC the package you might need to rebuild is: sys-devel/gettext

to find out yourself, use: qpkg -f /path/to/msgfmt (qpkg being part of gentoolkit)
Comment 5 Marc Gracia 2005-01-10 00:37:33 UTC
gettext emerged and everything is OK now...
Comment 6 Jeremy Huddleston (RETIRED) gentoo-dev 2005-01-11 01:06:37 UTC
what stage3 did you use?  Was it 2004.3?
Comment 7 Marc Gracia 2005-01-11 01:28:49 UTC
Yes, 2004.3
Comment 8 Pupeno 2005-03-01 15:56:23 UTC
I think I've noticed something similar, while processing some .pot files that I generated for a web site, msginit generated a lot of segmentation faults.
Upgrading to gettext 0.14.1 (~x86) was enough to solve the problem.
Comment 9 Alex Howells (RETIRED) gentoo-dev 2005-03-28 09:26:42 UTC
Bug is getting pretty old, not many recent comments. The version of gettext which is referred to in the previous comment is now stable on AMD64, so I see no reason this bug isnt resolved and the problems fixed. Feel free to reopen if you are still experiencing difficulties of course :)