thanks for taking the time to look at the testsuite. however it still fails for me: make[4]: Entering directory `/var/tmp/portage/dev-libs/dbus-glib-0.78/work/dbus-glib-0.78/test/core' Cannot get connection: dbus-launch failed to autolaunch D-Bus session: No protocol specified Autolaunch error: X11 initialization failed. FAIL: test-types FAIL: run-test.sh PASS: run-peer-test.sh ======================================================================== 2 of 3 tests failed Please report to https://bugs.freedesktop.org/enter_bug.cgi?product=dbus ======================================================================== make[4]: *** [check-TESTS] Error 1 make[4]: Leaving directory `/var/tmp/portage/dev-libs/dbus-glib-0.78/work/dbus-glib-0.78/test/core' make[3]: *** [check-am] Error 2 make[3]: Leaving directory `/var/tmp/portage/dev-libs/dbus-glib-0.78/work/dbus-glib-0.78/test/core' make[2]: *** [check] Error 2 make[2]: Leaving directory `/var/tmp/portage/dev-libs/dbus-glib-0.78/work/dbus-glib-0.78/test/core' make[1]: *** [check-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/dev-libs/dbus-glib-0.78/work/dbus-glib-0.78/test' make: *** [check-recursive] Error 1 * * ERROR: dev-libs/dbus-glib-0.78 failed. Portage 2.2_rc20 (default/linux/amd64/2008.0/developer, gcc-4.3.2, glibc-2.9_p20081201-r1, 2.6.28-gentoo x86_64) ================================================================= System uname: Linux-2.6.28-gentoo-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T9300_@_2.50GHz-with-glibc2.2.5 Timestamp of tree: Thu, 08 Jan 2009 03:00:01 +0000 distcc 3.1 x86_64-pc-linux-gnu [disabled] ccache version 2.4 [enabled] app-shells/bash: 3.2_p48 dev-java/java-config: 1.3.7-r1, 2.1.6-r1 dev-lang/python: 2.5.2-r8 dev-python/pycrypto: 2.0.1-r6 dev-util/ccache: 2.4-r8 dev-util/cmake: 2.6.2-r1 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.4.1-r1 sys-apps/sandbox: 1.3.2 sys-devel/autoconf: 2.13, 2.63 sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.19 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.28-r1 ACCEPT_KEYWORDS="amd64 ~amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O3 -march=core2 -fomit-frame-pointer -pipe" 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" 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/udev/rules.d" CXXFLAGS="-O3 -march=core2 -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="ccache collision-protect cvs digest distlocks fixpackages metadata-transfer multilib-strict parallel-fetch preserve-libs protect-owned sandbox sfperms sign splitdebug strict test unmerge-orphans userfetch userpriv usersandbox" GENTOO_MIRRORS="http://gentoo.mirrors.tera-byte.com/ http://gentoo.osuosl.org http://distfiles.gentoo.org" LANG="en_US.utf8" LDFLAGS="-Wl,--as-needed,--hash-style=gnu" LINGUAS="en en_US" MAKEOPTS="-j4" PKGDIR="/usr/portage/packages" 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="/home/dirtyepic/overlay /home/dirtyepic/dev/svn/dirtyepic /home/dirtyepic/dev/svn/gcc-porting" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X a52 aac acpi akode alsa amd64 aspell audiofile avahi bash-completion berkdb bzip2 cairo cdaudio cdr chm cleartype cli consolekit cracklib crypt css cups curl cvs dbus divx dri dts dvd dvdr dvdread eds emboss encode evo exif expat fam ffmpeg fftw firefox3 flac fontconfig foomaticdb gdbm geos gif gimp glib glw gmedia gmp gpgme gphoto2 gstreamer gtk hal hdaps howl-compat hpn htmlhandbook iconv id3tag imap imlib inotify ipw4965 isdnlog javascript jpeg kde kdeenablefinal kdehiddenvisibility lame laptop libwww lzma mad mdnsresponder-compat midi mikmod mmap mmx mozilla mp3 mpeg multilib ncurses network-cron nntp nptl nptlonly nsplugin ogg opengl openmp pam pch pcre pdf pic png pop ppds pppd pth qt3 qt3support qt4 quicktime readline reflection rtc sasl session smapi smime smp smtp sndfile spell spl sql srt sse sse2 ssl ssse3 startup-notification subversion svg sysfs taglib tcpd theora threads threadsafe tiff truetype unicode urandom usb utempter vim-syntax vorbis wifi wmp wxwindows x264 xcb xcomposite xine xml xorg xpm xulrunner xv xvid 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 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" ELIBC="glibc" INPUT_DEVICES="mouse keyboard synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US" USERLAND="GNU" VIDEO_CARDS="intel" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 178923 [details] build.log this is the build.log I have. A bit different probably because you get to your privilegded shell differently than I do.
looks like the testsuite only fails with FEATURES=userpriv (which is the default)
upstream fixed the issue and release 0.80. 0.80 is now in tree so closing this bug.
sorry, still fails but the error is different. >>> Test phase [check]: dev-libs/dbus-glib-0.80 make -j4 -j1 check Making check in dbus make[1]: Entering directory `/var/tmp/portage/dev-libs/dbus-glib-0.80/work/dbus-glib-0.80/dbus' make check-recursive make[2]: Entering directory `/var/tmp/portage/dev-libs/dbus-glib-0.80/work/dbus-glib-0.80/dbus' Making check in . make[3]: Entering directory `/var/tmp/portage/dev-libs/dbus-glib-0.80/work/dbus-glib-0.80/dbus' make check-TESTS make[4]: Entering directory `/var/tmp/portage/dev-libs/dbus-glib-0.80/work/dbus-glib-0.80/dbus' Test data in ../test/data dbus-glib-test: running GValue util tests dbus-glib-test: running GValue tests dbus-glib-test: running glib tests dbus-glib-test: running utils tests dbus-glib-test: running mainloop integration tests dbus-glib-test: running GObject tests dbus-glib-test: completed successfully PASS: dbus-glib-test ================== All 1 tests passed ================== make[4]: Leaving directory `/var/tmp/portage/dev-libs/dbus-glib-0.80/work/dbus-glib-0.80/dbus' make[3]: Leaving directory `/var/tmp/portage/dev-libs/dbus-glib-0.80/work/dbus-glib-0.80/dbus' Making check in examples make[3]: Entering directory `/var/tmp/portage/dev-libs/dbus-glib-0.80/work/dbus-glib-0.80/dbus/examples' make check-recursive make[4]: Entering directory `/var/tmp/portage/dev-libs/dbus-glib-0.80/work/dbus-glib-0.80/dbus/examples' Making check in . make[5]: Entering directory `/var/tmp/portage/dev-libs/dbus-glib-0.80/work/dbus-glib-0.80/dbus/examples' make[5]: Nothing to be done for `check-am'. make[5]: Leaving directory `/var/tmp/portage/dev-libs/dbus-glib-0.80/work/dbus-glib-0.80/dbus/examples' Making check in statemachine make[5]: Entering directory `/var/tmp/portage/dev-libs/dbus-glib-0.80/work/dbus-glib-0.80/dbus/examples/statemachine' make check-am make[6]: Entering directory `/var/tmp/portage/dev-libs/dbus-glib-0.80/work/dbus-glib-0.80/dbus/examples/statemachine' make[6]: Nothing to be done for `check-am'. make[6]: Leaving directory `/var/tmp/portage/dev-libs/dbus-glib-0.80/work/dbus-glib-0.80/dbus/examples/statemachine' make[5]: Leaving directory `/var/tmp/portage/dev-libs/dbus-glib-0.80/work/dbus-glib-0.80/dbus/examples/statemachine' make[4]: Leaving directory `/var/tmp/portage/dev-libs/dbus-glib-0.80/work/dbus-glib-0.80/dbus/examples' make[3]: Leaving directory `/var/tmp/portage/dev-libs/dbus-glib-0.80/work/dbus-glib-0.80/dbus/examples' make[2]: Leaving directory `/var/tmp/portage/dev-libs/dbus-glib-0.80/work/dbus-glib-0.80/dbus' make[1]: Leaving directory `/var/tmp/portage/dev-libs/dbus-glib-0.80/work/dbus-glib-0.80/dbus' Making check in tools make[1]: Entering directory `/var/tmp/portage/dev-libs/dbus-glib-0.80/work/dbus-glib-0.80/tools' make check-am make[2]: Entering directory `/var/tmp/portage/dev-libs/dbus-glib-0.80/work/dbus-glib-0.80/tools' make[2]: Nothing to be done for `check-am'. make[2]: Leaving directory `/var/tmp/portage/dev-libs/dbus-glib-0.80/work/dbus-glib-0.80/tools' make[1]: Leaving directory `/var/tmp/portage/dev-libs/dbus-glib-0.80/work/dbus-glib-0.80/tools' Making check in test make[1]: Entering directory `/var/tmp/portage/dev-libs/dbus-glib-0.80/work/dbus-glib-0.80/test' Making check in core make[2]: Entering directory `/var/tmp/portage/dev-libs/dbus-glib-0.80/work/dbus-glib-0.80/test/core' make check-am make[3]: Entering directory `/var/tmp/portage/dev-libs/dbus-glib-0.80/work/dbus-glib-0.80/test/core' make check-TESTS make[4]: Entering directory `/var/tmp/portage/dev-libs/dbus-glib-0.80/work/dbus-glib-0.80/test/core' FAIL: run-test.sh PASS: run-peer-test.sh ======================================================================== 1 of 2 tests failed Please report to https://bugs.freedesktop.org/enter_bug.cgi?product=dbus ======================================================================== make[4]: *** [check-TESTS] Error 1 make[4]: Leaving directory `/var/tmp/portage/dev-libs/dbus-glib-0.80/work/dbus-glib-0.80/test/core' make[3]: *** [check-am] Error 2 make[3]: Leaving directory `/var/tmp/portage/dev-libs/dbus-glib-0.80/work/dbus-glib-0.80/test/core' make[2]: *** [check] Error 2 make[2]: Leaving directory `/var/tmp/portage/dev-libs/dbus-glib-0.80/work/dbus-glib-0.80/test/core' make[1]: *** [check-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/dev-libs/dbus-glib-0.80/work/dbus-glib-0.80/test' make: *** [check-recursive] Error 1 * * ERROR: dev-libs/dbus-glib-0.80 failed.
.
could you update the upstream bug please ?
The failure described in comment 4 still occurs with dbus-glib-0.82.
And in dbus-glib 0.84.
Created attachment 233431 [details, diff] Patch to fix this bug The test framework calls secondary scripts with ${SHELL} /path/to/script.sh. Portage sets ${SHELL} to /bin/false, causing the tests to fail. The patch I supplied changes ${SHELL} into /bin/sh with 2 sed commands. I don't know if this is the right way to do it, but it seems to work in my case (/bin/sh points to bash in my test case, but might fail with other shells)
This fix also works for me (dev-libs/dbus-glib-0.86 ). Thanks. (In reply to comment #9) > Created an attachment (id=233431) [details] > Patch to fix this bug > > The test framework calls secondary scripts with ${SHELL} /path/to/script.sh. > Portage sets ${SHELL} to /bin/false, causing the tests to fail. The patch I > supplied changes ${SHELL} into /bin/sh with 2 sed commands. I don't know if > this is the right way to do it, but it seems to work in my case (/bin/sh points > to bash in my test case, but might fail with other shells) >
im having the same problem dbus-glib-0.86 http://bugs.gentoo.org/show_bug.cgi?id=328903
(In reply to comment #11) > im having the same problem dbus-glib-0.86 > > http://bugs.gentoo.org/show_bug.cgi?id=328903 > Not the same, you are suffering a segfault instead
(In reply to comment #4) Same with 0.86 + userpriv.
Stabilizing 0.88, bug of comment #4 still present.
+ 19 Jan 2011; Gilles Dartiguelongue <eva@gentoo.org> dbus-glib-0.92.ebuild, + +files/dbus-glib-0.92-userpriv-fix.patch: + Fix running tests with userpriv, using upstream patch, bug #254192. + Thanks for reporting.