Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 260726 - app-emulation/wine-1.1.15+ fails to build for multilib on amd64
Summary: app-emulation/wine-1.1.15+ fails to build for multilib on amd64
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 All
: High normal
Assignee: Wine Maintainers
URL:
Whiteboard:
Keywords:
: 260732 260824 261197 261584 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-03-01 14:31 UTC by Arfrever Frehtes Taifersar Arahesis (RETIRED)
Modified: 2009-07-02 11:17 UTC (History)
64 users (show)

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


Attachments
app-emulation:wine-1.1.16:20090301-141849.log (app-emulation_wine-1.1.16_20090301-141849.log.bz2,28.45 KB, application/octet-stream)
2009-03-01 14:41 UTC, Arfrever Frehtes Taifersar Arahesis (RETIRED)
Details
fixed ebuild for wine from git (wine-9999.ebuild,3.22 KB, text/plain)
2009-03-03 12:42 UTC, Alexandr Gluzskiy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-03-01 14:31:05 UTC
make[2]: Entering directory `/var/tmp/portage/app-emulation/wine-1.1.16/work/wine-1.1.16/dlls/wsock32'                                                       
../../tools/winebuild/winebuild  -w --def -o libwsock32.def --export ./wsock32.spec                                                                          
make[2]: Leaving directory `/var/tmp/portage/app-emulation/wine-1.1.16/work/wine-1.1.16/dlls/wsock32'                                                        
make[2]: Entering directory `/var/tmp/portage/app-emulation/wine-1.1.16/work/wine-1.1.16/dlls/wtsapi32'                                                      
../../tools/winebuild/winebuild  -w --def -o libwtsapi32.def --export ./wtsapi32.spec                                                                        
make[2]: Leaving directory `/var/tmp/portage/app-emulation/wine-1.1.16/work/wine-1.1.16/dlls/wtsapi32'                                                       
make[2]: Entering directory `/var/tmp/portage/app-emulation/wine-1.1.16/work/wine-1.1.16/dlls/acledit'                                                       
x86_64-pc-linux-gnu-gcc -m32 -c -I. -I. -I../../include -I../../include  -D__WINESRC__  -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wtype-limits -Wpointer-arith  -march=core2 -pipe -O2  -o main.o main.c                                                         
../../tools/winegcc/winegcc  -B../../tools/winebuild -shared ./acledit.spec    main.o       -o acledit.dll.so  -lkernel32  ../../libs/port/libwine_port.a  -Wl,-O1,--as-needed,--gc-sections,--hash-style=gnu,--sort-common                                                                                               
/usr/bin/ld: Relocatable linking with relocations from format elf32-i386 (main.o) to format elf64-x86-64 (acledit.Caa3Ki.o) is not supported                 
winebuild: /usr/bin/ld -r failed with status 256                                                                                                             
winegcc: ../../tools/winebuild/winebuild failed                                                                                                              
make[2]: *** [acledit.dll.so] Error 2                                                                                                                        
make[2]: Leaving directory `/var/tmp/portage/app-emulation/wine-1.1.16/work/wine-1.1.16/dlls/acledit'                                                        
make[1]: *** [acledit] Error 2                                                                                                                               
make[1]: Leaving directory `/var/tmp/portage/app-emulation/wine-1.1.16/work/wine-1.1.16/dlls'                                                                
make: *** [dlls] Error 2                                                                                                                                     
 *                                                                                                                                                           
 * ERROR: app-emulation/wine-1.1.16 failed.                                                                                                                  
 * Call stack:                                                                                                                                               
 *               ebuild.sh, line   49:  Called src_compile                                                                                                   
 *             environment, line  887:  Called die                                                                                                           
 * The specific snippet of code:                                                                                                                             
 *       emake all || die "all"                                                                                                                              
 *  The die message:                                                                                                                                         
 *   all                                                                                                                                                     
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/log/portage/app-emulation:wine-1.1.16:20090301-141849.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-emulation/wine-1.1.16/temp/environment'.
 *
Comment 1 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-03-01 14:32:28 UTC
Portage 12736-svn (default/linux/amd64/2008.0, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.28-tuxonice-r3-AFTA x86_64)
=================================================================                                                
System uname: Linux-2.6.28-tuxonice-r3-AFTA-x86_64
Timestamp of tree: Sun, 01 Mar 2009 13:15:02 +0000                                                               
ccache version 2.4 [disabled]                                                                                    
app-shells/bash:     3.2_p48-r1                                                                                  
dev-java/java-config: 2.1.7                                                                                      
dev-lang/python:     2.5.4-r2, 2.6.1, 3.0.1                                                                      
dev-util/ccache:     2.4-r8                                                                                      
dev-util/cmake:      2.6.2-r1                                                                                    
sys-apps/baselayout: 2.0.0                                                                                       
sys-apps/openrc:     0.4.3-r1                                                                                    
sys-apps/sandbox:    1.3.8                                                                                       
sys-devel/autoconf:  2.13, 2.63                                                                                  
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2                                                   
sys-devel/binutils:  2.19.51.0.2                                                                                 
sys-devel/gcc-config: 1.4.1                                                                                      
sys-devel/libtool:   2.2.6a                                                                                      
virtual/os-headers:  2.6.28-r1                                                                                   
ACCEPT_KEYWORDS="amd64 ~amd64"                                                                                   
CBUILD="x86_64-pc-linux-gnu"                                                                                     
CFLAGS="-march=core2 -pipe -O2"                                                                                  
CHOST="x86_64-pc-linux-gnu"                                                                                      
CONFIG_PROTECT="/etc /usr/share/config /var/lib/hsqldb"                                                          
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/udev/rules.d"                                                                                                           
CXXFLAGS="-march=core2 -pipe -O2"
DISTDIR="/usr/distfiles"
FEATURES="buildsyspkg collision-protect distlocks metadata-transfer multilib-strict parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://gentoo.prz.rzeszow.pl http://gentoo.zie.pg.gda.pl http://gentoo.po.opole.pl http://gentoo.ynet.sk/pub http://mirror.gentoo.no http://mirrors.evolva.ro/gentoo http://ftp.du.se/pub/os/gentoo http://ftp.linux.ee/pub/gentoo/distfiles ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo http://ftp.lug.ro/gentoo http://src.gentoo.pl"
LANG="pl_PL.UTF-8"
LC_ALL="pl_PL.UTF-8"
LDFLAGS="-Wl,-O1,--as-needed,--gc-sections,--hash-style=gnu,--sort-common"
LINGUAS="pl en la lt"
MAKEOPTS="-j3"
PKGDIR="/usr/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--prune-empty-dirs"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/repositories/local /usr/repositories/python-experimental /usr/repositories/toolchain /usr/repositories/layman/ruby"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 apache2 audiofile bash-completion berkdb bzip2 cairo caps cddb cdparanoia cdr cracklib crypt cscope ctype cups curl curlwrappers custom-cxxflags cxx dbus dga directfb dri dts dvb dvd dvdr dvdread emboss encode enscript exif expat fam fbcon ffmpeg firefox flac foomaticdb ftp gd gdbm ggi gif gimp glut gmp gnutls gpm graphviz gstreamer gtk guile hal hardened htmlhandbook iconv icu idn imagemagick imlib ipv6 java java5 java6 javascriptjbig jpeg jpeg2k kde lame lash lcms ldap libcaca lm_sensors lzo mad matroska matrox memlimit mhash mime mmap mmx mng mp3 mpeg mpi mplayer multilib musepack ncurses netcdf nls nptl nsplugin odbc ogg openal openexr opengl openmp pam pch pcntl pcre pda pdf perl png portaudio posix ppds python qt3 qt4 quicktime rdesktop readline ruby sasl sdl session shorten simplexml slang slp smp sndfile soap sockets speex spell sqlite sqlite3 sse sse2 ssl ssse3 subversion svg symlinkszip tcl tcpd theora threads tiff tk truetype unicode usb vcd vim-syntax vorbis wavpack wmf wxwindows x264 xattr xcb xcomposite xft xine xml xmlrpc xpm xscreensaver xsl xulrunner xv xvid zlib" ALSA_CARDS="hda-intel virmidi" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="access_compat actions alias auth_basic authn_anon authn_core authn_dbm authn_default authn_file authz_core authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio lua mime mime_magic negotiation rewrite sed serfsession session_crypto setenvif speling status unique_id unixd userdir usertrack vhost_alias" APACHE2_MPMS="worker" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LINGUAS="pl en la lt" USERLAND="GNU" VIDEO_CARDS="fbdev intel vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
Comment 2 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-03-01 14:41:51 UTC
Created attachment 183559 [details]
app-emulation:wine-1.1.16:20090301-141849.log
Comment 3 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-03-01 14:43:16 UTC
These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U ] app-emulation/wine-1.1.16 [1.1.15] USE="X alsa cups gecko jpeg lcms ncurses opengl png ssl xcomposite xml (-dbus) -esd (-gnutls) (-hal) -jack (-ldap) (-nas) -oss -samba (-scanner) -win64 -xinerama" 0 kB

Total: 1 package (1 upgrade), Size of downloads: 0 kB
Comment 4 Florian GYS 2009-03-01 14:45:09 UTC
Same here.

emerge --info                          
Portage 2.1.6.7 (default/linux/amd64/2008.0/desktop, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.28-gentoo-r2 x86_64)
=================================================================                                               
System uname: Linux-2.6.28-gentoo-r2-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T9300_@_2.50GHz-with-glibc2.2.5          
Timestamp of tree: Sun, 01 Mar 2009 13:15:02 +0000                                                              
ccache version 2.4 [enabled]                                                                                    
app-shells/bash:     3.2_p48-r1                                                                                 
dev-java/java-config: 1.3.7-r1, 2.1.7                                                                           
dev-lang/python:     2.5.4-r2                                                                                   
dev-util/ccache:     2.4-r8                                                                                     
dev-util/cmake:      2.6.2-r1                                                                                   
sys-apps/baselayout: 2.0.0                                                                                      
sys-apps/openrc:     0.4.3-r1                                                                                   
sys-apps/sandbox:    1.3.8                                                                                      
sys-devel/autoconf:  2.13, 2.63                                                                                 
sys-devel/automake:  1.5, 1.7.9-r1, 1.9.6-r2, 1.10.2                                                            
sys-devel/binutils:  2.19.1                                                                                     
sys-devel/gcc-config: 1.4.1                                                                                     
sys-devel/libtool:   2.2.6a                                                                                     
virtual/os-headers:  2.6.28-r1                                                                                  
ACCEPT_KEYWORDS="amd64 ~amd64"                                                                                  
CBUILD="x86_64-pc-linux-gnu"                                                                                    
CFLAGS="-O2 -march=core2 -pipe -msse4.1"                                                                        
CHOST="x86_64-pc-linux-gnu"                                                                                     
CONFIG_PROTECT="/etc /usr/share/config"                                                                         
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/udev/rules.d"                                           
CXXFLAGS="-O2 -march=core2 -pipe -msse4.1"                                                                                   
DISTDIR="/usr/portage/distfiles"                                                                                             
FEATURES="ccache distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"        
GENTOO_MIRRORS="http://mirror.ovh.net/gentoo-distfiles/ ftp://ftp.free.fr/mirrors/ftp.gentoo.org/ http://mirror.ovh.net/gentoo-distfiles/ ftp://gentoo.imj.fr/pub/gentoo/ http://ftp.first-world.info/ ftp://ftp.first-world.info/ "                      
LANG="fr_FR.UTF-8"                                                                                                           
LDFLAGS="-Wl,-O1"                                                                                                            
LINGUAS="fr"                                                                                                                 
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X acl acpi alsa amd64 bluetooth branding bzip2 cairo cddb cdr cli cracklib crypt cups dbus dri dts dvb dvd dvdr dvdreadeds emboss encode evo fam firefox firefox3 fortran fuse gdbm gif glib gpm gstreamer gtk hal htmlhandbook iconv id3tag ipv6 isdnlog java jce jpeg jpeg2k kde kerberos laptop ldap libnotify mad midi mikmod mmx mng mp3 mpeg mudflap multilib mysql ncurses networkmanager nls nptl nptlonly nsplugin ntfs nvidia ogg openexr opengl openmp pam pcre pdf perl png ppds pppd python qt3support qt4 quicktime readline reflection sdl session smp spell spl sse sse2 sse3 sse4 ssl ssse3 startup-notification svg sysfs tcpd threads tiff truetype unicode usb vdpau vorbis x264 xcomposite xml xorg xulrunner xv xvid zlib" ALSA_CARDS="hda-intel"ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CAMERAS="canon ptp2" ELIBC="glibc" INPUT_DEVICES="keyboard synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fr" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 5 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-03-01 15:33:23 UTC
*** Bug 260732 has been marked as a duplicate of this bug. ***
Comment 6 Ma_Gys 2009-03-01 15:45:56 UTC
There is a problem with following configure flags:

--host=i686-pc-linux-gnu
--build=i686-pc-linux-gnu

Without these flags wine will build.
Comment 7 Chris Ribble 2009-03-01 16:54:18 UTC
Same problem here.
Comment 8 Fabien MAUREL 2009-03-01 17:56:15 UTC
Same problem.

Portage 2.1.6.7 (default/linux/amd64/2008.0, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.27.19 x86_64)
=================================================================
System uname: Linux-2.6.27.19-x86_64-Intel-R-_Core-TM-2_CPU_6400_@_2.13GHz-with-glibc2.2.5
Timestamp of tree: Sun, 01 Mar 2009 17:00:01 +0000
app-shells/bash:     3.2_p48-r1
dev-java/java-config: 2.1.7
dev-lang/python:     2.5.4-r2
dev-util/cmake:      2.6.2-r1
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.4.3-r1
sys-apps/sandbox:    1.3.8
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.19.1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.28-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=core2 -msse3 -msse2 -msse"
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/kde/4.2/env /usr/kde/4.2/share/config /usr/kde/4.2/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://ftp.free.fr/mirrors/ftp.gentoo.org"
LANG="fr_FR@euro"
LC_ALL="fr_FR@euro"
LDFLAGS="-Wl,-O1"
LINGUAS="fr"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl additions alsa amd64 avahi berkdb bittorrent bzip2 cairo cddb cli cracklib crypt cups dbus dri dts dvb dvd dvdr dvdread fat ffmpeg firefox flac fortran gdbm geoip gif gnome gpm gtk hal httpd iconv imagemagick ipv6 isdnlog jpeg kde kdeprefix lame libnotify libv4l2 live lm_sensors logitech-mouse mad matroska mdnsresponder-compat midi mikmod mjpeg mmx mmxext mng mp3 mp4 mpeg mplayer msn mudflap multilib mysql ncurses nepomuk nfs nls nptl nptlonly nsplugin ntfs ogg opengl openmp optimisememory pam pcre pdf perl plasma png pppd python qt3 qt3support qt4 readline reflection reiserfs sdl semantic-desktop session smp spl sqlite sse sse2 ssl ssse3 stream subtitles svg sysfs tcpd theora threads truetype unicode usb v4l v4l2 vcd visualization vorbis webkit wma x264 xcomposite xine xorg xscreensaver xulrunner xvid yahoo zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop emptyextplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fr" USERLAND="GNU" VIDEO_CARDS="radeonhd"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 9 Vladimir Monchenko 2009-03-01 18:06:34 UTC
Same problem here.

athlon ~ # emerge --info
Portage 2.1.6.7 (default/linux/amd64/2008.0/desktop, gcc-4.1.2, glibc-2.8_p20080602-r1, 2.6.27-gentoo-r8 x86_6
4)
=================================================================
System uname: Linux-2.6.27-gentoo-r8-x86_64-AMD_Phenom-tm-_8450_Triple-Core_Processor-with-glibc2.2.5
Timestamp of tree: Sun, 01 Mar 2009 16:05:01 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 2.1.6-r1
dev-lang/python:     2.5.2-r7
dev-util/cmake:      2.6.2-r1
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.7.9-r1, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -msse3 -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/shutdown /usr/share/config /var/l
ib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /e
tc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=k8 -O2 -msse3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://192.168.2.1"
LANG="ru_RU.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="ru"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete                                                                     --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://server/gentoo-portage"
USE="3dnow 3dnowext X a52 acl acpi alsa amd64 amr amrnb amrwb berkdb bluetooth branding browserplugin bzip2 ca                                                                    iro cdr cli cracklib crypt cups dbus divx dri dts dv dvb dvd dvdnav dvdr dvdread emboss enca encode evo exif f                                                                    am ffmpeg fortran gdbm gif gimp gmedia gphoto2 gpm gtk hal iconv ieee1394 imlib isdnlog java jpeg kde ldap lib                                                                    notify mad midi mikmod mmx mmxext mozilla mp2 mp3 mpeg mudflap multilib ncurses nls nodrm nptl nptlonly nsplug                                                                    in ogg opengl openmp pam pcre pdf perl png ppds pppd python qt3 qt3support qt4 quicktime rdesktop readline rea                                                                    lmedia reflection samba scanner sdl seamonkey session smp spell spl sse sse2 ssl startup-notification svg sysf                                                                    s tcpd tiff truetype unicode usb vorbis wmp xine xml xorg xulrunner xv xvid zlib" ALSA_CARDS="hda-intel" ALSA_                                                                    PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat line                                                                    ar meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_bas                                                                    ic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_hos                                                                    t authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter fil                                                                    e_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif sp                                                                    eling status unique_id userdir usertrack vhost_alias" CAMERAS="canon" ELIBC="glibc" INPUT_DEVICES="keyboard mo                                                                    use" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUA                                                                    S="ru" LIRC_DEVICES="serial" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRE                                                                    SS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Comment 10 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-03-01 18:11:04 UTC
Please stop confirming this bug and posting `emerge --info`.
Comment 11 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-03-01 20:01:42 UTC
When I remove the following line from src_compile, I can successfully install wine-1.1.16:

  use amd64 && ! use win64 && multilib_toolchain_setup x86
Comment 12 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-03-01 20:39:16 UTC
sorry, I meant src_configure, not src_compile
Comment 13 Caleb Cushing 2009-03-02 07:44:42 UTC
*** Bug 260824 has been marked as a duplicate of this bug. ***
Comment 14 ~S 2009-03-02 07:59:08 UTC
so what to do??????
should I expect a patch or manually change the src_config file
i will be really happy if the ebuild is fixed and one can run update from portage only
I don't wanna tamper with portage files 
*scared :-S *


~S
Comment 15 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-03-02 10:00:40 UTC
(In reply to comment #14)
> so what to do??????
> should I expect a patch or manually change the src_config file
> i will be really happy if the ebuild is fixed and one can run update from
> portage only
> I don't wanna tamper with portage files 

I'm sure, vapier added this line for a reason (see bug #257038 for more information). My comment was primarily mentioned as a hint to what's causing this error. If you don't want to mess with ebuilds yourself then wait until this problem gets fixed which will happen sooner or later.
Comment 16 Richard Cox 2009-03-02 15:08:02 UTC
(In reply to comment #11)
> When I remove the following line from src_compile, I can successfully install
> wine-1.1.16:
> 
>   use amd64 && ! use win64 && multilib_toolchain_setup x86
> 

That didn't fix it for me...same error after I commented that out.
Comment 17 Chris Ribble 2009-03-02 22:28:50 UTC
(In reply to comment #11)
> When I remove the following line from src_compile, I can successfully install
> wine-1.1.16:
> 
>   use amd64 && ! use win64 && multilib_toolchain_setup x86
> 

I can confirm that wine builds correctly for me on amd64 when I comment this line out of the ebuild.

Programs appear to work fine as well (WoW).
Comment 18 Marian Kyral 2009-03-03 08:28:10 UTC
(In reply to comment #17)
> (In reply to comment #11)
> > When I remove the following line from src_compile, I can successfully install
> > wine-1.1.16:
> > 
> >   use amd64 && ! use win64 && multilib_toolchain_setup x86
> > 
> 
> I can confirm that wine builds correctly for me on amd64 when I comment this
> line out of the ebuild.
> 
> Programs appear to work fine as well (WoW).
> 

Can confirm as well.
Comment 19 Alexandr Gluzskiy 2009-03-03 12:42:49 UTC
Created attachment 183763 [details]
fixed ebuild for wine from git

this should build on amd64.
Comment 20 Dennis Schridde 2009-03-03 13:11:51 UTC
(In reply to comment #19)
> Created an attachment (id=183763) [edit]
> fixed ebuild for wine from git
Provide a patch against current ebuild please.
Comment 21 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-03-03 13:45:49 UTC
(In reply to comment #19)
> Created an attachment (id=183763) [edit]
> fixed ebuild for wine from git
> 
> this should build on amd64.

I'm not sure removing the line I mentioned in my first comment is the way to go. Like I said before I simply posted this as a hint where the problem comes from (or else I would have attached an ebuild patch myself).
If you really _want_ to use wine-1.1.16, remove that line. Otherwise please wait until some dev fixes this the right way.
Comment 22 Caleb Cushing 2009-03-03 14:32:15 UTC
while waiting for the right fix perhaps you could remove ~amd64 from keywords. since it doesn't actually on that arch?
Comment 23 MaratIK 2009-03-03 14:35:19 UTC
(In reply to comment #22)
> while waiting for the right fix perhaps you could remove ~amd64 from keywords.
> since it doesn't actually on that arch?
> 

Use "amd64" arch due to "~amd64" is for testing.
Comment 24 David Philippi 2009-03-03 14:42:48 UTC
That's why it should be removed from ~amd64 for now. Testing occured and it showed that it doesn't work for most. So pull it out, try a fix and then put it back. In the meantime ~amd64 users can do an emerge -uD world without error on wine and test (use) other stuff.
Comment 25 MaratIK 2009-03-03 14:47:57 UTC
(In reply to comment #24)
> That's why it should be removed from ~amd64 for now. Testing occured and it
> showed that it doesn't work for most. So pull it out, try a fix and then put it
> back. In the meantime ~amd64 users can do an emerge -uD world without error on
> wine and test (use) other stuff.
> 

Ebuild compilation testing is the testing too. There are many packages in ~amd64 which currently doesn't build on AMD64. And nobody <strike>cares</strike>complaints. You can just wait for fix in the main portage tree, put that package into package.mask or apply fix in the local portage tree.
Comment 26 Caleb Cushing 2009-03-03 15:04:56 UTC
I care. and yes you could put it in profiles/package.mask too (and yes I know you meant /etc/portage/package.mask) . but that would
mask it for x86 users as well. if a package doesn't build then it shouldn't
have keywords for that arch. If I find any of these other packages that don't
build I will complain about those being improperly keyworded and having build
errors too. we don't add things to I notice that ~alpha isn't in the keywords? why? does it not build there? how 'bout ~ia64?
Comment 27 Dennis Schridde 2009-03-03 15:45:20 UTC
I agree with Caleb. If it does not work on ~arch, remove it and just put it back in after you applied a fix. (Whether that fix works or not will then be tested and in the worst case you can remove ~arch again.)
If that contradicts official Gentoo policies, then those policies are imho plain wrong.
Comment 28 Caleb Cushing 2009-03-03 15:57:46 UTC
actually he shouldn't put it back in until we verify it. we can unmask it ourselves for testing. of course he should test it before committing it.
Comment 29 Tobias Jakobi 2009-03-04 00:41:20 UTC
Confirming the build error on my amd64 system. Works perfectly fine on my 32bit Intel Celeron-M system.

Removing the package from ~amd64 seems the logical answer to this problem.
Comment 30 Peter Alfredsen (RETIRED) gentoo-dev 2009-03-04 09:51:31 UTC
+  04 Mar 2009; Peter Alfredsen <loki_val@gentoo.org> wine-1.1.16.ebuild:
+  Dropping amd64 keyword w.r.t. bug 260726. This doesn't build on amd64.
+

amd64, I mucked with your keywords. Please re-add when appropriate.
Comment 31 Thomas Raschbacher gentoo-dev 2009-03-04 13:01:16 UTC
same Issue here. (similar one for 1.1.15) on completely new install
Comment 32 Pavel Vondricka 2009-03-04 14:30:16 UTC
I had no problem compiling 1.1.15 on amd64! However, 1.1.16 did not compile, that is true. Maybe the problem is not in the package itself then, at least for 1.1.15?
Comment 33 Trevor Bowen 2009-03-04 15:44:09 UTC
FWIW, as a ~amd64 user, I just resynced, and I found that wine wants to downgrade to 1.1.14.

However, I installed 1.1.15 just fine a few weeks ago.  My only problem today is 1.1.16.  Why did 1.1.15 get pulled too?  Are lots of people having trouble with it too?  FWIW, I think my copy of 1.1.15 was installed Feb. 23:

$ ls -l `which wine`
-rwxr-xr-x 1 root root 9532 2009-02-23 14:25:26.000000000 -0600 /usr/bin/wine


Thanks!

------------------------
# emerge -uDNpvt world

These are the packages that would be merged, in reverse order:

Calculating dependencies... done!
[ebuild     UD] app-emulation/wine-1.1.14 [1.1.15] USE="X alsa cups esd gecko jack jpeg ncurses opengl png samba ssl xcomposite xinerama xml (-dbus) (-gnutls) (-hal) -lcms (-ldap) (-nas) -oss (-scanner) -win64" 0 kB
Comment 34 MaratIK 2009-03-04 16:17:16 UTC
Peter Alfredsen, wtf?
Why 1.1.15 marked as "-amd64" too?
Comment 35 Malte E. 2009-03-04 16:25:23 UTC
I removed the multilib_toolchain_setup x86 part and put

$(use amd64 && ! use win64 && echo --libdir=/usr/lib32) \

in the econf part. additionally I could remove inherit multilib. It works fine that way. please mark those ebuilds ~amd64 asap, please.
Comment 36 Rafał Mużyło 2009-03-04 16:54:01 UTC
I could put this bug in the "that's simply sick" category.

But anyway, if I understood all the comments and related bugs correctly,
the workaround of "multilib_toolchain_setup" may no longer be required.

Please read http://bugs.winehq.org/show_bug.cgi?id=17340 and reconsider
the "fixes".

Personally, I can't really contribute here - I'm on x86.
Comment 38 Peter Alfredsen (RETIRED) gentoo-dev 2009-03-04 17:38:36 UTC
Keywords restored to 1.1.15 since apparently not everybody has problems compiling that. New bug filed to track that error at bug 261197
Comment 39 Stephan Haller 2009-03-04 20:23:20 UTC
Solution at comment #35 worked for me.

Thanks Malte. Now I don't need to revert to wine-1.1.12 :) but can update
Comment 40 Chris Faulkner 2009-03-05 21:42:31 UTC
(In reply to comment #39)
> Solution at comment #35 worked for me.
> 
> Thanks Malte. Now I don't need to revert to wine-1.1.12 :) but can update
> 

Tried this under ~amd64 and still not compiling.  1.1.15 as well as 1.1.16 fails to compile.

Comment 41 Trevor Bowen 2009-03-06 05:23:32 UTC
I think something changed somewhere outside of wine, maybe in the toolchain or some dependency, which has caused the problem with 1.1.15.

I successfully upgraded to 1.1.15 a couple of weeks ago (feb-23), and it installed fine.  However, *now*, if I try to re-emerge 1.1.15, it crashes with the same error as 1.1.16.  Something else has changed in my system to cause this to fail between February 23 and now, March 5.  (Has the 1.1.15 ebuild changed?)

(I'll be happy to post a complete build log and emerge --info if a dev needs it.)

# emerge -pvt wine
These are the packages that would be merged, in reverse order:
Calculating dependencies... done!
[ebuild   R   ] app-emulation/wine-1.1.15  USE="X alsa cups esd gecko jack jpeg ncurses opengl png samba ssl xcomposite xinerama xml (-dbus) (-gnutls) (-hal) -lcms (-ldap) (-nas) -oss (-scanner) -win64" 0 kB

# emerge wine
...
x86_64-pc-linux-gnu-gcc -m32 -c -I. -I. -I../../include -I../../include  -D__WINESRC__ -D_ADVAPI32_ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith  -march=nocona -O2 -pipe  -o registry.o registry.c
x86_64-pc-linux-gnu-gcc -m32 -c -I. -I. -I../../include -I../../include  -D__WINESRC__ -D_ADVAPI32_ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith  -march=nocona -O2 -pipe  -o security.o security.c
../../tools/widl/widl -I. -I. -I../../include -I../../include  -D__WINESRC__ -D_ADVAPI32_  -h -H svcctl.h svcctl.idl
../../tools/widl/widl -I. -I. -I../../include -I../../include  -D__WINESRC__ -D_ADVAPI32_  -c -C svcctl_c.c svcctl.idl
../../tools/wrc/wrc --nostdinc -I. -I. -I../../include -I../../include  -D__WINESRC__ -D_ADVAPI32_  -foversion.res version.rc
x86_64-pc-linux-gnu-gcc -m32 -c -I. -I. -I../../include -I../../include  -D__WINESRC__ -D_ADVAPI32_ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith  -march=nocona -O2 -pipe  -o service.o service.c
x86_64-pc-linux-gnu-gcc -m32 -c -I. -I. -I../../include -I../../include  -D__WINESRC__ -D_ADVAPI32_ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith  -march=nocona -O2 -pipe  -o svcctl_c.o svcctl_c.c
../../tools/winegcc/winegcc -b i686-pc-linux-gnu  -B../../tools/winebuild -shared ./advapi32.spec    advapi.o cred.o crypt.o crypt_arc4.o crypt_des.o crypt_lmhash.o crypt_md4.o crypt_md5.o crypt_sha.o eventlog.o lsa.o registry.o security.o service.o   svcctl_c.o  version.res  -o advapi32.dll.so -lrpcrt4 -lkernel32 -lntdll -Wb,-drpcrt4 ../../libs/port/libwine_port.a  -Wl,-O1 
sh: i686-pc-linux-gnu-as: command not found
winebuild: i686-pc-linux-gnu-as failed with status 32512
winegcc: ../../tools/winebuild/winebuild failed
make[2]: *** [advapi32.dll.so] Error 2
make[2]: Leaving directory `/var/tmp/portage/app-emulation/wine-1.1.15/work/wine-1.1.15/dlls/advapi32'
make[1]: *** [advapi32] Error 2
make[1]: Leaving directory `/var/tmp/portage/app-emulation/wine-1.1.15/work/wine-1.1.15/dlls'
make: *** [dlls] Error 2
 * 
 * ERROR: app-emulation/wine-1.1.15 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line  809:  Called die
 * The specific snippet of code:
 *       emake all || die "all"
 *  The die message:
 *   all
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/app-emulation/wine-1.1.15/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-emulation/wine-1.1.15/temp/environment'.
 * 

>>> Failed to emerge app-emulation/wine-1.1.15, Log file:
Comment 43 SpanKY gentoo-dev 2009-03-06 08:25:51 UTC
*** Bug 261197 has been marked as a duplicate of this bug. ***
Comment 44 Florian GYS 2009-03-06 10:59:13 UTC
The problem is not fixed:

ESRC__  -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wtype-limits -Wpointer-arith  -O2 -march=core2 -pipe -msse4.1  -o main.o main.c
make[2]: Entering directory `/var/tmp/portage/app-emulation/wine-1.1.16/work/wine-1.1.16/dlls/activeds'
x86_64-pc-linux-gnu-gcc -m32 -c -I. -I. -I../../include -I../../include  -D__WINESRC__  -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wtype-limits -Wpointer-arith  -O2 -march=core2 -pipe -msse4.1  -o activeds_main.o activeds_main.c
../../tools/winegcc/winegcc  -B../../tools/winebuild -shared ./aclui.spec    aclui_main.o       -o aclui.dll.so  -lkernel32  ../../libs/port/libwine_port.a  -Wl,-O1
/usr/bin/ld: Relocatable linking with relocations from format elf32-i386 (aclui_main.o) to format elf64-x86-64 (aclui.CswRX8.o) is../../tools/winegcc/winegcc  -B../../tools/winebuild -shared ./acledit.spec    main.o       -o acledit.dll.so  -lkernel32  ../../libs/port/libwine_port.a  -Wl,-O1
 not supported
winebuild: /usr/bin/ld -r failed with status 256
winegcc: ../../tools/winebuild/winebuild failed
make[2]: *** [aclui.dll.so] Error 2
make[2]: Leaving directory `/var/tmp/portage/app-emulation/wine-1.1.16/work/wine-1.1.16/dlls/aclui'
make[1]: *** [aclui] Error 2
make[1]: *** Waiting for unfinished jobs....
../../tools/winegcc/winegcc  -B../../tools/winebuild -shared ./activeds.spec    activeds_main.o       -o activeds.dll.so  -lkernel32  ../../libs/port/libwine_port.a  -Wl,-O1
/usr/bin/ld: Relocatable linking with relocations from format elf32-i386 (main.o) to format elf64-x86-64 (acledit.IjkIpd.o) is not supported
winebuild: /usr/bin/ld -r failed with status 256
winegcc: ../../tools/winebuild/winebuild failed
make[2]: *** [acledit.dll.so] Error 2
make[2]: Leaving directory `/var/tmp/portage/app-emulation/wine-1.1.16/work/wine-1.1.16/dlls/acledit'
make[1]: *** [acledit] Error 2
/usr/bin/ld: Relocatable linking with relocations from format elf32-i386 (activeds_main.o) to format elf64-x86-64 (activeds.sxRHSr.o) is not supported
winebuild: /usr/bin/ld -r failed with status 256
winegcc: ../../tools/winebuild/winebuild failed
make[2]: *** [activeds.dll.so] Error 2
make[2]: Leaving directory `/var/tmp/portage/app-emulation/wine-1.1.16/work/wine-1.1.16/dlls/activeds'
make[1]: *** [activeds] Error 2
make[1]: Leaving directory `/var/tmp/portage/app-emulation/wine-1.1.16/work/wine-1.1.16/dlls'
make: *** [dlls] Error 2
 *
 * ERROR: app-emulation/wine-1.1.16 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2191:  Called die
 * The specific snippet of code:
 *       emake all || die "all"
 *  The die message:
 *   all
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/app-emulation/wine-1.1.16/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-emulation/wine-1.1.16/temp/environment'.
 *

>>> Failed to emerge app-emulation/wine-1.1.16, Log file:

>>>  '/var/tmp/portage/app-emulation/wine-1.1.16/temp/build.log'

 * Messages for package app-emulation/wine-1.1.16:

 *
 * ERROR: app-emulation/wine-1.1.16 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2191:  Called die
 * The specific snippet of code:
 *       emake all || die "all"
 *  The die message:
 *   all
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/app-emulation/wine-1.1.16/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-emulation/wine-1.1.16/temp/environment'.
 *
Comment 45 Florian GYS 2009-03-06 11:02:23 UTC
Please reopen this bug.
Comment 46 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-03-06 11:49:37 UTC
Had the same problem like reported in comment #44 with wine-1.1.15 and -1.1.16.

Reopening.
Comment 47 Chris Faulkner 2009-03-06 13:13:55 UTC
(In reply to comment #46)
> Had the same problem like reported in comment #44 with wine-1.1.15 and -1.1.16.
> 
> Reopening.
> 

Confirmed from reply #44.  After --sync, was able to emerge wine to 1.1.16 but still not able to fully compile.
Comment 48 dunerkahl 2009-03-06 18:50:50 UTC
(In reply to comment #47)
> (In reply to comment #46)
> > Had the same problem like reported in comment #44 with wine-1.1.15 and -1.1.16.
> > 
> > Reopening.
> > 
> 
> Confirmed from reply #44.  After --sync, was able to emerge wine to 1.1.16 but
> still not able to fully compile.
> 
For me the same occurs

Comment 49 Arttu Valo 2009-03-06 18:57:26 UTC
Got the same as well (ref: comment #44, #47, #48).

Is there a specific reason not to apply a patch undoing the wine git change referred to in comment #42? I tested putting the lines back and then the current 1.1.16 compiled on amd64. (Naturally this would mean ugly extra work for maintainers for every future Wine release, so there probably is a better way to fix this.)
Comment 50 SpanKY gentoo-dev 2009-03-07 03:03:54 UTC
mmm the patch i committed wasnt exactly what i tested

http://sources.gentoo.org/app-emulation/wine/files/wine-1.1.15-winegcc.patch?r1=1.1&r2=1.2
Comment 51 David Carlos Manuelda 2009-03-07 03:35:40 UTC
Still happens with wine-1.1.16:
/usr/bin/ld: Relocatable linking with relocations from format elf32-i386 (main.o) to format elf64-x86-64 (acledit.YTvF0q.o) is not supported                 
winebuild: /usr/bin/ld -r failed with status 256                                                                                                             
winegcc: ../../tools/winebuild/winebuild failed

from /usr/portage/app-emulation/wine/Changelog:

  06 Mar 2009; Mike Frysinger <vapier@gentoo.org>
  +files/wine-1.1.15-configure-host.patch, +files/wine-1.1.15-winegcc.patch,
  wine-1.1.15.ebuild, wine-1.1.16.ebuild:
  Workaround multilib breakage in upstream wine tools #260726.

So it is not fixed for me :(
Please reopen
Comment 52 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-03-07 09:24:49 UTC
(In reply to comment #51)
> Still happens with wine-1.1.16:
> /usr/bin/ld: Relocatable linking with relocations from format elf32-i386
> (main.o) to format elf64-x86-64 (acledit.YTvF0q.o) is not supported             
> winebuild: /usr/bin/ld -r failed with status 256                                
> winegcc: ../../tools/winebuild/winebuild failed
> 
> from /usr/portage/app-emulation/wine/Changelog:
> 
>   06 Mar 2009; Mike Frysinger <vapier@gentoo.org>
>   +files/wine-1.1.15-configure-host.patch, +files/wine-1.1.15-winegcc.patch,
>   wine-1.1.15.ebuild, wine-1.1.16.ebuild:
>   Workaround multilib breakage in upstream wine tools #260726.
> 
> So it is not fixed for me :(
> Please reopen

Re-sync your portage-tree and try again. The problem actually is finally fixed.
Comment 53 Tobias Jakobi 2009-03-07 11:48:31 UTC
If the patch that is now applied against wine-1.1.15 and wine-1.1.16 is merely a workaround then this bug should be reopened. Did someone already report this upstream?
Comment 54 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-03-07 17:15:25 UTC
*** Bug 261584 has been marked as a duplicate of this bug. ***
Comment 55 Chris Faulkner 2009-03-07 19:32:38 UTC
Latest emerge --sync and emerge wine and it now fully compiles on ~amd64   Good job guys!
Comment 56 Tom Barbette 2009-03-12 10:47:57 UTC
Fixed on the ebuild of the 1.1.16 version but not the 9999 ;-)
Just a simple question... How to pass the checksum test of the ebuild?
Comment 57 MaratIK 2009-03-12 11:21:22 UTC
(In reply to comment #56)
> Fixed on the ebuild of the 1.1.16 version but not the 9999 ;-)
> Just a simple question... How to pass the checksum test of the ebuild?
> 

# ebuild /usr/local/portage/app-emulation/wine/wine-9999.ebuild digest
Comment 58 Paul Mulders 2009-04-17 18:56:16 UTC
live ebuild still broken like this
Comment 59 Robert Förster 2009-04-24 05:45:11 UTC
upstream said that this is fixed in git [1]
this is indeed the case, but not for building with portage

[1] http://bugs.winehq.org/show_bug.cgi?id=17498
Comment 60 Ingo Krabbe 2009-07-02 11:17:57 UTC
(In reply to comment #57)
> (In reply to comment #56)
> > Fixed on the ebuild of the 1.1.16 version but not the 9999 ;-)
> > Just a simple question... How to pass the checksum test of the ebuild?
> > 
> 
> # ebuild /usr/local/portage/app-emulation/wine/wine-9999.ebuild digest
> 

would be nice if you would fix wine-9999 in live portage too.