Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 250155 - app-admin/sudo-1.6.9_p19 can't emerge with Turkish locale
Summary: app-admin/sudo-1.6.9_p19 can't emerge with Turkish locale
Status: VERIFIED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Diego Elio Pettenò (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-07 11:28 UTC by Gürkan
Modified: 2009-02-23 14:21 UTC (History)
1 user (show)

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


Attachments
tr locale emerge error output (emerge_output.txt,14.02 KB, text/plain)
2008-12-07 11:29 UTC, Gürkan
Details
Build log (build.log,12.88 KB, text/plain)
2008-12-07 11:35 UTC, Gürkan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gürkan 2008-12-07 11:28:59 UTC
when i try with LC_ALL="C" emerge sudo, it's successful. here is the emerge --info and locale info. Emerge output is too long to be a comment, adding as attachment.

Reproducible: Always




# emerge --info
Portage 2.1.6_rc3 (default/linux/x86/2008.0, gcc-4.3.2, glibc-2.8_p20080602-r0, 2.6.28-rc3-zen1 i686)
=================================================================
System uname: Linux-2.6.28-rc3-zen1-i686-Intel-R-_Core-TM-2_Duo_CPU_T7100_@_1.80GHz-with-glibc2.0
Timestamp of tree: Sun, 07 Dec 2008 00:30:04 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p48
dev-java/java-config: 1.3.7, 2.1.6-r1
dev-lang/python:     2.5.2-r8
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.6.2
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.3.0-r1
sys-apps/sandbox:    1.2.18.1-r3
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
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=core2 -mtune=core2 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
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/terminfo /etc/udev/rules.d"
CXXFLAGS="-O3 -march=core2 -mtune=core2 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.qubenet.net/mirror/gentoo/ http://gentoo.tiscali.nl/ http://gentoo.mneisen.org/"
LANG="tr_TR.UTF-8"
LC_ALL="tr_TR.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -Wl,--sort-common -s"
LINGUAS="tr"
MAKEOPTS="-j4 -s "
PKGDIR="/usr/portage/packages"
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/desktop-effects /usr/local/portage/layman/zen-overlay /usr/local/portage/layman/arcon"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl acpi alsa bash-completion bluetooth bzip2 cli cracklib crypt custom-cflags dbus device-mapper disk-partition dri effects fat ffmpeg firefox fortran freetype gdbm gif gimpprint glitz gnome gpm gst gstreamer gtk gtk2 hal iconv icq ipv6 irc isdnlog jabber jfs jpeg laptop lcd lm_sensors midi mjpeg mmx mng moznocompose moznoirc moznomail moznopango mp3 msn mudflap nautilus ncurses network networkmanager nls nptl nptlonly ntfs ogg opengl openmp pam pcre pdf perl pidgin plugin png pppd python rar readline reflection reiser4 reiserfs rss ruby session spl sqlite3 sse sse2 ssl ssse3 startup-notification subversion svg sysfs tcpd theora tiff udev unicode usb v4l v4l2 vorbis wifi win32codecs x86 xcb xfs xine xorg yahoo zlib zsh-completion" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="tr" USERLAND="GNU" VIDEO_CARDS="nv nvidia vesa vga"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


# locale -a
C
POSIX
tr_TR
tr_TR.iso88599
tr_TR.utf8
turkish
Comment 1 Gürkan 2008-12-07 11:29:54 UTC
Created attachment 174539 [details]
tr locale emerge error output
Comment 2 Gürkan 2008-12-07 11:35:02 UTC
Created attachment 174540 [details]
Build log

i hate locale errors, they have to be non-english :)
Some translations for you, i hope this helps..

Bitmemi? i?ler için bekliyor.... = Waiting for unfinished jobs...
Hata = Error
ld ç?k?? durumu 1 ile döndü = ld returned 1 exit status
Comment 3 Diego Elio Pettenò (RETIRED) gentoo-dev 2008-12-07 17:25:18 UTC
Thanks for reporting, now I just need to find a way to identify what the problem is I guess.

Hmm maybe I should set up a chroot with Turkish CTYPE and English messages.
Comment 4 Gürkan 2008-12-07 20:23:43 UTC
I'm not a programmer, but know my language, and possible errors about that. I did this:

# ebuild /usr/portage/app-admin/sudo/sudo-1.6.9_p19.ebuild clean
# ebuild /usr/portage/app-admin/sudo/sudo-1.6.9_p19.ebuild unpack
# cp /var/tmp/portage/app-admin/sudo-1.6.9_p19/work/sudo-1.6.9p19/check.c Desktop/check.c

edited line 66, renamed rcsid to RCSID, saved..

# cp Desktop/check.c /var/tmp/portage/app-admin/sudo-1.6.9_p19/work/sudo-1.6.9p19/check.c
# ebuild /usr/portage/app-admin/sudo/sudo-1.6.9_p19.ebuild compile

It was successful..

Am i right? or missing something? I hope "ebuild" command does not work with standard C locale by default :)
Comment 5 Gokdeniz Karadag 2009-02-10 11:16:06 UTC
This is probably caused by the infamous Turkish locale problem.
There is a common problem with Turkish "i" variations.
The problem description can be found in 
http://www.i18nguy.com/unicode/turkish-i18n.html

Sudo build script is probably doing some replacements and it is doing it in a locale dependent way.
Comment 6 Diego Elio Pettenò (RETIRED) gentoo-dev 2009-02-23 12:59:36 UTC
Sorry for having let this slip. I'm afraid that the rcsid is not hte problem since the same string is present in a lot of other files too, so it would stop it from working everywhere in case.

Can you reproduce the problem with 1.7.0 anyway? Since 1.6.9 is gone.
Comment 7 Gokdeniz Karadag 2009-02-23 13:35:40 UTC
Hi, 1.7.0 compiles fine with following locale settings and use flags.

USE flags -> ldap offensive pam 


locale :
LANG=tr_TR.utf8
LC_CTYPE="tr_TR.utf8"
LC_NUMERIC="tr_TR.utf8"
LC_TIME="tr_TR.utf8"
LC_COLLATE="tr_TR.utf8"
LC_MONETARY="tr_TR.utf8"
LC_MESSAGES="tr_TR.utf8"
LC_PAPER="tr_TR.utf8"
LC_NAME="tr_TR.utf8"
LC_ADDRESS="tr_TR.utf8"
LC_TELEPHONE="tr_TR.utf8"
LC_MEASUREMENT="tr_TR.utf8"
LC_IDENTIFICATION="tr_TR.utf8"
LC_ALL=tr_TR.utf8

Comment 8 Gürkan 2009-02-23 14:17:29 UTC
Yes, now complied succesful (with only pam use flag and same locale settings). There is something different with RCSID now :\ But seems fixed.. :)
Comment 9 Diego Elio Pettenò (RETIRED) gentoo-dev 2009-02-23 14:21:56 UTC
Marking closed then, thanks :)