Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 265911 - [FEATURES=test failure] x11-libs/gtk+-2.16.1 fails tests
Summary: [FEATURES=test failure] x11-libs/gtk+-2.16.1 fails tests
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gnome-tests gnome2.26
  Show dependency tree
 
Reported: 2009-04-12 22:15 UTC by Gilles Dartiguelongue (RETIRED)
Modified: 2009-07-20 15:11 UTC (History)
4 users (show)

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


Attachments
build.log.gz (build.log.gz,63.04 KB, application/x-gzip)
2009-04-12 22:16 UTC, Gilles Dartiguelongue (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-04-12 22:15:28 UTC
Somebody asked me what's the recurring problem I have with gtk+ testsuite so this I took the time to copy the build.log while bumping gtk+-2.16.1. Also I had this very error with gtk+-2.14.7 already.

As you know I'm running a ~arch desktop, xorg-server-1.5.3-r something and the like.

Portage 2.2_rc29 (default/linux/amd64/2008.0, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.24-gentoo-r8-mactel x86_64)
=================================================================
System uname: Linux-2.6.24-gentoo-r8-mactel-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T7500_@_2.20GHz-with-gentoo-2.0.0
Timestamp of tree: Sat, 11 Apr 2009 09:15:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [enabled]
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p10-r1
dev-lang/python:     2.6.1-r1
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.6.3-r1
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.4.3-r1
sys-apps/sandbox:    1.7
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.28-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -ftree-vectorize -pipe -g"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /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 /etc/udev/rules.d"
CXXFLAGS="-O2 -march=native -ftree-vectorize -pipe -g"
DISTDIR="/var/tmp/distfiles"
FEATURES="ccache distcc distlocks fixpackages multilib-strict parallel-fetch preserve-libs protect-owned sandbox sfperms sign splitdebug strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.free.fr/mirrors/ftp.gentoo.org/ http://mirror.ovh.net/gentoo-distfiles/ ftp://mirror.ovh.net/gentoo-distfiles/"
LANG="fr_FR.UTF-8"
LC_ALL="fr_FR.UTF-8"
LDFLAGS="-Wl,-O1,--as-needed,--hash-style=gnu"
MAKEOPTS="-j4"
PKGDIR="/var/tmp/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/local/portage/layman/voip /home/eva/devel/overlays/gentoo-misc /home/eva/devel/overlays/gnome"
SYNC="rsync://rsync.be.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 applet asyncns avahi avi bash-completion bluetooth bzip2 cairo cdr cjk cli consolekit cracklib crypt cups dbus dri dvd dvdr dvdread eds epiphany evo fam ffmpeg flac galago gedit glitz gnome gnome-keyring gnutls gpm gstreamer hal iconv ipv6 isdnlog jpeg laptop ldap libnotify mad matroska midi mmx mp3 mpeg mudflap multilib nautilus ncurses networkmanager nfs nls nntp nptl nptlonly nsplugin ntpl ogg openct opengl openmp pam pcre pdf perl png pppd python readline reflection session smp spell spl sse sse2 ssl ssse3 startup-notification svg sysfs tcpd theora threads unicode v4l v4l2 vim-syntax vorbis x264 xattr xcb xinerama xml xmp xorg 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="dav dav_fs authn_file auth_digest authz_groupfile authz_host dir mime" APACHE2_MPMS="event" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics evdev" KERNEL="linux" USERLAND="GNU" VIDEO_CARDS="i810 intel vesa fbdev"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-04-12 22:16:01 UTC
Created attachment 188157 [details]
build.log.gz
Comment 2 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-04-12 22:16:59 UTC
also, going to the workdir and doing make check works as long as I unset the dbus env var so it's something in the ebuild env that makes it fail somehow.
Comment 3 Patrick Lauer gentoo-dev 2009-05-09 16:34:58 UTC
>>> Source compiled.                                                                                                                                                              
 * Scanning for an open DISPLAY to start Xvfb ...                                                                                                                                 
 *                                                                                                                                                                                
 * Unable to start Xvfb.                                                                                                                                                          
 *                                                                                                                                                                                
 * '/usr/X11R6/bin/Xvfb :16 -screen 0 800x600x24' returns:                                                                                                                        
 *                                                                                                                                                                                
sh: /usr/bin/xkbcomp: No such file or directory                                                                                                                                   
(EE) Error compiling keymap (server-16)                                                                                                                                           
(EE) XKB: Couldn't compile keymap                                                                                                                                                 
Could not init font path element /usr/share/fonts/TTF/, removing from list!                                                                                                       
Could not init font path element /usr/share/fonts/OTF, removing from list!                                                                                                        
Could not init font path element /usr/share/fonts/Type1/, removing from list!                                                                                                     

Fatal server error:
could not open default font 'fixed'
 *
 * If possible, correct the above error and try your emerge again.
 *
 *
 * ERROR: x11-libs/gtk+-2.16.1 failed.

Portage 2.2_rc31 (default/linux/amd64/2008.0, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.28 x86_64)
=================================================================                              
System uname: Linux-2.6.28-x86_64-AMD_Phenom-tm-_9950_Quad-Core_Processor-with-gentoo-2.0.0
Timestamp of tree: Unknown
app-shells/bash:     4.0_p17-r1
dev-lang/python:     2.5.4-r2, 2.6.2
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.4.3-r2
sys-apps/sandbox:    1.9
sys-devel/autoconf:  2.63-r1
sys-devel/automake:  1.10.2
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.28-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -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/kde/live/env /usr/kde/live/share/config /usr/kde/live/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/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="buildpkg distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j5"
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"
SYNC="rsync://localhost/gentoo-portage"
USE="X acl amd64 berkdb bzip2 cli cracklib crypt cups dri fortran gcj gdbm gpm iconv ipv6 isdnlog midi mmx mudflap multilib ncurses nls nptl nptlonly objc openmp pam pcre perl pppd python readline reflection session spl sse sse2 ssl sysfs tcpd unicode 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 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="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="vga"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

Comment 4 Rémi Cardona (RETIRED) gentoo-dev 2009-05-10 16:15:07 UTC
(In reply to comment #3)
>  * '/usr/X11R6/bin/Xvfb :16 -screen 0 800x600x24'

That's just wrong, you shouldn't have anything in /usr/X11R6, in fact, you shouldn't even have it anymore.

Your X setup is pretty busted here.
Comment 5 Rémi Cardona (RETIRED) gentoo-dev 2009-05-14 11:32:05 UTC
Gilles, what format is that build.log, I can't read it...
Comment 6 Rémi Cardona (RETIRED) gentoo-dev 2009-05-14 12:06:58 UTC
nvm, firefox sucks...
Comment 7 Samuli Suominen (RETIRED) gentoo-dev 2009-06-15 05:32:15 UTC
(In reply to comment #3)
> could not open default font 'fixed'

This is often because font-misc-misc isn't installed, got one?
Comment 8 Samuli Suominen (RETIRED) gentoo-dev 2009-06-15 05:39:19 UTC
(In reply to comment #4)
> >  * '/usr/X11R6/bin/Xvfb :16 -screen 0 800x600x24'
> That's just wrong, you shouldn't have anything in /usr/X11R6, in fact, you
> shouldn't even have it anymore.

That's only a eerror msg from virtualx.eclass, ast it's really doing a $(type -P Xvfb) thing to start it,

ssuominen@unique ~/gentoo-x86/eclass $ cvs ci -m "Remove reference of X11R6 directory from eerror msg wrt #265911, first comments"
/var/cvsroot/gentoo-x86/eclass/virtualx.eclass,v  <--  virtualx.eclass
new revision: 1.28; previous revision: 1.27

Which is now fixed :-p
Comment 9 Mounir Lamouri (volkmar) (RETIRED) gentoo-dev 2009-06-21 15:19:15 UTC
I got an issue with gtk+-2.16.1 tests too:

 * Scanning for an open DISPLAY to start Xvfb ...
 * 
 * Unable to start Xvfb.
 * 
 * '/usr/bin/Xvfb :17 -screen 0 800x600x24' returns:
 * 
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Error:            Cannot open "/var/lib/xkb/server-17.xkm" to write keyboard description
>                   Exiting
(EE) Error compiling keymap (server-17)
(EE) XKB: Couldn't compile keymap
Could not init font path element /usr/share/fonts/TTF/, removing from list!
Could not init font path element /usr/share/fonts/OTF, removing from list!
Could not init font path element /usr/share/fonts/Type1/, removing from list!

Fatal server error:
could not open default font 'fixed'

(same as patrick)

It's in a chrooted environnement.
Comment 10 Samuli Suominen (RETIRED) gentoo-dev 2009-06-21 16:10:29 UTC
(In reply to comment #9)
> I got an issue with gtk+-2.16.1 tests too:
> could not open default font 'fixed'

Got the font-misc-misc installed? Try installing it and try again.

And USE="-minimal" xorg-server (that's where it might fail, because USE=minimal doesn't build the Xvfb at all)
Comment 11 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-07-19 23:29:35 UTC
I've added minimal needed fonts for Xvfb to run until xvfb ebuild is fixed to RDEPEND on them or whatever. I've also disabled all tests that failed due to gentoo specifics:
recentmanager -> sandbox issues, can't make it write elsewhere than /root with my current portage settings
ui key-events -> couldn't figure out why this doesn't work in sandbox but disabled as well.

I'm closing this fixed since I can now build gtk+ with tests enabled but those which are disabled should be brought to upstream's attention so they can make them easier to test.
Comment 12 Rémi Cardona (RETIRED) gentoo-dev 2009-07-20 15:11:05 UTC
(In reply to comment #11)
> I've added minimal needed fonts for Xvfb to run until xvfb ebuild is fixed to
> RDEPEND on them or whatever.

Xorg/Xvfb no longer deps on those fonts. Either gtk+ should just skip tests with old fonts or (like Gilles did) the ebuild should dep on the needed fonts.

Thanks