Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 378089 - app-office/libreoffice-3.4.2.3 - /bin/sh: line 1: 24117 Bus error LD_LIBRARY_PATH=$O/lib STAR_RESOURCEPATH=$O/bin/ $O/bin/cppunit/cppunittester $W/LinkTarget/CppunitTest/libtest_sc_ucalc.so --headless --invisible [..]
Summary: app-office/libreoffice-3.4.2.3 - /bin/sh: line 1: 24117 Bus error LD_LIBRARY_...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-07 14:28 UTC by Patrizio Bassi
Modified: 2011-08-12 13:19 UTC (History)
0 users

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


Attachments
build.log (build.tar.bz2,151.03 KB, application/bzip2)
2011-08-07 14:28 UTC, Patrizio Bassi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Patrizio Bassi 2011-08-07 14:28:28 UTC
Entering /mnt/Dati/Gentoo/tmp/portage/app-office/libreoffice-3.4.2.3/work/libreoffice-bootstrap-3.4.2.3/scripting/util

Compiling: scripting/unxlngx6.pro/misc/scriptframe_version.c
: &&     LD_LIBRARY_PATH=/mnt/Dati/Gentoo/tmp/portage/app-office/libreoffice-3.4.2.3/work/libreoffice-bootstrap-3.4.2.3/solver/340/unxlngx6.pro/lib${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}} xsltproc --nonet --stringparam uri \
        'vnd.sun.star.expand:$OOO_BASE_DIR/program/libscriptframe.so' -o ../unxlngx6.pro/misc/scriptframe.component \
        /mnt/Dati/Gentoo/tmp/portage/app-office/libreoffice-3.4.2.3/work/libreoffice-bootstrap-3.4.2.3/solenv/bin/createcomponent.xslt scriptframe.component
Making:    scriptframe.lib
Making:    libscriptframe.so
scripting deliver
deliver -- version: 275594
Module 'scripting' delivered successfully. 34 files copied, 0 files unchanged

-----------------------------------------------------------------------
        Oh dear - something failed during the build - sorry !
  For more help with debugging build errors, please see the section in:
            http://wiki.documentfoundation.org/Development

  internal build errors:

ERROR: error 65280 occurred while making /mnt/Dati/Gentoo/tmp/portage/app-office/libreoffice-3.4.2.3/work/libreoffice-bootstrap-3.4.2.3/sc/prj

 it seems that the error is inside 'sc', please re-run build
 inside this module to isolate the error and/or test your fix:
-----------------------------------------------------------------------

rm -Rf /mnt/Dati/Gentoo/tmp/portage/app-office/libreoffice-3.4.2.3/work/libreoffice-bootstrap-3.4.2.3/sc/unxlngx6.pro # optional module 'clean'
/bin/sh
cd /mnt/Dati/Gentoo/tmp/portage/app-office/libreoffice-3.4.2.3/work/libreoffice-bootstrap-3.4.2.3
source ./LinuxX86-64Env.Set.sh
cd sc
build

when the problem is isolated and fixed exit and re-run 'make' from the top-level
make: *** [all] Error 1
 * ERROR: app-office/libreoffice-3.4.2.3 failed (compile phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line  56:  Called src_compile
 *   environment, line 8854:  Called die
 * The specific snippet of code:
 *       make || die
 * 
 * If you need support, post the output of 'emerge --info =app-office/libreoffice-3.4.2.3',
 * the complete build log and the output of 'emerge -pqv =app-office/libreoffice-3.4.2.3'.
!!! When you file a bug report, please include the following information:
GENTOO_VM=icedtea6  CLASSPATH="" JAVA_HOME="/usr/lib64/icedtea6"
JAVACFLAGS="-source 1.5 -target 1.5" COMPILER=""
and of course, the output of emerge --info
 * The complete build log is located at '/mnt/Dati/Gentoo/tmp/portage/app-office/libreoffice-3.4.2.3/temp/build.log'.
 * The ebuild environment file is located at '/mnt/Dati/Gentoo/tmp/portage/app-office/libreoffice-3.4.2.3/temp/environment'.
 * S: '/mnt/Dati/Gentoo/tmp/portage/app-office/libreoffice-3.4.2.3/work/libreoffice-bootstrap-3.4.2.3'

>>> Failed to emerge app-office/libreoffice-3.4.2.3, Log file:

>>>  '/mnt/Dati/Gentoo/tmp/portage/app-office/libreoffice-3.4.2.3/temp/build.log'
Comment 1 Patrizio Bassi 2011-08-07 14:28:54 UTC
Created attachment 282421 [details]
build.log
Comment 2 Patrizio Bassi 2011-08-07 14:44:18 UTC
it would be nice to test a patch resuming the compilation instead of restarting from scratch which takes hours...
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2011-08-07 14:45:21 UTC
Please post your `emerge --info' output too.
Comment 4 Patrizio Bassi 2011-08-07 14:46:16 UTC
Portage 2.1.10.10 (default/linux/amd64/10.0/desktop, gcc-4.6.1, glibc-2.13-r4, 3.0.0 x86_64)
=================================================================
System uname: Linux-3.0.0-x86_64-Intel-R-_Core-TM-2_CPU_6300_@_1.86GHz-with-gentoo-2.0.3
Timestamp of tree: Sun, 07 Aug 2011 06:45:01 +0000
ccache version 3.1.5 [disabled]
app-shells/bash:          4.2_p10
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2-r2, 3.1.4-r2, 3.2-r2
dev-util/ccache:          3.1.5
dev-util/cmake:           2.8.5-r2
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.8.3-r1
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13::<unknown repository>, 2.68
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.1-r1
sys-devel/binutils:       2.21.1
sys-devel/gcc:            4.6.1
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 2.6.38 (virtual/os-headers)
sys-libs/glibc:           2.13-r4
Repositories: gentoo blight
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA skype-eula PUEL googleearth AdobeFlash-10.1 google-talkplugin"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -mtune=core2 -march=core2 -fomit-frame-pointer -mmmx -msse -msse2 -msse3 -mfpmath=sse"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/mail/dspam /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0 /var/lib/hsqldb /var/run/dspam"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -mtune=core2 -march=core2 -fomit-frame-pointer -mmmx -msse -msse2 -msse3 -mfpmath=sse"
DISTDIR="/mnt/Dati/Gentoo/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="39"
LC_ALL="it_IT.utf8"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--enable-new-dtags -Wl,--as-needed -Wl,--hash-style=gnu"
LINGUAS="it"
MAKEOPTS="-j3"
PKGDIR="/mnt/Dati/Gentoo/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/mnt/Dati/Gentoo/tmp/"
PORTDIR="/mnt/Dati/Gentoo/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 apache2 apng bash-completion branding bzip2 cairo caps cdda cdr connectionstatus consolekit cracklib crypt css cups curl cxx daemon dbus device-mapper divx dri dts dvd dvdr dvdread dynamicplugin embedded encode exif ffmpeg firefox flac ftp gallium gdu gif glibc-omitfp glitz glut gnutls gpm hddtemp iconv icu idn ipod ipv6 irc java java6 javascript jpeg jpeg2k justify kde kde4 kdehiddenvisibility kpathsea kqemu lame lcms lightning lilo live lm_sensors lzo mad matroska mime mmx mmxext mng mozdevelop mp3 mp4 mp4live mpeg mpeg2 mplayer msn mudflap multilib musepack ncurses network nls nntp npp nptl nptlonly nsplugin ntfs ogg opengl openmp openssl pam pango pdf pgo plasma png policykit python3 qt3support qt4 quicktime readline reiserfs remote rtc samba scanner sdl secure-delete semantic-desktop session sip slang smp sockets speex spell sse sse2 sse3 ssl ssse3 svg system-sqlite tao theora threads tiff truetype udev unicode unlock-notify usb userlocales v4l2 video vorbis vpx wav wavpack webkit wma x264 xcb xcomposite xine xml xorg xpm xulrunner xv xvfb xvid xvmc zip zlib" ALSA_CARDS="hda-intel" 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="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="braindump flow karbon kexi kpresenter krita tables words" 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="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="it" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" 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, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 5 Patrizio Bassi 2011-08-07 14:49:21 UTC
trying to follow the indications from the build failure in the script

root@blight ~ # cd /mnt/Dati/Gentoo/tmp/portage/app-office/libreoffice-3.4.2.3/work/libreoffice-bootstrap-3.4.2.3
root@blight libreoffice-bootstrap-3.4.2.3 # source ./LinuxX86-64Env.Set.sh
root@blight libreoffice-bootstrap-3.4.2.3 # cd sc
root@blight sc # build
build -- version: 275224
This module has been migrated to GNU make.
You can only use build --all/--since here with build.pl.
To do the equivalent of 'build && deliver' call:
        make -sr
in the module root (This will modify the solver).

# echo $?
1

can this be the root cause of the error?
Comment 6 Patrizio Bassi 2011-08-07 14:51:47 UTC
dmesg shows: 

cppunittester[24117] trap stack segment ip:7fb8ec56c94d sp:7fff24673da0 error:0
Comment 7 Patrizio Bassi 2011-08-07 15:01:26 UTC
something similar here
http://lists.freedesktop.org/archives/libreoffice/2011-April/010068.html

sorry for bugzilla spam today!
Comment 8 Tomáš Chvátal (RETIRED) gentoo-dev 2011-08-07 18:21:04 UTC
For the testing you can of course mess with:
/var/tmp/portage/app-office/libreoffice-VERSION/work/libreoffice-*/
where you can alter the sources and then just go to:
/usr/portage/app-office/libreoffice/
and run (as root):
ebuild libreoffice-VERSION.ebuild install


where if you repeat the steps enough it will get installed, if so you just run
emerge libreoffice-VERSION.ebuild qmerge
which will install that package into your live system so you can punt the dir by:
rm -rf /var/tmp/portage/app-office/

Also for the bug, I didn't see the error before, so I really have no idea how to solve it :/
Comment 9 Tomáš Chvátal (RETIRED) gentoo-dev 2011-08-07 18:24:09 UTC
FWIW it looks like cppunit actually crashed.

We really need to find a way how to disable the test execution during the normal build and run them only for the check phase. So far I've seen more bugs in them than the issues they helped to find :D
(by that "need to find a way" i probably mean something like "i should fix it at work" :D)
Comment 10 Patrizio Bassi 2011-08-08 16:33:30 UTC
ok Tomas, when you have something to disable that or make is less strict notify me so i can give a test run
Comment 11 Tomáš Chvátal (RETIRED) gentoo-dev 2011-08-12 08:13:53 UTC
I added patch that actualy made cppunit not to do anything, could you retest the build please?
Comment 12 Patrizio Bassi 2011-08-12 13:15:02 UTC
ok, merge fine here!
Comment 13 Tomáš Chvátal (RETIRED) gentoo-dev 2011-08-12 13:16:02 UTC
Thanks for confirmation :)
Comment 14 Patrizio Bassi 2011-08-12 13:19:03 UTC
well done man!