emerge -plv app-office/openoffice These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild N ] app-office/openoffice-2.0.4_rc1-r1 USE="branding cups kde ldap webdav -binfilter -cairo -dbus -debug -eds -firefox -gnome -gstreamer -gtk -java -mono -odk -pam" LINGUAS="-af -ar -be_BY -bg -bn -bs -ca -cs -cy -da -de -el -en -en_GB -en_US -en_ZA -es -et -fa -fi -fr -gu_IN -he -hi_IN -hr -hu -it -ja -km -ko -lt -mk -nb -nl -nn -nr -ns -pa_IN -pl -pt -pt_BR -ru -rw -sh_YU -sk -sl -sr_CS -st -sv -sw_TZ -th -tn -tr -ts -vi -xh -zh_CN -zh_TW -zu" 0 kB ... Mandir: '/var/tmp/portage/openoffice-2.0.4_rc1-r1/image//usr/share/man' Docdir: '/var/tmp/portage/openoffice-2.0.4_rc1-r1/image//usr/share/doc/packages/OpenOffice.org' Sysconf: '/var/tmp/portage/openoffice-2.0.4_rc1-r1/image//usr/etc' OOInBase: '/usr/lib64/openoffice' OOInstall: '/var/tmp/portage/openoffice-2.0.4_rc1-r1/image//usr/lib64/openoffice' OODestDir: '/var/tmp/portage/openoffice-2.0.4_rc1-r1/image/' Config: --disable-binfilter --disable-crashdump --with-lang="en-US" --with-use-shell=bash --without-gpc --without-agg --disable-epm --with-openldap --with-build-version="Build ood680-m2" --without-fonts --with-system-freetype --with-system-gcc --with-system-jpeg --with-system-libxml --with-system-mozilla --with-system-python --with-system-zlib --enable-evolution2 --enable-atkbridge --with-alloc=system --enable-cairo=no --disable-fontooo --enable-libsn --with-system-curl --with-system-expat --with-system-stdlibs --with-system-xrender-headers --without-system-jpeg --without-nas --disable-qadevooo --with-dynamic-xinerama --without-myspell-dicts --with-vendor="Gentoo Foundation" --without-java --with-intro-bitmaps="/var/tmp/portage/openoffice-2.0.4_rc1-r1/work/ooo/src/openintro_gentoo.bmp" --with-system-boost --disable-binfilter --disable-mozilla --without-system-mozilla --without-firefox --enable-ldap --with-openldap --disable-evolution2 --disable-gnome-vfs --disable-lockdown --disable-atkbridge --disable-gstreamer --disable-dbus --enable-neon --with-system-neon --disable-odk --disable-crashdump --with-system-boost --with-system-icu --with-system-libxml --with-system-libxslt --enable-xsltproc --disable-gtk --enable-kde --with-system-stdlibs '--with-distro=Gentoo' '--with-arch=amd64' '--with-srcdir=/var/tmp/portage/openoffice-2.0.4_rc1-r1/distdir' '--with-lang=en-US' '--with-num-cpus=1' '--with-binsuffix=2' '--with-installed-ooo-dirname=openoffice' '--with-tag=ood680-m2' '--disable-gtk' '--enable-kde' '--disable-cairo' '--without-system-cairo' '--disable-quickstart' '--disable-mono' '--disable-pam' '--enable-strip' '--disable-access' '--disable-post-install-scripts' '--enable-hunspell' '--with-system-hunspell' '--mandir=/usr/share/man' '--libdir=/usr/lib64' 'CFLAGS=-march=athlon64 -O2 -pipe -fno-stack-protector -fno-stack-protector-all' Use gcc33: '' ccache: no icecream: no Cleaning /var/tmp/portage/openoffice-2.0.4_rc1-r1/image//usr/lib64/openoffice Building /var/tmp/portage/openoffice-2.0.4_rc1-r1/image//usr/lib64/openoffice/ooo-wrapper2 Generating man page ... Building /var/tmp/portage/openoffice-2.0.4_rc1-r1/image//usr/lib64/openoffice/install-dict Building /var/tmp/portage/openoffice-2.0.4_rc1-r1/image//usr/lib64/openoffice/program/java-set-classpath Building /var/tmp/portage/openoffice-2.0.4_rc1-r1/image//usr/lib64/openoffice/program/pyunorc-update64 Installing extra en-US templates ... Installing system files ... Execute ooinstall ... Reading setup from ./setup Sucking env from build setup Performing environment substitutions ... Use of uninitialized value in string eq at ./ooinstall line 58. Setting up environment Running installer ... checking environment variables ... ######################################################## make_installer.pl, version 1.0 Product list file: openoffice.lst Taking setup script from solver Unpackpath: /var/tmp/portage/openoffice-2.0.4_rc1-r1/work/ooo/build/ood680-m2/instsetoo_native/util Compiler: unxlngx6 Product: OpenOffice BuildID: 9064 Build: OOD680 No minor set Product version Installpath: /usr/lib64/openoffice Package format: native Package list file: ../inc_openoffice/unix/packagelist.txt Addon-Package list file: ../inc_openoffice/unix/packagelist_language.txt Not calling epm No file stripping Unzip ARCHIVE files services.rdb can be created Languages: en-US ######################################################## ... checking required files ... ...... searching zip ... Found: /usr/bin/zip ...... searching unzip ... Found: /usr/bin/unzip ... analyzing openoffice.lst ... ... analyzing script: /var/tmp/portage/openoffice-2.0.4_rc1-r1/work/ooo/build/ood680-m2/solver/680/unxlngx6.pro/bin/setup_osl.ins ... ... analyzing directories ... ... analyzing files ... ... analyzing scpactions ... ... analyzing shortcuts ... ... analyzing profile ... ... analyzing profileitems ... ... analyzing modules ... ------------------------------------ ... languages en-US ... ... analyzing files ... ... analyzing files with flag ARCHIVE ... ... analyzing files with flag SCPZIP_REPLACE ... ... analyzing files with flag PATCH_SO_NAME ... ... creating preregistered services.rdb ... ... cleaning the output tree ... ... removing directory /var/tmp/portage/openoffice-2.0.4_rc1-r1/work/ooo/build/ood680-m2/instsetoo_native/util/OpenOffice//zip/en-US ... ... removing directory /var/tmp/portage/openoffice-2.0.4_rc1-r1/work/ooo/build/ood680-m2/instsetoo_native/util/OpenOffice//services.rdb/en-US_witherror_1 ... ************************************************** ERROR: ERROR: Could not register all components! in function: create_services_rdb ************************************************** ************************************************** ERROR: Saved logfile: /var/tmp/portage/openoffice-2.0.4_rc1-r1/work/ooo/build/ood680-m2/instsetoo_native/util/OpenOffice//logging/en-US/log_OOD680__en-US.log ************************************************** Sun Sep 24 02:14:36 2006 (00:27 min.) Failed to install: at ./ooinstall line 129. make: *** [install] Error 1 !!! ERROR: app-office/openoffice-2.0.4_rc1-r1 failed. Call stack: ebuild.sh, line 1546: Called dyn_install ebuild.sh, line 1020: Called src_install openoffice-2.0.4_rc1-r1.ebuild, line 274: Called die !!! Installation failed! !!! If you need support, post the topmost build error, and the call stack if relevant. !!! When you file a bug report, please include the following information: GENTOO_VM= CLASSPATH="." JAVA_HOME="/etc/java-config-2/current-system-vm" JAVACFLAGS="" COMPILER="" and of course, the output of emerge --info
Created attachment 97947 [details] emerge --info
Adding hardened and AMD64-herds, as I can't help with both of these. That's the well known pyuno / regcomp-bug (segfaulting during install), although I've never seen it on AMD64 before ;) Could it be that you built python with some higher optimizations? Also did you try to build with a more recent gcc? (4.1.1 seems to be stable on AMD64)
Rebuilt dev-lang/python to make sure that it doesn't have a higher optimisation. The same result with app-office/openoffice though: ######################################################## ... checking required files ... ...... searching zip ... Found: /usr/bin/zip ...... searching unzip ... Found: /usr/bin/unzip ... analyzing openoffice.lst ... ... analyzing script: /var/tmp/portage/openoffice-2.0.4_rc2/work/ooo/build/ood680-m4/solver/680/unxlngx6.pro/bin/setup_osl.ins ... ... analyzing directories ... ... analyzing files ... ... analyzing scpactions ... ... analyzing shortcuts ... ... analyzing profile ... ... analyzing profileitems ... ... analyzing modules ... ------------------------------------ ... languages en-US ... ... analyzing files ... ... analyzing files with flag ARCHIVE ... ... analyzing files with flag SCPZIP_REPLACE ... ... analyzing files with flag PATCH_SO_NAME ... ... creating preregistered services.rdb ... ... cleaning the output tree ... ... removing directory /var/tmp/portage/openoffice-2.0.4_rc2/work/ooo/build/ood680-m4/instsetoo_native/util/OpenOffice//zip/en-US ... ... removing directory /var/tmp/portage/openoffice-2.0.4_rc2/work/ooo/build/ood680-m4/instsetoo_native/util/OpenOffice//services.rdb/en-US_witherror_1 ... ************************************************** ERROR: ERROR: Could not register all components! in function: create_services_rdb ************************************************** ************************************************** ERROR: Saved logfile: /var/tmp/portage/openoffice-2.0.4_rc2/work/ooo/build/ood680-m4/instsetoo_native/util/OpenOffice//logging/en-US/log_OOD680__en-US.log ************************************************** Sun Sep 24 21:50:15 2006 (00:25 min.) Failed to install: at ./ooinstall line 129. make: *** [install] Error 1 !!! ERROR: app-office/openoffice-2.0.4_rc2 failed. Call stack: ebuild.sh, line 1546: Called dyn_install ebuild.sh, line 1020: Called src_install openoffice-2.0.4_rc2.ebuild, line 277: Called die !!! Installation failed! !!! If you need support, post the topmost build error, and the call stack if relevant. !!! When you file a bug report, please include the following information: GENTOO_VM= CLASSPATH="." JAVA_HOME="/etc/java-config-2/current-system-vm" JAVACFLAGS="" COMPILER="" and of course, the output of emerge --info
The following is found in /var/log/grsec.log (grsecurity was disabled during emerge through 'gradm -D'): Sep 24 13:22:14 localhost grsec: shutdown auth success for /sbin/gradm[gradm:19637] uid/euid:0/0 gid/egid:0/0, parent /bin/bash[bash:17940] uid/euid:0/0 gid/egid:0/0 Sep 24 16:29:04 localhost grsec: denied resource overstep by requesting 4096 for RLIMIT_CORE against limit 0 for /var/tmp/portage/openoffice-2.0.4_rc2/work/ooo/build/ood6 80-m4/sal/unxlngx6.pro/bin/typesconfig[typesconfig:23401] uid/euid:0/0 gid/egid:0/0, parent /var/tmp/portage/openoffice-2.0.4_rc2/work/ooo/build/ood680-m4/sal/unxlngx6.pro/bin/typesconfig[typesconfig:28714] uid/euid:0/0 gid/egid:0/0 Sep 24 16:29:04 localhost grsec: denied resource overstep by requesting 4096 for RLIMIT_CORE against limit 0 for /var/tmp/portage/openoffice-2.0.4_rc2/work/ooo/build/ood680-m4/sal/unxlngx6.pro/bin/typesconfig[typesconfig:19215] uid/euid:0/0 gid/egid:0/0, parent /var/tmp/portage/openoffice-2.0.4_rc2/work/ooo/build/ood680-m4/sal/unxlngx6.pro/bin/typesconfig[typesconfig:28714] uid/euid:0/0 gid/egid:0/0 Sep 24 21:50:15 localhost grsec: denied resource overstep by requesting 4096 for RLIMIT_CORE against limit 0 for /var/tmp/portage/openoffice-2.0.4_rc2/work/ooo/build/ood680-m4/solver/680/unxlngx6.pro/bin/regcomp.bin[regcomp.bin:15781] uid/euid:0/0 gid/egid:0/0, parent /usr/bin/perl5.8.8[perl:15233] uid/euid:0/0 gid/egid:0/0 Sep 24 21:50:15 localhost grsec: denied resource overstep by requesting 4096 for RLIMIT_CORE against limit 0 for /var/tmp/portage/openoffice-2.0.4_rc2/work/ooo/build/ood680-m4/solver/680/unxlngx6.pro/bin/regcomp.bin[regcomp.bin:465] uid/euid:0/0 gid/egid: 0/0, parent /usr/bin/perl5.8.8[perl:15233] uid/euid:0/0 gid/egid:0/0
Switched to x86_64-pc-linux-gnu-4.1.1 - the same result: ... removing directory /var/tmp/portage/openoffice-2.0.4_rc2/work/ooo/build/ood680-m4/instsetoo_native/util/OpenOffice//zip/en-US ... ... removing directory /var/tmp/portage/openoffice-2.0.4_rc2/work/ooo/build/ood680-m4/instsetoo_native/util/OpenOffice//services.rdb/en-US_witherror_1 ... ************************************************** ERROR: ERROR: Could not register all components! in function: create_services_rdb ************************************************** ************************************************** ERROR: Saved logfile: /var/tmp/portage/openoffice-2.0.4_rc2/work/ooo/build/ood680-m4/instsetoo_native/util/OpenOffice//logging/en-US/log_OOD680__en-US.log ************************************************** Wed Sep 27 01:15:14 2006 (00:18 min.) Failed to install: at ./ooinstall line 129. make: *** [install] Error 1 !!! ERROR: app-office/openoffice-2.0.4_rc2 failed. Call stack: ebuild.sh, line 1546: Called dyn_install ebuild.sh, line 1020: Called src_install openoffice-2.0.4_rc2.ebuild, line 277: Called die and in /var/log/grsec.log: Sep 27 01:15:13 localhost grsec: denied resource overstep by requesting 4096 for RLIMIT_CORE against limit 0 for /var/tmp/portage/openoffice-2.0.4_rc2/work/ooo/build/ood680-m4/solver/680/unxlngx6.pro/bin/regcomp.bin[regcomp.bin:26735] uid/euid:0/0 gid/egid:0/0, parent /usr/bin/perl5.8.8[perl:19520] uid/euid:0/0 gid/egid:0/0 Sep 27 01:15:13 localhost grsec: denied resource overstep by requesting 4096 for RLIMIT_CORE against limit 0 for /var/tmp/portage/openoffice-2.0.4_rc2/work/ooo/build/ood680-m4/solver/680/unxlngx6.pro/bin/regcomp.bin[regcomp.bin:17490] uid/euid:0/0 gid/egid:0/0, parent /usr/bin/perl5.8.8[perl:19520] uid/euid:0/0 gid/egid:0/0
Tried with x86_64-pc-linux-gnu-4.1.1 - the same result.
Just pointing out the apparent similarity between this and: Bug 147542: Openoffice 2.0.4_rc1-r1 fails to install on ppc: unable to register pyUNO modules Bug 150847: openoffice-2.0.3 does not build [on x86, same deal] In case anyone wants to nail dupes or open a tracker bug.
Hello, not sure it's exactly the same, as i'm on x86, but do you people also get something like this: *** glibc detected *** /var/tmp/portage/openoffice-2.0.4_rc2/work/ooo/build/ood680-m4/solver/680/unxlngi6.pro/bin/regcomp.bin: double free or corruption (out): 0x40f34080 *** *** glibc detected *** /var/tmp/portage/openoffice-2.0.4_rc2/work/ooo/build/ood680-m4/solver/680/unxlngi6.pro/bin/regcomp.bin: double free or corruption (out): 0x40f34080 *** These lines not found in log in /var/log/portage (not sure why, does it capture stderr?). But lines before and after these in my case look very similar to the ones from the first post.
(In reply to comment #8) > Hello, not sure it's exactly the same, as i'm on x86, but do you people also > get something like this: > > *** glibc detected *** > /var/tmp/portage/openoffice-2.0.4_rc2/work/ooo/build/ood680-m4/solver/680/unxlngi6.pro/bin/regcomp.bin: > double free or corruption (out): 0x40f34080 *** > *** glibc detected *** > /var/tmp/portage/openoffice-2.0.4_rc2/work/ooo/build/ood680-m4/solver/680/unxlngi6.pro/bin/regcomp.bin: > double free or corruption (out): 0x40f34080 *** > > These lines not found in log in /var/log/portage (not sure why, does it capture > stderr?). But lines before and after these in my case look very similar to the > ones from the first post. > This is the usual regcomp-segfault you get from uber-optimization of your CFLAGS. Still this doesn't really belong in this bug, as that is about AMD64 and hardened which is yet another special case.
(In reply to comment #9) > This is the usual regcomp-segfault you get from uber-optimization of your > CFLAGS. Still this doesn't really belong in this bug, as that is about AMD64 > and hardened which is yet another special case. Oh, sorry for the noise then.
I get this with 2.0.4 (not the rc). ---------------------------------- openoffice-2.0.4/work/ooo/build/O... cleaning the output tree ... ... removing directory /var/tmp/portage/app-office/openoffice-2.0.4/work/ooo/build/OOO_2_0_4/instsetoo_native/util/OpenOffice//zip/en-US ... ... removing directory /var/tmp/portage/app-office/openoffice-2.0.4/work/ooo/build/OOO_2_0_4/instsetoo_native/util/OpenOffice//services.rdb/en-US_witherror_1 ... ************************************************** ERROR: ERROR: Could not register all components! in function: create_services_rdb ************************************************** ************************************************** ERROR: Saved logfile: /var/tmp/portage/app-office/openoffice-2.0.4/work/ooo/build/OOO_2_0_4/instsetoo_native/util/OpenOffice//logging/en-US/log_OOD680__en-US.log ************************************************** Mon Oct 30 13:40:52 2006 (00:23 min.) Failed to install: at ./ooinstall line 129. make: *** [install] Error 1 !!! ERROR: app-office/openoffice-2.0.4 failed. Call stack: ebuild.sh, line 1568: Called dyn_install ebuild.sh, line 1022: Called src_install openoffice-2.0.4.ebuild, line 281: Called die !!! Installation failed! !!! If you need support, post the topmost build error, and the call stack if relevant. !!! When you file a bug report, please include the following information: GENTOO_VM=blackdown-jdk-1.4.2 CLASSPATH="" JAVA_HOME="/opt/blackdown-jdk-1.4.2.03" JAVACFLAGS="-source 1.4 -target 1.4" COMPILER="" and of course, the output of emerge --info ---------------------------------- sartre ~ # emerge --info Portage 2.1.2_rc1-r1 (default-linux/amd64/2006.1, gcc-4.1.1, glibc-2.5-r0, 2.6.18-ck1-r1 x86_64) ================================================================= System uname: 2.6.18-ck1-r1 x86_64 Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz Gentoo Base System version 1.12.5 Last Sync: Mon, 30 Oct 2006 13:30:01 +0000 app-admin/eselect-compiler: [Not Present] dev-java/java-config: 1.3.7, 2.0.30 dev-lang/python: 2.4.3-r4, 2.5-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.60 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.14 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r1 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=nocona -O2 -fomit-frame-pointer -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-march=nocona -O2 -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.mirrors.tds.net/gentoo http://gentoo.cites.uiuc.edu/pub/gentoo/ ftp://gentoo.chem.wisc.edu/gentoo/ http://prometheus.cs.wmich.edu/gentoo http://gentoo.chem.wisc.edu/gentoo/" LC_ALL="en_US.UTF-8" LINGUAS="en" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 X a52 aac aalib acl acpi alsa apache2 arts audiofile avi bash-completion berkdb bitmap-fonts bzip2 cairo cdparanoia cdr cli cracklib crypt cups curl dbus dlloader dri dts dv dvb dvd dvdr dvdread elibc_glibc encode exif fam ffmpeg flac fortran gdbm gif gphoto2 gpm gstreamer gtk2 hal iconv imagemagick imap input_devices_evdev input_devices_keyboard input_devices_mouse ipv6 isdnlog jack java jpeg jpeg2k kde kdeenablefinal kernel_linux lame lcd lcms ldap libg++ linguas_en lm_sensors mad mmap mozcalendar mozilla mp3 musicbrainz ncurses nls nodrm nptl nptlonly nvidia ofx ogg oggvorbis openexr opengl pam pcre pda pdf perl png ppds pppd python qt3 qt4 quicktime readline reflection samba sasl scanner sdl session slp sndfile spell spl ssl subversion svg tcltk tcpd theora threads tiff truetype truetype-fonts type1-fonts udev unicode usb userland_GNU utf8 v4l v4l2 vcd video_cards_fbdev video_cards_nv video_cards_nvidia video_cards_v4l video_cards_vesa video_cards_vmware vorbis wmf xcomposite xine xml xorg xscreensaver xv xvid xvmc zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS ----------------------------------
I've added a new patch to the ebuild from upstream, which tries to solve the regcomp segfaults. So could you please try out the new version and see if the fix helps in your case?
(In reply to comment #12) > I've added a new patch to the ebuild from upstream, which tries to solve the > regcomp segfaults. So could you please try out the new version and see if the > fix helps in your case? > Yes, it helps in my case. Now emerged succesfully! Thanks. Chris
Seems to be fixed now, closing