Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 412815 - app-office/gnucash-2.4.10 tests fail: test-load-backend and test-load-xml2
Summary: app-office/gnucash-2.4.10 tests fail: test-load-backend and test-load-xml2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: GNOME Office (OBSOLETE)
URL: https://bugzilla.gnome.org/show_bug.c...
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2012-04-20 18:20 UTC by Jonathan Lovelace
Modified: 2013-04-07 19:06 UTC (History)
2 users (show)

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


Attachments
build log (compressed) showing failing tests (app-office:gnucash-2.4.10:20120419-173731.log.gz,86.52 KB, application/octet-stream)
2012-04-20 18:22 UTC, Jonathan Lovelace
Details
Build log showing failing tests with version 2.4.11 (app-office:gnucash-2.4.11:20120917-022034.log.gz,53.26 KB, application/gzip)
2012-09-17 03:20 UTC, Jonathan Lovelace
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Lovelace 2012-04-20 18:20:44 UTC
=app-office/gnucash-2.4.10 fails tests for me. My scanning through my build log (which I'll attach in a moment) made me think that this was the same problem as bug #386747, but I've been instructed there to open a separate bug. The two tests that fail for me are test-load-backend and test-load-xml2.

Reproducible: Always

Steps to Reproduce:
1. FEATURES="test" emerge -1 =app-office/gnucash-2.4.10
Actual Results:  
Tests and build fail

Expected Results:  
Tests pass

Emerge --info:

Portage 2.1.10.49 (hardened/linux/amd64, gcc-4.5.3, glibc-2.13-r4, 3.2.2-hardened-r1 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.2.2-hardened-r1-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T6670_@_2.20GHz-with-gentoo-2.0.3
Timestamp of tree: Fri, 20 Apr 2012 13:45:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
app-shells/bash:          4.2_p20
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2-r3, 3.2.2
dev-util/cmake:           2.8.4-r1::local
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.9.8.4
sys-apps/sandbox:         2.5
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.5.3-r2
sys-devel/gcc-config:     1.5-r2
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 3.1 (virtual/os-headers)
sys-libs/glibc:           2.13-r4
Repositories: gentoo-haskell seden gamerlay-stable sunrise local eclipse g-cpan hackport_laptop gentoo
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -mtune=core2 -march=core2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-2.2/conf /usr/share/maven-bin-3.0/conf /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/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 -mtune=core2 -march=core2"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y"
FEATURES="assume-digests binpkg-logs collision-protect compress-build-logs distlocks ebuild-locks fakeroot fixlafiles news parallel-fetch protect-owned sandbox sfperms strict test unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS=""
GENTOO_MIRRORS="http://mirrors.rit.edu/gentoo/ http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="en_US.iso88591"
LC_ALL="en_US.iso88591"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en en_US"
MAKEOPTS="-j2 -l5"
PKGDIR="/usr/portage/packages"
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="/usr/portage/local/layman/haskell /usr/portage/local/layman/seden /usr/portage/local/layman/gamerlay /usr/portage/local/layman/sunrise /usr/local/portage /usr/portage/local/layman/eclipse /usr/portage/local/layman/g-cpan /usr/portage/local/layman/hackport /usr/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X acl alsa amd64 bash-completion berkdb bluetooth bzip2 caps cracklib crypt cxx dri gdbm gpm hardened iconv ipv6 jpeg justify libnotify lm_sensors mmx modules mudflap multilib ncurses nls nptl nptlonly ogg openmp pam pax_kernel pcre png policykit pppd readline session speex sse sse2 sse3 ssl ssse3 startup-notification sysfs tcpd theora truetype udev unicode urandom vorbis xorg 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 sheets stage tables krita karbon braindump" CAMERAS="all" 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" LINGUAS="en en_US" NETBEANS_MODULES="apisupport ergonomics cnd harness ide java nb ruby" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel vesa" 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, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

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

app-office/gnucash-2.4.8 was built with the following:
USE="cxx (multilib) test -chipcard -debug -doc -hbci -mysql -ofx -postgres -python -quotes -sqlite -webkit"
CFLAGS="-O2 -pipe -mtune=core2"
CXXFLAGS="-O2 -pipe -mtune=core2"
Comment 1 Jonathan Lovelace 2012-04-20 18:22:07 UTC
Created attachment 309655 [details]
build log (compressed) showing failing tests
Comment 2 Dustin Polke 2012-04-20 20:31:08 UTC
Can confirm this.

Portage 2.1.10.49 (default/linux/amd64/10.0, gcc-4.5.3, glibc-2.13-r4, 3.2.12-gentoo-nouveau x86_64)
=================================================================
System uname: Linux-3.2.12-gentoo-nouveau-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T8100_@_2.10GHz-with-gentoo-2.0.3
Timestamp of tree: Fri, 20 Apr 2012 15:50:01 +0000
app-shells/bash:          4.2_p20
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2-r3, 3.2.2
dev-util/cmake:           2.8.6-r4
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.9.8.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:       2.20.1-r1
sys-devel/gcc:            4.5.3-r2
sys-devel/gcc-config:     1.5-r2
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 3.1 (virtual/os-headers)
sys-libs/glibc:           2.13-r4
Repositories: gentoo DuPol alon-barlev science betagarden sunrise modified-ebuilds private-ebuilds
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA PUEL cadsoft skype-eula AdobeFlash-10.3"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=core2 -msse4.1 --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=3072 -mtune=generic"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/bin/mygenkernel /usr/sbin/run-crons /usr/share/cairo-dock/plug-ins/wifi/wifi /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa /var/lib/hsqldb"
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/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe -march=core2 -msse4.1 --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=3072 -mtune=generic"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--ask --autounmask=n --quiet-build=n"
FEATURES="assume-digests binpkg-logs buildpkg collision-protect distlocks ebuild-locks fixlafiles multilib-strict news parallel-fetch protect-owned sandbox sfperms strict test unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox"
FFLAGS=""
GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/     ftp://de-mirror.org/distro/gentoo/     ftp://mirror.netcologne.de/gentoo/     ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo     ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,relro -Wl,-z,now"
LINGUAS="en de"
MAKEOPTS="-j5"
PKGDIR="/var/lib/portage/binpkg"
PORTAGE_COMPRESS=""
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--timeout=500"
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/DuPol /var/lib/layman/alon-barlev /var/lib/layman/science /var/lib/layman/betagarden /var/lib/layman/sunrise /usr/local/portage/modified /usr/local/portage/own"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="X X509 Xaw3d a52 aac aalib accessibility acl acpi alsa amd64 amr apm audacious audiofile bash-completion berkdb bindist bl bluetooth branding bzip2 cairo cdda cdinstall cjk cli consolekit cracklib crypt css ctype cups curl cxx dbus devil dga directfb dri dts dv dvd dvdr eds encode evo exchange exif fam fbcon fbcondecor fbsplash ffmpeg flac fontforge foomaticdb fortran ftp fuse gd gdbm gif gimp git glade gmp gphoto2 gs gsm gstreamer gtk gtkhtml gtkstyle guile hddtemp hdf5 iconv icq icu idn ieee1394 imagemagick imap imlib iproute2 jack java javascript jpeg jpeg2k kerberos keyscrub kino kpathsea lame lapack laptop latex lcms libcaca libnotify libsamplerate libsexy libv4l2 libwww live lm_sensors logrotate loop-aes lzma lzo mad memlimit mikmod mime mjpeg mmx mmxext mng modules mp3 mp4 mpeg mplayer mudflap multilib musepack ncurses nls nntp nowin nptl nptlonly nsplugin ntfsprogs ntp nuv nvidia ods ogg opengl openmp opensslcrypt pam pch pcmcia pcre pda pdf pdfimport pgo plotutils png posix ppds pppd qt3support quicktime readline rtsp rubytests samba sasl schroedinger sdl server session simplexml slang sndfile soap sockets sou speex spell sse sse2 sse3 sse4_1 ssl ssse3 startup-notification stream svg swat sysfs syslog system-sqlite tcpd tga theora threads tiff tordns truetype unicode usb userlocales v4l vcd vdpau vim-syntax vorbis wcwidth wifi winbind wma wmf wxwindows x264 xanim xcomposite xft xinetd xls xml xmp xorg xpm xsl xulrunner xv xvfb xvid xvmc zlib" ALSA_CARDS="hda-intel mpu401" 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 sheets stage tables krita karbon braindump" CAMERAS="fuji 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="en de" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nouveau nvidia dummy" 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_BUNZIP2_COMMAND, PORTAGE_COMPRESS_FLAGS, USE_PYTHON
Comment 3 Pacho Ramos gentoo-dev 2012-04-21 11:01:05 UTC
You probably should report this bug to upstream also -> bugzilla.gnome.org

and post its link here. Thanks
Comment 4 Jonathan Lovelace 2012-05-22 18:07:02 UTC
Reported upstream.
Comment 5 Pacho Ramos gentoo-dev 2012-09-15 09:47:09 UTC
+*gnucash-2.4.11 (15 Sep 2012)
+
+  15 Sep 2012; Pacho Ramos <pacho@gentoo.org>
+  +files/gnucash-2.4.11-potfiles-skip.patch, +gnucash-2.4.11.ebuild,
+  -files/gnucash-2.4.7-python-detection.patch,
+  -files/gnucash-2.4.8-python-detection.patch, -gnucash-2.4.8.ebuild:
+  Version bump, drop old.
+

Are you able to reproduce with this version? (me not)
Comment 6 Jonathan Lovelace 2012-09-17 03:20:43 UTC
Created attachment 324056 [details]
Build log showing failing tests with version 2.4.11

Version 2.4.11's tests pass on my newish desktop, but they still fail on my laptop (which is the system identified by the emerge --info output above).
Comment 7 Hans de Graaff gentoo-dev Security 2012-09-19 06:11:21 UTC
I'm seeing similar failures with 2.4.10 and 2.4.11, but interestingly I/m only seeing 14 failures:

FAILURE session load xml2 test-load-xml2.c:98 qof error=1 for file [./test-files/xml2/abc.gml2]
FAILURE session load xml2 test-load-xml2.c:98 qof error=1 for file [./test-files/xml2/Money95invst.gml2]
FAILURE session load xml2 test-load-xml2.c:98 qof error=1 for file [./test-files/xml2/hierachical-data-file.gml2]
FAILURE session load xml2 test-load-xml2.c:98 qof error=1 for file [./test-files/xml2/Money95mutual.gml2]
FAILURE session load xml2 test-load-xml2.c:98 qof error=1 for file [./test-files/xml2/conrads-file.gml2]
FAILURE session load xml2 test-load-xml2.c:98 qof error=1 for file [./test-files/xml2/carols-data-file.gml2]
FAILURE session load xml2 test-load-xml2.c:98 qof error=1 for file [./test-files/xml2/goonies-file.gml2]
FAILURE session load xml2 test-load-xml2.c:98 qof error=1 for file [./test-files/xml2/abcall.gml2]
FAILURE session load xml2 test-load-xml2.c:98 qof error=1 for file [./test-files/xml2/every.gml2]
FAILURE session load xml2 test-load-xml2.c:98 qof error=1 for file [./test-files/xml2/ms-money.gml2]
FAILURE session load xml2 test-load-xml2.c:98 qof error=1 for file [./test-files/xml2/Money95stocks.gml2]
FAILURE session load xml2 test-load-xml2.c:98 qof error=1 for file [./test-files/xml2/cbb-export.gml2]
FAILURE session load xml2 test-load-xml2.c:98 qof error=1 for file [./test-files/xml2/Money95bank_fr.gml2]
FAILURE session load xml2 test-load-xml2.c:98 qof error=1 for file [./test-files/xml2/pricedb1.gml2]
Executed 29 tests. There were 14 failures.
Comment 8 Pacho Ramos gentoo-dev 2013-04-07 08:50:54 UTC
+*gnucash-2.4.12 (07 Apr 2013)
+
+  07 Apr 2013; Pacho Ramos <pacho@gentoo.org> +gnucash-2.4.12.ebuild,
+  -gnucash-2.4.10.ebuild:
+  Version bump, set libdbi* dependencies to versions I have just confirmed work
+  for me (#455134 by step), drop old.
+

Please try with 2.4.12
Comment 9 Jonathan Lovelace 2013-04-07 17:19:36 UTC
In my testing of 2.4.12, the two tests that had been failing in 2.4.11-r1 pass, but test-column-types fails with an undefined symbol:

/var/tmp/portage/app-office/gnucash-2.4.12/work/gnucash-2.4.12/src/backend/sql/test/.libs/test-column-types: symbol lookup error: /var/tmp/portage/app-office/gnucash-2.4.12/work/gnucash-2.4.12/src/engine/.libs/libgncmod-engine.so: undefined symbol: qof_string_cache_remove
Comment 10 Pacho Ramos gentoo-dev 2013-04-07 17:30:21 UTC
(In reply to comment #9)
> In my testing of 2.4.12, the two tests that had been failing in 2.4.11-r1
> pass, but test-column-types fails with an undefined symbol:
> 
> /var/tmp/portage/app-office/gnucash-2.4.12/work/gnucash-2.4.12/src/backend/
> sql/test/.libs/test-column-types: symbol lookup error:
> /var/tmp/portage/app-office/gnucash-2.4.12/work/gnucash-2.4.12/src/engine/.
> libs/libgncmod-engine.so: undefined symbol: qof_string_cache_remove

Maybe it's caused by bug 371264 and, then, unmerging gnucash before merging this one could work
Comment 11 Jonathan Lovelace 2013-04-07 18:37:10 UTC
Indeed; thank you.