Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 356699 - dev-glibs/dbus-glib fails tests
Summary: dev-glibs/dbus-glib fails tests
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal with 1 vote (vote)
Assignee: Freedesktop bugs
URL:
Whiteboard:
Keywords: InVCS
: 413221 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-02-27 15:49 UTC by Michael Palimaka (kensington)
Modified: 2013-01-13 17:50 UTC (History)
7 users (show)

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


Attachments
emerge --info (emerge-info,2.45 KB, text/plain)
2011-02-27 15:49 UTC, Michael Palimaka (kensington)
Details
build log (build.log,50.15 KB, text/plain)
2011-02-27 15:50 UTC, Michael Palimaka (kensington)
Details
Build log showing failing test (build.log.gz,12.51 KB, application/gzip)
2011-07-19 18:46 UTC, Jonathan Lovelace
Details
build log showing 0.98 failing test (dev-libs:dbus-glib-0.98:20111128-002107.log,100.76 KB, text/plain)
2011-11-28 00:29 UTC, Jonathan Lovelace
Details
Build log showing 0.98 failing test even if installed already (dev-libs:dbus-glib-0.98:20120312-005009.log,101.64 KB, text/plain)
2012-03-12 13:00 UTC, Jonathan Lovelace
Details
upstream patch (0001-my_object_unsafe_disable_legacy_property_access-have.patch,1.65 KB, patch)
2012-06-30 16:21 UTC, Michael Palimaka (kensington)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Palimaka (kensington) gentoo-dev 2011-02-27 15:49:03 UTC
/gvalue-to-gvariant/ab: /var/tmp/portage/dev-libs/dbus-glib-0.92/work/dbus-glib-0.92/test/core/run-test.sh: line 53: 18435 Segmentation fault      ${DBUS_TOP_BUILDDIR}/libtool --mode=execute $DEBUG $DBUS_TOP_BUILDDIR/test/core/test-gvariant
test-gvariant failed
killing message bus 18276
/var/tmp/portage/dev-libs/dbus-glib-0.92/work/dbus-glib-0.92/test/core/../../tools/run-with-tmp-session-bus.sh: script "/var/tmp/portage/dev-libs/dbus-glib-0.92/work/dbus-glib-0.92/test/core/run-test.sh" failed
FAIL: run-test.sh


#0  0x0000000000000000 in ?? ()
#1  0x00007ffff7659f02 in dbus_g_value_build_g_variant () from /usr/lib/libdbus-glib-1.so.2
#2  0x000000000040318f in test_ab () at /var/tmp/portage/dev-libs/dbus-glib-0.92/work/dbus-glib-0.92/test/core/test-gvariant.c:477
#3  0x00007ffff78dbb8c in test_case_run (tc=0x6146a0) at gtestutils.c:1174
#4  0x00007ffff78dbe55 in g_test_run_suite_internal (suite=0x60a220, path=0x7ffff7939220 "") at gtestutils.c:1223
#5  0x00007ffff78dbf1a in g_test_run_suite_internal (suite=0x60a040, path=0x7ffff7939220 "") at gtestutils.c:1233
#6  0x00007ffff78dc09c in g_test_run_suite (suite=0x60a040) at gtestutils.c:1274
#7  0x00007ffff78db2f1 in g_test_run () at gtestutils.c:877
#8  0x0000000000405fa7 in main (argc=1, argv=0x7fffffffdf78) at /var/tmp/portage/dev-libs/dbus-glib-0.92/work/dbus-glib-0.92/test/core/test-gvariant.c:953
Comment 1 Michael Palimaka (kensington) gentoo-dev 2011-02-27 15:49:41 UTC
Created attachment 264049 [details]
emerge --info
Comment 2 Michael Palimaka (kensington) gentoo-dev 2011-02-27 15:50:35 UTC
Created attachment 264053 [details]
build log
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2011-02-28 20:02:41 UTC
Looks a lot like both bug #292901 and bug #346353 in that it may be trying to link to what is already installed.
Comment 4 Theo Chatzimichos (RETIRED) archtester gentoo-dev Security 2011-07-10 01:44:48 UTC
0.94-r1 compiled fine here
Comment 5 Jonathan Lovelace 2011-07-19 18:46:08 UTC
Created attachment 280399 [details]
Build log showing failing test

0.94-r1 still fails tests for me.

Emerge --info:
Portage 2.1.10.3 (hardened/linux/amd64, gcc-4.4.5, glibc-2.11.3-r0, 2.6.38-hardened-r6 x86_64)
=================================================================
System uname: Linux-2.6.38-hardened-r6-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T6670_@_2.20GHz-with-gentoo-2.0.2
Timestamp of tree: Tue, 19 Jul 2011 13:15:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
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/cmake:           2.8.4-r1
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.2
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.20.1-r1
sys-devel/gcc:            4.4.5
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.2.10
sys-devel/make:           3.82
sys-kernel/linux-headers: 2.6.36.1 (virtual/os-headers)
sys-libs/glibc:           2.11.3
Repositories: kde-sunset hardened-dev sunrise java-overlay science anarchy bazaar gentoo-haskell lisp local eclipse g-cpan hackport_laptop gentoo
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -mtune=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"
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 fixpackages news parallel-fetch protect-owned sandbox sfperms strict test unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS=""
GENTOO_MIRRORS="http://gentoo.chem.wisc.edu/gentoo http://gentoo.mirrors.pair.com http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="C"
LC_ALL="en_US.UTF-8"
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 --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/kde-sunset /usr/portage/local/layman/hardened-development /usr/portage/local/layman/sunrise /usr/portage/local/layman/java-overlay /usr/portage/local/layman/science /usr/portage/local/layman/anarchy /usr/portage/local/layman/bazaar /usr/portage/local/layman/haskell /usr/portage/local/layman/lisp /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 pcre perl png policykit pppd python readline session speex sse sse2 sse3 ssl ssse3 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="braindump flow karbon kexi kpresenter krita tables words" 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 groovy 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
Comment 6 Michael Palimaka (kensington) gentoo-dev 2011-07-21 11:25:14 UTC
This appears to be resolved with the latest @world.
Comment 7 Jonathan Lovelace 2011-11-28 00:29:14 UTC
Created attachment 294011 [details]
build log showing 0.98 failing test

0.98 still fails tests for me. (I suspect that they would pass if I disabled tests, installed it, and then enabled them again, or in a new chroot, but I'm leaving it masked for now, as I don't have the disk space for such a chroot.)
Comment 8 Jonathan Lovelace 2012-03-12 13:00:19 UTC
Created attachment 304983 [details]
Build log showing 0.98 failing test even if installed already

I've now had a chance to test in a chroot, and even disabling tests, installing dbus-glib-0.98, and trying again doesn't let the tests pass. 

Here's the emerge --info from the chroot:
Portage 2.1.10.44 (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: Mon, 12 Mar 2012 11:45:01 +0000
app-shells/bash:          4.1_p9
dev-lang/python:          2.7.2-r3, 3.2.2
dev-util/cmake:           2.8.7-r5
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.68
sys-devel/automake:       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: sunrise gentoo-haskell seden gamerlay-stable 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"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
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.UTF-8"
LC_ALL="en_US.UTF-8"
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 --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/haskell /usr/portage/local/layman/seden /usr/portage/local/layman/gamerlay /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="acl alsa amd64 bash-completion berkdb bzip2 caps cracklib crypt cxx dri gdbm gpm hardened iconv ipv6 justify mmx modules mudflap multilib ncurses nls nptl nptlonly openmp pam pax_kernel pcre pppd readline session sse sse2 sse3 ssl ssse3 sysfs tcpd udev unicode urandom 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 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" 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" 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

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

dev-libs/dbus-glib-0.98 was built with the following:
USE="(multilib) -debug -doc -static-libs -test"
Comment 9 Samuli Suominen (RETIRED) gentoo-dev 2012-04-23 08:20:12 UTC
*** Bug 413221 has been marked as a duplicate of this bug. ***
Comment 10 Nikoli 2012-06-17 19:40:52 UTC
2 my hardened systems fail dbus-glib tests with same error in emerge log and such error in dmesg:
test-dbus-glib[18059] trap int3 ip:30d3d71b599 sp:3d2d34db880 error:0

3 non hardened systems pass tests.
Comment 11 Michael Palimaka (kensington) gentoo-dev 2012-06-30 16:21:08 UTC
Created attachment 316779 [details, diff]
upstream patch

Patch from upstream, and fixed in 0.102
Comment 12 Doug Goldstein (RETIRED) gentoo-dev 2012-07-14 19:37:03 UTC
Freedesktop maintains this now.
Comment 13 Nikoli 2012-07-23 18:26:44 UTC
Same problem with dev-libs/dbus-glib-0.100
Comment 14 Nikoli 2013-01-11 09:34:04 UTC
Why upstream patch is not committed to tree yet, is there some blocker?
Comment 15 Gilles Dartiguelongue (RETIRED) gentoo-dev 2013-01-13 17:50:16 UTC
+*dbus-glib-0.100-r2 (13 Jan 2013)
+
+  13 Jan 2013; Gilles Dartiguelongue <eva@gentoo.org> -dbus-glib-0.98.ebuild,
+  +dbus-glib-0.100-r2.ebuild, +files/dbus-glib-0.100-fix-tests.patch:
+  Add patch to fix testsuite bug #356699. Switch to EAPI=5. Clean up old
+  revision
+

Thanks for poking.