Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 351224 - app-emulation/wine-1.3.11: USE="nls" require 32bit gettext libraries on 64bit system
Summary: app-emulation/wine-1.3.11: USE="nls" require 32bit gettext libraries on 64bit...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: AMD64 Project
URL:
Whiteboard:
Keywords:
: 351182 384821 (view as bug list)
Depends on:
Blocks: emul-tracker
  Show dependency tree
 
Reported: 2011-01-09 16:47 UTC by Petr Polezhaev
Modified: 2011-09-29 08:00 UTC (History)
7 users (show)

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


Attachments
build.log of failing configure. (wine-build.log,24.90 KB, text/plain)
2011-01-09 16:48 UTC, Petr Polezhaev
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Polezhaev 2011-01-09 16:47:30 UTC
With USE="nls" configure complains that no "gettext development files" found and fails due to --with-gettextpo switch. build.log will be attached.

Emerge info:
Portage 2.2.0_alpha14 (default/linux/amd64/10.0/desktop, gcc-4.5.2, glibc-2.12.1-r3, 2.6.36-gentoo-r5-nord-fglrx-2.16 x86_64)
=================================================================
System uname: Linux-2.6.36-gentoo-r5-nord-fglrx-2.16-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T6600_@_2.20GHz-with-gentoo-2.0.1
Timestamp of tree: Sat, 08 Jan 2011 23:45:01 +0000
app-shells/bash:     4.1_p9
dev-java/java-config: 2.1.11-r3
dev-lang/python:     2.6.6-r1, 3.1.3
dev-util/cmake:      2.8.3
sys-apps/baselayout: 2.0.1-r1
sys-apps/openrc:     0.6.8
sys-apps/sandbox:    2.4
sys-devel/autoconf:  2.13, 2.68
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.21
sys-devel/gcc:       4.4.5, 4.5.2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.4-r1
sys-devel/make:      3.82
virtual/os-headers:  2.6.36.1 (sys-kernel/linux-headers)
Repositories: gentoo rion enlightenment-niifaq niifaq sunrise x11 vmware gamerlay-stable java-overlay local
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native -mtune=native -msse4.1 -floop-interchange -floop-strip-mine -floop-block"
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 /usr/share/openvpn/easy-rsa /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe -march=native -mtune=native -msse4.1 -floop-interchange -floop-strip-mine -floop-block"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--keep-going --jobs=2"
FEATURES="assume-digests binpkg-logs candy distlocks fixlafiles fixpackages metadata-transfer news parallel-fetch preserve-libs protect-owned sandbox sfperms split-log splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="ru_RU.UTF-8"
LC_ALL=""
LDFLAGS="-Wl,--as-needed -Wl,--sort-common -Wl,-O1 -Wl,--hash-style=gnu"
LINGUAS="ru"
MAKEOPTS="-j2"
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="/var/lib/layman/rion /var/lib/layman/enlightenment-niifaq /var/lib/layman/niifaq /var/lib/layman/sunrise /var/lib/layman/x11 /var/lib/layman/vmware /var/lib/layman/gamerlay /var/lib/layman/java-overlay /usr/local/portage"
SYNC="rsync://rsync.niifaq.ru/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr emboss encode exif fam firefox flac fortran gdbm gdu gif gpm iconv idn ipv6 jpeg lcms ldap libnotify mad mikmod mmx mng modules mp3 mp4 mpeg mudflap multilib ncurses networkmanager nls nptl nptlonly ogg opengl openmp pam pango pcre pdf perl png policykit ppds pppd python qt3support qt4 readline sdl session spell sse sse2 ssl ssse3 startup-notification svg sysfs tcpd threads tiff truetype udev unicode usb vim vim-syntax vorbis x264 xcb xcomposite xml xorg xulrunner xv xvid zlib zsh-completion" 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 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" CAMERAS="adc65 agfa_cl20 aox ax203 barbie canon casio_qv clicksmart310 digigr8 digita dimagev dimera3500 directory enigma13 fuji gsmart300 hp215 iclick jamcam jd11 jl2005a jl2005c kodak_dc120 kodak_dc210 kodak_dc240 kodak_dc3200 kodak_ez200 konica konica_qm150 largan lg_gsm mars mustek panasonic_coolshot panasonic_dc1000 panasonic_dc1580 panasonic_l859 pccam300 pccam600 polaroid_pdc320 polaroid_pdc640 polaroid_pdc700 ptp2 ricoh ricoh_g3 samsung sierra sipix_blink sipix_blink2 sipix_web2 smal sonix sony_dscf1 sony_dscf55 soundvision spca50x sq905 st2205 stv0674 stv0680 sx330z template topfield toshiba_pdrm11" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru" NETBEANS_MODULES="apisupport harness ide nb cnd enterprise java dlight ergonomics identity profiler websvccommon" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" SANE_BACKENDS="net" USERLAND="GNU" VIDEO_CARDS="radeon r600" 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_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Petr Polezhaev 2011-01-09 16:48:22 UTC
Created attachment 259380 [details]
build.log of failing configure.
Comment 2 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2011-01-10 04:44:15 UTC
*** Bug 351182 has been marked as a duplicate of this bug. ***
Comment 3 SpanKY gentoo-dev 2011-01-10 09:32:20 UTC
unless i'm mistaken, there are no prebuilt 32bit libs provided by emul-*.  so there really isnt anything to change in the wine ebuild.
Comment 4 Petr Polezhaev 2011-01-10 11:43:56 UTC
Yes, but what about masking USE-flag?

Anyway, it's not doing what you may think it's doing looking at it's name - there is i18n in wine without it, still it may be not complete, like configure says, I don't know. So, maybe it would be better to rename it to "gettext", for example?
Comment 5 Pacho Ramos gentoo-dev 2011-01-10 13:46:21 UTC
+  10 Jan 2011; Pacho Ramos <pacho@gentoo.org> arch/amd64/ChangeLog,
+  arch/amd64/package.use.mask:
+  Mask nls USE flag for wine until gettext is included in emul set (bug
+  #351224).
+
Comment 6 Benjamin Weggenmann 2011-01-17 02:17:31 UTC
(In reply to comment #5)
> +  10 Jan 2011; Pacho Ramos <pacho@gentoo.org> arch/amd64/ChangeLog,
> +  arch/amd64/package.use.mask:
> +  Mask nls USE flag for wine until gettext is included in emul set (bug
> +  #351224).
> +
> 

I'd suggest to get the multilib overlay (https://github.com/sjnewbury/multilib-overlay/wiki; install with 'layman -a multilib') and compile gettext with +lib32 use flag set to get proper 32 bit libs. Then compiling wine with +nls shouldn't pose a problem (same with +hal as in bug #160867). Probably one has to recompile a few other packages with lib32 set first and/or change to the emul-linux-*-99999999 packages.
Comment 7 Petr Polezhaev 2011-01-17 20:01:23 UTC
Yeah, that's cool, but multilib overlay  will require you to also merge a bunch of other things with lib32. Generally, it may be your whole system. As one, who once made it (compiling whole system with USE="lib32"), I may say, that's not a very good idea, unless multilib functionality is merged in tree, regular non-obvious conflicts are guarantied.

Anyway, using an overlay is not a solution for in-tree package, so use-mask is only way to do, until emul-* packages would be updated to contain gettext libraries.

If you are using multilib overlay, you may always unmask USE-flag via /etc/portage/profile/package.use.mask with app-emulation/wine -nls
Comment 8 Pacho Ramos gentoo-dev 2011-01-30 11:35:10 UTC
Fixed in 20110129
Comment 9 Samuli Suominen (RETIRED) gentoo-dev 2011-09-29 07:58:35 UTC
*** Bug 384821 has been marked as a duplicate of this bug. ***
Comment 10 Samuli Suominen (RETIRED) gentoo-dev 2011-09-29 08:00:31 UTC
(In reply to comment #9)
> *** Bug 384821 has been marked as a duplicate of this bug. ***

^ As per above this bug wasn't really fixed until now:

+  29 Sep 2011; Samuli Suominen <ssuominen@gentoo.org> package.use.mask:
+  Unmask USE="nls" for app-emulation/wine wrt #351224