Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 132946 - app-emulation/wine-0.9.11+ won't emerge with -X use flag
Summary: app-emulation/wine-0.9.11+ won't emerge with -X use flag
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Wine Maintainers
URL:
Whiteboard:
Keywords:
: 135143 (view as bug list)
Depends on:
Blocks: 146033
  Show dependency tree
 
Reported: 2006-05-10 13:51 UTC by Rodrigo Severo
Modified: 2006-09-05 19:05 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 Rodrigo Severo 2006-05-10 13:51:01 UTC
Trying to emerge app-emulation/wine-0.9.12 with -X use flag results in the following error:

../../tools/winegcc/winegcc -B../../tools/winebuild -shared ./winex11.drv.spec    bitblt.o bitmap.o brush.o clipboard.o clipping.o codepage.o dce.o desktop.o dga2.o dib.o dib_convert.o dib_dst_swap.o dib_src_swap.o event.o graphics.o init.o keyboard.o mouse.o opengl.o palette.o pen.o scroll.o settings.o text.o window.o winpos.o wintab.o x11ddraw.o x11drv_main.o xdnd.o xfont.o xim.o xrandr.o xrender.o xvidmode.o     -Wl,--rpath,\$ORIGIN/`../../tools/relpath /usr/lib/wine /usr/lib` -o winex11.drv.so -L../../dlls -luser32 -lgdi32 -ladvapi32 -lkernel32 -lntdll  -L../../libs -lwine -L../../libs/unicode -lwine_unicode     -L../../libs/port -lwine_port
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/../../../../i686-pc-linux-gnu/bin/ld: cannot find -luser32
collect2: ld returned 1 exit status
distcc[9156] ERROR: compile (null) on localhost failed
winegcc: i686-pc-linux-gnu-gcc failed.
make[2]: *** [winex11.drv.so] Error 2
make[2]: Leaving directory `/var/tmp/portage/wine-0.9.12/work/wine-0.9.12/dlls/x11drv'
make[1]: *** [x11drv] Error 2
make[1]: Leaving directory `/var/tmp/portage/wine-0.9.12/work/wine-0.9.12/dlls'
make: *** [dlls] Error 2

!!! ERROR: app-emulation/wine-0.9.12 failed.
!!! Function src_compile, Line 119, Exitcode 2
!!! all
!!! If you need support, post the topmost build error, NOT this status message.

Changing the use flag to X I got a successfull emerge.

# emerge --info
Portage 2203-svn (default-linux/x86/2005.0, gcc-3.3.6, glibc-2.3.6-r3, 2.6.14-hardened-r8 i686)
=================================================================
System uname: 2.6.14-hardened-r8 i686 AMD Athlon(tm) XP 2000+
Gentoo Base System version 1.6.14
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
dev-lang/python:     2.4.2
dev-python/pycrypto: [Not Present]
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-pipe -O3 -march=athlon-xp -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-pipe -O3 -march=athlon-xp -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig buildpkg distcc distlocks fixpackages sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.mirror.sdv.fr http://gentoo.math.bme.hu http://gentoo.binarycompass.org http://gentoo.tiscali.nl/gentoo/"
MAKEOPTS="-j5"
PKGDIR="/var/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage-fabrica /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext alsa apm arts avi berkdb bitmap-fonts bzip2 cli crypt cups curl dri eds emboss encode expat foomaticdb fortran freetds gd gdbm gif gmp gpm gstreamer gtk2 imagemagick imlib isdnlog jpeg ldap libg++ libwww mad mhash mikmod ming mmx mmxext motif mp3 mpeg mysql ncurses ogg oggvorbis opengl oss pam pcre pdflib perl php png pppd python quicktime readline reflection samba sdl session spell spl sse ssl svga tcpd tiff truetype truetype-fonts type1-fonts udev usb vorbis xml2 xmms xorg xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTAGE_RSYNC_OPTS
Comment 1 Mike Doty (RETIRED) gentoo-dev 2006-05-19 14:26:26 UTC
I can confirm this with versions 0.9.13, 9.12, and 9.11 on amd64.

0.9.11 and 0.9.13 give me this error and 0.9.12 gives me the same error as the reporter

/var/tmp/portage/wine-0.9.11/work/wine-0.9.11/dlls/x11drv/xim.c:576: undefined reference to `XCreateIC'
/var/tmp/portage/wine-0.9.11/work/wine-0.9.11/dlls/x11drv/xim.c:486: undefined reference to `XCreateFontSet'
/var/tmp/portage/wine-0.9.11/work/wine-0.9.11/dlls/x11drv/xim.c:501: undefined reference to `XFreeStringList'
/var/tmp/portage/wine-0.9.11/work/wine-0.9.11/dlls/x11drv/xim.c:516: undefined reference to `XVaCreateNestedList'
/var/tmp/portage/wine-0.9.11/work/wine-0.9.11/dlls/x11drv/xim.c:558: undefined reference to `XCreateIC'
/var/tmp/portage/wine-0.9.11/work/wine-0.9.11/dlls/x11drv/xim.c:586: undefined reference to `XFree'
/var/tmp/portage/wine-0.9.11/work/wine-0.9.11/dlls/x11drv/xim.c:588: undefined reference to `XFree'
/var/tmp/portage/wine-0.9.11/work/wine-0.9.11/dlls/x11drv/xim.c:528: undefined reference to `XVaCreateNestedList'
/var/tmp/portage/wine-0.9.11/work/wine-0.9.11/dlls/x11drv/xim.c:540: undefined reference to `XVaCreateNestedList'
/var/tmp/portage/wine-0.9.11/work/wine-0.9.11/dlls/x11drv/xim.c:548: undefined reference to `XCreateIC'
/var/tmp/portage/wine-0.9.11/work/wine-0.9.11/dlls/x11drv/xim.c:567: undefined reference to `XCreateIC'
collect2: ld returned 1 exit status
Comment 2 SpanKY gentoo-dev 2006-06-05 09:11:36 UTC
*** Bug 135143 has been marked as a duplicate of this bug. ***
Comment 3 Christoph Mende (RETIRED) gentoo-dev 2006-09-03 09:44:08 UTC
Seems to be fixed in wine-0.9.18
Comment 4 SpanKY gentoo-dev 2006-09-05 08:16:24 UTC
anyone else verify this ?
Comment 5 Rodrigo Severo 2006-09-05 12:07:29 UTC
(In reply to comment #4)
> anyone else verify this ?

I have just emerged wine-0.9.18 in a X-less machine with the -X Use flag without any problem.

Haven't actually runned anything in this wine.

Comment 6 SpanKY gentoo-dev 2006-09-05 19:05:21 UTC
thanks for testing