Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 67767 - openoffice-ximian-1.3.5-r1 compile fails with segfault
Summary: openoffice-ximian-1.3.5-r1 compile fails with segfault
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-16 05:12 UTC by Elan Ruusamäe
Modified: 2004-10-21 14:09 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 Elan Ruusamäe 2004-10-16 05:12:50 UTC
=============
Building project configmgr
=============
/var/tmp/portage/openoffice-ximian-1.3.5-r1/work/oo_1.1.2_src/configmgr/source/cppugen
mkout -- version: 1.3
cppumaker @/var/tmp/portage/openoffice-ximian-1.3.5-r1/temp/mkPCdZyC
Segmentation fault
dmake:  Error code 139, while making '../../unxlngi4.pro/inc/com/sun/star/uno/XAggregation.hpp'
---* TG_SLO.MK *---

ERROR: Error 65280 occurred while making /var/tmp/portage/openoffice-ximian-1.3.5-r1/work/oo_1.1.2_src/configmgr/source/cppugen

!!! ERROR: app-office/openoffice-ximian-1.3.5-r1 failed.
!!! Function src_compile, Line 402, Exitcode 1
!!! Build failed!

gehenna(haarber) linux #


Reproducible: Always
Steps to Reproduce:
i disabled distcc because i tought it was the problem. but still same without distcc.

with distcc enabled it died in rather different place.
processing file "../data/locales/da.txt"
ICU_DATA=../data/out/build LD_LIBRARY_PATH=../common:../i18n:../tools/toolutil:../layout:../extra/ustdio:../tools/ctestfw
:../data/out:../data:../stubdata/:$LD_LIBRARY_PATH ../tools/genrb/genrb -v -p icudt22l -q -s ../data/locales -d ../data/o
ut/build da_DK.txt
processing file "../data/locales/da_DK.txt"
ICU_DATA=../data/out/build LD_LIBRARY_PATH=../common:../i18n:../tools/toolutil:../layout:../extra/ustdio:../tools/ctestfw
:../data/out:../data:../stubdata/:$LD_LIBRARY_PATH ../tools/genrb/genrb -v -p icudt22l -q -s ../data/locales -d ../data/o
ut/build de.txt
make[1]: *** [../data/out/build/icudt22l_de.res] Segmentation fault
make[1]: Leaving directory `/var/tmp/portage/openoffice-ximian-1.3.5-r1/work/oo_1.1.2_src/icu/unxlngi4.pro/misc/build/icu
/source/data'
make: *** [all-recursive] Error 2
dmake:  Error code 2, while making './unxlngi4.pro/misc/build/so_built_so_icu'
---* TG_SLO.MK *---

ERROR: Error 65280 occurred while making /var/tmp/portage/openoffice-ximian-1.3.5-r1/work/oo_1.1.2_src/icu

!!! ERROR: app-office/openoffice-ximian-1.3.5-r1 failed.
!!! Function src_compile, Line 402, Exitcode 1
!!! Build failed!





gehenna(haarber) linux # emerge info 
Portage 2.0.50-r11 (2004.2, gcc-3.3.4, glibc-2.3.4.20040808-r1, 
2.4.22-1.2115.nptlsmp) 
================================================================= 
System uname: 2.4.22-1.2115.nptlsmp i686 Intel(R) Xeon(TM) CPU 2.80GHz 
Gentoo Base System version 1.4.16 
distcc 2.16 i686-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 
ACCEPT_KEYWORDS="x86" 
AUTOCLEAN="yes" 
CFLAGS="-Os -mcpu=pentium2 -march=pentium2 -pipe -fomit-frame-pointer 
-ffast-math" 
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/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/share/config /var/qmail/alias /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" 
CXXFLAGS="-Os -mcpu=pentium2 -march=pentium2 -pipe -fomit-frame-pointer 
-ffast-math" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs buildpkg ccache noinfo sandbox sfperms userpriv 
usersandbox" 
GENTOO_MIRRORS="ftp://ftp.linux.ee/pub/gentoo/distfiles 
http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://gentoo.linux.no/ 
ftp://gentoo.linux.no/pub/gentoo/ http://ftp.easynet.nl/mirror/gentoo/" 
MAKEOPTS="-j25" 
PKGDIR="/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="/gentoo/portage" 
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" 
USE="X aalib acpi alsa apache2 arts artswrappersuid avi bitmap-fonts chroot 
cups dga directfb divx4linux dvd encode f77 fam flac ggi gif gphoto2 gpm 
gstreamer gtk2 imagemagick imlib javascript jpeg kde libg++ libwww linguas_et 
lirc mad maildir md5sum memlimit mmx mng motif mozilla mpeg ncurses oggvorbis 
ooo-kde opengl oss pam perl png pthreads qt quicktime samba sdl slang slp 
speex spell ssl tiff truetype video_cards_rage128 wmf x86 xinerama xml xml2 
xprint xv xvid zlib" 
 
 
and here's the package use flags: 
gehenna(haarber) linux # emerge -u world -vpt 
 
These are the packages that I would merge, in reverse order: 
 
Calculating world dependencies ...done! 
[ebuild     U ] app-office/openoffice-ximian-1.3.5-r1 [1.1.61] +curl -debug 
-gnome +java +kde  1,526 kB
Comment 1 Antonio 2004-10-16 07:33:12 UTC
I have similar problem:


=============
Building project fpicker
=============
/var/tmp/portage/openoffice-ximian-1.3.5-r1/work/oo_1.1.2_src/fpicker/source/unx/kde
mkout -- version: 1.3
------------------------------
Making: ../../../unxlngi4.pro/misc/kdefilepicker.dpc
Making : Dependencies
touch ../../../unxlngi4.pro/misc/kdefilepicker.dpc
------------------------------
Making: ../../../unxlngi4.pro/slo/kdecommandthread.obj
g++ -fmessage-length=0 -c -I.  -I. -I../inc -I../../../inc -I../../../unx/inc -I../../../unxlngi4.pro/inc -I. -I/var/tmp/portage/openoffice-ximian-1.3.5-r1/work/oo_1.1.2_src/solver/645/unxlngi4.pro/inc/stl -I/var/tmp/portage/openoffice-ximian-1.3.5-r1/work/oo_1.1.2_src/solver/645/unxlngi4.pro/inc/external -I/var/tmp/portage/openoffice-ximian-1.3.5-r1/work/oo_1.1.2_src/solver/645/unxlngi4.pro/inc -I/var/tmp/portage/openoffice-ximian-1.3.5-r1/work/oo_1.1.2_src/solenv/unxlngi4/inc -I/var/tmp/portage/openoffice-ximian-1.3.5-r1/work/oo_1.1.2_src/solenv/inc -I/var/tmp/portage/openoffice-ximian-1.3.5-r1/work/oo_1.1.2_src/res -I/var/tmp/portage/openoffice-ximian-1.3.5-r1/work/oo_1.1.2_src/solver/645/unxlngi4.pro/inc/stl -I/var/tmp/portage/openoffice-ximian-1.3.5-r1/work/oo_1.1.2_src/solenv/inc/Xp31 -I/opt/blackdown-jdk-1.4.1/include -I/opt/blackdown-jdk-1.4.1/include/linux -I/opt/blackdown-jdk-1.4.1/include/native_threads/include -I/usr/X11R6/include     -I. -I../../../res -I. -O1   -I/usr/qt/3/include -I/usr/kde/3.3/include -DQT_CLEAN_NAMESPACE -DQT_THREAD_SUPPORT -pipe -march=athlon-xp -O2 -pipe -fno-stack-protector -fno-strict-aliasing -fno-for-scope -fpermissive -fno-rtti -include preinclude.h -fexceptions -fno-enforce-eh-specs   -fpic -DLINUX -DUNX -DVCL -DGCC -DC300 -DINTEL -DGXX_INCLUDE_PATH=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/include/g++-v3 -DCVER=C300 -D_USE_NAMESPACE -DGLIBC=2 -DX86 -D_PTHREADS -D_REENTRANT -DNEW_SOLAR -D_USE_NAMESPACE=1 -DSTLPORT_VERSION=400 -D__DMAKE -DUNIX -DCPPU_ENV=gcc3 -DSUPD=645 -DPRODUCT -DNDEBUG -DPRODUCT_FULL -DOSL_DEBUG_LEVEL=0 -DOPTIMIZE -DEXCEPTIONS_ON -DCUI -DSOLAR_JAVA -DSRX645   -DSHAREDLIB -D_DLL_  -DMULTITHREAD   -o ../../../unxlngi4.pro/slo/kdecommandthread.o /var/tmp/portage/openoffice-ximian-1.3.5-r1/work/oo_1.1.2_src/fpicker/source/unx/kde/kdecommandthread.cxx
if ( -e ../../../unxlngi4.pro/slo/kdecommandthread.o) touch ../../../unxlngi4.pro/slo/kdecommandthread.obj
------------------------------
Making: ../../../unxlngi4.pro/slo/kdefilepicker.obj
g++ -fmessage-length=0 -c -I.  -I. -I../inc -I../../../inc -I../../../unx/inc -I../../../unxlngi4.pro/inc -I. -I/var/tmp/portage/openoffice-ximian-1.3.5-r1/work/oo_1.1.2_src/solver/645/unxlngi4.pro/inc/stl -I/var/tmp/portage/openoffice-ximian-1.3.5-r1/work/oo_1.1.2_src/solver/645/unxlngi4.pro/inc/external -I/var/tmp/portage/openoffice-ximian-1.3.5-r1/work/oo_1.1.2_src/solver/645/unxlngi4.pro/inc -I/var/tmp/portage/openoffice-ximian-1.3.5-r1/work/oo_1.1.2_src/solenv/unxlngi4/inc -I/var/tmp/portage/openoffice-ximian-1.3.5-r1/work/oo_1.1.2_src/solenv/inc -I/var/tmp/portage/openoffice-ximian-1.3.5-r1/work/oo_1.1.2_src/res -I/var/tmp/portage/openoffice-ximian-1.3.5-r1/work/oo_1.1.2_src/solver/645/unxlngi4.pro/inc/stl -I/var/tmp/portage/openoffice-ximian-1.3.5-r1/work/oo_1.1.2_src/solenv/inc/Xp31 -I/opt/blackdown-jdk-1.4.1/include -I/opt/blackdown-jdk-1.4.1/include/linux -I/opt/blackdown-jdk-1.4.1/include/native_threads/include -I/usr/X11R6/include     -I. -I../../../res -I. -O1   -I/usr/qt/3/include -I/usr/kde/3.3/include -DQT_CLEAN_NAMESPACE -DQT_THREAD_SUPPORT -pipe -march=athlon-xp -O2 -pipe -fno-stack-protector -fno-strict-aliasing -fno-for-scope -fpermissive -fno-rtti -include preinclude.h -fexceptions -fno-enforce-eh-specs   -fpic -DLINUX -DUNX -DVCL -DGCC -DC300 -DINTEL -DGXX_INCLUDE_PATH=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/include/g++-v3 -DCVER=C300 -D_USE_NAMESPACE -DGLIBC=2 -DX86 -D_PTHREADS -D_REENTRANT -DNEW_SOLAR -D_USE_NAMESPACE=1 -DSTLPORT_VERSION=400 -D__DMAKE -DUNIX -DCPPU_ENV=gcc3 -DSUPD=645 -DPRODUCT -DNDEBUG -DPRODUCT_FULL -DOSL_DEBUG_LEVEL=0 -DOPTIMIZE -DEXCEPTIONS_ON -DCUI -DSOLAR_JAVA -DSRX645   -DSHAREDLIB -D_DLL_  -DMULTITHREAD   -o ../../../unxlngi4.pro/slo/kdefilepicker.o /var/tmp/portage/openoffice-ximian-1.3.5-r1/work/oo_1.1.2_src/fpicker/source/unx/kde/kdefilepicker.cxx
if ( -e ../../../unxlngi4.pro/slo/kdefilepicker.o) touch ../../../unxlngi4.pro/slo/kdefilepicker.obj
moc kdefilepicker.hxx -o kdefilepicker.moc.cxx
moc: invalid option -- o

moc 1.1.0
Usage:
moc [OPTIONS]... [FILE]...
-V --version            Show program version and exit.
-h --help               Show usage and exit.
-r --recursively        Add files in direstories given as an argument
                        recursively.
-f --fullinfo           Show titles (eg from id3tags) instead of names in the
                        menu (default).
-s --shortinfo          Show file names in the menu (opposite to -f).
-m --musicdir           Go to your music directory after start (requires such
                        entry in the config file).
-e --errors             Show errors in streams.
-n --no-errors          Do not show errors in streams (opposite to -e).
-p --priority N         Set the priority to a given value.
-l --dont-play          Don't start playing files added as command line
                        arguments.
-R --repeat             Turn on repeat.
-E --no-repeat          Turn off repeat.
dmake:  Error code 1, while making 'kdefilepicker.moc.cxx'
---* TG_SLO.MK *---

ERROR: Error 65280 occurred while making /var/tmp/portage/openoffice-ximian-1.3.5-r1/work/oo_1.1.2_src/fpicker/source/unx/kde

!!! ERROR: app-office/openoffice-ximian-1.3.5-r1 failed.
!!! Function src_compile, Line 402, Exitcode 1
!!! Build failed!
Comment 2 Antonio 2004-10-16 07:33:54 UTC
My emerge info:

gentoonet root # emerge info
Portage 2.0.50-r11 (default-x86-1.4, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.6.8-gentoo-r7)
=================================================================
System uname: 2.6.8-gentoo-r7 i686 AMD Athlon(tm) MP 1700+
Gentoo Base System version 1.4.16
distcc 2.16 i686-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
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /opt/resin/conf /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/lib/mozilla/defaults/pref /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/bind /var/lib/jboss /var/qmail/control /var/spool/fax/etc /var/www/localhost/htdocs/mythweb/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://sunsite.cnlab-switch.ch/mirror/gentoo/ ftp://planetmirror.com/pub/gentoo/"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X X509 Xaw3d aac aalib acl acpi acpi4linux aim alsa amd apache2 apm arts audiofile avi berkdb bitmap-fonts blender-game bonobo cddb cdparanoia cdr clamav clisp cmucl codecs crypt cups curl devfs26 dillo divx4linux doc dv dvb dvd dvdr dvdread emacs emacs-w3 encode escreen esd etwin evms2 evo exif f77 faac faad fam ffmpeg flac flash fluidsynth fmod foomaticdb ftp gcl gd gdbm geoip ggi gif gimp gimpprint gnome gnomedb gnuplot gphoto2 gpm gs gstreamer gtk gtk2 gtkhtml guile hbci high-ints icq imagemagick imap imlib imlib2 ipv6 jabber jack java javamail javascript jpeg justify kadu-modules kadu-voice kde kerberos lcms ldirectord libdsk libg++ libgda libwww live ltsp lzo lzw-tiff mad mbox mcal mdb mikmod mime ming mmx mmx2 mng monkey motif mozaccess mozcalendar mozilla mozsvg mpeg mpeg4 mplayer msdav msn mysql mythtv nas ncurses net network nls nptl ntlm nvidia oav odbc offensive ofx oggvorbis openal opengl oscar oss pam pda pdf pdflib perl php pic png portaudio posix postgres ppds pthreads python qt quicktime readline rtc ruby samba sasl scanner sdl silverxp slang slp sndfile speex spell sqlite sse sse2 ssl stats svg svga tcltk tcpd tetex theora tiff timidity transcode truetype type1 unicode usb v4l v4l2 virus-scan vnc wmf wxwindows x86 xface xfs xine xinerama xml xml2 xmms xosd xpm xprint xrandr xv xvid yahoo zlib"
Comment 3 Andreas Proschofsky (RETIRED) gentoo-dev 2004-10-16 07:43:55 UTC
@Antonio: Your problem has nothing to do with the original problem in this bug (as you can see that the build fails in a totally different place), please file a seperate bug about that.

@glen: Is this bug reproducable, also are you sure, you had enough diskspace during the emerge, oox needs lots of it (4-6 GB)
Comment 4 Elan Ruusamäe 2004-10-16 10:49:21 UTC
yes. 51gb should be enough :)

anyway i tried to reproduce it by lowering cflags, and even the very minimal crashed. so now i'm trying to compile with '-java'.

will posting portage log help here?

# l /var/log/portage/*openoffice-ximian-1.3.5-r1.log
-rw-rw-r--  1 root portage 7.6M Oct 15 22:29 /var/log/portage/3602-openoffice-ximian-1.3.5-r1.log
-rw-rw-r--  1 root portage  14M Oct 16 17:07 /var/log/portage/3603-openoffice-ximian-1.3.5-r1.log
-rw-rw-r--  1 root portage 7.8M Oct 16 20:46 /var/log/portage/3607-openoffice-ximian-1.3.5-r1.log
Comment 5 Elan Ruusamäe 2004-10-16 10:57:54 UTC
and yes, i can produce it in same machine, and it has failed more than 4 times with different settings :)

but i don't have anywhere else to reproduce it.

i looked the portage build logs and from there not really visible which CFLAGS are in use. (did grep CFLAGS and did not see the flags i use, for looking with less, the files are too big :))

Comment 6 Andreas Proschofsky (RETIRED) gentoo-dev 2004-10-16 11:35:40 UTC
@glen: Enabling distcc shouldn't make any difference, as it isn't used by oox anyway. So we basically have a situation where it dies for you in two different places, which does not make it very probable that this is a bug in the ebuild. This could for instance be a hardware problem, maybe your cpu is overheating?

Just to make sure: Could you try again and see where it fails now?

Also: No need to post the full log, the relevant parts are enough. btw your CFLAGS are in the output of "emerge info" so you already provided them ;)
Comment 7 Elan Ruusamäe 2004-10-16 16:09:51 UTC
well. the CFLAGS are different for all of the logs. as i 'lowered them' and right now i can't really remember which one is with what flags. and seems it still failed, even without java USE flag:

idlc: compile 'XDataOutputStream.idl' ...
idlc: compile 'XDataTransferEventListener.idl' ...
idlc: compile 'XInputStream.idl' ...
idlc: compile 'XStream.idl' ...
idlc: compile 'XMarkableStream.idl' ...
idlc: compile 'XObjectInputStream.idl' ...
idlc: compile 'XObjectOutputStream.idl' ...
idlc: compile 'XOutputStream.idl' ...
idlc: compile 'XPersist.idl' ...
idlc: compile 'XPersistObject.idl' ...
idlc: compile 'XStreamListener.idl' ...
idlc: compile 'XSeekable.idl' ...
idlc: compile 'TextInputStream.idl' ...
idlc: compile 'TextOutputStream.idl' ...
idlc: compile 'XTextInputStream.idl' ...
idlc: compile 'XTextOutputStream.idl' ...
idlc: compile 'XTruncate.idl' ...
idlc: compile 'XXMLExtractor.idl' ...
idlc: compile 'XInputStreamProvider.idl' ...
idlc: returned successful
Sun Microsystems (R) idlc Version 1.0

------------------------------
Making: ../../../../unxlngi4.pro/misc/cssio.dpc
dmake subdmake=true  -f makefile.mk strip="true" product="full" depend=t ALLDPC
Making : Dependencies
rm -f ../../../../unxlngi4.pro/ucr/cssio.db
regmerge ../../../../unxlngi4.pro/ucr/cssio.db UCR @/var/tmp/portage/openoffice-ximian-1.3.5-r1/temp/mkMYpw1i
rm -f ../../../../unxlngi4.pro/ucrdoc/cssio.db
regmerge ../../../../unxlngi4.pro/ucrdoc/cssio.db UCR @/var/tmp/portage/openoffice-ximian-1.3.5-r1/temp/mkMxYVG4
-------------
rm -f ../../../../unxlngi4.pro/misc/cssio.idls
cat /var/tmp/portage/openoffice-ximian-1.3.5-r1/temp/mkM4X2JQ >>../../../../unxlngi4.pro/misc/cssio.idls
/var/tmp/portage/openoffice-ximian-1.3.5-r1/work/oo_1.1.2_src/udkapi/com/sun/star/corba
idlc @/var/tmp/portage/openoffice-ximian-1.3.5-r1/temp/mk1KtS6b
Segmentation fault
dmake:  Error code 139, while making '../../../../unxlngi4.pro/misc/urd_csscorba.don'
---* TG_SLO.MK *---

ERROR: Error 65280 occurred while making /var/tmp/portage/openoffice-ximian-1.3.5-r1/work/oo_1.1.2_src/udkapi/com/sun/star/corba

!!! ERROR: app-office/openoffice-ximian-1.3.5-r1 failed.
!!! Function src_compile, Line 402, Exitcode 1
!!! Build failed!

with following USE:
gehenna(haarber) tmp # emerge openoffice-ximian  -vpt

These are the packages that I would merge, in reverse order:

Calculating dependencies ...done!
[ebuild     U ] app-office/openoffice-ximian-1.3.5-r1 [1.1.61] +curl -debug -gnome -java +kde  1,526 kB

and cflags are really minimal:
# emerge info
Portage 2.0.50-r11 (2004.2, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.4.22-1.2115.nptlsmp)
=================================================================
System uname: 2.4.22-1.2115.nptlsmp i686 Intel(R) Xeon(TM) CPU 2.80GHz
Gentoo Base System version 1.4.16
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-mcpu=pentium2 -march=pentium2 -pipe"
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/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/share/config /var/qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-mcpu=pentium2 -march=pentium2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs buildpkg ccache distcc noinfo sandbox sfperms userpriv usersandbox"
GENTOO_MIRRORS="ftp://ftp.linux.ee/pub/gentoo/distfiles http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://gentoo.linux.no/ ftp://gentoo.linux.no/pub/gentoo/ http://ftp.easynet.nl/mirror/gentoo/"
MAKEOPTS="-j25"
PKGDIR="/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/gentoo/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X aalib acpi alsa apache2 arts artswrappersuid avi bitmap-fonts chroot cups dga directfb divx4linux dvd encode f77 fam flac ggi gif gphoto2 gpm gstreamer gtk2 imagemagick imlib javascript jpeg kde libg++ libwww linguas_et lirc mad maildir md5sum memlimit mmx mng motif mozilla mpeg ncurses oggvorbis ooo-kde opengl oss pam perl png pthreads qt quicktime samba sdl slang slp speex spell ssl tiff truetype video_cards_rage128 wmf x86 xinerama xml xml2 xprint xv xvid zlib"

and distcc not being used is rather suprise for such big app compiling process.

ok. perhaps i should check that it dies in same place with same settings.
Comment 8 Elan Ruusamäe 2004-10-16 16:45:32 UTC
ok. same settings as for last error post, phase (or whatever) seems same (TG_SLO.MK), but not the actual file produced. i'll give it another try :)


                    --stringparam schemaRoot /var/tmp/portage/openoffice-ximian-1.3.5-r1/work/oo_1.1.2_src/officecfg/registry/data/../../registry/schema \
                    ../../util/Security-dataval2.xsl org/openoffice/Office/Security.xcu
/usr/bin/xsltproc -o ../../unxlngi4.pro/misc/registry/data/org/openoffice/Office/Security.tmp \
                    --stringparam xcs /var/tmp/portage/openoffice-ximian-1.3.5-r1/work/oo_1.1.2_src/officecfg/registry/data/../../registry/schema/org/openoffice/Office/Security.xcs \
                    --stringparam schemaRoot /var/tmp/portage/openoffice-ximian-1.3.5-r1/work/oo_1.1.2_src/officecfg/registry/data/../../registry/schema \
                    ../../util/Security-alllang2.xsl org/openoffice/Office/Security.xcu
compilation error: file ../../util/Security-alllang2.xsl line 68 element transform
xsl:version is missing: document may not be a stylesheet
cp ../../unxlngi4.pro/misc/registry/data/org/openoffice/Office/Security.tmp ../../unxlngi4.pro/misc/registry/data/org/openoffice/Office/Security.xcu
rm -f ../../util/Security-dataval2.xsl > /dev/null
rm -f ../../util/Security-alllang2.xsl > /dev/null
rm -f ../../unxlngi4.pro/misc/registry/data/org/openoffice/Office/Security.tmp > /dev/null
rm -f ../../unxlngi4.pro/misc/registry/data/org/openoffice/Office/Security.val > /dev/null
-------------+ validating and creating a locale independent file
mkdir -p ../../unxlngi4.pro/misc/registry/data/org/openoffice/Office/
sed 's|xmlns:filehelper="http://www.jclark.com/xt/java/org.openoffice.configuration.FileHelper"||;s|extension-element-prefixes="filehelper"||;s|filehelper:makeAbs(\(.*\))|\1|' < ../../util/data_val.xsl > ../../util/SFX-dataval2.xsl
sed 's|xmlns:filehelper="http://www.jclark.com/xt/java/org.openoffice.configuration.FileHelper"||;s|extension-element-prefixes="filehelper"||;s|filehelper:makeAbs(\(.*\))|\1|' < ../../util/alllang.xsl > ../../util/SFX-alllang2.xsl
/usr/bin/xsltproc -o ../../unxlngi4.pro/misc/registry/data/org/openoffice/Office/SFX.val \
                    --stringparam xcs /var/tmp/portage/openoffice-ximian-1.3.5-r1/work/oo_1.1.2_src/officecfg/registry/data/../../registry/schema/org/openoffice/Office/SFX.xcs \
                    --stringparam schemaRoot /var/tmp/portage/openoffice-ximian-1.3.5-r1/work/oo_1.1.2_src/officecfg/registry/data/../../registry/schema \
                    ../../util/SFX-dataval2.xsl org/openoffice/Office/SFX.xcu
/usr/bin/xsltproc -o ../../unxlngi4.pro/misc/registry/data/org/openoffice/Office/SFX.tmp \
                    --stringparam xcs /var/tmp/portage/openoffice-ximian-1.3.5-r1/work/oo_1.1.2_src/officecfg/registry/data/../../registry/schema/org/openoffice/Office/SFX.xcs \
                    --stringparam schemaRoot /var/tmp/portage/openoffice-ximian-1.3.5-r1/work/oo_1.1.2_src/officecfg/registry/data/../../registry/schema \
                    ../../util/SFX-alllang2.xsl org/openoffice/Office/SFX.xcu
Segmentation fault
dmake:  Error code 139, while making '../../unxlngi4.pro/misc/registry/data/org/openoffice/Office/SFX.xcu'
---* TG_SLO.MK *---

ERROR: Error 65280 occurred while making /var/tmp/portage/openoffice-ximian-1.3.5-r1/work/oo_1.1.2_src/officecfg/registry/data

!!! ERROR: app-office/openoffice-ximian-1.3.5-r1 failed.
!!! Function src_compile, Line 402, Exitcode 1
!!! Build failed!

Comment 9 Andreas Proschofsky (RETIRED) gentoo-dev 2004-10-17 00:13:30 UTC
If you look closely you will see that this are four different places now where the build failed. So it is rather unlikely that it is the fault of the ebuild. What about overheating? Did you check?
Comment 10 Elan Ruusamäe 2004-10-17 07:28:02 UTC
i don't know how to check the temperature ;(
sensors(1) does not recognize the chip, and i know no other way.

the other programs seem to work on machine. also i checked for possibility of low swap. sar -r, which shows it in 10 minute intervals did not notice a growth. 
Comment 11 Elan Ruusamäe 2004-10-21 13:53:10 UTC
i downgraded glibc to 2.3.3.20040420-r2 (previously packaged binary package) and then the openoffice compile was success.

i also tried to recompile the previous, the nevest avail (glibc-2.3.4.20040808-r1) glibc, but under that openoffice and glibc(!) compile failed too.

and what is strange, that with glibc-2.3.4.20040808-r1 basesystem compile also crashed randomly.

Comment 12 Andreas Proschofsky (RETIRED) gentoo-dev 2004-10-21 14:09:29 UTC
Ok, thanks for reporting back, if your glibc-problems continue please file a new bug (so that it goes to the right mantainers). Closing this as it is not an OOo-issue