emerge -1 wine-1.3.1 fail Reproducible: Always Steps to Reproduce: 1.using ~x86 do emerge -1 wine-1.3.1 2. 3. Actual Results: * you need gcc-4.4+ to build 64bit wine Expected Results: not bugging me with a 64bits version of wine :) * The specific snippet of code: * use win64 && die "you need gcc-4.4+ to build 64bit wine"; will send the full log (but the error, even the error appears clear) and yes i don't have gcc 4.4+ emerge --info Portage 2.1.8.3 (default/linux/x86/10.0/desktop, gcc-4.3.2, glibc-2.11.2-r0, 2.6.33-gentoo i686) ================================================================= System uname: Linux-2.6.33-gentoo-i686-Intel-R-_Core-TM-_i7_CPU_950_@_3.07GHz-with-gentoo-2.0.1 Timestamp of tree: Tue, 31 Aug 2010 18:00:01 +0000 distcc 3.1 i686-pc-linux-gnu [enabled] app-shells/bash: 4.1_p7 dev-java/java-config: 2.1.11 dev-lang/python: 2.6.5-r3, 3.1.2-r4 dev-util/cmake: 2.8.1-r2 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.6.2 sys-apps/sandbox: 2.3-r1 sys-devel/autoconf: 2.13, 2.65-r1 sys-devel/automake: 1.9.6-r3, 1.10.3, 1.11.1 sys-devel/binutils: 2.20.1-r1 sys-devel/gcc: 4.2.4-r1, 4.3.2-r4 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.10 sys-devel/make: 3.81-r2 virtual/os-headers: 2.6.35 ACCEPT_KEYWORDS="x86 ~x86" ACCEPT_LICENSE="*" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=core2 -O2 -pipe -mfpmath=sse" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb /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/terminfo" CXXFLAGS="-march=core2 -O2 -pipe -mfpmath=sse" DISTDIR="/mnt/faramir/distfiles" EMERGE_DEFAULT_OPTS="--keep-going" FEATURES="assume-digests distcc distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="ftp://ftp.free.fr/mirrors/ftp.gentoo.org ftp://mirror.ovh.net/gentoo-distfiles http://gentoo.mirror.sdv.fr/ http://gentoo.oregonstate.edu/ http://www.ibiblio.org/pub/Linux/distributions/gentoo" LANG="fr_FR@euro" LC_ALL="fr_FR@euro" LDFLAGS="-Wl,-Ol -Wl,--as-needed" LINGUAS="fr fr_FR" MAKEOPTS="-j8" 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://faramir/gentoo-portage" USE="X a52 aac aalib acl acpi alsa amarok audacious berkdb bluetooth branding bzip2 cairo cdr cli consolekit cracklib crypt cups cxx dbase dbus device-mapper divx dri dts dvd dvdr dvdread embedded emboss encode exif extras fam fbsplash ffmpeg firefox flac fortran ftp gdbm gdu gif glitz gmedia gnome gnutls gpm gstreamer gtk hal hddtemp iconv icu imap ipod java javascript jpeg jpeg2k kde lame lcms ldap libcaca libnotify live lm_sensors logrotate lzo mad maildir matroska mdnsresponder-compat midi mikmod mjpeg mng modplug modules moznomail moznoxft mp3 mp4 mp4live mpeg mpeg2 mplayer msn mudflap musepack ncurses network nfs nls nptl nptlonly nsplugin ntfs ogg openal opengl openmp pam pango pcre pdf perl png policykit ppds pppd python qt qt3support qt4 readline reflection sdl sdl-image sensord session skins slang smp spell spl ssl startup-notification stream subtitles svg sysfs tcpd tga theora threads thunderbird tiff timidity truetype unicode usb v4l v4l2 vcd vdpau vlm vorbis webkit wma wmf wxwindows x264 x86 xcb xcomposite xine xinerama xml xorg xosd xulrunner xv xvid zip zlib" ALSA_CARDS="intel8x0" 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 cgi cgid 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 evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fr fr_FR" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="vesa nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 245560 [details] build.log
i'm sorry i miss it before but 1.3.0 wine ebuild act the same
Wine 1.3.2 is out, fyi.
It work perfect with USE="-win64" emerge -1 wine (for 1.3.1) as you see in my emerge info i don't have the win64 use flag set, i don't know what trigger it to enable this flag. But, if i'm right (and it seems logic no?) we should have a win32 use flag, not a win64 one. I don't think anyone could make a 64 bits wine version to run under a 32 bits userland. So the win64 flag is useless, if you are 32bits, you can't use it anyway, and if you are 64 you might better wish a per default 64bits wine, and by flag query, a 32bits one. But back to the problem, the win64 flag is enable on a 32bits system, and really i don't know what enable that (i only have package.mask in /etc/portage). But this should be disable per default and only could be enable in a 64bits arch. So if none can find why it's enable, maybe change the checking in the ebuild to check win64 against a 64bits version. Calculating dependencies... done! [ebuild R ] app-emulation/wine-1.3.1 USE="X alsa cups dbus gecko gnutls jpeg lcms ldap mp3 ncurses openal opengl oss perl png ssl threads truetype win32 win64* xcomposite xinerama xml -capi -custom-cflags -esd -fontconfig -gphoto2 -gsm -hal -jack -nas -pulseaudio -samba -scanner -test" 0 kB
just saw we have a win32 flag already :)
fix your gcc or your USE selection then
Why the ebuild allow that flag on x86 CHOST or why the ebuild do check all gcc versions to avoid a bug for gcc64 < 4.4 only The fact i use a gcc version < 4.4 is irrelevant to the problem: it's a choice That version is in portage and not mask, and wine build fine when using it with or without the 64bits flag (after removing the gcc check in the ebuild) So why closing it as invalid when the ebuild is bug ? You might not catch that once wine-1.3.0+ reach stable x86 branch, all users with gcc-config set to a gcc < 4.4 will hit that bug. It's really stupid when you see that, there is no bug in fact : wine build fine with gcc-4.3.2 on x86 and we don't care about the 64 bits wine version or the gcc64 bug as it doesn't affect 32bits users. and looking in the ebuild i see : if use win64 && use amd64 ; then do_configure 64 --enable-win64 use win32 && ABI=x86 do_configure 32 --with-wine64=../wine64 else ABI=x86 do_configure 32 --disable-win64 As you see, i'm not affect really by it, i don't use wine a lot, i can still build it on 4.3.2 by keywording wine or altering the ebuild. It's just a QA issue. I won't provide you a poorly made user patch for it, but it can be solve by just adding amd64 to your gcc check version in the ebuild. Re-opening it to see if you change your mind after a 2nd look.
USE=win64 is still invalid on x86 systems. ive added it to use.mask and dropped any of the `use amd64` logic from the ebuild.
Thank you spanky