emerge --info ---- Portage 2.1.1_pre1-r4 (default-linux/amd64/2006.0, gcc-4.1.1/amd64-vanilla, glibc-2.4-r3, 2.6.16-ck11 x86_64) ================================================================= System uname: 2.6.16-ck11 x86_64 AMD Athlon(tm) 64 Processor 3000+ Gentoo Base System version 1.12.1 ccache version 2.4 [enabled] dev-lang/python: 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.4-r2 dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.60 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.17 sys-devel/gcc-config: [Not Present] sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.16 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O3 -fomit-frame-pointer -mfpmath=sse -pipe -march=k8" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/eselect/compiler /etc/gconf /etc/init.d /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-O3 -fomit-frame-pointer -mfpmath=sse -pipe -march=k8" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.netnitco.net http://gentoo.kems.net ftp://gentoo.kems.net/mirrors/gentoo" LANG="sv_SE.UTF-8" LC_ALL="sv_SE.UTF-8" LINGUAS="sv" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/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 acpi alsa anthy arts audiofile avi bitmap-fonts boundschecking browserplugin cdparanoia cdr cjk crypt css cups curl dbus dmi dri dvd dvdr dvdread eds emboss encode fam ffmpeg flac font-server foomaticdb ftp gd gif gpm hal iconv icq imagemagick imlib immqt insecure-drivers jabber java javascript jpeg kde lm_sensors mad matroska memlimit mikmod mod mono mp3 mp4 mpeg mpeg2 mpeg4 mplayer msdfs msn ncurses network nls no-old-linux no_wxgtk1 nptl nptlonly nsplugin offensive ogg oggvorbis opengl oscar pam pcre pdflib perl png posix python qt qt4 quicktime rar readline reiserfs samba sdl sockets spell ssl subtitles subversion svg sysfs syslog tcpd tetex theora threads tiff transcode truetype truetype-fonts type1 type1-fonts udev uim unicode usb userlocales utf8 vcd vim vnc vorbis x11vnc x264 xcomposite xfs xim xine xml xml2 xorg xpm xrandr xscreensaver xv xvid zlib elibc_glibc input_devices_mouse input_devices_keyboard input_devices_evdev kernel_linux linguas_sv userland_GNU video_cards_ati video_cards_radeon" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS ----
Created attachment 90327 [details] 'emerge --debug wine' output
This happened to me with Wine 0.9.15, also. I reversed the patch (http://bugs.gentoo.org/attachment.cgi?id=89611) applied to the ebuild in bug# 128772, and it built correctly. The same works with Wine 0.9.16 as well.
Created attachment 90341 [details, diff] patch for multilib.eclass I where able to compile wine with those changes to multilib.eclass but it still install libraries in /usr/lib64 instead of /usr/lib32
Jeremy: in case you didnt catch it, i updated multilib.eclass so it only exports the variables it should ... so if pre-eselect-compiler, only export ABI ... if eselect-compiler, only export CHOST/CBUILD/etc... the proposed patch looks sane to me, but Jeremy is the expert here so i'll let him merge it
*** Bug 138264 has been marked as a duplicate of this bug. ***
Jeremy: underlying issue seems to be people have eselect-compiler installed with gcc-config-1.x you may want to update eselect-compiler's DEPEND or something ...
(In reply to comment #6) > Jeremy: underlying issue seems to be people have eselect-compiler installed > with gcc-config-1.x > > you may want to update eselect-compiler's DEPEND or something ... > I still get the Freetype problem and... equery list gcc-config [ Searching for package 'gcc-config' in all categories among: ] * installed packages [I--] [ ~] sys-devel/gcc-config-2.0.0_rc1 (0) So it's happening even when gcc-config-1.x not present.
Just want to say that I too have gcc-config-2.0.0_rc1
*** Bug 138594 has been marked as a duplicate of this bug. ***
Same here. sys-devel/gcc-config-2.0.0_rc1 and app-admin/eselect-compiler-2.0.0_rc2-r1 installed. # emerge --info Portage 2.1.1_pre1-r5 (default-linux/amd64/2006.0, gcc-4.1.1/amd64-vanilla, glib c-2.4-r3, 2.6.16-gentoo-r9-20060609 x86_64) ================================================================= System uname: 2.6.16-gentoo-r9-20060609 x86_64 AMD Athlon(tm) 64 Processor 3700+ Gentoo Base System version 1.12.1 dev-lang/python: 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.60 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.17 sys-devel/gcc-config: 2.0.0_rc1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.16 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/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shu tdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gcon f /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-O2 -march=k8 -pipe" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--alphabetical" FEATURES="autoconfig candy distlocks metadata-transfer parallel-fetch sandbox sf perms strict userpriv userpriv_fakeroot usersandbox" GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/" LANG="en_US.utf8" LC_ALL="en_US.utf8" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/d istfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage/local /usr/local/portage/java-migration-pack ages" SYNC="rsync://rsync.de.gentoo.org/gentoo-portage" USE="amd64 X alsa avi bitmap-fonts bzip2 cdinstall cjk cli crypt cups dri dvd em boss encode foomaticdb fortran gif gpm gstreamer gtk gtk2 imlib ipv6 isdnlog jpe g kde kdeenablefinal lzw lzw-tiff mad mp3 mpeg ncurses nls nptl nptlonly nvidia opengl pam pcre pdflib perl png pppd python qt qt3 quicktime readline reflection sdl session spell spl ssl tcpd tiff truetype-fonts type1-fonts unicode userloca les vorbis xorg xpm xv zlib elibc_glibc input_devices_keyboard input_devices_mou se kernel_linux userland_GNU video_cards_nv video_cards_vga" Unset: CTARGET, INSTALL_MASK, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
I have the same problem
Please update. Tested and works on amd64. .oOo. emerge -pDv wine These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] app-emulation/wine-0.9.16 USE="X alsa arts cups esd gif jpeg lcms ncurses opengl oss scanner xml -debug -glut -jack -ldap -nas" 0 kB Total size of downloads: 0 kB .oOo. Portage 2.1.1_pre2-r1 (default-linux/amd64/2005.0, gcc-4.1.1/amd64-vanilla, glibc-2.4-r3, 2.6.17.1 x86_64) ================================================================= System uname: 2.6.17.1 x86_64 AMD Opteron(tm) Processor 242 Gentoo Base System version 1.12.1 distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] dev-lang/python: 2.3.5-r2, 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.60 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.17 sys-devel/gcc-config: 2.0.0_rc1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.16 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=opteron -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/fax /usr/lib64/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /var/spool/fax/etc" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-march=opteron -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://192.168.111.23/gentoo-portage" USE="amd64 X a52 aac aalib accessibility acl acpi aim alsa apache2 arts asf audacious audiofile avi bash-completion berkdb bitmap-fonts bonobo browserplugin bzip2 cdda cddb cdparanoia cdr chroot cli crypt cups curl curlwrappers dbus dga dio directfb divx4linux dlloader dmx dri dts dv dvd dvdr dvdread eds emboss encode esd ethereal examples exif extrafilters fame fbcon ffmpeg firefox flac flash foomaticdb fortran ftp gcj gd gd-external gdbm ggi gif gimp gimpprint glut gnome gnutils gpg2-experimental gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile hal hardenedphp icq idn imagemagick imap imlib infopipe insecure-savers ipv6 irc isdnlog jabber java javascript jikes jpeg jpeg2k junit kde kerberos lcms ldap libcaca libedit libvisual libwww lm_sensors logrotate lzo lzw lzw-tiff mad matroska mikmod mime ming mjpeg mmap mng mono mozcalendar mozilla moznocompose moznomail mozsvg mp3 mpeg musepack musicbrainz mysql mysqli nas ncurses nls nptl nptlonly nsplugin ntfs odbc offensive ogg oggvorbis openal opengl oscar pam pcre pda pdflib perl php png portaudio posix postgres ppds pppd python qt qt3 qt4 quicktime readline reflection reiserfs rtc ruby samba sasl scanner sdk sdl session shorten simplexml skins slang slp sndfile snmp soap sockets sox speex spell spl sql sqlite ssl subversion svg tckltk tcltk tcpd tetex theora threads tidy tiff tokenizer transcode truetype truetype-fonts type1-fonts udev unicode usb v4l v4l2 vcd vcdimager vchroot verbose vhosts videos visualization vorbis vorbis-psy wma wmf wxgtk1 xanim xcomposite xface xine xinerama xml xml2 xmlrpc xmms xorg xpm xprint xscreensaver xsl xv xvid yahoo zeo zlib elibc_glibc input_devices_mouse input_devices_keyboard kernel_linux userland_GNU video_cards_vesa video_cards_radeon" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
The emerge still fails for me. Following problem: . . /usr/include/gentoo-multilib/x86/bits/confname.h:597: error: previous definition of
The emerge still fails for me. Following problem: . . /usr/include/gentoo-multilib/x86/bits/confname.h:597: error: previous definition of â_CS_POSIX_V6_LPBIG_OFFBIG_LIBSâ was here /usr/include/gentoo-multilib/amd64/bits/confname.h:601: error: redeclaration of enumerator â_CS_POSIX_V6_LPBIG_OFFBIG_LINTFLAGSâ /usr/include/gentoo-multilib/x86/bits/confname.h:601: error: previous definition of â_CS_POSIX_V6_LPBIG_OFFBIG_LINTFLAGSâ was here make[2]: *** [ffs.o] Error 1 make[2]: Leaving directory `/usr/portage/tmp/portage/wine-0.9.16/work/wine-0.9.16/libs/port' make[1]: *** [port] Error 2 make[1]: Leaving directory `/usr/portage/tmp/portage/wine-0.9.16/work/wine-0.9.16/libs' make: *** [libs] Error 2 !!! ERROR: app-emulation/wine-0.9.16 failed. Call stack: ebuild.sh, line 1545: Called dyn_compile ebuild.sh, line 940: Called src_compile wine-0.9.16.ebuild, line 108: Called die ----------------------------- Info --------------------------- Portage 2.1.1_pre2-r2 (default-linux/amd64/2006.0, gcc-4.1.1/amd64-vanilla, glibc-2.4-r3, 2.6.17-gentoo x86_64) ================================================================= System uname: 2.6.17-gentoo x86_64 AMD Athlon(tm) 64 Processor 3000+ Gentoo Base System version 1.12.1 distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] ccache version 2.4 [enabled] dev-lang/python: 2.3.5, 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.4-r2 dev-util/confcache: 0.4.2-r1 sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.60 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.17 sys-devel/gcc-config: 2.0.0_rc1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.16 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=athlon64 -O2 -pipe -ftracer -fno-ident -fomit-frame-pointer -freorder-blocks-and-partition" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/lib64/mozilla/defaults/pref /usr/share/X11/xkb" CONFIG_PROTECT_MASK="/etc/env.d /etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-march=athlon64 -O2 -pipe -ftracer -fno-ident -fomit-frame-pointer -freorder-blocks-and-partition" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache confcache distcc distlocks metadata-transfer parallel-fetch sandbox sfperms strict" GENTOO_MIRRORS="http://ftp.du.se/pub/os/gentoo http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo" LANG="en_US.UTF-8" LC_ALL="en_US.UTF-8" LINGUAS="en sv" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_excludes" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/usr/portage/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage /usr/local/xgl-coffee" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="amd64 X aac acpi aim alsa apache2 avahi avi bash-completion berkdb bitmap-fonts bluetooth browserplugin cairo calendar canvas cdparanoia cdr cli crypt cups dbus dga dio directfb divx4linux dlloader doc dri dts dvd dvdr dvdread eds emboss encode exif fbcon ffmpeg fftw firefox foomaticdb gdbm gif glibc-omitfp glitz glx gnome gphoto2 gpm gstreamer gtk gtk2 hal icq imagemagick imlib ipv6 isdnlog jabber java jpeg ldap lzw lzw-tiff mad matroska mime mono mozilla mozsvg mp3 mpeg msn ncurses nls nptl nptlonly nsplugin nvidia offensive oggvorbis opengl oscar pam pcre pdflib perl png pppd python qt3 qt4 quicktime readline reflection rtc ruby samba sdl session spell spl sqlite ssl svg tcpd tga theora tiff truetype truetype-fonts type1-fonts unicode usb userlocales v4l v4l2 vorbis wmf xml xorg xpm xscreensaver xv xvid yahoo zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_vmmouse kernel_linux linguas_en linguas_sv userland_GNU video_cards_nvidia video_cards_vesa video_cards_fbdev video_cards_vmware" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS
*** Bug 139006 has been marked as a duplicate of this bug. ***
*** Bug 138983 has been marked as a duplicate of this bug. ***
*** Bug 139059 has been marked as a duplicate of this bug. ***
Wine is still complaining about missing FreeType for me.
I also upgraded to gcc-config-2.0.0_rc1 and I still get they FreeType error. Is there a patch for this?
*** Bug 139289 has been marked as a duplicate of this bug. ***
I also upgraded to gcc-config-2.0.0_rc1, did n "eselect compiler set [4.11 amd64 vanilla]" Tried emerging wine, no dice. Same error. Noticed this in the log at /var/tmp/portage/wine-0.9.16/work/wine-0.9.16/config.log --- configure:23683: checking for ns_msg._msg_ptr configure:23720: gcc -m32 -c -O2 -march=k8 -pipe conftest.c >&5 conftest.c: In function 'main': conftest.c:249: error: 'ns_msg' has no member named '_msg_ptr' configure:23726: $? = 1 configure: failed program was: | /* confdefs.h. */ --- I've a;sp noticed that wine 0.9.16 has the following in the changelog at (http://source.winehq.org/source/ChangeLog) --- * configure, configure.ac, dlls/dnsapi/ns_parse.c, include/config.h.in: dnsapi: Added check for _msg_ptr vs. _ptr member in ns_msg struct. --- Could this be related to the problem? W
Ahem. I count 6 dupes so far without any definitive workarounds or suggestions and no comment (as far as I can see) from the assignee. Can I ask: Is this a blackhole bug? If it is, I can move on, get rid of eselect-compiler and have things work. If it isn't, how can we users help? Is there an ETA of any sort?
(In reply to comment #21) > Ahem. I count 6 dupes so far without any definitive workarounds or suggestions > and no comment (as far as I can see) from the assignee. > > Can I ask: Is this a blackhole bug? If it is, I can move on, get rid of > eselect-compiler and have things work. If it isn't, how can we users help? Is > there an ETA of any sort? > Did you try what I posted in comment #2? That at least allows me to compile wine.
(In reply to comment #22) > Did you try what I posted in comment #2? That at least allows me to compile > wine. With or without that patch, I cannot build wine.
(In reply to comment #22) > (In reply to comment #21) > > Ahem. I count 6 dupes so far without any definitive workarounds or suggestions > > and no comment (as far as I can see) from the assignee. > > > > Can I ask: Is this a blackhole bug? If it is, I can move on, get rid of > > eselect-compiler and have things work. If it isn't, how can we users help? Is > > there an ETA of any sort? > > > > Did you try what I posted in comment #2? That at least allows me to compile > wine. > I reversed the linked patch and while the freetype issue doesn't eventuate the build fails with whole heap of redclaration errors in confname.h as per #13. Two points: 1) Reinstating ABI= etc, in that patch means that we are revisiting the ground covered by http://bugs.gentoo.org/show_bug.cgi?id=128772, which means the "lose the eselect-compiler" workaround would be more appropriate (assuming that that works) 2) Normally when someone posts a patch the assignee will make a comment as to its effectiveness or appropriateness, request more info etc. etc. Users give input, but the @gentoo.org email addresses in a bug set it's direction. vapier seems to have deliberately been non-definitive because he's on eradicator's turf. eradicator has said nothing. (Excuse me if I've missed any other devs.) #7 through #20 have had no real replies or comments. So I return to my original point: Is this bug going anywhere? Which I guess means - eradicator, what's going on? How can we help?
Adding my CC and noting here that the best way to test a compiled Wine is using Second Life's Windows binaries.
*** Bug 139573 has been marked as a duplicate of this bug. ***
Well, I can see some devs wanting me burnt at the stake, but all appears fine if you emerge it something like 'ABI="x86" emerge --nodeps wine' Just in case anyone's after the cowboy-style 'I just want it working' resolution, although no warranty expressed or implied ;)
(In reply to comment #27) > Well, I can see some devs wanting me burnt at the stake, but all appears fine > if you emerge it something like 'ABI="x86" emerge --nodeps wine' > > Just in case anyone's after the cowboy-style 'I just want it working' > resolution, although no warranty expressed or implied ;) > Well, what can I say, "yeee-har". I can confirm this ABI "hack" solves the freetype issue for me. Thanks for the workaround. Any news on a fix, anyone, anyone?
(In reply to comment #28) > (In reply to comment #27) > > Well, I can see some devs wanting me burnt at the stake, but all appears fine > > if you emerge it something like 'ABI="x86" emerge --nodeps wine' > > > > Just in case anyone's after the cowboy-style 'I just want it working' > > resolution, although no warranty expressed or implied ;) > > > > Well, what can I say, "yeee-har". I can confirm this ABI "hack" solves the > freetype issue for me. Thanks for the workaround. Any news on a fix, anyone, > anyone? > So it works when you specify it on the command line, but not in the ebuild?
(In reply to comment #29) > > > > Well, what can I say, "yeee-har". I can confirm this ABI "hack" solves the > > freetype issue for me. Thanks for the workaround. Any news on a fix, anyone, > > anyone? > > > > So it works when you specify it on the command line, but not in the ebuild? > I have not tried placing ABI="x86" in the ebuild as the only change. I imagine it would work given the success of the command-line. I imagine it would not be considered a fix, hence I have not tried.
ABI="x86" on command line hack confirmed on amd64.
ABI hack (ABI="x86" emerge --nodeps wine) gets around the FreeType error for me, but the ebuild still fails. amd64 -- gcc4.1.1 rebar.o:/var/tmp/portage/wine-0.9.16/work/wine-0.9.16/dlls/comctl32/rebar.c:366: more undefined references to `__wine_dbg_get_channel_flags' follow collect2: ld returned 1 exit status winegcc: i686-pc-linux-gnu-gcc failed. make[2]: *** [comctl32.dll.so] Error 2 make[2]: *** Waiting for unfinished jobs.... i686-pc-linux-gnu-gcc -c -I. -I. -I../../../include -I../../../include -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -gstabs+ -Wdeclaration-after-statement -Wpointer-arith -march=athlon64 -O2 -pipe -o header.o header.c i686-pc-linux-gnu-gcc -c -I. -I. -I../../../include -I../../../include -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -gstabs+ -Wdeclaration-after-statement -Wpointer-arith -march=athlon64 -O2 -pipe -o imagelist.o imagelist.c i686-pc-linux-gnu-gcc -c -I. -I. -I../../../include -I../../../include -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -gstabs+ -Wdeclaration-after-statement -Wpointer-arith -march=athlon64 -O2 -pipe -o listview.o listview.c i686-pc-linux-gnu-gcc -c -I. -I. -I../../../include -I../../../include -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -gstabs+ -Wdeclaration-after-statement -Wpointer-arith -march=athlon64 -O2 -pipe -o monthcal.o monthcal.c i686-pc-linux-gnu-gcc -c -I. -I. -I../../../include -I../../../include -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -gstabs+ -Wdeclaration-after-statement -Wpointer-arith -march=athlon64 -O2 -pipe -o mru.o mru.c i686-pc-linux-gnu-gcc -c -I. -I. -I../../../include -I../../../include -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -gstabs+ -Wdeclaration-after-statement -Wpointer-arith -march=athlon64 -O2 -pipe -o progress.o progress.c i686-pc-linux-gnu-gcc -c -I. -I. -I../../../include -I../../../include -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -gstabs+ -Wdeclaration-after-statement -Wpointer-arith -march=athlon64 -O2 -pipe -o propsheet.o propsheet.c i686-pc-linux-gnu-gcc -c -I. -I. -I../../../include -I../../../include -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -gstabs+ -Wdeclaration-after-statement -Wpointer-arith -march=athlon64 -O2 -pipe -o subclass.o subclass.c i686-pc-linux-gnu-gcc -c -I. -I. -I../../../include -I../../../include -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -gstabs+ -Wdeclaration-after-statement -Wpointer-arith -march=athlon64 -O2 -pipe -o tab.o tab.c i686-pc-linux-gnu-gcc -c -I. -I. -I../../../include -I../../../include -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -gstabs+ -Wdeclaration-after-statement -Wpointer-arith -march=athlon64 -O2 -pipe -o toolbar.o toolbar.c i686-pc-linux-gnu-gcc -c -I. -I. -I../../../include -I../../../include -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -gstabs+ -Wdeclaration-after-statement -Wpointer-arith -march=athlon64 -O2 -pipe -o tooltips.o tooltips.c i686-pc-linux-gnu-gcc -c -I. -I. -I../../../include -I../../../include -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -gstabs+ -Wdeclaration-after-statement -Wpointer-arith -march=athlon64 -O2 -pipe -o treeview.o treeview.c i686-pc-linux-gnu-gcc -c -I. -I. -I../../../include -I../../../include -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -gstabs+ -Wdeclaration-after-statement -Wpointer-arith -march=athlon64 -O2 -pipe -o updown.o updown.c i686-pc-linux-gnu-gcc -c -I. -I. -I../../../include -I../../../include -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -gstabs+ -Wdeclaration-after-statement -Wpointer-arith -march=athlon64 -O2 -pipe -o testlist.o testlist.c LD_LIBRARY_PATH="../../../libs/unicode:$LD_LIBRARY_PATH" ../../../tools/wrc/wrc --nostdinc -I. -I. -I../../../include -I../../../include -fopropsheet.res propsheet.rc ../../../tools/wrc/wrc: Symbol `wine_casemap_upper' has different size in shared object, consider re-linking ../../../tools/winegcc/winegcc -B../../../tools/winebuild -mconsole comboex.o dpa.o header.o imagelist.o listview.o monthcal.o mru.o progress.o propsheet.o subclass.o tab.o toolbar.o tooltips.o treeview.o updown.o testlist.o propsheet.res -o comctl32_test.exe.so -L../../../libs/port -lwine_port -L../../../dlls -L../../../libs -lcomctl32 -lole32 -lshlwapi -luser32 -lgdi32 -ladvapi32 -lkernel32 make[3]: Leaving directory `/var/tmp/portage/wine-0.9.16/work/wine-0.9.16/dlls/comctl32/tests' make[2]: Leaving directory `/var/tmp/portage/wine-0.9.16/work/wine-0.9.16/dlls/comctl32' make[1]: *** [comctl32] Error 2 make[1]: Leaving directory `/var/tmp/portage/wine-0.9.16/work/wine-0.9.16/dlls' make: *** [dlls] Error 2 !!! ERROR: app-emulation/wine-0.9.16 failed. Call stack: ebuild.sh, line 1545: Called dyn_compile ebuild.sh, line 940: Called src_compile wine-0.9.16.ebuild, line 109: Called die !!! all !!! If you need support, post the topmost build error, and the call stack if relevant.
My GCC is 3.4.6, so that may be a 4.x interaction problem (and thus a seperate bug).
(In reply to comment #32) > ABI hack (ABI="x86" emerge --nodeps wine) gets around the FreeType error for > me, but the ebuild still fails. > > amd64 -- gcc4.1.1 I use ~amd64 and gcc-4.1.1 (See emerge info post #13) and 'ABI="x86" emerge wine' worked fine for me. /Claes
*** Bug 139988 has been marked as a duplicate of this bug. ***
I've committed the multilib.eclass fix, since it's clearly necessary.
wine-0.9.17 is in portage now, still reporting "FreeType is missing". Even worse, ABI="x86" emerge wine doesn't work.
0.9.17 works fine for me...
.17 compiled for me on amd64
Created attachment 91840 [details, diff] wine-0.9.17.ebuild.workaround-patch I still get the missing FreeType error with .17, unless I do as I said in Comment #2. Attached is the actual patch to the .17 wine ebuild. This is intended only as a workaround for those that want to be able to build wine, not a solution.
I built wine-0.9.17 successfully, but it still installs the libraries in /usr/lib64, it should be /usr/lib32
Created attachment 93065 [details, diff] Patch for ebuild This patch is based on http://wiki.winehq.org/WineOn64bit, it works fine for me, but i didn't test it on x86 platform.
Comment on attachment 93065 [details, diff] Patch for ebuild not a chance
Finally works for me with 0.9.18, no freetype error anymore. The build itself fails, but seems to be unrelated the issue discussed in this bug.
*** Bug 142371 has been marked as a duplicate of this bug. ***
Portage tree only has 0.9.18 in it, 0.9.16 is gone. Might as well close the bug...
huh ? portage has all the wine ebuilds still
wine-0.9.18 installs here. But libraries are installed into /usr/lib64 instead of /usr/lib32.
From http://packages.gentoo.org/search/?sstring=wine : wine Description: free implementation of Windows(tm) on Unix Releases alpha amd64 arm hppa ia64 mips ppc ppc64 ppc macos s390 sh sparc x86 x86-fbsd 20050930 - - - - - - - - - - - - - - 20050830 - - - - - - - - - - - - - - 20050725-r1 - - - - - - - - - - - - - - 20050628 - - - - - - - - - - - - - - 20050524 - - - - - - - - - - - - - - 20050419 - - - - - - - - - - - - - - 20050310-r1 - - - - - - - - - - - - - - 20050211 - - - - - - - - - - - - - - 20050111-r2 - - - - - - - - - - - - - - 20041019-r3 - - - - - - - - - - - - - - 9999 - - - - - - - - - - - - - - 0.9.18 - ~ - - - - - - - - - - ~ - 0.9.9 - ~ - - - - - - - - - - ~ - 0.9.8-r1 - + - - - - - - - - - - + - 0.9.7 - + - - - - - - - - - - + - 0.9.6 - + - - - - - - - - - - + - 0.9.5-r1 - + - - - - - - - - - - + - 0.9.4 - + - - - - - - - - - - + - 0.9.3 - + - - - - - - - - - - + - 0.9.2 - + - - - - - - - - - - + - As I said, might as well close the bug. 0.9.16's ebuild doesn't exist anymore.
the website is obviously broken, file a new bug as i said, all the ebuilds are still in there, why dont you actually look in the portage tree http://sources.gentoo.org/app-emulation/wine/
*** Bug 142902 has been marked as a duplicate of this bug. ***
(In reply to comment #49) > As I said, might as well close the bug. 0.9.16's ebuild doesn't exist anymore. > Regardless of weather or not 0.9.16 is still in portage the _problem_ still exists, even in 0.9.18...
Created attachment 93554 [details] Link failure log from 'emerge --debug wine-0.9.18' I'm having very different results from what's being reported here, but my bug has been marked as a duplicate of this one. Here's the log from my build failure (which happens at the link stage).
This was because vapier added a change to multilib.eclass which I have reversed. He prevented ABI from being set when using eselect-compiler. The libs now install properly.
I still can't emerge Wine - 0.9.19 fails to build with the same type of error message as 0.9.18: ld: Relocatable linking with relocations from format elf64-x86-64 (activeds.7lmXE9.o) to format elf32-i386 (activeds.bEG6sb.o) is not supported winebuild: ld -m elf_i386 -L/emul/linux/x86/lib -L/emul/linux/x86/usr/lib -r failed with status 256 If the eselect-compiler issue really is resolved, then perhaps my bug (#142902) is actually a separate issue. (?)
eselect-compiler is hardmasked now, because of many problems with it. Maybe that's why it's resolved.
How can I get rid of it? "equery depend eselect-compiler" returns: [ Searching for packages depending on eselect-compiler... ] sys-libs/glibc-2.4-r3 sys-devel/gcc-4.1.1 sys-devel/gcc-3.4.6-r1 sys-devel/gcc-config-2.0.0_rc1
That's because you haven't removed eselect-compiler yet. Once you remove it it will attempt to merge gcc-config
> This was because vapier added a change to multilib.eclass which I have > reversed. He prevented ABI from being set when using eselect-compiler. The > libs now install properly. yes, because in this new spiffy eselect-compiler world, ABI is supposed to not be needed in fact, your wine changes involved doing this exact thing ... not setting ABI at all
(In reply to comment #58) > How can I get rid of it? "equery depend eselect-compiler" returns: > > [ Searching for packages depending on eselect-compiler... ] > sys-libs/glibc-2.4-r3 > sys-devel/gcc-4.1.1 > sys-devel/gcc-3.4.6-r1 > sys-devel/gcc-config-2.0.0_rc1 > When you "emerge -C eselect-compiler", emerge will want to downgrade gcc-config from 2.0x to 1.3x {pre eselect-compiler}. There are issues regarding the maintaining of eselect-compiler. More info can be found here: http://bugs.gentoo.org/show_bug.cgi?id=143697
The error <<has different size in shared object, consider re-linking>> can be fixed by remergint the package owning the file. See bug 338347 . The issue is not in the app, but in portage 2.2, or in revdep-rebuild. But i hardly understand how this can happen during a build.