Building app-emulation/wine-20041019 fails during src_test, at least if logged in using ssh with enabled X forwarding. Reproducible: Always Steps to Reproduce: 1. emerge -uv --nospinner --oneshot wine Actual Results: [...] make[2]: Entering directory `/tmp/portage/portage/wine-20041019/work/wine-20041019/dlls/comctl32' make[3]: Entering directory `/tmp/portage/portage/wine-20041019/work/wine-20041019/dlls/comctl32/tests' ../../../tools/runtest -q -P wine -M comctl32.dll -T ../../.. -p comctl32_test.exe.so dpa.c && touch dpa.ok X connection to localhost:11.0 broken (explicit kill or server shutdown). make[3]: *** [dpa.ok] Error 1 make[3]: Leaving directory `/tmp/portage/portage/wine-20041019/work/wine-20041019/dlls/comctl32/tests' make[2]: *** [tests/__test__] Error 2 make[2]: Leaving directory `/tmp/portage/portage/wine-20041019/work/wine-20041019/dlls/comctl32' make[1]: *** [comctl32/__test__] Error 2 make[1]: Leaving directory `/tmp/portage/portage/wine-20041019/work/wine-20041019/dlls' make: *** [dlls/__test__] Error 2 !!! ERROR: app-emulation/wine-20041019 failed. !!! Function src_test, Line 520, Exitcode 0 !!! Make check failed. See above for details. !!! If you need support, post the topmost build error, NOT this status message. Expected Results: Don't try to connect to any running X server. Portage 2.0.51-r3 (default-linux/x86/2004.0, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.6.9-caravan-1 i686) ================================================================= System uname: 2.6.9-caravan-1 i686 mobile AMD Athlon(tm) XP2500+ Gentoo Base System version 1.4.16 distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] 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.15.90.0.1.1-r3 Headers: sys-kernel/linux-headers-2.4.21-r1 Libtools: sys-devel/libtool-1.5.2-r7 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O3 -march=athlon-xp -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.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 /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/afs/C /etc/afs/afsws /etc/afs/modload /etc/gconf /etc/make.globals /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -march=athlon-xp -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache collision-protect distlocks fixpackages maketest sandbox severe sfperms strict userpriv usersandbox" GENTOO_MIRRORS="ftp://ftp.easynet.nl/mirror/gentoo/ http://gentoo.inode.at/ ftp://gentoo.inode.at/source/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/share/infra/work/portage-local--main--1.0" SYNC="rsync://hybrid.sascha.silbe.org/gentoo-portage" USE="3dnow X acl acpi afs alsa avi berkdb bitmap-fonts cdr crypt cups doc dvd encode f77 fam flac foomaticdb fortran gatos gdbm gif gps gtk gtk2 gtkhtml guile hbci imagemagick imap imlib ipv6 jpeg jpeg2k krb4 lcms libg++ libwww mad maildir makecheck mbox mikmod mmx monitor mpeg nas ncurses nls oggvorbis opengl pam pcmcia pdflib png postgres python qt qtmt quicktime readline samba sdl skey socks5 spell sse ssl tetex tiff truetype unicode userlocales x86 xml xml2 xosd xv zlib video_cards_radeon input_devices_synaptics linguas_en,de"
If I unset DISPLAY, it hangs with strange messages during src_test: make[1]: Entering directory `/tmp/portage/portage/wine-20041019/work/wine-20041019/dlls' make[2]: Entering directory `/tmp/portage/portage/wine-20041019/work/wine-20041019/dlls/advapi32' make[3]: Entering directory `/tmp/portage/portage/wine-20041019/work/wine-20041019/dlls/advapi32/tests' ../../../tools/runtest -q -P wine -M advapi32.dll -T ../../.. -p advapi32_test.exe.so crypt.c && touch crypt.ok err:imagelist:ImageList_ReplaceIcon no color! err:imagelist:ImageList_ReplaceIcon no color! err:imagelist:ImageList_ReplaceIcon no color! err:imagelist:ImageList_ReplaceIcon no color! err:imagelist:ImageList_ReplaceIcon no color! [...] err:imagelist:ImageList_ReplaceIcon no color! err:imagelist:IMAGELIST_InternalExpandBitmaps creating new image bitmap (x=1040 y=16)! err:imagelist:ImageList_ReplaceIcon no color! err:imagelist:IMAGELIST_InternalExpandBitmaps creating new image bitmap (x=2080 y=32)! err:imagelist:ImageList_ReplaceIcon no color! [...] wine: Unhandled exception (thread 0009), starting debugger...
a proper test of wine requires X to be running as far as i can tell so i've disabled maketest in the ebuild