When i want to emerge xorg-server-1.5.0 with my default locale (Turkish) it crashes. i tried to see English messages for bug report & i've tried LC_ALL="C" emerge, it was successful. Here is the output (it's turkish, have to, but you can see which file & number of line has error) : xf86DefModeSet.c:149: UYARI: ('xf86DefaultModes[24].SynthClock' için near ilklendirme) xf86DefModeSet.c:149: UYARI: skalar ilklendiricide gereğinden fazla öğe xf86DefModeSet.c:149: UYARI: ('xf86DefaultModes[24].SynthClock' için near ilklendirme) xf86DefModeSet.c:149: UYARI: skalar ilklendiricide gereğinden fazla öğe xf86DefModeSet.c:149: UYARI: ('xf86DefaultModes[24].SynthClock' için near ilklendirme) xf86DefModeSet.c:149: UYARI: skalar ilklendiricide gereğinden fazla öğe xf86DefModeSet.c:149: UYARI: ('xf86DefaultModes[24].SynthClock' için near ilklendirme) xf86DefModeSet.c:149: UYARI: skalar ilklendiricide gereğinden fazla öğe xf86DefModeSet.c:149: UYARI: ('xf86DefaultModes[24].SynthClock' için near ilklendirme) xf86DefModeSet.c:149: UYARI: skalar ilklendiricide gereğinden fazla öğe xf86DefModeSet.c:149: UYARI: ('xf86DefaultModes[24].SynthClock' için near ilklendirme) xf86DefModeSet.c:149: UYARI: skalar ilklendiricide gereğinden fazla öğe xf86DefModeSet.c:149: UYARI: ('xf86DefaultModes[24].SynthClock' için near ilklendirme) xf86DefModeSet.c:149: UYARI: skalar ilklendiricide gereğinden fazla öğe xf86DefModeSet.c:149: UYARI: ('xf86DefaultModes[24].SynthClock' için near ilklendirme) xf86DefModeSet.c:149: UYARI: skalar ilklendiricide gereğinden fazla öğe xf86DefModeSet.c:149: UYARI: ('xf86DefaultModes[24].SynthClock' için near ilklendirme) xf86DefModeSet.c:150: hata: geçersiz ilklendirici make[5]: *** [xf86DefModeSet.lo] Hata 1 make[4]: *** [all] Hata 2 make[3]: *** [all-recursive] Hata 1 make[2]: *** [all] Hata 2 make[1]: *** [all-recursive] Hata 1 make: *** [all-recursive] Hata 1 * * ERROR: x11-base/xorg-server-1.5.0 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 3087: Called x-modular_src_compile * environment, line 3885: Called x-modular_src_make * environment, line 3921: Called die * The specific snippet of code: * emake || die "emake failed" * The die message: * emake failed seqizz # locale -a C POSIX tr_TR tr_TR.iso88599 tr_TR.utf8 turkish thanks.. Reproducible: Always Steps to Reproduce: seqizz # emerge --info Portage 2.2_rc8 (default/linux/x86/2008.0, gcc-4.3.1, glibc-2.8_p20080602-r0, 2.6.27-rc5-zen2 i686) ================================================================= System uname: Linux-2.6.27-rc5-zen2-i686-Intel-R-_Core-TM-2_Duo_CPU_T7100_@_1.80GHz-with-glibc2.0 Timestamp of tree: Tue, 09 Sep 2008 01:00:01 +0000 ccache version 2.4 [enabled] app-shells/bash: 3.2_p39 dev-java/java-config: 1.3.7, 2.1.6-r1 dev-lang/python: 2.5.2-r7 dev-util/ccache: 2.4-r7 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 9999 sys-apps/sandbox: 1.2.18.1-r3 sys-devel/autoconf: 2.13, 2.62-r1 sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.26 ACCEPT_KEYWORDS="x86 ~x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O3 -march=native -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=native -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="ccache distlocks parallel-fetch preserve-libs 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/lapis /usr/local/portage/layman/arcon" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X acl acpi alsa bash-completion 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 real 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
which version of flex do you have ? could you try with latest unstable ?
Latest, as you see system is ~ And almost all packages has their latest version [I] sys-devel/flex Available versions: 2.5.4a-r6 2.5.33-r2 2.5.33-r3 (~)2.5.35 {build nls static} Installed versions: 2.5.35(01:18:00 19-08-2008)(nls -static)
Could you post the full build.log as suggested by emerge? Thanks
Created attachment 165051 [details] xorg-server build log
I can confirm this with locale and arch ~. If you need emerge --info and other logs I will post them.
(In reply to comment #5) > I can confirm this with locale and arch ~. If you need emerge --info and other > logs I will post them. > *with the same locale*
Could you guys point out which line is the actual error, and if you could try to translate it... that would somewhat help us ;) Thanks
i'm not sure, gcc outputs has very different (strange) translation in Turkish locale. maybe this helps: geçersiz ilklendirme = invalid initializer hata = error uyarı = warning
still crashes, version 1.5.1
1.5.2 and problem still continues..
Could you please attach xf86DefModeSet.c here? Thanks
Created attachment 168678 [details] auto generator for xf86DefModeSet.c file xf86DefModeSet.c file is autogenerated file by this file, generating while compile..
Created attachment 168680 [details] xf86DefModeSet.c the evil file it can be a turkish character problem, we've "I??i", exceptions could be "?" and "?" :)
Gürkan, Could I ask one more favor? :) Could you "intercept" this same file (xf86DefModeSet.c) but when building with LANG=C or en_US? I want to compare the files as they are on your system, to make sure I'm not forgetting something. For now, it looks likes there are missing bits and pieces for the interlaced mode: /* 1024x768i @ 43Hz (industry standard) hsync: 35.5kHz */ @base-system, could you guys take a look at this "awk"ward (hur hur hur) problem ;) Thanks
@base-system, please take a look at comments #12 through #14, I failed to CC you properly. Thanks :)
Created attachment 168778 [details] successful compilation file with LC_ALL="C" added :)
Indeed... here's the bug (but is it really a bug?): $ echo "" | LANG=C gawk '{ print tolower("Interlace") }' interlace $ echo "" | LANG=tr_TR.UTF-8 gawk '{ print tolower("Interlace") }' ınterlace I'll try to force LANG=C in xorg-server's makefile for the awk rule. Thanks
remi: it's not a base-system bug, it's that you need to force LANG for generation of the file, because tr_TR has some "unique" rules on lowercasing I.
Alright, I've just committed a patch that should solve the issue for you, just resync and you should be fine. Please let me know if the patch fixes the bug for you. Thanks
Created attachment 168888 [details] patched compilation build log error again :( i can see the patch on line 9 translation of line 6190 = "initialization makes integer from pointer without a cast" others = "near initialization for %"
Could you try cleaning out /var/tmp/portage/* before emerging xorg-server? Thanks
Actually i did "ebuild ... clean" before compile. but now deleted the files manually, same thing, same result :)
(In reply to comment #22) > Actually i did "ebuild ... clean" before compile. but now deleted the files > manually, same thing, same result :) > Could you please attach the new build.log? Thanks
Created attachment 168902 [details] new build log Here it is..
Alright, I committed a new patch yesterday but bugzilla was down. Let's hope it works this time. Please let me know, thanks
works here :) thanks..
Thanks for the follow up, closing fixed.