Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 138296 - wine-0.9.16 fails to emerge with eselect-compiler
Summary: wine-0.9.16 fails to emerge with eselect-compiler
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Jeremy Huddleston (RETIRED)
URL:
Whiteboard:
Keywords:
: 138264 138594 138983 139006 139059 139289 139573 139988 142371 142902 (view as bug list)
Depends on:
Blocks: 143697
  Show dependency tree
 
Reported: 2006-06-27 22:08 UTC by Rickard Närström
Modified: 2010-09-22 11:11 UTC (History)
32 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
'emerge --debug wine' output (emerge-wine.log,146.40 KB, text/plain)
2006-06-27 22:09 UTC, Rickard Närström
Details
patch for multilib.eclass (multilib.eclass.patch,695 bytes, patch)
2006-06-28 01:09 UTC, Rickard Närström
Details | Diff
wine-0.9.17.ebuild.workaround-patch (wine-0.9.17.ebuild.patch,559 bytes, patch)
2006-07-15 16:51 UTC, Nathan Caldwell
Details | Diff
Patch for ebuild (wine-0.9.17.ebuild.patch,552 bytes, patch)
2006-07-30 08:19 UTC, Rafal Lalik
Details | Diff
Link failure log from 'emerge --debug wine-0.9.18' (winelog,382.31 KB, text/plain)
2006-08-05 18:09 UTC, gentoo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rickard Närström 2006-06-27 22:08:47 UTC
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
----
Comment 1 Rickard Närström 2006-06-27 22:09:52 UTC
Created attachment 90327 [details]
'emerge --debug wine' output
Comment 2 Nathan Caldwell 2006-06-27 23:57:00 UTC
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.
Comment 3 Rickard Närström 2006-06-28 01:09:36 UTC
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
Comment 4 SpanKY gentoo-dev 2006-06-28 18:21:20 UTC
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
Comment 5 SpanKY gentoo-dev 2006-06-29 17:53:45 UTC
*** Bug 138264 has been marked as a duplicate of this bug. ***
Comment 6 SpanKY gentoo-dev 2006-06-29 17:54:49 UTC
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 ...
Comment 7 Will Briggs 2006-06-29 20:09:35 UTC
(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.

Comment 8 Nathan Caldwell 2006-06-29 20:48:11 UTC
Just want to say that I too have gcc-config-2.0.0_rc1
Comment 9 Jakub Moc (RETIRED) gentoo-dev 2006-06-30 09:55:56 UTC
*** Bug 138594 has been marked as a duplicate of this bug. ***
Comment 10 UncleOwen 2006-06-30 10:20:12 UTC
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
Comment 11 aGaTHoS 2006-06-30 20:43:31 UTC
I have the same problem
Comment 12 Guy 2006-07-02 20:09:07 UTC
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
Comment 13 Claes Mogren 2006-07-03 07:17:59 UTC
The emerge still fails for me. Following problem:
.
.
/usr/include/gentoo-multilib/x86/bits/confname.h:597: error: previous definition of 
Comment 14 Claes Mogren 2006-07-03 07:17:59 UTC
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
Comment 15 Michael Weyershäuser 2006-07-03 07:57:00 UTC
*** Bug 139006 has been marked as a duplicate of this bug. ***
Comment 16 Michael Weyershäuser 2006-07-03 07:57:26 UTC
*** Bug 138983 has been marked as a duplicate of this bug. ***
Comment 17 Jakub Moc (RETIRED) gentoo-dev 2006-07-03 12:04:39 UTC
*** Bug 139059 has been marked as a duplicate of this bug. ***
Comment 18 Nathan Caldwell 2006-07-03 14:24:20 UTC
Wine is still complaining about missing FreeType for me.
Comment 19 Jacob Fenwick 2006-07-04 20:23:32 UTC
I also upgraded to gcc-config-2.0.0_rc1 and I still get they FreeType error. Is there a patch for this?
Comment 20 Jakub Moc (RETIRED) gentoo-dev 2006-07-05 04:05:44 UTC
*** Bug 139289 has been marked as a duplicate of this bug. ***
Comment 21 Waldo 2006-07-05 20:46:14 UTC
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
Comment 22 Will Briggs 2006-07-06 18:08:05 UTC
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?
Comment 23 Nathan Caldwell 2006-07-06 21:30:14 UTC
(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.
Comment 24 gent_bz 2006-07-06 21:46:08 UTC
(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.
Comment 25 Will Briggs 2006-07-07 00:47:50 UTC
(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?

Comment 26 Kelly Price 2006-07-07 08:40:20 UTC
Adding my CC and noting here that the best way to test a compiled Wine is using Second Life's Windows binaries.

Comment 27 Jakub Moc (RETIRED) gentoo-dev 2006-07-07 09:41:08 UTC
*** Bug 139573 has been marked as a duplicate of this bug. ***
Comment 28 Peter Read 2006-07-08 03:31:57 UTC
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 ;)
Comment 29 Will Briggs 2006-07-09 21:30:37 UTC
(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?
Comment 30 Nathan Caldwell 2006-07-09 21:36:11 UTC
(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?
Comment 31 Will Briggs 2006-07-09 22:36:05 UTC
(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.
Comment 32 Kelly Price 2006-07-10 07:42:58 UTC
ABI="x86" on command line hack confirmed on amd64.
Comment 33 Marc Schaubach 2006-07-10 08:24:20 UTC
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.
Comment 34 Kelly Price 2006-07-10 08:35:09 UTC
My GCC is 3.4.6, so that may be a 4.x interaction problem (and thus a seperate bug).
Comment 35 Claes Mogren 2006-07-10 08:49:14 UTC
(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
Comment 36 Michael Weyershäuser 2006-07-11 05:56:25 UTC
*** Bug 139988 has been marked as a duplicate of this bug. ***
Comment 37 Kevin F. Quinn (RETIRED) gentoo-dev 2006-07-12 00:41:28 UTC
I've committed the multilib.eclass fix, since it's clearly necessary.
Comment 38 Qiangning Hong 2006-07-15 08:47:39 UTC
wine-0.9.17 is in portage now, still reporting "FreeType is missing".  Even worse, ABI="x86" emerge wine doesn't work.
Comment 39 optiluca@gmail.com 2006-07-15 08:57:41 UTC
0.9.17 works fine for me...
Comment 40 Kelly Price 2006-07-15 09:01:01 UTC
.17 compiled for me on amd64
Comment 41 Nathan Caldwell 2006-07-15 16:51:03 UTC
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.
Comment 42 Rickard Närström 2006-07-15 22:03:28 UTC
I built wine-0.9.17 successfully, but it still installs the libraries in /usr/lib64, it should be /usr/lib32
Comment 43 Rafal Lalik 2006-07-30 08:19:38 UTC
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 44 SpanKY gentoo-dev 2006-07-30 12:55:20 UTC
Comment on attachment 93065 [details, diff]
Patch for ebuild

not a chance
Comment 45 Nathan Caldwell 2006-07-31 21:38:43 UTC
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.
Comment 46 SpanKY gentoo-dev 2006-08-01 16:14:52 UTC
*** Bug 142371 has been marked as a duplicate of this bug. ***
Comment 47 Kelly Price 2006-08-01 16:33:58 UTC
Portage tree only has 0.9.18 in it, 0.9.16 is gone.  Might as well close the bug...
Comment 48 SpanKY gentoo-dev 2006-08-04 08:54:50 UTC
huh ?  portage has all the wine ebuilds still
Comment 49 Rickard Närström 2006-08-05 05:30:08 UTC
wine-0.9.18 installs here. But libraries are installed into /usr/lib64 instead of /usr/lib32.
Comment 50 Kelly Price 2006-08-05 08:03:37 UTC
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.
Comment 51 SpanKY gentoo-dev 2006-08-05 12:39:24 UTC
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/
Comment 52 SpanKY gentoo-dev 2006-08-05 12:48:47 UTC
*** Bug 142902 has been marked as a duplicate of this bug. ***
Comment 53 Nathan Caldwell 2006-08-05 16:58:33 UTC
(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...
Comment 54 SpanKY gentoo-dev 2006-08-05 17:55:22 UTC
*** Bug 142902 has been marked as a duplicate of this bug. ***
Comment 55 gentoo 2006-08-05 18:09:07 UTC
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).
Comment 56 Jeremy Huddleston (RETIRED) gentoo-dev 2006-08-22 03:46:21 UTC
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.
Comment 57 gentoo 2006-08-22 12:58:33 UTC
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. (?)
Comment 58 Maarten Maathuis 2006-08-22 14:37:36 UTC
eselect-compiler is hardmasked now, because of many problems with it.

Maybe that's why it's resolved.
Comment 59 gentoo 2006-08-22 17:34:34 UTC
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
Comment 60 Nathan Caldwell 2006-08-22 17:42:04 UTC
That's because you haven't removed eselect-compiler yet. Once you remove it it will attempt to merge gcc-config
Comment 61 SpanKY gentoo-dev 2006-08-22 20:20:21 UTC
> 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
Comment 62 Guy 2006-08-22 20:45:15 UTC
(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
Comment 63 DEMAINE Benoît-Pierre, aka DoubleHP 2010-09-22 11:11:13 UTC
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.