Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 383631

Summary: app-office/libreoffice-3.3.4 fails to start
Product: Gentoo Linux Reporter: Stuart Longland (RETIRED) <redhatter>
Component: Current packagesAssignee: Gentoo Office Team <office>
Status: RESOLVED OBSOLETE    
Severity: major CC: pacho
Priority: Normal    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log.xz
build2.log.xz

Description Stuart Longland (RETIRED) gentoo-dev 2011-09-19 12:22:08 UTC
After building, libreoffice-3.3.4 fails to start on x86.  Symptom is the splash screen displaying for a brief second, then disappearing.

Starting from the console yields:

stuartl@vk4mslp2 /usr/lib/libreoffice/program $ libreoffice
/usr/lib/libreoffice/program/soffice.bin: line 168: /usr/lib/libreoffice/program/soffice.bin.bin: No such file or directory

Indeed, when I look there, I notice that:

stuartl@vk4mslp2 /usr/lib/libreoffice/program $ ls -l
total 216
-r--r--r-- 1 root root 12956 Sep 19 09:56 about.png
-r--r--r-- 1 root root   197 Sep 19 12:52 bootstraprc
-r--r--r-- 1 root root  1332 Sep 19 12:52 fundamentalrc
-r--r--r-- 1 root root 31528 Sep 19 09:56 intro.png
-r-xr-xr-x 1 root root 27612 Sep 19 07:14 libnpsoplugin.so
-r-xr-xr-x 1 root root 37437 Sep 19 09:54 oosplash.bin
-r--r--r-- 1 root root    50 Sep 19 12:52 redirectrc
drwxr-xr-x 2 root root  4096 Sep 19 12:59 resource
-r-xr-xr-x 1 root root    61 Sep 19 09:57 sbase
-r-xr-xr-x 1 root root    61 Sep 19 09:57 scalc
-r-xr-xr-x 1 root root    61 Sep 19 09:57 sdraw
-r--r--r-- 1 root root    57 Sep 19 12:52 setuprc
drwxr-xr-x 2 root root  4096 Sep 19 12:59 shell
-r-xr-xr-x 1 root root    64 Sep 19 09:57 simpress
-r-xr-xr-x 1 root root    61 Sep 19 09:57 smath
-r-xr-xr-x 1 root root  5212 Sep 19 09:56 soffice
-r-xr-xr-x 1 root root  5212 Sep 19 09:56 soffice.bin
-r--r--r-- 1 root root   192 Sep 19 12:52 sofficerc
-r-xr-xr-x 1 root root  2722 Sep 19 12:17 spadmin
-r-xr-xr-x 1 root root    63 Sep 19 09:57 swriter
-r-xr-xr-x 1 root root  1803 Sep 19 09:57 unoinfo
-r-xr-xr-x 1 root root  3964 Sep 19 09:57 unopkg
-r-xr-xr-x 1 root root 15117 Sep 19 09:55 unopkg.bin
-r--r--r-- 1 root root   441 Sep 19 12:52 versionrc

... there is no soffice.bin.bin, and that for some reason, soffice and soffice.bin are the same size.  In fact, diff reveals they are exactly the same:

stuartl@vk4mslp2 /usr/lib/libreoffice/program $ diff soffice soffice.bin 
stuartl@vk4mslp2 /usr/lib/libreoffice/program $ file soffice*
soffice:     POSIX shell script, ASCII text executable
soffice.bin: POSIX shell script, ASCII text executable
sofficerc:   ASCII text

I seem to recall soffice.bin being a binary executable on my AMD64 laptop, so I think one of these is meant to be the LibreOffice binary, not a shell script.  Something made a boo boo.  libreoffice also failed its self-test.

I seem to recall similar behaviour out of openoffice-3.2.1-r1, which is one of the reasons I uninstalled it in favour of libreoffice.  It seems there's some other underlying problem.

stuartl@vk4mslp2 ~ $ emerge --info ; emerge -pv libreoffice
Portage 2.1.10.11 (default/linux/x86/10.0, gcc-4.4.5, glibc-2.12.2-r0, 3.0.4-vk4mslp2 i686)
=================================================================
System uname: Linux-3.0.4-vk4mslp2-i686-Mobile_Intel-R-_Pentium-R-_4_-_M_CPU_2.00GHz-with-gentoo-2.0.3
Timestamp of tree: Mon, 12 Sep 2011 16:45:01 +0000
app-shells/bash:          4.1_p9
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.6.5-r3, 2.7.1-r1, 3.1.3-r1
dev-util/cmake:           2.8.4-r1
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.8.3-r1
sys-apps/sandbox:         2.4
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.5-r1, 1.7.9-r2, 1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:       2.18-r3, 2.20.1-r1
sys-devel/gcc:            4.4.5
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82
sys-kernel/linux-headers: 2.6.36.1 (virtual/os-headers)
sys-libs/glibc:           2.12.2
Repositories: gentoo x-local x-gentoo-cn x-yubikey
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=pentium4 -g"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe -march=pentium4 -g"
DISTDIR="/home/portage/distfiles"
FEATURES="assume-digests binpkg-logs buildpkg distlocks ebuild-locks fixlafiles fixpackages news nostrip parallel-fetch protect-owned sfperms strict test test-fail-continue unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv"
FFLAGS=""
GENTOO_MIRRORS=" http://www.longlandclan.yi.org/portage http://beast.redhatters.yi.org/gentoo/ http://vk4msl-mb.redhatters.yi.org/gentoo/ http://qube.redhatters.yi.org/pub/gentoo/archive http://qube.redhatters.yi.org/pub/gentoo http://taijia.redhatters.yi.org/ http://zhenghe.redhatters.yi.org/gentoo/ http://moosehead.redhatters.yi.org/ http://fullhouse.redhatters.yi.org/ http://mirror.aarnet.edu.au/pub/gentoo http://mirror.isp.net.au/ftp/pub/gentoo/ http://ftp.swin.edu.au/gentoo/"
LANG="en_AU.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en_GB en_AU en"
PKGDIR="/home/portage/packages/ia32/pentium4"
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="/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/home/portage/overlays/local /home/portage/overlays/gentoo-cn /home/portage/overlays/yubikey"
SYNC="rsync://192.168.5.1/gentoo-portage"
USE="X Xaw3d a52 aac aalib accessibility acl acpi ads aiglx aio akode alisp alsa amr amrnb amrwb ao aotuv apache2 apm arts assistant audiofile autoipd avahi bash-completion bcmath berkdb bidi bitmap-fonts bl bluetooth bonobo bookmarks boost bzip2 cairo calendar capi ccache cdparanoia cdr cgi chardet chm cjk cle266 cli clucene cluster consolekit coverage cracklib crypt ctype cups curl cviewer cvs cxx daap dbase dbus debugger decibel declarative dedicated demo device-mapper dia dirac disk-partition divx djvu dns doc dri dso dtmf dts dvb dvd dvdread dxr3 encode etcproposals examples exif exiv2 extensions extras faac faad fam fame fax fbcon ffmpeg fftw filepicker filter fits flac flatfile font-server fontconfig fortran fpx ftdi ftp gcj gd gdbm ggi gif gimp gimpprint gitsendemail gjdoc glib gmedia gmp gnutls gphoto2 gpm gps graphviz gs gsm gstreamer gtk gtk2 gtk2-perl h224 h281 hash howl-compat hpijs http-server httpd iax iconv id3tag idn ieee1394 imagemagick imap imlib inifile inkjar inotify ipod iproute2 ipv6 ivr ixj jabber jack jadetex java6 javascript jbig jingle jpeg jpeg2k json kde kerberos kig-scripting kontact ksolver laptop lcms ldap libcaca libclamav libffi libnotify libsamplerate lid lirc lm_sensors log lzma lzo mad mbrola md5sum mdnsresponder-compat mikmod mjpeg mmap mmx mng mnt modplug modules mozbranding mozsha1 mp3 mp3rtp mp3tunes mp4 mpeg mplayer mssql mtp mudflap multimedia multislot multiuser musepack musicbrainz mysql mysqli nas ncurses netpbm network network_manager networkmanager newxkb nis njb nls nptl nptlonly nsplugin nss ntp oav odbc ogg openexr opengl openmp oss pam pango parport passwordsave pch pcntl pcre pda pdf pdflib perl phonon pipechan plotutils plugin png pnm policykit postgres postscript povray pppd pulseaudio python qmax qt qt3 qt3support qt4 quicktime raw rdesktop readline realmedia reflection replytolist restrict-javascript rfc4175 rogue rplay samba samba4 sametime sasl sbc scanner schroedinger sdl server session sharedext sid simplexml sip sipim slp smp sms sndfile snmp soap sockets softmmu speex spell sql sqlite sqlite3 srtp sse ssl startup-notification stats stroke subversion suhosin svg swig symlink sysfs sysvipc taglib tcl tcltk tcpd teletext tetex theora threads tidy tiff tk tokenizer tpctl truetype truetype-fonts type1-fonts unicode usb userlocales userpriv utf8 v4l v4l2 vcd vdpau video vidix vim-syntax visualization vnc vorbis vorbis-psy vpb vxml wav wavpack wddx webdav webkit win32codecs winbind wma wmf wmp wpg wxgtk1 wxwidgets x264 x86 xanim xatrix xattr xcb xcomposite xerces-c xforms xine xinetd xml xmlpatterns xmlreader xmlrpc xmlwriter xmms xorg xpm xprint xscreensaver xsl xulrunner xv xvfb xvid xvmc yaz zeroconf zip zlib" ALSA_CARDS="intel8x0 intel8x0m usb-audio" 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="kexi words flow plan 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="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB en_AU en" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nouveau nv" 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, LC_ALL, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


These are the packages that would be merged, in order:

Calculating dependencies ... done!
[ebuild   R    ] app-office/libreoffice-3.3.4  USE="bash-completion cups dbus gstreamer gtk kde ldap nsplugin opengl (-aqua) -binfilter -custom-cflags -debug -eds -gnome -java (-kdeenablefinal) -odk -templates" LINGUAS="en en_GB -af -ar -as -ast -be_BY -bg -bn -bo -br -brx -bs -ca -ca_XV -cs -cy -da -de -dgo -dz -el -en_US -en_ZA -eo -es -et -eu -fa -fi -fr -ga -gd -gl -gu -he -hi -hr -hu -id -is -it -ja -ka -kk -km -kn -ko -kok -ks -ku -ky -lo -lt -lv -mai -mk -ml -mn -mni -mr -ms -my -nb -ne -nl -nn -nr -ns -oc -om -or -pa_IN -pap -pl -ps -pt -pt_BR -ro -ru -rw -sa_IN -sat -sd -sh -si -sk -sl -sq -sr -ss -st -sv -sw_TZ -ta -te -tg -th -ti -tn -tr -ts -ug -uk -uz -ve -vi -xh -zh_CN -zh_TW -zu" 0 kB                                                                                            

Total: 1 package (1 reinstall), Size of downloads: 0 kB
Comment 1 Tomáš Chvátal (RETIRED) gentoo-dev 2011-09-19 18:29:34 UTC
Hi,
this behaviour sounds really weird, sadly due to complete build system overhaul I can't simply figure out whats happening (3.3 has really non-deterministic build/install), 3.4 is bit better, and hopefully 3.5 will work as expected :) 

So I would like to ask you to test it with libreoffice-3.4.3.2 if possible.
Comment 2 Tomáš Chvátal (RETIRED) gentoo-dev 2011-09-19 18:30:03 UTC
Also if possible attach full buildlog for that thng, maybe there are some warning echoed during install phase.
Comment 3 Pacho Ramos gentoo-dev 2011-09-29 08:43:40 UTC
I get the same on amd64:

Portage 2.1.10.19 (default/linux/amd64/10.0/desktop/gnome, gcc-4.4.5, glibc-2.12.2-r0, 2.6.38-tuxonice-r2 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-2.6.38-tuxonice-r2-x86_64-Intel-R-_Core-TM-_i5-2410M_CPU_@_2.30GHz-with-gentoo-2.0.3
Timestamp of tree: Wed, 28 Sep 2011 20:00:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:          4.1_p9
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.1-r1, 3.1.3-r1
dev-util/ccache:          2.4-r9
dev-util/cmake:           2.8.4-r1
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.8.3-r1
sys-apps/sandbox:         2.4
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.4.5, 4.5.3-r1, 4.6.1-r1
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.36.1 (virtual/os-headers)
sys-libs/glibc:           2.12.2
Repositories: gentoo sunrise x11 rainyday x-portage
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe -march=native"
DISTDIR="/usr/distfiles"
FEATURES="assume-digests binpkg-logs ccache distlocks ebuild-locks fixlafiles fixpackages multilib-strict news parallel-fetch protect-owned sandbox sfperms sign split-log strict test test-fail-continue unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://mirror.ovh.net/gentoo-distfiles/ http://ftp.heanet.ie/pub/gentoo/"
LANG="es_ES.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu"
LINGUAS="es es_ES en_US"
MAKEOPTS="-j5"
PKGDIR="/usr/local/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="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/sunrise /usr/portage/local/layman/x11 /usr/portage/local/layman/rainyday /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 applet bash-completion berkdb bluetooth branding bzip2 cairo cdda cddb cdr cli consolekit cracklib crypt cups cvs cxx dbus djvu dri dts dvd dvdr dvi eds emboss enchant encode evo exif fam fat ffmpeg firefox flac fortran fuse gdbm gdu gif gnome gnome-keyring gpm gstreamer gtk gtk3 gtkstyle iconv jpeg kpathsea latex lcms ldap libnotify lyx mad mms mmx mmxext mng modules mono mp3 mp4 mpeg mudflap multilib musicbrainz nautilus ncurses network-cron networkmanager nls nptl nptlonly ntfs ntp nvidia ogg opengl openmp optimized-qmake pam pango pch pcre pdf perl png policykit ppds pppd python qt3support readline reiserfs sdl session smp sna spell sse sse2 sse3 ssl ssse3 startup-notification svg sysfs t1lib tcpd test theora threads tiff truetype udev unicode usb vaapi vcd vdpau vorbis wifi x264 xcb xml xorg xulrunner xv xvid youtube 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="kexi words flow plan 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 synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="es es_ES en_US" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev nvidia vesa intel i915 i965" 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, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

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

app-office/libreoffice-3.3.4 was built with the following:
USE="bash-completion cups dbus eds gnome gstreamer gtk java ldap (multilib) opengl test (-aqua) -binfilter -custom-cflags -debug -kde (-kdeenablefinal) -nsplugin -odk -templates" LINGUAS="en_US es -af -ar -as -ast -be_BY -bg -bn -bo -br -brx -bs -ca -ca_XV -cs -cy -da -de -dgo -dz -el -en -en_GB -en_ZA -eo -et -eu -fa -fi -fr -ga -gd -gl -gu -he -hi -hr -hu -id -is -it -ja -ka -kk -km -kn -ko -kok -ks -ku -ky -lo -lt -lv -mai -mk -ml -mn -mni -mr -ms -my -nb -ne -nl -nn -nr -ns -oc -om -or -pa_IN -pap -pl -ps -pt -pt_BR -ro -ru -rw -sa_IN -sat -sd (-sh) -si -sk -sl -sq -sr -ss -st -sv -sw_TZ -ta -te -tg -th -ti -tn -tr -ts -ug -uk -uz -ve -vi -xh -zh_CN -zh_TW -zu"
CFLAGS="-pipe -march=native -mno-avx"
CXXFLAGS="-pipe -march=native -mno-avx"
Comment 4 Pacho Ramos gentoo-dev 2011-09-29 08:47:25 UTC
Created attachment 288191 [details]
build.log.xz
Comment 5 Pacho Ramos gentoo-dev 2011-09-29 08:47:55 UTC
Created attachment 288193 [details]
build2.log.xz

(portage always split it :S)
Comment 6 David 2012-02-09 03:42:52 UTC
3.4.3.2-r1 is now stable in the Portage tree.   Especially with 3.5 nearing its release, can we mark 3.3.4 as unstable and close this bug?
Comment 7 Andreas K. Hüttel archtester gentoo-dev 2012-02-26 22:51:18 UTC
(In reply to comment #6)
> 3.4.3.2-r1 is now stable in the Portage tree.   Especially with 3.5 nearing its
> release, can we mark 3.3.4 as unstable and close this bug?

We can even remove it.