Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 459378 - app-office/libreoffice-4.0.0.3 doesn't start
Summary: app-office/libreoffice-4.0.0.3 doesn't start
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-26 23:10 UTC by Piotr Szymaniak
Modified: 2013-03-09 16:01 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
strace output (strace.out,70.90 KB, text/plain)
2013-02-26 23:10 UTC, Piotr Szymaniak
Details
second strace out (soffice.strace.out,70.85 KB, text/plain)
2013-02-27 19:02 UTC, Piotr Szymaniak
Details
make V=1 VERBOSE=1 after make clean (bridges.makelog,34.54 KB, text/plain)
2013-03-09 06:32 UTC, Jonathan Thibault
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Piotr Szymaniak 2013-02-26 23:10:04 UTC
Created attachment 340228 [details]
strace output

Shows the splash for few seconds and then it's gone. I've tried to remove all the .ooo3, .libreoffice, .config/libreoffice and whatever but it doesn't work.


emerge --info =app-office/libreoffice-4.0.0.3
Portage 2.2.0_alpha163 (default/linux/x86/13.0/desktop, gcc-4.6.3, glibc-2.16.0, 3.8.0 i686)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.8.0-i686-Pentium-R-_Dual-Core_CPU_E5400_@_2.70GHz-with-gentoo-2.2
KiB Mem:     4148012 total,   2074884 free
KiB Swap:    4214776 total,   4214776 free
Timestamp of tree: Mon, 25 Feb 2013 20:45:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
distcc 3.1 i686-pc-linux-gnu [disabled]
ccache version 3.1.9 [disabled]
app-shells/bash:          4.2_p42
dev-java/java-config:     2.1.12-r1
dev-lang/python:          2.7.3-r3, 3.2.3-r2
dev-util/ccache:          3.1.9
dev-util/cmake:           2.8.10.2-r1
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.6
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.9.6-r3, 1.11.6, 1.13.1
sys-devel/binutils:       2.23.1
sys-devel/gcc:            4.6.3
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.7 (virtual/os-headers)
sys-libs/glibc:           2.16.0
Repositories: gentoo multimedia x11 mgorny sunrise roslin retroshare-overlay
Installed sets: @system
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/polkit-1/actions"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=core2 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/var/tmp/distfiles"
EMERGE_DEFAULT_OPTS="--quiet-build=n"
FCFLAGS="-O2 -march=i686 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms sign strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -march=i686 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="pl_PL.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
PKGDIR="/home/p/binpkgs"
PORTAGE_BUNZIP2_COMMAND="lbunzip2"
PORTAGE_BZIP2_COMMAND="lbzip2"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/multimedia /var/lib/layman/x11 /var/lib/layman/mgorny /var/lib/layman/sunrise /home/lazy_bum/uberlay/roslin /home/p/retroshare-overlay"
SYNC="rsync://10.0.0.2/gentoo-portage"
USE="X a52 aac acl acpi alsa bash-completion bzip2 cairo cdda cdr cli consolekit cracklib crypt cups custom-cflags custom-cxxflags cxx dbus dri dts dvd dvdr emboss encode exif fam firefox flac fortran gif gles gtk iconv ipv6 jabber jpeg lcms libnotify mad mmx mmxext mng modules mp3 mpeg mudflap ncurses nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds qt3support qt4 readline sdl session spell sse sse2 ssl ssse3 svg tcpd tiff truetype udev udisks unicode upower usb vim-syntax vorbis wxwidgets x264 x86 xcb xinerama xml xorg xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="pl en" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" QEMU_SOFTMMU_TARGETS="i386 arm" QEMU_USER_TARGETS="i386 arm" RUBY_TARGETS="ruby18 ruby19" SANE_BACKENDS="pixma" USERLAND="GNU" VIDEO_CARDS="nouveau" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

=================================================================
                        Package Settings
=================================================================

app-office/libreoffice-4.0.0.3 was built with the following:
USE="cups dbus gtk opengl vba webdav (-aqua) -bluetooth -branding -debug -eds -gnome -gstreamer -gtk3 -java -jemalloc -kde -mysql -odk -postgres -telepathy -test" LIBREOFFICE_EXTENSIONS="presenter-minimizer -nlpsolver -scripting-beanshell -scripting-javascript -wiki-publisher" PYTHON_SINGLE_TARGET="python2_7 -python3_3" PYTHON_TARGETS="python2_7 -python3_3"
Comment 1 Piotr Szymaniak 2013-02-27 19:02:44 UTC
Created attachment 340404 [details]
second strace out

Different machine, same behaviour.
Comment 2 Ben Kohler gentoo-dev 2013-02-28 04:14:46 UTC
Could this be bug #452006? It may be segfaulting even if you don't see that on command-line.  A rebuild of libreffice or a downgrade of icu is needed in this case.
Comment 3 Piotr Szymaniak 2013-02-28 08:33:19 UTC
(In reply to comment #2)
> Could this be bug #452006? It may be segfaulting even if you don't see that
> on command-line.  A rebuild of libreffice or a downgrade of icu is needed in
> this case.

Possible. Looking back at icu and libreoffice merge history on the second mentioned machine it looks like icu was upgraded after LO. Will check the first machine later today and, now, I'm reemerging LO on the second.
Comment 4 Piotr Szymaniak 2013-02-28 16:56:12 UTC
(In reply to comment #3)
> Possible. Looking back at icu and libreoffice merge history on the second
> mentioned machine it looks like icu was upgraded after LO. Will check the
> first machine later today and, now, I'm reemerging LO on the second.

Ok, reemerged LO on the second machine and it still doesn't work. So I have no idea if this is icu related (looking at mentioned bug seems that it helps, but not for everyone). Maybe I will make a debug build on one of those machines to see some gdb output.
Comment 5 Tomáš Chvátal (RETIRED) gentoo-dev 2013-03-06 21:26:00 UTC
Please run test phase of libreoffice, it is designed to catch various runtime errors with meaningfull messages.

Also try 4.0.1.2 if it does not solve your issue.
Comment 6 Jonathan Thibault 2013-03-07 01:02:48 UTC
Same issue for me after building 4.0.1.2, will give it a go with FEATURES=test and post results.
Comment 7 Jonathan Thibault 2013-03-07 02:56:56 UTC
[build CHK] xsltml
S=/var/tmp/portage/app-office/libreoffice-4.0.1.2/work/libreoffice-4.0.1.2 && O=$S/solver/unxlngi6.pro && W=$S/workdir/unxlngi6.pro &&  mkdir -p $W/Module/check/ && touch $W/Module/check/xsltml
S=/var/tmp/portage/app-office/libreoffice-4.0.1.2/work/libreoffice-4.0.1.2 && O=$S/solver/unxlngi6.pro && W=$S/workdir/unxlngi6.pro &&  mkdir -p $W/Headers/CppunitTest/ && touch $W/Headers/CppunitTest/libtest_basebmp_cpputest.so
S=/var/tmp/portage/app-office/libreoffice-4.0.1.2/work/libreoffice-4.0.1.2 && O=$S/solver/unxlngi6.pro && W=$S/workdir/unxlngi6.pro &&  mkdir -p $W/Headers/CppunitTest/ && touch $W/Headers/CppunitTest/libtest_basegfx_cpputest.so
S=/var/tmp/portage/app-office/libreoffice-4.0.1.2/work/libreoffice-4.0.1.2 && O=$S/solver/unxlngi6.pro && W=$S/workdir/unxlngi6.pro &&  mkdir -p $W/Headers/CppunitTest/ && touch $W/Headers/CppunitTest/libtest_basic_scanner.so
S=/var/tmp/portage/app-office/libreoffice-4.0.1.2/work/libreoffice-4.0.1.2 && O=$S/solver/unxlngi6.pro && W=$S/workdir/unxlngi6.pro &&  mkdir -p $W/Headers/CppunitTest/ && touch $W/Headers/CppunitTest/libtest_basic_enable.so
S=/var/tmp/portage/app-office/libreoffice-4.0.1.2/work/libreoffice-4.0.1.2 && O=$S/solver/unxlngi6.pro && W=$S/workdir/unxlngi6.pro &&  mkdir -p $W/Headers/CppunitTest/ && touch $W/Headers/CppunitTest/libtest_basic_nested_struct.so
S=/var/tmp/portage/app-office/libreoffice-4.0.1.2/work/libreoffice-4.0.1.2 && O=$S/solver/unxlngi6.pro && W=$S/workdir/unxlngi6.pro &&  mkdir -p $W/Headers/CppunitTest/ && touch $W/Headers/CppunitTest/libtest_basic_coverage.so
S=/var/tmp/portage/app-office/libreoffice-4.0.1.2/work/libreoffice-4.0.1.2 && O=$S/solver/unxlngi6.pro && W=$S/workdir/unxlngi6.pro &&  mkdir -p $W/Headers/CppunitTest/ && touch $W/Headers/CppunitTest/libtest_binaryurp_test-cache.so
S=/var/tmp/portage/app-office/libreoffice-4.0.1.2/work/libreoffice-4.0.1.2 && O=$S/solver/unxlngi6.pro && W=$S/workdir/unxlngi6.pro &&  mkdir -p $W/Headers/CppunitTest/ && touch $W/Headers/CppunitTest/libtest_binaryurp_test-unmarshal.so
S=/var/tmp/portage/app-office/libreoffice-4.0.1.2/work/libreoffice-4.0.1.2 && O=$S/solver/unxlngi6.pro && W=$S/workdir/unxlngi6.pro &&  mkdir -p $W/Headers/CppunitTest/ && touch $W/Headers/CppunitTest/libtest_comphelper_test.so
S=/var/tmp/portage/app-office/libreoffice-4.0.1.2/work/libreoffice-4.0.1.2 && O=$S/solver/unxlngi6.pro && W=$S/workdir/unxlngi6.pro &&  mkdir -p $W/Headers/CppunitTest/ && touch $W/Headers/CppunitTest/libtest_connectivity_mork.so
[build HPC] cppu
RESPONSEFILE=/var/tmp/portage/app-office/libreoffice-4.0.1.2/temp/gbuild.kRRq4L && LD_LIBRARY_PATH=${LD_LIBRARY_PATH:+$LD_LIBRARY_PATH:}"/var/tmp/portage/app-office/libreoffice-4.0.1.2/work/libreoffice-4.0.1.2/solver/unxlngi6.pro/lib" SOLARBINDIR=/var/tmp/portage/app-office/libreoffice-4.0.1.2/work/libreoffice-4.0.1.2/solver/unxlngi6.pro/bin /var/tmp/portage/app-office/libreoffice-4.0.1.2/work/libreoffice-4.0.1.2/solver/unxlngi6.pro/bin/cppumaker -Gc -C -BUCR -O/var/tmp/portage/app-office/libreoffice-4.0.1.2/work/libreoffice-4.0.1.2/workdir/unxlngi6.pro/UnoApiHeadersTarget/cppu/comprehensive /var/tmp/portage/app-office/libreoffice-4.0.1.2/work/libreoffice-4.0.1.2/workdir/unxlngi6.pro/UnoApiTarget/cppu.rdb @${RESPONSEFILE} && rm -f ${RESPONSEFILE} && touch /var/tmp/portage/app-office/libreoffice-4.0.1.2/work/libreoffice-4.0.1.2/workdir/unxlngi6.pro/UnoApiHeadersTarget/cppu/comprehensive.done
S=/var/tmp/portage/app-office/libreoffice-4.0.1.2/work/libreoffice-4.0.1.2 && O=$S/solver/unxlngi6.pro && W=$S/workdir/unxlngi6.pro &&  mkdir -p $W/Headers/CppunitTest/ && touch $W/Headers/CppunitTest/libtest_cppuhelper_cppu_ifcontainer.so
S=/var/tmp/portage/app-office/libreoffice-4.0.1.2/work/libreoffice-4.0.1.2 && O=$S/solver/unxlngi6.pro && W=$S/workdir/unxlngi6.pro &&  mkdir -p $W/Headers/CppunitTest/ && touch $W/Headers/CppunitTest/libtest_cppuhelper_cppu_unourl.so
S=/var/tmp/portage/app-office/libreoffice-4.0.1.2/work/libreoffice-4.0.1.2 && O=$S/solver/unxlngi6.pro && W=$S/workdir/unxlngi6.pro &&  mkdir -p $W/Headers/CppunitTest/ && touch $W/Headers/CppunitTest/libtest_editeng_core.so
S=/var/tmp/portage/app-office/libreoffice-4.0.1.2/work/libreoffice-4.0.1.2 && O=$S/solver/unxlngi6.pro && W=$S/workdir/unxlngi6.pro &&  mkdir -p $W/Headers/CppunitTest/ && touch $W/Headers/CppunitTest/libtest_editeng_borderline.so
S=/var/tmp/portage/app-office/libreoffice-4.0.1.2/work/libreoffice-4.0.1.2 && O=$S/solver/unxlngi6.pro && W=$S/workdir/unxlngi6.pro &&  mkdir -p $W/Headers/CppunitTest/ && touch $W/Headers/CppunitTest/libtest_editeng_lookuptree.so
S=/var/tmp/portage/app-office/libreoffice-4.0.1.2/work/libreoffice-4.0.1.2 && O=$S/solver/unxlngi6.pro && W=$S/workdir/unxlngi6.pro &&  mkdir -p $W/Headers/CppunitTest/ && touch $W/Headers/CppunitTest/libtest_filter_pict_test.so
S=/var/tmp/portage/app-office/libreoffice-4.0.1.2/work/libreoffice-4.0.1.2 && O=$S/solver/unxlngi6.pro && W=$S/workdir/unxlngi6.pro &&  mkdir -p $W/Headers/CppunitTest/ && touch $W/Headers/CppunitTest/libtest_filter_tga_test.so
S=/var/tmp/portage/app-office/libreoffice-4.0.1.2/work/libreoffice-4.0.1.2 && O=$S/solver/unxlngi6.pro && W=$S/workdir/unxlngi6.pro &&  mkdir -p $W/Headers/CppunitTest/ && touch $W/Headers/CppunitTest/libtest_filter_tiff_test.so
S=/var/tmp/portage/app-office/libreoffice-4.0.1.2/work/libreoffice-4.0.1.2 && O=$S/solver/unxlngi6.pro && W=$S/workdir/unxlngi6.pro &&  mkdir -p $W/Headers/CppunitTest/ && touch $W/Headers/CppunitTest/libtest_hwpfilter_test_hwpfilter.so
S=/var/tmp/portage/app-office/libreoffice-4.0.1.2/work/libreoffice-4.0.1.2 && O=$S/solver/unxlngi6.pro && W=$S/workdir/unxlngi6.pro &&  mkdir -p $W/Headers/CppunitTest/ && touch $W/Headers/CppunitTest/libtest_i18npool_test_breakiterator.so
S=/var/tmp/portage/app-office/libreoffice-4.0.1.2/work/libreoffice-4.0.1.2 && O=$S/solver/unxlngi6.pro && W=$S/workdir/unxlngi6.pro &&  mkdir -p $W/Headers/CppunitTest/ && touch $W/Headers/CppunitTest/libtest_i18npool_test_characterclassification.so
S=/var/tmp/portage/app-office/libreoffice-4.0.1.2/work/libreoffice-4.0.1.2 && O=$S/solver/unxlngi6.pro && W=$S/workdir/unxlngi6.pro &&  mkdir -p $W/Headers/CppunitTest/ && touch $W/Headers/CppunitTest/libtest_i18npool_test_languagetag.so
S=/var/tmp/portage/app-office/libreoffice-4.0.1.2/work/libreoffice-4.0.1.2 && O=$S/solver/unxlngi6.pro && W=$S/workdir/unxlngi6.pro &&  mkdir -p $W/Headers/CppunitTest/ && touch $W/Headers/CppunitTest/libtest_i18npool_test_ordinalsuffix.so
S=/var/tmp/portage/app-office/libreoffice-4.0.1.2/work/libreoffice-4.0.1.2 && O=$S/solver/unxlngi6.pro && W=$S/workdir/unxlngi6.pro &&  mkdir -p $W/Headers/CppunitTest/ && touch $W/Headers/CppunitTest/libtest_i18npool_test_textsearch.so
S=/var/tmp/portage/app-office/libreoffice-4.0.1.2/work/libreoffice-4.0.1.2 && O=$S/solver/unxlngi6.pro && W=$S/workdir/unxlngi6.pro &&  mkdir -p $W/Headers/CppunitTest/ && touch $W/Headers/CppunitTest/libtest_lotuswordpro_test_lotuswordpro.so
S=/var/tmp/portage/app-office/libreoffice-4.0.1.2/work/libreoffice-4.0.1.2 && O=$S/solver/unxlngi6.pro && W=$S/workdir/unxlngi6.pro &&  mkdir -p $W/Headers/CppunitTest/ && touch $W/Headers/CppunitTest/libtest_o3tl_tests.so
S=/var/tmp/portage/app-office/libreoffice-4.0.1.2/work/libreoffice-4.0.1.2 && O=$S/solver/unxlngi6.pro && W=$S/workdir/unxlngi6.pro &&  mkdir -p $W/Headers/CppunitTest/ && touch $W/Headers/CppunitTest/libtest_sal_osl_process.so
S=/var/tmp/portage/app-office/libreoffice-4.0.1.2/work/libreoffice-4.0.1.2 && O=$S/solver/unxlngi6.pro && W=$S/workdir/unxlngi6.pro &&  mkdir -p $W/Headers/CppunitTest/ && touch $W/Headers/CppunitTest/libtest_Module_DLL.so
/bin/sh: line 1: 19381 Segmentation fault      $O/bin/uno -ro $O/xml/uno_services.rdb -ro $O/bin/udkapi.rdb -ro $W/UnoApiTarget/bridgetest.rdb -s com.sun.star.test.bridge.BridgeTest -- com.sun.star.test.bridge.CppTestObject
make[2]: *** [/var/tmp/portage/app-office/libreoffice-4.0.1.2/work/libreoffice-4.0.1.2/workdir/unxlngi6.pro/CustomTarget/testtools/uno_test.done] Error 139
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/app-office/libreoffice-4.0.1.2/work/libreoffice-4.0.1.2'
make[1]: *** [unitcheck] Error 2
make[1]: Leaving directory `/var/tmp/portage/app-office/libreoffice-4.0.1.2/work/libreoffice-4.0.1.2'
make: *** [unitcheck] Error 2
Comment 8 Jonathan Thibault 2013-03-07 03:34:57 UTC
Running:

make -f Makefile.post unitcheck in

/var/tmp/portage/app-office/libreoffice-4.0.1.2/work/libreoffice-4.0.1.2

I got this:

[build CUT] sc_ucalc
S=/var/tmp/portage/app-office/libreoffice-4.0.1.2/work/libreoffice-4.0.1.2 && O=$S/solver/unxlngi6.pro && W=$S/workdir/unxlngi6.pro &&  mkdir -p $W/CppunitTest/ && (LD_LIBRARY_PATH=${LD_LIBRARY_PATH:+$LD_LIBRARY_PATH:}"$O/lib":$O/lib/sqlite   DBGSV_ERROR_OUT=shell DISABLE_SAL_DBGBOX=t  STAR_RESOURCEPATH=$O/bin/   $O/bin/cppunit/cppunittester $W/LinkTarget/CppunitTest/libtest_sc_ucalc.so --headless "-env:BRAND_BASE_DIR=file://$O/unittest/install"   "-env:CONFIGURATION_LAYERS=xcsxcu:file://$O/xml/registry"  "-env:UNO_TYPES=file://$O/bin/offapi.rdb file://$O/bin/udkapi.rdb"  "-env:UNO_SERVICES=file://$O/xml/ure/services.rdb file://$O/xml/component/configmgr/source/configmgr.component file://$O/xml/component/framework/util/fwk.component file://$O/xml/component/i18npool/util/i18npool.component file://$O/xml/component/sfx2/util/sfx.component file://$O/xml/component/ucb/source/core/ucb1.component file://$O/xml/component/ucb/source/ucp/file/ucpfile1.component file://$O/xml/component/unoxml/source/service/unoxml.component file://$O/xml/component/uui/util/uui.component"  -env:URE_INTERNAL_LIB_DIR=file://$O/lib  -env:LO_LIB_DIR=file://$O/lib --protector unoexceptionprotector.so unoexceptionprotector --protector unobootstrapprotector.so unobootstrapprotector   > $W/CppunitTest/sc_ucalc.test.log 2>&1 || (cat $W/CppunitTest/sc_ucalc.test.log && echo; echo "Error: a unit test failed, please do one of:"; echo; echo "export DEBUGCPPUNIT=TRUE            # for exception catching"; echo "export GDBCPPUNITTRACE=\"gdb --args\" # for interactive debugging"; echo "export VALGRIND=memcheck            # for memory checking" ; echo "and retry." && false))
/bin/sh: line 1: 21514 Segmentation fault      LD_LIBRARY_PATH=${LD_LIBRARY_PATH:+$LD_LIBRARY_PATH:}"$O/lib":$O/lib/sqlite DBGSV_ERROR_OUT=shell DISABLE_SAL_DBGBOX=t STAR_RESOURCEPATH=$O/bin/ $O/bin/cppunit/cppunittester $W/LinkTarget/CppunitTest/libtest_sc_ucalc.so --headless "-env:BRAND_BASE_DIR=file://$O/unittest/install" "-env:CONFIGURATION_LAYERS=xcsxcu:file://$O/xml/registry" "-env:UNO_TYPES=file://$O/bin/offapi.rdb file://$O/bin/udkapi.rdb" "-env:UNO_SERVICES=file://$O/xml/ure/services.rdb file://$O/xml/component/configmgr/source/configmgr.component file://$O/xml/component/framework/util/fwk.component file://$O/xml/component/i18npool/util/i18npool.component file://$O/xml/component/sfx2/util/sfx.component file://$O/xml/component/ucb/source/core/ucb1.component file://$O/xml/component/ucb/source/ucp/file/ucpfile1.component file://$O/xml/component/unoxml/source/service/unoxml.component file://$O/xml/component/uui/util/uui.component" -env:URE_INTERNAL_LIB_DIR=file://$O/lib -env:LO_LIB_DIR=file://$O/lib --protector unoexceptionprotector.so unoexceptionprotector --protector unobootstrapprotector.so unobootstrapprotector > $W/CppunitTest/sc_ucalc.test.log 2>&1

Error: a unit test failed, please do one of:

export DEBUGCPPUNIT=TRUE            # for exception catching
export GDBCPPUNITTRACE="gdb --args" # for interactive debugging
export VALGRIND=memcheck            # for memory checking
and retry.
make: *** [/var/tmp/portage/app-office/libreoffice-4.0.1.2/work/libreoffice-4.0.1.2/workdir/unxlngi6.pro/CppunitTest/sc_ucalc.test] Error 1
Comment 9 Tomáš Chvátal (RETIRED) gentoo-dev 2013-03-07 08:20:41 UTC
Thanks for the output.

It is still the omit-frame-pointer which causes the breakage. I will have to investigate it more so I don't have to filter it out. Problem is that this problem should've been fixed in 4.0.1.2.
Comment 10 Tomáš Chvátal (RETIRED) gentoo-dev 2013-03-07 13:20:45 UTC
Goodie, so it seems the bridges are not built correctly.

On this failed install if you could enter folder bridges run "make clean" and then "make V=1 VERBOSE=1" and post the output.

I am mostly interested in seeing cflags order because there should be added -fno-omit-frame-pointer to the stuff based on Library_gcc3_linux_intel.mk

# In case someone enabled the non-standard -fomit-frame-pointer which does not
# work with the .cxx sources of this library.
$(eval $(call gb_Library_add_cxxflags,gcc3_uno,\
        -fno-omit-frame-pointer \
        -fno-strict-aliasing \
        $(if $(filter TRUE,$(HAVE_GCC_AVX)),\
                -mno-avx \
        ) \
))
Comment 11 Jonathan Thibault 2013-03-07 22:10:14 UTC
I'll probably be able to do the test later tonight (this thing takes quite a while to build), but I can confirm that my cflags do include -fomit-frame-pointer so at least I have a workaround.  I'll build with my usual cflags for your test first though so you can see what's going on.
Comment 12 Jonathan Thibault 2013-03-09 06:32:50 UTC
Created attachment 341378 [details]
make V=1 VERBOSE=1 after make clean

A little late, but here it is as requested.
Comment 13 Tomáš Chvátal (RETIRED) gentoo-dev 2013-03-09 09:28:30 UTC
Thanks it confirms the issue, if you look into the log and search for omit-frame-pointer you see that on some objects it first state -fno-omit-frame-pointer and later on it says -fomit-frame-pointer. Which leads to this breakage.

As workaround remove it from cxxflags and I will work on fixing it upstream once for good.
Comment 14 Tomáš Chvátal (RETIRED) gentoo-dev 2013-03-09 16:01:17 UTC
It is now fixed in master and the backport is sadly too huge for 4.0 branch. So I put filter-flags to the branch ebuilds. Just recompile the 4.0.1.2 and you should be fine.