Summary: | wine-0.9.11 build fails on amd64 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Andrew Dorney <linuxnoob> |
Component: | New packages | Assignee: | Wine Maintainers <wine> |
Status: | RESOLVED FIXED | ||
Severity: | major | CC: | amd64, cristiano.chiucchiolo, dima.batenkov, gentoo-bugs, gentoo-bugzilla, verynotbad |
Priority: | High | ||
Version: | 2005.1 | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Andrew Dorney
2006-04-10 22:15:20 UTC
Same problem here. Portage 2.1_pre7-r5 (default-linux/amd64/2005.1, gcc-3.4.6, glibc-2.4-r1, 2.6.16-gentoo-r1 x86_64) ================================================================= System uname: 2.6.16-gentoo-r1 x86_64 AMD Athlon(tm) 64 Processor 3500+ Gentoo Base System version 1.12.0_pre17 ccache version 2.4 [enabled] dev-lang/python: 2.4.2-r1 sys-apps/sandbox: 1.2.17 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-r2 sys-devel/binutils: 2.16.1-r2 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r3 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -march=k8 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=k8 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/" LANG="it_IT.UTF-8" LC_ALL="it_IT.UTF-8" LDFLAGS="-Wl,-O1" LINGUAS="it" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="amd64 X a52 aac alsa arts avi bash-completion berkdb bitmap-fonts browserplugin calendar cdb cdda cdparanoia cjk clamav crypt css cups divx4linux dri dts dv dvd dvdr dvdread eds emboss emul-linux-x86 encode fame ffmpeg firefox flac foomaticdb fortran ftp gcj gif gimp gphoto2 gpm gstreamer gtk hal icq ieee1394 imlib ipv6 isdnlog java javascript jpeg kde lm_sensors logitech-mouse lzw lzw-tiff mad matroska mikmod mime mng mozilla mp3 mpeg msn ncurses nls nptl nptlonly nsplugin nvidia objc ogg oggvorbis opengl pam pda pdflib perl php pic png ppds pppd python qt quicktime readline samba scanner sdl spell ssl subtitles tcpd tiff truetype-fonts type1-fonts unicode usb userlocales vcd videos vorbis wxwindows xine xpm xv xvid yahoo zlib elibc_glibc kernel_linux linguas_it userland_GNU" Unset: ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK *** This bug has been marked as a duplicate of 128891 *** Bleh, it's been rekeyworded ~amd64, reopening. This still doesn't work and bombs out, shouldn't be ~amd64. *** Bug 129635 has been marked as a duplicate of this bug. *** I get the same thing with libesd.so x86_64-pc-linux-gnu-gcc -c -I. -I. -I../../../include -I../../../include -D__WI NESRC__ -DWINE_NO_DEBUG_MSGS -DWINE_NO_TRACE_MSGS -D_REENTRANT -fPIC -Wall -pip e -fno-strict-aliasing -gstabs+ -Wdeclaration-after-statement -Wpointer-arith - march=athlon64 -pipe -O2 -o jack.o jack.c /usr/lib64/libesd.so: could not read symbols: File in wrong format collect2: ld returned 1 exit status winegcc: x86_64-pc-linux-gnu-gcc failed. make[2]: *** [wineesd.drv.so] Error 2 make[2]: Leaving directory `/mnt/windows/tmp/portage/wine-0.9.11/work/wine-0.9.1 1/dlls/winmm/wineesd' make[1]: *** [winmm/wineesd] Error 2 Portage 2.1_pre7-r5 (default-linux/amd64/2006.0, gcc-4.1.0, glibc-2.4-r1, 2.6.16-gentoo-r1 x86_64) ================================================================= System uname: 2.6.16-gentoo-r1 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4200+ Gentoo Base System version 1.6.14 distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.4 [enabled] dev-lang/python: 2.4.2 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.91.0.6 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r3 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O3 -march=athlon64 -pipe -msse3" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -march=athlon64 -pipe -msse3" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig buildpkg ccache distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://www.gtlib.gatech.edu/pub/gentoo" LDFLAGS="-Wl,-O1 -Wl,-Bdirect" MAKEOPTS="-j3" PKGDIR="/mnt/windows/pkgdir" PORTAGE_TMPDIR="/mnt/windows/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 X aac acpi alsa apache2 audiofile avi berkdb bidi binfilter bitmap-fonts blas bzip2 cairo ccache cdparanoia cdr cli crosscompile crypt ctype cups curl dba dbus dlloader dri dts dvd dvdr dvdread emboss emul-linux-x86 encode esd expat fastbuild fbcon ffmpeg firefox flac foomaticdb force-cgi-redirect fortran ftp gcj gd gdbm gif gimpprint glibc-omitfp glut gnome gnome-print gpm gstreamer gtk gtk2 gtkhtml guile hal hpn icq idn ieee1394 imagemagick imlib isdnlog java jpeg lapack lcms live lm_sensors logrotate lzo lzw mad maildir matroska mbox mdb memlimit mikmod mime mng motif mp3 mpeg mpm-worker msn mysqli nas ncurses network nforce2 nls nptl nptlonly nsplugin nvidia offensive ogg opengl oscar pam pcre pdf perl php plotutils png posix ppds pppd python qt quicktime readline rtc samba sdl session simplexml smp sndfile snmp soap sockets sou sox speex spell spl ssl svg swat tcltk tcpd theora threads tidy tiff tokenizer truetype truetype-fonts type1-fonts usb v4l vcd videos vorbis wifi wxwindows xanim xine xml xml2 xmms xpm xprint xsl xv xvid xvmc zlib elibc_glibc input_devices_evdev input_devices_mouse input_devices_keyboard kernel_linux userland_GNU video_cards_nv video_cards_vesa video_cards_nvidia" Unset: ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LINGUAS works just fine here Portage 2.1_pre7-r5 (default-linux/amd64/2006.0, gcc-3.4.5, glibc-2.3.5-r2, 2.6. 16.1 x86_64) ================================================================= System uname: 2.6.16.1 x86_64 AMD Athlon(tm) 64 Processor 2800+ Gentoo Base System version 1.6.14 dev-lang/python: 2.3.5-r2, 2.4.2 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="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -march=k8 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share /config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/share/X11/xkb /usr/sh are/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/t exmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=k8 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://files.gentoo.gr" LINGUAS="en el" 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 aac acpi alsa apache2 avi berkdb bitmap-fonts blas cairo cdr cjk cl i crypt ctype cups dba dbus dri dvd dvdr emboss expat fam fastbuild ffmpeg fooma ticdb force-cgi-redirect fortran ftp gamin gd gif gimpprint gnome gpm graphviz g tk gtk2 gtkhtml hal hdf5 imlib immqt-bc isdnlog java jpeg kde kdeenablefinal lap ack lzw lzw-tiff mad matroska memlimit mime motif moznocompose moznoirc moznomai l mp3 mpeg ncurses nls nntp nosendmail nptl nptlonly nvidia ogg oggvorbis opengl pam pcre pdflib perl plotutils png posix ppds pppd python qt quicktime readline ruby sbcl session simplexml soap sockets spell spl ssl svg tcltk tcpd tetex tid y tiff tokenizer truetype truetype-fonts type1-fonts unicode usb userlocales vor bis xine xml xmms xpm xscreensaver xsl xv xvid zlib elibc_glibc input_devices_ke yboard input_devices_mouse kernel_linux linguas_en linguas_el userland_GNU video _cards_nvidia" Unset: ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLA GS (In reply to comment #6) > works just fine here Yes, this is related to USE="arts" and USE="esd", what I can see you don't have arts, or esd in your USE (In reply to comment #7) > (In reply to comment #6) > > works just fine here > > Yes, this is related to USE="arts" and USE="esd", what I can see you don't have > arts, or esd in your USE > I don't think it's only arts or esd related: [ebuild N ] app-emulation/wine-0.9.11 USE="X alsa gif jpeg ncurses opengl oss truetype xml -arts -cups -debug -esd -glut -jack -lcms -ldap -nas -scanner make[3]: Leaving directory `/var/tmp/portage/wine-0.9.11/work/wine-0.9.11/dlls/ws2_32/tests' ../../tools/winegcc/winegcc -B../../tools/winebuild -shared ./ws2_32.spec winsock.spec.o socket16.o async.o protocol.o socket.o version.res -Wl,--rpath,\$ORIGIN/`../../tools/relpath /usr/lib32/wine /usr/lib32` -o ws2_32.dll.so -L../../dlls -luser32 -liphlpapi -lkernel32 -lntdll -Wb,-duser32 -L../../libs -lwine -L../../libs/unicode -lwine_unicode -L../../libs/port -lwine_port /usr/lib64/libSM.so: could not read symbols: File in wrong format collect2: ld gab 1 als Ende-Status zur (In reply to comment #7) > (In reply to comment #6) > > works just fine here > > Yes, this is related to USE="arts" and USE="esd", what I can see you don't have > arts, or esd in your USE > I don't think it's only arts or esd related: [ebuild N ] app-emulation/wine-0.9.11 USE="X alsa gif jpeg ncurses opengl oss truetype xml -arts -cups -debug -esd -glut -jack -lcms -ldap -nas -scanner make[3]: Leaving directory `/var/tmp/portage/wine-0.9.11/work/wine-0.9.11/dlls/ws2_32/tests' ../../tools/winegcc/winegcc -B../../tools/winebuild -shared ./ws2_32.spec winsock.spec.o socket16.o async.o protocol.o socket.o version.res -Wl,--rpath,\$ORIGIN/`../../tools/relpath /usr/lib32/wine /usr/lib32` -o ws2_32.dll.so -L../../dlls -luser32 -liphlpapi -lkernel32 -lntdll -Wb,-duser32 -L../../libs -lwine -L../../libs/unicode -lwine_unicode -L../../libs/port -lwine_port /usr/lib64/libSM.so: could not read symbols: File in wrong format collect2: ld gab 1 als Ende-Status zurück winegcc: x86_64-pc-linux-gnu-gcc failed. make[2]: *** [glu32.dll.so] Fehler 2 make[2]: Leaving directory `/var/tmp/portage/wine-0.9.11/work/wine-0.9.11/dlls/glu32' make[1]: *** [glu32] Fehler 2 make[1]: *** Warte auf noch nicht beendete Prozesse... make[2]: Leaving directory `/var/tmp/portage/wine-0.9.11/work/wine-0.9.11/dlls/ws2_32' make[1]: Leaving directory `/var/tmp/portage/wine-0.9.11/work/wine-0.9.11/dlls' make: *** [dlls] Fehler 2 !!! ERROR: app-emulation/wine-0.9.11 failed. I tried reemerging libSM, but that didn't solve the problem. Still the same error message like above. Portage 2.1_pre7-r5 (default-linux/amd64/2006.0, gcc-4.1.0, glibc-2.4-r1, 2.6.16-gentoo x86_64) ================================================================= System uname: 2.6.16-gentoo x86_64 AMD Athlon(tm) 64 Processor 3700+ Gentoo Base System version 1.12.0_pre17 dev-lang/python: 2.4.2-r1 sys-apps/sandbox: 1.2.17 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-r2 sys-devel/binutils: 2.16.1-r2 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r3 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=k8 -O2 -pipe -fomit-frame-pointer -ftracer" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/kde/devel/env /usr/kde/devel/share/config /usr/kde/devel/shutdown /usr/share/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/env.d" CXXFLAGS="-march=k8 -O2 -pipe -fomit-frame-pointer -ftracer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/" LANG="de_DE@euro" LINGUAS="de" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/overlay-kde/trunk" SYNC="rsync://192.168.0.50/gentoo-portage" USE="amd64 X alsa apache2 avi berkdb bitmap-fonts cdr cli crypt ctype cups dba dri dvd eds emboss encode expat fastbuild foomaticdb force-cgi-redirect fortran ftp gd gif glibc-omitfp gpm gstreamer gtk2 imlib ipv6 isdnlog jpeg kde lzw lzw-tiff memlimit mp3 mpeg ncurses nls nptl nptlonly opengl pam pcre pdflib perl png posix pppd python qt quicktime readline sdl session simplexml soap sockets spell spl ssl tcpd tiff tokenizer truetype truetype-fonts type1-fonts usb xml xpm xsl xv zlib elibc_glibc input_devices_keyboard input_devices_evdev kernel_linux linguas_de userland_GNU video_cards_nvidia" Unset: ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS it has nothing to do with USE flags, those are just coincidental (In reply to comment #9) I did actualy get it to compile on AMD64 when I put "-esd -arts" in /etc/portage/package.use I have wine-0.9.11 USE="-arts -esd" The problem with libSM is that you need a 32bit libSM. 32bit libSM can be find in the app-emulation/emul-linux-x86-xlibs package. > The problem with libSM is that you need a 32bit libSM. 32bit libSM can be find
> in the app-emulation/emul-linux-x86-xlibs package.
which wine already depends on
seriously, you guys are wasting your time if you think it's a USE flag issue ... the trouble lies in the winegcc changes
Just wanted to let you know that wine-0.9.12 worked for me. yeah, they reverted/fixed a little of the changes in winegcc between 0.9.10 and 0.9.11 that caused this breakage and it's part of 0.9.12 now |