Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 258356 - app-emulation/wine-1.1.14 fails to build due to string conversion problem with unicode and codepage 950
Summary: app-emulation/wine-1.1.14 fails to build due to string conversion problem wit...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Wine Maintainers
URL:
Whiteboard:
Keywords:
: 261439 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-02-09 19:07 UTC by Robert Bradbury
Modified: 2009-03-28 10:45 UTC (History)
2 users (show)

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


Attachments
wine-1.1.16 build.log (build.log,696.65 KB, text/plain)
2009-03-07 21:50 UTC, bo
Details
Emerge --info for failing wine build 1.1.16. (info.lst,3.76 KB, text/plain)
2009-03-08 01:59 UTC, Robert Bradbury
Details
emerge output of wine which fails to build (wine.err,1.96 KB, text/plain)
2009-03-08 02:03 UTC, Robert Bradbury
Details
Build.log for wine 1.1.16 (build.log,860.46 KB, text/plain)
2009-03-08 02:18 UTC, Robert Bradbury
Details
emerge output with the compile error (app-emulation:wine-1.1.17:20090315-202824.log,814.01 KB, text/plain)
2009-03-15 20:40 UTC, Stephan Gsell
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Bradbury 2009-02-09 19:07:22 UTC
The precise error is:
../../tools/wrc/wrc --nostdinc -I. -I. -I../../include -I../../include  -D__WINESRC__ -D_KERNEL32_  -fokernel.r
es kernel.rc
Source: �Q�� a4 51 a4 eb
Unicode:  5341 6708
Back: ���� a2 cc a4 eb
nls/cht.nls:84:16: Error: String �Q�� does not convert identically to Unicode and back in codepage 950. Try using a Unicode string instead


Reproducible: Always

Steps to Reproduce:
1. Try to emerge wine-1.1.14.
2. emerge process fails.

Actual Results:  
Failure to build.

Expected Results:  
Should build.

USE flags were "USE="X alsa cups dbus esd gecko hal jpeg ldap ncurses opengl png scanner ssl xml -gnutls -jack -lcms -nas -oss -samba -win64 -xcomposite -xinerama"
Comment 1 SpanKY gentoo-dev 2009-03-01 09:06:41 UTC
sync up your tree and try again

if it still fails, post a *full* build log as an attachment, and your `emerge --info` like the bugzilla documentation says to
Comment 2 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-03-06 12:52:46 UTC
*** Bug 261439 has been marked as a duplicate of this bug. ***
Comment 3 bo 2009-03-06 15:25:45 UTC
$ emerge --info
Portage 2.1.6.7 (default/linux/x86/2008.0/desktop, gcc-4.3.3,
glibc-2.9_p20081201-r2, 2.6.28-tuxonice-r3laptopbo i686)
=================================================================
System uname:
Linux-2.6.28-tuxonice-r3laptopbo-i686-Intel-R-_Pentium-R-_M_processor_1.60GHz-with-glibc2.0
Timestamp of tree: Fri, 06 Mar 2009 10:30:02 +0000
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-python/pycrypto: 2.0.1-r8
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.4.3-r1
sys-apps/sandbox:    1.3.9
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.4_p6, 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="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=native -Os -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /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/texmf/language.dat.d
/etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c
/etc/udev/rules.d"
CXXFLAGS="-march=native -Os -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms
strict unmerge-orphans userfetch"
GENTOO_MIRRORS=" http://mirror.yandex.ru/gentoo-distfiles/
ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ ftp://mirror.bih.net.ba/gentoo/
ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
ftp://ftp.rhnet.is/pub/gentoo/ "
LANG="ru_RU.UTF-8"
LC_ALL=""
LDFLAGS="-Wl,-O1"
LINGUAS="ru en"
MAKEOPTS="-j1"
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/layman/rox /usr/local/portage/layman/rox
/usr/local/portage/layman/sunrise /usr/local/portage/layman/sunrise
/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="16bit 3dnow 3dnowext 7zip X aac aalib ace acl acpi aiglx alsa amd amr
animgif aoss apm applet arj asf async audiofile automount background
bash-completion battery bcmath beep berkdb bidi binary-drivers bittorrent bl
blender-game bluetooth branding bts bzip2 cairo calendar cdaudio cdda cddb cdio
cdparanoia cdr chardet clamav clflush cli cmov compress cpudetection cpufreq
cracklib crypt cx8 dbus de dell directfb disablexmb divx djvu dri dts dvb dvd
dvdnav dvdr dvdread dvi effects egl emboss enca encode escreen esd est etwin
evo exif fam fasttrack fbcon fbsplash ffmpeg fftw firefox flac fluidsynth
fontconfig fortran fortran95 fpu ftp fusion fxsr gd gdbm gif gimp gimpprint
ginac git glitz glx gmail gnome-print gnutella gphoto2 gpm grammar graphlcd
gstreamer gtk hal hfs httpd i8x0 ibam icecat iceweasel iconv id3tag idle
ieee1394 imagemagick imap imlib insecure-patches ipv6 irman isdnlog jabber jack
java javascript jbig jingle jpeg jpeg2k laptop lcms libcaca libclamav libnotify
libv4l2 libwww lirc lm_sensors mad magic matroska mca mce midi mikmod mime mmx
mmxext mod motif mp3 mp4 mp4live mpeg mplayer mschap msr mtrr mudflap musepack
ncurses new-login nls nptl nptlonly ntfs oav ogg opengl openmp optimisememory
pam pat pbe pcmcia pcre pda pdf pentium perl pge plugin plugins png portaudio
ppds pppd print pse python qt-static qt3support quicktime rar readline
realmedia reflection reiser4 reiserfs samba scanner scrobbler sdl sep session
shorten smartcard sndfile sound sounds speex spell spl sqlite ss sse sse2 ssl
startup-notification stream subversion svg svga sysfs taglib tcl tcpd tga
theora threads tiff timidity tm tm2 trayicon truetype tsc tta unicode up upnp
usb utf8 v4l v4l2 vcd vidix vlm vme vorbis vorbis-psy wavpack wifi win32codecs
wireshark wlan wma wmf wmp wxwindows x11vnc x264 x86 xanim xcb xcomposite xface
xinerama xml xorg xosd xpm xprint xulrunner xv xvid xvidix xvmc 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 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
synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780
lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru en" USERLAND="GNU"
VIDEO_CARDS="radeon"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK,
PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 4 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-03-07 14:21:09 UTC
bo, when you also attach the build.log like SpanKY requested, I gonna reopen the bug for you :)
Comment 5 bo 2009-03-07 18:27:58 UTC
begin with version 1.1.14 wine fails to build with such error:


"../../tools/wrc/wrc --nostdinc -I. -I. -I../../include -I../../include 
-D__WINESRC__ -D_KERNEL32_  -fokernel.res kernel.rc
Source: �Q�� a4 51 a4 eb
Unicode:  5341 6708
Back: �̤� a2 cc a4 eb
nls/cht.nls:84:16: Error: String �Q�� does not convert identically to
Unicode and back in codepage 950. Try using a Unicode string instead"
Comment 6 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-03-07 19:35:31 UTC
That's not what I mean, bo. 
Compile wine and wait until if fails. Then look into the errormessages provided by portage. There sould be mentioned a file called "build.log". Please attach this file to this bug report. And please make sure, the file is completely in english language.
Comment 7 bo 2009-03-07 21:50:49 UTC
Created attachment 184280 [details]
wine-1.1.16 build.log

sorry... here is log
Comment 8 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-03-07 22:57:19 UTC
(In reply to comment #7)
> Created an attachment (id=184280) [edit]
> wine-1.1.16 build.log
> 
> sorry... here is log

Thank you :)

Reopening...
Comment 9 Robert Bradbury 2009-03-08 01:59:19 UTC
Created attachment 184298 [details]
Emerge --info for failing wine build 1.1.16.

Here is the emerge --info for attempting to build wine 1.1.16.
Comment 10 Robert Bradbury 2009-03-08 02:03:16 UTC
Created attachment 184299 [details]
emerge output of wine which fails to build

Thies is the emerge output from attempting to emerge wine 1.1.16.
Comment 11 Robert Bradbury 2009-03-08 02:18:54 UTC
Created attachment 184304 [details]
Build.log for wine 1.1.16

The is the build.log for attempting to build wine 1.1.16.

It should be noted that a large number of language (locale) specific files have been deleted from this system.  They are completely unnecessary on an English only system.  Wine should be able to be build on such a system (or for that matter on a Russian only or a French only, etc. system).   Though I expect that the error is not a language specific problem if as one can convert text into one language one should be able to convert it back.  (Or else one should get a reasonable error indicating that the back-conversion files are unavailable.)
Comment 12 Stephan Gsell 2009-03-10 18:17:24 UTC
Just wanted to add a "me too" here on ~amd64. 
Don't know if that is important, but my system runs in German.
Comment 13 Stephan Gsell 2009-03-15 20:40:43 UTC
Created attachment 185112 [details]
emerge output with the compile error

The problem remains even with wine-1.1.17.
Comment 14 Jo Inge 2009-03-16 16:05:36 UTC
This diff fixed it for me with Wine-1.1.17:

http://source.winehq.org/git/wine.git/?a=commitdiff;h=6d0a0fb1820d80cd2b3fd643973329561848e8c1
Comment 15 bo 2009-03-26 18:47:18 UTC
(In reply to comment #14)
> This diff fixed it for me with Wine-1.1.17:
> 
> http://source.winehq.org/git/wine.git/?a=commitdiff;h=6d0a0fb1820d80cd2b3fd643973329561848e8c1
> 

It works for me too
Comment 16 SpanKY gentoo-dev 2009-03-28 10:45:23 UTC
thanks for testing ... wine-1.1.18 is in the tree now