libgnomecanvas fails an X11 test when the maketest feature is enabled. This is running with xorg and FEATURE=userpriv (as per the following emerge info) if that is significant. Reproducible: Always Steps to Reproduce: 1. emerge -p libgnomecanvas Actual Results: ... mkdir .libs gcc -O3 -march=athlon-xp -funroll-loops -pipe -o test-libglade-canvas test-libglade-canvas.o -Wl,--export-dynamic -Wl,--export-dynamic /usr/lib/libart_lgpl_2.so /usr/lib/libpangoft2-1.0.so /usr/lib/libglade-2.0.so /usr/lib/libgtk-x11-2.0.so /usr/lib/libxml2.so -lpthread -lz /usr/lib/libgdk-x11-2.0.so /usr/lib/libatk-1.0.so /usr/lib/libgdk_pixbuf-2.0.so /usr/lib/libpangoxft-1.0.so /usr/lib/libpangox-1.0.so /usr/lib/libpango-1.0.so -lm /usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so -ldl /usr/lib/libglib-2.0.so make[2]: Leaving directory `/var/tmp/portage/libgnomecanvas-2.8.0/work/libgnomecanvas-2.8.0/tests' make check-TESTS make[2]: Entering directory `/var/tmp/portage/libgnomecanvas-2.8.0/work/libgnomecanvas-2.8.0/tests' X11 connection rejected because of wrong authentication. The application 'test-libglade-canvas' lost its connection to the display localhost:10.0; most likely the X server was shut down or you killed/destroyed the application. FAIL: test-libglade-canvas =============================================================================== 1 of 1 tests failed Please report to http://bugzilla.gnome.org/enter_bug.cgi?product=libgnomecanvas =============================================================================== make[2]: *** [check-TESTS] Error 1 make[2]: Leaving directory `/var/tmp/portage/libgnomecanvas-2.8.0/work/libgnomecanvas-2.8.0/tests' piste portage # Expected Results: Built and installed without error. piste portage # emerge info Portage 2.0.51-r3 (default-linux/x86/2004.0, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.4.26-gentoo-r9 i686) ================================================================= System uname: 2.4.26-gentoo-r9 i686 AMD Duron(tm) Processor Gentoo Base System version 1.4.16 distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.14.90.0.8-r1 Headers: sys-kernel/linux-headers-2.4.19-r1,sys-kernel/linux-headers-2.4.21-r1 Libtools: sys-devel/libtool-1.5.2-r5 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O3 -march=athlon-xp -funroll-loops -pipe" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -march=athlon-xp -funroll-loops -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache distcc distlocks maketest sandbox severe sfperms strict userpriv" GENTOO_MIRRORS="http://128.213.5.34/gentoo/ http://cudlug.cudenver.edu/gentoo/ http://gentoo.noved.org/ http://mirror.tucdemonic.org/gentoo/ http://gentoo.osuosl.org http://www.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow X alsa apache2 apm arts avi berkdb bitmap-fonts bonobo cdr cjk crypt cups curl dga directfb divx4linux doc dvb dvd dvdread emacs encode esd ethereal f77 fam fastcgi fbcon foomaticdb fortran gb gd gdbm gif gnome gpm gtk gtk2 gtkhtml guile imap imlib innodb java jpeg kde libg++ libwww live mad maildir mikmod mmx motif mozilla mpeg mysql nas ncurses network nls odbc ofx oggvorbis opengl oss pam pda pdflib perl png python qt quicktime quotes readline ruby samba sasl sdl slang slp spell sse ssl svga tcltk tcpd theora tiff truetype unicode usb wmf x86 xml xml2 xmms xv xvid zeo zlib" piste portage #
I have just verified that the build works okay with FEATURES=-maketest.
I just thought of something else specific to this build. I was running the emerge as root in an xterm with an rsh to a remote machine. I.e. xterm -> su - -> rsh remote -> emerge libgnomecanvas. Perhaps the X authentication failed due to userpriv. Note that everything is set up correctly to launch other X apps from the same xterm/rsh session, as I used it to open an emacs session to change FEATURES for this particular build.
Ran into the same problem with bug #71070 and tried FEATURES=-userpriv, but it didn't help.
*** This bug has been marked as a duplicate of 69343 ***
How is this in any way a duplicate of bug #69343? The referenced bug is a failure in a specific test once the tests were underway. This bug is a problem with making a connection to an X server that works perfectly fine for other applications. This failure happens long before it starts running the test that failed in the other bug. As another data point, I have now verified that the emerge works correctly using the exact same USE and FEATURE flags (including maketest) if it is run on a local machine. Therefore this is most likely an upstream problem with the gnome tests not working across a network.
Don't pretend you don't know why this is a dupe, it's dupe because the 'problems' come from the same FEATURE. The other bug has a sufficient explanation why we don't want to take these 'bugs'. *** This bug has been marked as a duplicate of 69343 ***
*** Bug 95234 has been marked as a duplicate of this bug. ***
*** Bug 91571 has been marked as a duplicate of this bug. ***