Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 71061 - libgnomecanvas-2.8.0 ebuild fails when FEATURES=maketest (on remote machine)
Summary: libgnomecanvas-2.8.0 ebuild fails when FEATURES=maketest (on remote machine)
Status: RESOLVED DUPLICATE of bug 69343
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
: 91571 95234 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-11-13 08:31 UTC by John Altstadt
Modified: 2005-07-17 13:06 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John Altstadt 2004-11-13 08:31:50 UTC
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 #
Comment 1 John Altstadt 2004-11-13 08:34:53 UTC
I have just verified that the build works okay with FEATURES=-maketest.
Comment 2 John Altstadt 2004-11-13 09:00:01 UTC
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.
Comment 3 John Altstadt 2004-11-13 09:46:36 UTC
Ran into the same problem with bug #71070 and tried FEATURES=-userpriv, but it didn't help.
Comment 4 foser (RETIRED) gentoo-dev 2004-11-14 01:39:04 UTC

*** This bug has been marked as a duplicate of 69343 ***
Comment 5 John Altstadt 2004-11-14 12:14:25 UTC
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.
Comment 6 foser (RETIRED) gentoo-dev 2004-11-15 10:26:07 UTC
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 ***
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2005-06-06 09:04:10 UTC
*** Bug 95234 has been marked as a duplicate of this bug. ***
Comment 8 foser (RETIRED) gentoo-dev 2005-06-13 10:58:49 UTC
*** Bug 91571 has been marked as a duplicate of this bug. ***