having a tr_TR.UTF-8 locale creates problems during compile

Bug #962880 reported by Emre Ersin
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
QEMU
Fix Released
Undecided
Stefan Weil

Bug Description

Default locale;

/opt/test/qemu-1.0.1# locale
LANG=tr_TR.UTF-8
LC_CTYPE="tr_TR.UTF-8"
...
LC_IDENTIFICATION="tr_TR.UTF-8"
LC_ALL=
------------------
./configure && make
.
.
.
/opt/test/qemu-1.0.1/vl.c: In function 'main':
/opt/test/qemu-1.0.1/vl.c:2248: hata: 'CONFIG_QEMU_CONFDIR' bildirilmemiş (bu işlevde ilk kullanımı)
/opt/test/qemu-1.0.1/vl.c:2248: hata: (Bildirilmemiş her betimleyici görüldüğü her işlev
/opt/test/qemu-1.0.1/vl.c:2248: hata: için sadece bir kez raporlanır.)
/opt/test/qemu-1.0.1/vl.c:2248: hata: expected ')' before string constant
/opt/test/qemu-1.0.1/vl.c:3090: hata: 'CONFIG_QEMU_DATADIR' bildirilmemiş (bu işlevde ilk kullanımı)
make[1]: *** [vl.o] Hata 1
make: *** [subdir-libhw64] Hata 2
------------------
if we examine the config-host.h (look at the "i" characters)

#define CONFIG_QEMU_PREFiX "/usr/local"
#define CONFIG_QEMU_BiNDiR "/usr/local/bin"
#define CONFIG_QEMU_LiBDiR "/usr/local/lib"
#define CONFIG_QEMU_iNCLUDEDiR "/usr/local/include"
#define CONFIG_QEMU_MANDiR "/usr/local/share/man"
#define CONFIG_QEMU_DATADiR "/usr/local/share/qemu"
#define CONFIG_QEMU_SYSCONFDiR "/usr/local/etc"
#define CONFIG_QEMU_DOCDiR "/usr/local/share/doc/qemu"
#define CONFIG_QEMU_CONFDiR "/usr/local/etc/qemu"
-------------------

changing LC_ALL and LC_LANG to POSIX (C) solves the problem.

Revision history for this message
Stefan Weil (ubuntu-weilnetz) wrote :

This should be fixed with the appended patch - please test.

Changed in qemu:
assignee: nobody → Stefan Weil (ubuntu-weilnetz)
Revision history for this message
Stefan Weil (ubuntu-weilnetz) wrote :
Changed in qemu:
status: New → Confirmed
Revision history for this message
Stefan Weil (ubuntu-weilnetz) wrote :

This was fixed in git master with commit bb55b712e8dc4d4eb515144d5c26798fea178cba.

Changed in qemu:
status: Confirmed → Fix Committed
Aurelien Jarno (aurel32)
Changed in qemu:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.