Summary: | app-office/openoffice-3.1.0-r1: compilation failed with gcc 4.4 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | disconnect <disconnect> |
Component: | Current packages | Assignee: | Gentoo Office Team <office> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | CC: | Adrian.Bassett, marcin.deranek |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
disconnect
2009-08-05 18:07:04 UTC
Please attach the top few hundred lines of the log. The segmentation fault you refer has an error message so fake that it is not clear what actually fails. We thus can't confirm that it is actually gcc 4 that fails. I see identical error on my ~amd64, but with gcc-4.3.4 Looking into logs I can find: sun # grep segfault /var/log/messages Aug 11 19:09:58 sun regcomp.bin[6101]: segfault at 2 ip 00002b81b85433e8 sp 00007fff456b6420 error 4 in libldap-2.3.so.0[2b81b8523000+39000] Aug 11 20:56:03 sun regcomp.bin[3430]: segfault at 2 ip 00002af3df48a3e8 sp 00007fffd8c8f5f0 error 4 in libldap-2.3.so.0[2af3df46a000+39000] Aug 12 20:48:42 sun regcomp.bin[32529]: segfault at 2 ip 00002b1185b6c3e8 sp 00007fff9b124210 error 4 in libldap-2.3.so.0[2b1185b4c000+39000] And these are openoffice build logs with segfaults: sun paludis # ls -al $(grep -l 'Segmentation fault' `ls|grep openoffice`) -rw-r--r-- 1 root root 11069475 2009-08-11 19:10 1250005609-install-app-office_openoffice-3.1.0-r1:0::gentoo.out -rw-r--r-- 1 root root 11069107 2009-08-11 20:56 1250011960-install-app-office_openoffice-3.1.0-r1:0::gentoo.out -rw-r--r-- 1 root root 11069152 2009-08-12 20:48 1250097808-install-app-office_openoffice-3.1.0-r1:0::gentoo.out Seems like segfault is in libldap-2.3.so as timestamps are almost identical. Have you tried to rebuild openldap with gcc-4.4? In my case recompiling only openldap did not help.. Although later on I have recompiled the whole system (gcc-4.4.1) and that did the trick.. rmdir /tmp/19364 Build succeeded ...! touch stamp/build >>> Source compiled. >>> Test phase [not enabled]: app-office/openoffice-3.1.0-r1 >>> Install openoffice-3.1.0-r1 into /var/tmp/portage/app-office/openoffice-3.1.0-r1/image/ category app-office * Preparing Installation cd bin ; ./package-ooo Setup: Tag: 'ooo310-m11' Apply: '/var/tmp/portage/app-office/openoffice-3.1.0-r1/work/ooo/patches/dev300/apply' Flags: '' Suffix: '' Dir: '/var/tmp/portage/app-office/openoffice-3.1.0-r1/work/ooo/build' DestDir: '' Path: '/var/tmp/portage/app-office/openoffice-3.1.0-r1/work/ooo/build/bin:/usr/lib64/portage/bin/ebuild-helpers:/usr/local/sbin:/sbin:/usr/sbin:/usr/local/bin:/bin:/usr/bin:/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.4.1:/usr/qt/3/bin:/opt/vmware/workstation/bin:/var/tmp/portage/app-office/openoffice-3.1.0-r1/work/ooo/bin' Prefix: '/var/tmp/portage/app-office/openoffice-3.1.0-r1/image//usr' Mandir: '/var/tmp/portage/app-office/openoffice-3.1.0-r1/image//usr/share/man' Docdir: '/var/tmp/portage/app-office/openoffice-3.1.0-r1/image//usr/share/doc/packages/OpenOffice.org' Sysconf: '/var/tmp/portage/app-office/openoffice-3.1.0-r1/image//usr/etc' OOInBase: '/usr/lib64/openoffice' OOInstall: '/var/tmp/portage/app-office/openoffice-3.1.0-r1/image//usr/lib64/openoffice' OODestDir: '/var/tmp/portage/app-office/openoffice-3.1.0-r1/image/' Config: --disable-binfilter --disable-crashdump --with-lang="en-US ru" --with-use-shell=bash --without-gpc --without-agg --disable-epm --with-openldap --with-build-version="Build 3.1.0.6" --without-fonts --with-system-jpeg --with-system-libxml --with-system-mozilla --with-system-openssl --with-system-python --with-system-stdlibs --with-system-zlib --with-system-poppler --with-unix-wrapper=ooffice --enable-evolution2 --with-alloc=system --with-vba-package-format=builtin --enable-cairo=yes --enable-gtk --disable-fontooo --disable-qadevooo --enable-neon --enable-xrender-link --with-external-dict-dir=/usr/share/myspell --with-external-hyph-dir=/usr/share/myspell --with-external-thes-dir=/usr/share/myspell --with-system-boost --with-system-curl --with-system-db --with-system-dicts --with-system-expat --with-system-hunspell --with-system-icu --with-system-libxslt --with-system-neon --with-system-openssl --with-system-vigra --with-system-xrender --without-myspell-dicts --without-stlport --with-vendor="Gentoo Foundation" --with-ant-home=/usr/share/ant --with-jdk-home=/opt/sun-jdk-1.6.0.15 --with-java-target-version=1.5 --with-jvm-path=/usr/lib64/ --with-system-beanshell --with-system-hsqldb --with-system-lucene --with-system-rhino --with-beanshell-jar=/usr/share/bsh/lib/bsh.jar --with-hsqldb-jar=/usr/share/hsqldb/lib/hsqldb.jar --with-lucene-core-jar=/usr/share/lucene-2.3/lib/lucene-core.jar --with-lucene-analyzers-jar=/usr/share/lucene-analyzers-2.3/lib/lucene-analyzers.jar --with-rhino-jar=/usr/share/rhino-1.5/lib/js.jar --enable-mozilla --with-system-mozilla=libxul --disable-binfilter --enable-cups --enable-dbus --enable-evolution2 --enable-gconf --enable-gio --disable-gnome-vfs --enable-lockdown --enable-gstreamer --enable-systray --enable-ldap --enable-opengl --with-openldap --disable-crashdump --disable-strip-solver --with-extension-integration --enable-minimizer --enable-pdfimport --enable-presenter-console --without-writer2latex --with-intro-bitmaps="/var/tmp/portage/app-office/openoffice-3.1.0-r1/work/ooo/build/ooo310-m11/ooo_custom_images/nologo/introabout/intro.bmp" --with-system-redland '--with-distro=Gentoo' '--with-arch=amd64' '--with-srcdir=/var/tmp/portage/app-office/openoffice-3.1.0-r1/distdir' '--with-lang=en-US ru' '--with-num-cpus=5' '--without-binsuffix' '--with-installed-ooo-dirname=openoffice' '--with-tag=ooo310-m11' '--with-drink=True Blood' '--enable-gtk' '--enable-cairo' '--with-system-cairo' '--enable-mono' '--disable-kde' '--enable-strip' '--disable-odk' '--enable-pam' '--with-java' '--without-sun-templates' '--disable-access' '--disable-post-install-scripts' '--enable-extensions' '--with-system-libwpd' '--mandir=/usr/share/man' '--libdir=/usr/lib64' 'CFLAGS=-march=native -pipe -DGL_GLEXT_PROTOTYPES' 'LDFLAGS=-Wl,-O1' 'CPPFLAGS=' ccache: no icecream: no Max number of projects to build in parallel is '5' Setup: Tag: 'ooo310-m11' Apply: '/var/tmp/portage/app-office/openoffice-3.1.0-r1/work/ooo/patches/dev300/apply' Flags: '' Suffix: '' Dir: '/var/tmp/portage/app-office/openoffice-3.1.0-r1/work/ooo/build' DestDir: '' Path: '/var/tmp/portage/app-office/openoffice-3.1.0-r1/work/ooo/build/bin:/opt/sun-jdk-1.6.0.15/bin:.:/var/tmp/portage/app-office/openoffice-3.1.0-r1/work/ooo/build/ooo310-m11/solver/310/unxlngx6.pro/bin:/var/tmp/portage/app-office/openoffice-3.1.0-r1/work/ooo/build/ooo310-m11/solenv/unxlngx6/bin:/var/tmp/portage/app-office/openoffice-3.1.0-r1/work/ooo/build/ooo310-m11/solenv/bin:/var/tmp/portage/app-office/openoffice-3.1.0-r1/work/ooo/build/bin:/usr/lib64/portage/bin/ebuild-helpers:/usr/local/sbin:/sbin:/usr/sbin:/usr/local/bin:/bin:/usr/bin:/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.4.1:/usr/qt/3/bin:/opt/vmware/workstation/bin:/var/tmp/portage/app-office/openoffice-3.1.0-r1/work/ooo/bin:/var/tmp/portage/app-office/openoffice-3.1.0-r1/work/ooo/bin' Prefix: '/var/tmp/portage/app-office/openoffice-3.1.0-r1/image//usr' Mandir: '/var/tmp/portage/app-office/openoffice-3.1.0-r1/image//usr/share/man' Docdir: '/var/tmp/portage/app-office/openoffice-3.1.0-r1/image//usr/share/doc/packages/OpenOffice.org' Sysconf: '/var/tmp/portage/app-office/openoffice-3.1.0-r1/image//usr/etc' OOInBase: '/usr/lib64/openoffice' OOInstall: '/var/tmp/portage/app-office/openoffice-3.1.0-r1/image//usr/lib64/openoffice' OODestDir: '/var/tmp/portage/app-office/openoffice-3.1.0-r1/image/' Config: --disable-binfilter --disable-crashdump --with-lang="en-US ru" --with-use-shell=bash --without-gpc --without-agg --disable-epm --with-openldap --with-build-version="Build 3.1.0.6" --without-fonts --with-system-jpeg --with-system-libxml --with-system-mozilla --with-system-openssl --with-system-python --with-system-stdlibs --with-system-zlib --with-system-poppler --with-unix-wrapper=ooffice --enable-evolution2 --with-alloc=system --with-vba-package-format=builtin --enable-cairo=yes --enable-gtk --disable-fontooo --disable-qadevooo --enable-neon --enable-xrender-link --with-external-dict-dir=/usr/share/myspell --with-external-hyph-dir=/usr/share/myspell --with-external-thes-dir=/usr/share/myspell --with-system-boost --with-system-curl --with-system-db --with-system-dicts --with-system-expat --with-system-hunspell --with-system-icu --with-system-libxslt --with-system-neon --with-system-openssl --with-system-vigra --with-system-xrender --without-myspell-dicts --without-stlport --with-vendor="Gentoo Foundation" --with-ant-home=/usr/share/ant --with-jdk-home=/opt/sun-jdk-1.6.0.15 --with-java-target-version=1.5 --with-jvm-path=/usr/lib64/ --with-system-beanshell --with-system-hsqldb --with-system-lucene --with-system-rhino --with-beanshell-jar=/usr/share/bsh/lib/bsh.jar --with-hsqldb-jar=/usr/share/hsqldb/lib/hsqldb.jar --with-lucene-core-jar=/usr/share/lucene-2.3/lib/lucene-core.jar --with-lucene-analyzers-jar=/usr/share/lucene-analyzers-2.3/lib/lucene-analyzers.jar --with-rhino-jar=/usr/share/rhino-1.5/lib/js.jar --enable-mozilla --with-system-mozilla=libxul --disable-binfilter --enable-cups --enable-dbus --enable-evolution2 --enable-gconf --enable-gio --disable-gnome-vfs --enable-lockdown --enable-gstreamer --enable-systray --enable-ldap --enable-opengl --with-openldap --disable-crashdump --disable-strip-solver --with-extension-integration --enable-minimizer --enable-pdfimport --enable-presenter-console --without-writer2latex --with-intro-bitmaps="/var/tmp/portage/app-office/openoffice-3.1.0-r1/work/ooo/build/ooo310-m11/ooo_custom_images/nologo/introabout/intro.bmp" --with-system-redland '--with-distro=Gentoo' '--with-arch=amd64' '--with-srcdir=/var/tmp/portage/app-office/openoffice-3.1.0-r1/distdir' '--with-lang=en-US ru' '--with-num-cpus=5' '--without-binsuffix' '--with-installed-ooo-dirname=openoffice' '--with-tag=ooo310-m11' '--with-drink=True Blood' '--enable-gtk' '--enable-cairo' '--with-system-cairo' '--enable-mono' '--disable-kde' '--enable-strip' '--disable-odk' '--enable-pam' '--with-java' '--without-sun-templates' '--disable-access' '--disable-post-install-scripts' '--enable-extensions' '--with-system-libwpd' '--mandir=/usr/share/man' '--libdir=/usr/lib64' 'CFLAGS=-march=native -pipe -DGL_GLEXT_PROTOTYPES' 'LDFLAGS=-Wl,-O1' 'CPPFLAGS=' ccache: no icecream: no Max number of projects to build in parallel is '5' Cleaning /var/tmp/portage/app-office/openoffice-3.1.0-r1/image//usr/lib64/openoffice Generating man pages ... Building /var/tmp/portage/app-office/openoffice-3.1.0-r1/image//usr/lib64/openoffice/basis3.1/program/java-set-classpath Installing extra en-US templates ... Installing system files ... Execute ooinstall ... Reading setup from ./setup Sucking env from build setup Performing environment substitutions ... Setting up environment Running OOo installer Subroutine installer::epmfile::getcwd redefined at /usr/lib64/perl5/5.8.8/Exporter.pm line 65. at /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/POSIX.pm line 19 ... checking environment variables ... ######################################################## make_installer.pl, version 1.0 Product list file: openoffice.lst Taking setup script from solver Unpackpath: /var/tmp/portage/app-office/openoffice-3.1.0-r1/work/ooo/build/ooo310-m11/instsetoo_native/util Compiler: unxlngx6 Product: OpenOffice BuildID: 9399 Build: OOO310 No minor set Product version Installpath: /usr/lib64/openoffice Package format: native Not calling epm No file stripping Unzip ARCHIVE files services.rdb can be created Languages: en-US,ru ######################################################## ... checking required files ... ...... searching zip ... Found: /usr/bin/zip ...... searching unzip ... Found: /usr/bin/unzip ... analyzing openoffice.lst ... ... reading include pathes ... ... analyzing script: /var/tmp/portage/app-office/openoffice-3.1.0-r1/work/ooo/build/ooo310-m11/solver/310/unxlngx6.pro/bin/setup_osl.ins ... Warning: mis-named or un-known '%' variable at line 56454: Description (rw) = "Yinjiza ubufasha bw'Ikibasiki muri OpenOffice.org %3.1"; Warning: mis-named or un-known '%' variable at line 57806: Description (rw) = "Yinjiza ubufasha bw'Igishinwa (cy'ubu) muri OpenOffice.org %3.1"; Warning: mis-named or un-known '%' variable at line 58820: Description (rw) = "Yinjiza ubufasha bw'Ikibureto muri OpenOffice.org %3.1"; Warning: mis-named or un-known '%' variable at line 59158: Description (rw) = "Yinjiza ubufasha bw'Ikibengali muri OpenOffice.org %3.1"; Warning: mis-named or un-known '%' variable at line 61186: Description (rw) = "Yinjiza ubufasha bw'Ikibengali (Bangaladeshi) muri OpenOffice.org %3.1"; Warning: mis-named or un-known '%' variable at line 61524: Description (rw) = "Yinjiza ubufasha bw'Ikibuligariya muri OpenOffice.org %3.1"; Warning: mis-named or un-known '%' variable at line 68284: Description (rw) = "Yinjiza ubufasha bw'Ikibengali muri OpenOffice.org %3.1"; Warning: mis-named or un-known '%' variable at line 69974: Description (rw) = "Yinjiza ubufasha bw'Ikinyasamu muri OpenOffice.org %3.1"; Warning: mis-named or un-known '%' variable at line 70669: Description (rw) = "Yinjiza ubufasha bw'Igiceki muri OpenOffice.org %3.1"; Warning: mis-named or un-known '%' variable at line 71007: Description (rw) = "Yinjiza ubufasha bw'Ikibelarusiya muri OpenOffice.org %3.1"; Warning: mis-named or un-known '%' variable at line 71345: Description (rw) = "Yinjiza ubufasha bw'Igishinwa (cya kera) muri OpenOffice.org %3.1"; Warning: mis-named or un-known '%' variable at line 72697: Description (rw) = "Yinjiza ubufasha bw'Ikidanimariki muri OpenOffice.org %3.1"; Warning: mis-named or un-known '%' variable at line 74049: Description (rw) = "Yinjiza ubufasha bw'Igikorowasi muri OpenOffice.org %3.1"; javaloader.uno.sod or un-known '%' variable at line 76415: stocservices.uno.so sh: line 1: 1817 Segmentation fault /var/tmp/portage/app-office Seems like it compiles and fails during install. Additional info: disconnect ooo # grep segfault /var/log/messages Aug 18 20:38:47 disconnect regcomp.bin[1817]: segfault at 2 ip 0000003d1ec1fa08 sp 00007fff7a357eb0 error 4 in libldap-2.3.so.0[3d1ec00000+38000] Recompilation of openldap and running revdep-rebuild after solves the problem. Now OO.o compiles and installs fine. Here is the solve: emerge -1 openldap && revdep-rebuild --library liblber-2.3.so.0 && revdep-rebuild --library libldap-2.3.so.0 && revdep-rebuild --library libldap_r-2.3.so.0 emerge openoffice Thats weird. I run emerge -e world with gcc 4.4 few weeks ago and in fails on OO.o; I skip it with emerge --resume --skipfrist, then run revdep-rebuild, then i tried to emerge OO.o and it fails again. So i came here and write this bug report. Seems like emerge -e world compiles openldap badly and OO.o fails on it. P.S. I just check emerge -e world includes openldap, so it was compiles few weeks ago when i wrote this bug report. |