wine-20050310 ebuild does not include (correct) library search path(s) for 32-bit X-libraries. Consequently, compiling wine halts with errors about incorrect format (64-bit) libXext libraries, since linker cannot find the required 32-bit libraries (in /emul/linux/x86) during compile. The libraries are provided by package "emul-linux-x86-xlibs". Reproducible: Always Steps to Reproduce: 1. emerge =wine-20050310 2. 3. Actual Results: gcc -m32 -c -I. -I. -I../../../include -I../../../include -DWINE_NO_DEBUG_MSGS -DWINE_NO_TRACE_MSGS -D_REENTRANT -fPIC -Wall -pipe -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wpointer-arith -pipe -march=k8 -O2 -o generated.o generated.c /usr/x86_64-pc-linux-gnu/gcc-bin/3.4.3-20050110/gcc: gcc-wrapper: -m32 detected on the command line overrides implicit -m64 added by the wrapper. /usr/x86_64-pc-linux-gnu/gcc-bin/3.4.3-20050110/gcc: gcc-wrapper: -m32 detected on the command line overrides implicit -m64 added by the wrapper. gcc -m32 -c -I. -I. -I../../../include -I../../../include -DWINE_NO_DEBUG_MSGS -DWINE_NO_TRACE_MSGS -D_REENTRANT -fPIC -Wall -pipe -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wpointer-arith -pipe -march=k8 -O2 -o heap.o heap.c /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3-20050110/../../../../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-20050110/../../../../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-20050110/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3-20050110/../../../libXext.so when searching for -lXext /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3-20050110/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3-20050110/../../../libXext.a when searching for -lXext /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3-20050110/../../../../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-20050110/../../../../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-20050110/../../../../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 gcc -m32 -c -I. -I. -I../../../include -I../../../include -DWINE_NO_DEBUG_MSGS -DWINE_NO_TRACE_MSGS -D_REENTRANT -fPIC -Wall -pipe -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wpointer-arith -pipe -march=k8 -O2 -o locale.o locale.c make: *** [dlls] Error 2 !!! ERROR: app-emulation/wine-20050310 failed. !!! Function src_compile, Line 91, Exitcode 2 # emerge info Portage 2.0.51.19 (default-linux/amd64/2005.0, gcc-3.4.3-20050110, glibc-2.3.4.20050125-r0, 2.6.10-hardened-r3 x86_64) ================================================================= System uname: 2.6.10-hardened-r3 x86_64 AMD Opteron(tm) Processor 244 Gentoo Base System version 1.6.9 Python: dev-lang/python-2.3.4-r1 [2.3.4 (#1, Mar 2 2005, 19:30:05)] distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.3 [enabled] 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-r5 sys-devel/libtool: 1.5.10-r4 virtual/os-headers: 2.6.8.1-r4 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CFLAGS="-O3 -pipe -fno-inline-functions -fomit-frame-pointer -march=k8" CHOST="x86_64-pc-linux-gnu" CXXFLAGS="-O3 -pipe -fno-inline-functions -fomit-frame-pointer -march=k8" DISTDIR="/pub/gentoo/distfiles" FEATURES="autoaddcvs autoconfig buildpkg candy ccache distlocks sandbox" LANG="C" MAKEOPTS="-j5" PKGDIR="/pub/gentoo/packages-amd64" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/pub/gentoo/portage" PORTDIR_OVERLAY="/pub/gentoo/portage-overlay" SYNC="rsync://rsync1.fi.gentoo.org/gentoo-portage/" USE="amd64 X X509 a52 aac acl acpi alsa apache2 audiofile avi bcmath berkdb bind-mysql bitmap-fonts bzlib chroot crypt cups curl dba dbase dbm dbx dga divx4linux doc dts dv dvb dvd dvdr dvdread ecc emacs encode erandom esd ethereal exif expat f2c faad fam fastcgi fftw flac flatfile font-server fortran freetds ftp gb gcj gd gdbm gif ginac glut gmp gpm graphviz gtk gtk2 hardened hardenedphp iconv imagemagick imap imlib inifile innodb ipv6 java javascript jp2 jpeg jpeg2k junit kde kdeenablefinal kerberos ldap libclamav libg++ libwww lm_sensors lzo lzw lzw-tiff mad maildir mailwrapper mbox mcal mhash milter mime mjpeg mng monkey motif mozcalendar mozdevelop mozilla mozsvg mp3 mpeg mpeg4 mpi mpm-prefork mpm-worker msn mssql mule multiprocess mysql mysqli ncurses nfsv4 nis nls ntlm objc odbc ogg oggvorbis openal openexr opengl oracle oss pam pcre pdflib perl pg-hier pg-intdatetime php pic pie png postgres python qdbm qhull qt quicktime rdesktop readline real rrdtool samba sasl sdl session sguil sharedext sharedmem skey slang smime sndfile snmp snortsam sockets spell sqlite ssl svgsysvipc szip tcltk tcpd tetex tga theora threads tidy tiff tokenizer truetype truetype-fonts type1-fonts underscores unicode usb userlocales vcd vorbis winbind wmf xine xml2 xmlrpc xmms xpm xrandr xsl xv xvid xvmc yv12 zlib" Unset: ASFLAGS, CBUILD, CTARGET, LC_ALL, LDFLAGS
Created attachment 53380 [details, diff] patch to enable wine-20050310 to build cleanly The following patch will enable wine-20050310 to build cleanly. I adopted it from bug #82758 (minor changes only).
*** This bug has been marked as a duplicate of 81045 ***