Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 66722

Summary: sys-devel/gettext-0.14.1 emerge fails, segmentation fault
Product: Gentoo Linux Reporter: Ramiro Simões Lopes <ramirosimoeslopes>
Component: [OLD] Core systemAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED DUPLICATE    
Severity: blocker    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Ramiro Simões Lopes 2004-10-07 20:40:35 UTC
I'm trying to do an emerge -u system, but gettext, the first package doesn't compile.

/bin/sh ../lib/javacomp.sh -d . ./gnu/gettext/DumpResource.java
/bin/sh ../lib/javacomp.sh -d . ./gnu/gettext/GetURL.java
make[4]: *** [gnu/gettext/GetURL.class] Segmentation fault
make[4]: *** Waiting for unfinished jobs....
make[4]: Leaving directory `/var/tmp/portage/gettext-0.14.1/work/gettext-0.14.1/gettext-tools/src'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/var/tmp/portage/gettext-0.14.1/work/gettext-0.14.1/gettext-tools/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/gettext-0.14.1/work/gettext-0.14.1/gettext-tools'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/var/tmp/portage/gettext-0.14.1/work/gettext-0.14.1/gettext-tools'
make: *** [all-recursive] Error 1

!!! ERROR: sys-devel/gettext-0.14.1 failed.
!!! Function src_compile, Line 54, 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 -u gettext
2.
3.

Actual Results:  
emerge fails

Expected Results:  
packege emerged :P

Gentoo Base System version 1.5.3
Portage 2.0.51_rc7 (default-x86-2004.2, gcc-3.4.2, glibc-2.3.4.20040808-r0,
2.4.26-gentoo-r5 i686)
=================================================================
System uname: 2.4.26-gentoo-r5 i686 AMD Duron(tm) Processor
ccache version 2.3 [enabled]
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="-O3 -march=athlon -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.2/share/config
/usr/kde/3.3/share/config:/usr/kde/3.3/env:/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="-O3 -march=athlon -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distlocks sandbox"
GENTOO_MIRRORS="http://www.las.ic.unicamp.br/pub/gentoo/
ftp://ftp.las.ic.unicamp.br/pub/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 X Xaw3d aalib acpi alsa apm arts audiofile avi berkdb bindist
bitmap-fonts bzlib cdr cross crypt cups dga directfb divx4linux doc encode esd
exif fbcon foomaticdb gd gdbm ggi gif gpm gstreamer gtk gtk2 gtkhtml guile icq
imagemagick imlib ipv6 java jikes joystick jpeg kerberos krb4 lcms libg++ libwww
mad maildir mbox mikmod mime mmx motif mozilla mpeg msn nas ncurses nls
oggvorbis openal opengl oscar oss pam pdflib perl php plotutils png ppds python
qt quicktime readline ruby sasl sdl shared sharedmem simplexml slang spell spl
sse ssl svga tcltk tcpd theora tiff truetype unicode usb videos wmf x86 xine xml
xml2 xmlrpc xmms xosd xpm xprint xv xvid zlib"
Comment 1 Benjamin Judas (RETIRED) gentoo-dev 2004-10-07 21:51:31 UTC

*** This bug has been marked as a duplicate of 20600 ***
Comment 2 Benjamin Judas (RETIRED) gentoo-dev 2004-10-07 21:52:19 UTC
Maybe try "-java" in USE
Comment 3 Ramiro Simões Lopes 2004-10-08 14:54:28 UTC
USE="-java" doesn't work.
If I have hardware problems, the errors should be random, shouldn't they?
And if it's a gcc problem, shouldn't it happens to everyone?
Comment 4 Ramiro Simões Lopes 2004-10-08 17:23:10 UTC
Well, I'm having a different response right now. Don't know why, didn't change anything...
these paths doesn't exist, isn't it a problem?

cd . && test ! -d /usr/lib/jdk1.1.8 || env PATH=/usr/lib/jdk1.1.8/bin:$PATH javadoc -d javadoc1 gnu/gettext/*.java
cd . && test ! -d /usr/lib/jdk1.3.1 || env PATH=/usr/lib/jdk1.3.1/bin:$PATH 

---------------
(cd .libs && rm -f libgnuintl.la && ln -s ../libgnuintl.la libgnuintl.la)
make[3]: Leaving directory `/var/tmp/portage/gettext-0.14.1/work/gettext-0.14.1/gettext-runtime/intl'
Making all in intl-java
make[3]: Entering directory `/var/tmp/portage/gettext-0.14.1/work/gettext-0.14.1/gettext-runtime/intl-java'
/bin/sh ../lib/javacomp.sh -d . ./gnu/gettext/GettextResource.java
cd . && test ! -d /usr/lib/jdk1.1.8 || env PATH=/usr/lib/jdk1.1.8/bin:$PATH javadoc -d javadoc1 gnu/gettext/*.java
cd . && test ! -d /usr/lib/jdk1.3.1 || env PATH=/usr/lib/jdk1.3.1/bin:$PATH javadoc -d javadoc2 gnu/gettext/*.java
make[3]: *** [gnu/gettext/GettextResource.class] Segmentation fault
make[3]: Leaving directory `/var/tmp/portage/gettext-0.14.1/work/gettext-0.14.1/gettext-runtime/intl-java'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/gettext-0.14.1/work/gettext-0.14.1/gettext-runtime'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/var/tmp/portage/gettext-0.14.1/work/gettext-0.14.1/gettext-runtime'
make: *** [all-recursive] Error 1

!!! ERROR: sys-devel/gettext-0.14.1 failed.
!!! Function src_compile, Line 54, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.
Comment 5 Jory A. Pratt 2004-10-08 19:32:00 UTC
these uses flags are way to aggresive on initial install if you realy need java that bad I suggest you emerge the system change the setting and use emerge --newuse world newuser world is new in portage 2.0.50 you should take full advantage of it....
Comment 6 Ramiro Duarte Simões Lopes 2004-10-09 05:39:49 UTC
All right, but it's not an initial install. I already have my system running. And gettext doesn't hava a java flag. So how can I disable it?
Comment 7 SpanKY gentoo-dev 2004-10-09 11:16:17 UTC

*** This bug has been marked as a duplicate of 47788 ***