Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 87628 - wine on amd64 can't build because it doesn't look for libraries in /emul/linux/x86/usr/lib
Summary: wine on amd64 can't build because it doesn't look for libraries in /emul/linu...
Status: RESOLVED DUPLICATE of bug 85661
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: AMD64 Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-01 21:01 UTC by Andy Lutomirski
Modified: 2005-07-17 13:06 UTC (History)
0 users

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 Andy Lutomirski 2005-04-01 21:01:14 UTC
I get an error like this:

gcc -m32 -c -I. -I. -I../../include -I../../include  -D__WINESRC__ -DWINE_NO_DEBUG_MSGS -DWINE_NO_TRACE_MSGS  -D_REENTRANT -fPIC -Wall -pipe -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wpointer-arith  -march=k8 -pipe -O2 -o xrandr.o xrandr.c
gcc -m32 -c -I. -I. -I../../include -I../../include  -D__WINESRC__ -DWINE_NO_DEBUG_MSGS -DWINE_NO_TRACE_MSGS  -D_REENTRANT -fPIC -Wall -pipe -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wpointer-arith  -march=k8 -pipe -O2 -o xrender.o xrender.c
gcc -m32 -c -I. -I. -I../../include -I../../include  -D__WINESRC__ -DWINE_NO_DEBUG_MSGS -DWINE_NO_TRACE_MSGS  -D_REENTRANT -fPIC -Wall -pipe -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wpointer-arith  -march=k8 -pipe -O2 -o xvidmode.o xvidmode.c
../../tools/winebuild/winebuild -D__WINESRC__ -DWINE_NO_DEBUG_MSGS -DWINE_NO_TRACE_MSGS  -o x11drv.dll.dbg.c --debug -C. bitblt.c bitmap.c brush.c clipboard.c clipping.c codepage.c desktop.c dga2.c dib.c dib_convert.c dib_dst_swap.c dib_src_swap.c event.c graphics.c init.c keyboard.c mouse.c opengl.c palette.c pen.c scroll.c settings.c text.c window.c winpos.c wintab.c x11ddraw.c x11drv_main.c xdnd.c xfont.c xim.c xrandr.c xrender.c xvidmode.c 
gcc -m32 -c -I. -I. -I../../include -I../../include  -D__WINESRC__ -DWINE_NO_DEBUG_MSGS -DWINE_NO_TRACE_MSGS  -D_REENTRANT -fPIC -Wall -pipe -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wpointer-arith  -march=k8 -pipe -O2 -o x11drv.dll.dbg.o x11drv.dll.dbg.c
../../tools/winegcc/winegcc -B../../tools/winebuild -shared ./x11drv.spec    bitblt.o bitmap.o brush.o clipboard.o clipping.o codepage.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  x11drv.dll.dbg.o   -o x11drv.dll.so -L../../dlls  -luser32 -lgdi32 -ladvapi32 -lkernel32 -lntdll -L../../libs/wine -lwine -L../../libs/unicode -lwine_unicode  -L/usr/lib64  -lXext -lX11  -L../../libs/port -lwine_port  
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib64/libXext.so when searching for -lXext
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib64/libXext.a when searching for -lXext
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../libXext.so when searching for -lXext
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../libXext.a when searching for -lXext
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/libXext.so when searching for -lXext
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/libXext.a when searching for -lXext
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lXext
collect2: ld returned 1 exit status
winegcc: gcc failed.
make[2]: *** [x11drv.dll.so] Error 2
make[2]: Leaving directory `/var/tmp/portage/wine-20050310/work/wine-20050310/dlls/x11drv'
make[1]: *** [x11drv] Error 2
make[1]: Leaving directory `/var/tmp/portage/wine-20050310/work/wine-20050310/dlls'
make: *** [dlls] Error 2

The problem appears to be that wine isn't looking in the right place for the libraries (libXext is in /emul/linux/x86/usr/lib/)

Is there some misconfiguration that causes this or is the ebuild just broken?

Reproducible: Always
Steps to Reproduce:




Portage 2.0.51.19 (default-linux/amd64/2005.0, gcc-3.4.3,
glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r2 x86_64)
=================================================================
System uname: 2.6.11-gentoo-r2 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb 11 2005, 14:58:04)]
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [disabled]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r4
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CFLAGS="-march=k8 -O3 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/boot/grub:/usr/lib/perl5/vendor_perl/5.8.4/Netcomics/etc /etc
/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/lib/X11/xkb
/usr/lib/mozilla/defaults/pref /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/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=k8 -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig distlocks sandbox userpriv usersandbox"
GENTOO_MIRRORS="http://gentoo.chem.wisc.edu/gentoo/
http://gentoo.mirrors.pair.com/ http://gentoo.osuosl.org"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X aalib acl acpi alsa apache2 bash-completion berkdb bitmap-fonts
cairo cdr crypt cups curl dvd esd f77 fam flac font-server fortran gdbm gif
gnome gpm gstreamer gtk imagemagick imlib ipv6 ithreads java jp2 jpeg junit kde
kerberos krb4 libwww lzw lzw-tiff mad mikmod mono motif mozilla mozsvg mp3 mysql
ncurses network nls nptl oggvorbis opengl pam pdflib perl png postgres python qt
readline samba sasl sdl slang snmp sqlite ssl tcltk tcpd tetex threads tiff
truetype truetype-fonts type1-fonts usb userlocales v4l2 xml xml2 xmms xpm
xrandr xv xvid zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS
Comment 1 Andy Lutomirski 2005-04-01 21:03:38 UTC
# file /usr/lib/libXext.so.6.4
/usr/lib/libXext.so.6.4: ELF 64-bit LSB shared object, AMD x86-64, version 1 (SYSV), not stripped

Something's wrong here.  This file seems to have appeared around when I remerged xorg-x11 or emul-linux-x86-xlibs after switching to 2005.0.  It's not owned by any package.
Comment 2 Andy Lutomirski 2005-04-01 22:48:56 UTC
Never mind the /usr/lib thing -- forgot about the symlink.  My bad.
Comment 3 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-04-02 09:35:06 UTC
Already known, closing as dupe of #85661
Comment 4 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-04-02 09:35:20 UTC

*** This bug has been marked as a duplicate of 85661 ***