Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 394767 - app-office/libreoffice-3.4.99.1-r1 fails libtest_basic_scanner test, won't install
Summary: app-office/libreoffice-3.4.99.1-r1 fails libtest_basic_scanner test, won't in...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
: 395335 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-12-15 02:28 UTC by Tanktalus
Modified: 2012-03-18 12:12 UTC (History)
2 users (show)

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


Attachments
gzipped build log (build.log.gz,153.57 KB, application/octet-stream)
2011-12-15 02:29 UTC, Tanktalus
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tanktalus 2011-12-15 02:28:28 UTC
Going down from 3.5.0 to 3.4.99.1-r1 on one of two machines gets a unit test failure in libtest_basic_scanner with a segfault during emerge.

The other machine has merged this fine, and I can't see a difference between the two machines.

Reproducible: Always

Steps to Reproduce:
1. emerge libreoffice

Actual Results:  
/bin/sh: line 1: 18552 Segmentation fault      LD_LIBRARY_PATH="$O/lib":$O/lib/sqlite DBGSV_ERROR_OUT=shell STAR_RESOURCEPATH=$O/bin/ $O/bin/cppunit/cppunittester $W/LinkTarget/CppunitTest/libtest_basic_scanner.so > $W/CppunitTest/basic_scanner.test.log 2>&1


Expected Results:  
libreoffice "downgraded" to 3.4.99.1-r1

Portage 2.2.0_alpha80 (default/linux/amd64/10.0/desktop/kde, gcc-4.5.3, glibc-2.13-r4, 3.0.6-gentoo x86_64)
=================================================================
System uname: Linux-3.0.6-gentoo-x86_64-AMD_Phenom-tm-_9850_Quad-Core_Processor-with-gentoo-2.0.3
Timestamp of tree: Wed, 14 Dec 2011 08:45:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [enabled]
app-shells/bash:          4.1_p9
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2-r3, 3.1.4-r3
dev-util/cmake:           2.8.6-r4
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.9.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.11.1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.5.3-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.39 (virtual/os-headers)
sys-libs/glibc:           2.13-r4
Repositories: gentoo My-local-overlay
Installed sets: 
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O3 -pipe -march=amdfam10"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/init.d /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O3 -pipe -march=amdfam10"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs collision-protect distcc distlocks ebuild-locks fixlafiles multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox"
FFLAGS=""
GENTOO_MIRRORS="ftp://gentoo.mirrors.tds.net/gentoo http://mirror.datapipe.net/gentoo ftp://mirror.datapipe.net/gentoo http://gentoo.arcticnetwork.ca/ ftp://gentoo.arcticnetwork.ca/pub/gentoo/ http://gentoo.llarian.net/ ftp://gentoo.llarian.net/pub/gentoo"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en"
MAKEOPTS="-j13"
PKGDIR="/usr/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/mine"
SYNC="rsync://rsync.ca.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 avahi avi bash-completion berkdb bluetooth branding bzip2 cairo cdda cddb cdr cli consolekit cracklib crypt cups cxx dbus declarative dri dts dvd dvdr emboss encode exif fam ffmpeg fftw firefox flac fontconfig fortran gd gdbm gdu gif gimp gpm gs gtk iconv imagemagick ipv6 java jpeg kde kipi lcms ldap libnotify lzma mad mmx mng modules mp3 mp4 mpeg mudflap multilib ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pango pcre pdf phonon plasma png policykit ppds pppd qt3support qt4 readline sdl semantic-desktop session spell sse sse2 ssl startup-notification svg sysfs tcpd threads tiff truetype udev unicode usb vorbis x264 xcb xcomposite xinerama xml xorg xscreensaver xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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="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" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeon" 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, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Tanktalus 2011-12-15 02:29:15 UTC
Created attachment 295885 [details]
gzipped build log
Comment 2 Tomáš Chvátal (RETIRED) gentoo-dev 2011-12-15 08:50:48 UTC
Could you please attach the basic_scanner.test.log and try to attach gdb process as described in the error mesage to get meaningfull backtrace?
Comment 3 Tanktalus 2011-12-15 17:13:02 UTC
I didn't have gdb installed on that machine... easily resolved.


Starting program: /var/tmp/portage/app-office/libreoffice-3.4.99.1/work/libreoffice-core-3.4.99.1/solver/unxlngx6.pro/bin/cppunit/cppunittester /var/tmp/portage/app-office/libreoffice-3.4.99.1/work/libreoffice-core-3.4.99.1/workdir/unxlngx6.pro/LinkTarget/CppunitTest/libtest_basic_scanner.so
[Thread debugging using libthread_db enabled]
OK (9)

Program received signal SIGSEGV, Segmentation fault.
QVariantAnimation::registerInterpolator (func=0, interpolationType=67)
    at animation/qvariantanimation.cpp:437
437     animation/qvariantanimation.cpp: No such file or directory.
        in animation/qvariantanimation.cpp
(gdb) bt
#0  QVariantAnimation::registerInterpolator (func=0, interpolationType=67)
    at animation/qvariantanimation.cpp:437
#1  0x00007fffee459c30 in qRegisterAnimationInterpolator<QColor> (
    this=<value optimized out>, __in_chrg=<value optimized out>)
    at ../../include/QtCore/../../src/corelib/animation/qvariantanimation.h:121
#2  qUnregisterGuiGetInterpolator (this=<value optimized out>, 
    __in_chrg=<value optimized out>) at animation/qguivariantanimation.cpp:82
#3  qUnregisterGuiGetInterpolator__dest_class__::~qUnregisterGuiGetInterpolator__dest_class__ (this=<value optimized out>, __in_chrg=<value optimized out>)
    at animation/qguivariantanimation.cpp:94
#4  0x00007ffff69eb9f5 in __cxa_finalize () from /lib64/libc.so.6
#5  0x00007fffee44dca6 in ?? () from /usr/lib64/qt4/libQtGui.so.4
#6  0x00007fffffff8cf0 in ?? ()
#7  0x0000000000000000 in ?? ()

And, rather than attaching the log file, it's probably easier to paste it:

hoth libreoffice-3.4.99.1 # cat ./work/libreoffice-core-3.4.99.1/workdir/unxlngx6.pro/CppunitTest/basic_scanner.test.log
OK (9)

(Yes, just one line.)

My qt level on this machine is 4.7.2(-r2 for qt-core): stable.  KDE is also stable level on this machine, but both are unstable (qt 4.7.4/kde 4.7.90) on the machine where libreoffice-3.4.99.1-r1 installed fine.
Comment 4 Derk W te Bokkel 2011-12-16 20:50:21 UTC
I have two amd64 machines 

one amd64 plus a few as needed progs as ~amd64  libreoffice fails the basic_scanner (install level) on this machine.

The other machine running full ~amd64 install completes "normally" .. so I suspect a dependancy issue .. newer version works older does not .. But I do not know how to figure out the problem .. it is also on the slowest machine .. natually ( 3 hour+ compile time :( )
Comment 5 Derk W te Bokkel 2011-12-19 16:12:20 UTC
I forgot to add .. I also have a full ~amd64 install on a second partition of same machine with the full amd64 ( mostly stable) install .. libreoffice-3.4.99.1-r1 compiles fine on it .. but it fails on the stable partition .. other than the differences between stable and unstable amd64  they are essentially the same .. any thoughts on what libraries to test  by upgrading the stable side?
Comment 6 Tanktalus 2011-12-20 20:53:07 UTC
I installed qt-4.7.4 on the machine where this is failing, and then re-tried libreoffice-3.4.99.1-r1, and this time it worked.

Derk - you may want to try the same.  And then maybe we can set the pre-reqs for this to the newer level of qt?

Thanks!
Comment 7 Derk W te Bokkel 2011-12-21 15:43:37 UTC
yes upgrading to qt-core-4.7.4-r1 allows the install .. but qt4 is not an explicit dependency of libreoffice unless USE="kde" which is not true on my boxes .. but qt4 flag is set for x11-libs/cairo on my box so it may be pulled in that way ..   we should check to see if libreoffice builds at all w/o any qt-core libs on the system
Comment 8 Derk W te Bokkel 2011-12-21 17:13:35 UTC
okay on a current ~amd64 chroot w/o any qt-core etc. libreoffice compiles and installs fine .. It will take me a little time to do the stable amd64 as I need to build or downgrade a chroot to stable..

so the qt-core aspect appears due to dependency dependencies ..
Comment 9 Derk W te Bokkel 2011-12-21 23:44:36 UTC
okay on a stable amd64 w/o qt-core libreoffice-3.4.99.1-r1 compiles fine so issue is a side-effect of other dependancies on qt-core ..
Comment 10 Tomáš Chvátal (RETIRED) gentoo-dev 2011-12-28 09:37:55 UTC
*** Bug 395335 has been marked as a duplicate of this bug. ***
Comment 11 David 2012-02-09 03:38:51 UTC
3.4.99.* is no longer in the Portage tree.   Can this bug be closed?
Comment 12 Tanktalus 2012-02-09 05:59:40 UTC
I suspect that even 3.5 with kde USE flag still will require qt 4.7.4+ - should they pre-req qt at that level, or just rely on 4.7.4 being marked stable?  If the former, then just add the "kde? ( >=x11-libs/qt-core-4.7.4 )" requirement and we're done.  If the latter, then, yes, it can be closed.
Comment 13 Tomáš Chvátal (RETIRED) gentoo-dev 2012-03-18 12:12:14 UTC
In cvs. Thanks for report and information.