Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 237119 - x11-base/xorg-server-1.5.x - xf86DefModeSet.c:149: UYARI: ('xf86DefaultModes[24].SynthClock' için near ilklendirme)
Summary: x11-base/xorg-server-1.5.x - xf86DefModeSet.c:149: UYARI: ('xf86DefaultModes[...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-09 02:39 UTC by Gürkan
Modified: 2008-10-20 11:03 UTC (History)
0 users

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


Attachments
xorg-server build log (build.log,854.03 KB, text/plain)
2008-09-09 19:19 UTC, Gürkan
Details
auto generator for xf86DefModeSet.c file (modeline2c.awk,3.46 KB, text/plain)
2008-10-16 16:30 UTC, Gürkan
Details
xf86DefModeSet.c the evil file (xf86DefModeSet.c,10.63 KB, text/plain)
2008-10-16 16:32 UTC, Gürkan
Details
successful compilation file with LC_ALL="C" (lang_en-xf86DefModeSet.c,10.69 KB, text/plain)
2008-10-17 08:50 UTC, Gürkan
Details
patched compilation build log (build.log,858.04 KB, text/plain)
2008-10-18 08:12 UTC, Gürkan
Details
new build log (build.log,858.10 KB, text/plain)
2008-10-18 09:36 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-09-09 02:39:25 UTC
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
Comment 1 Gilles Dartiguelongue (RETIRED) gentoo-dev 2008-09-09 06:32:48 UTC
which version of flex do you have ? could you try with latest unstable ?
Comment 2 Gürkan 2008-09-09 14:54:19 UTC
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)
Comment 3 Rémi Cardona (RETIRED) gentoo-dev 2008-09-09 15:10:21 UTC
Could you post the full build.log as suggested by emerge?

Thanks
Comment 4 Gürkan 2008-09-09 19:19:39 UTC
Created attachment 165051 [details]
xorg-server build log
Comment 5 Serkan Barut 2008-09-13 12:37:30 UTC
I can confirm this with locale and arch ~. If you need emerge --info and other logs I will post them.
Comment 6 Serkan Barut 2008-09-13 12:38:37 UTC
(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*
Comment 7 Rémi Cardona (RETIRED) gentoo-dev 2008-09-13 13:44:39 UTC
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
Comment 8 Gürkan 2008-09-13 16:58:32 UTC
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

Comment 9 Gürkan 2008-10-01 06:37:01 UTC
still crashes, version 1.5.1
Comment 10 Gürkan 2008-10-15 11:36:16 UTC
1.5.2 and problem still continues..
Comment 11 Rémi Cardona (RETIRED) gentoo-dev 2008-10-16 09:19:03 UTC
Could you please attach xf86DefModeSet.c here?

Thanks
Comment 12 Gürkan 2008-10-16 16:30:41 UTC
Created attachment 168678 [details]
auto generator for xf86DefModeSet.c file

xf86DefModeSet.c file is autogenerated file by this file, generating while compile..
Comment 13 Gürkan 2008-10-16 16:32:48 UTC
Created attachment 168680 [details]
xf86DefModeSet.c the evil file

it can be a turkish character problem, we've "I??i", exceptions could be "?" and "?" :)
Comment 14 Rémi Cardona (RETIRED) gentoo-dev 2008-10-17 08:01:57 UTC
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
Comment 15 Rémi Cardona (RETIRED) gentoo-dev 2008-10-17 08:20:57 UTC
@base-system, please take a look at comments #12 through #14, I failed to CC you properly.

Thanks :)
Comment 16 Gürkan 2008-10-17 08:50:30 UTC
Created attachment 168778 [details]
successful compilation file with LC_ALL="C"

added :)
Comment 17 Rémi Cardona (RETIRED) gentoo-dev 2008-10-17 13:21:48 UTC
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
Comment 18 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2008-10-17 16:23:19 UTC
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.
Comment 19 Rémi Cardona (RETIRED) gentoo-dev 2008-10-18 00:04:22 UTC
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
Comment 20 Gürkan 2008-10-18 08:12:15 UTC
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 %"
Comment 21 Rémi Cardona (RETIRED) gentoo-dev 2008-10-18 09:17:24 UTC
Could you try cleaning out /var/tmp/portage/* before emerging xorg-server?

Thanks
Comment 22 Gürkan 2008-10-18 09:25:19 UTC
Actually i did "ebuild ... clean" before compile. but now deleted the files manually, same thing, same result :)
Comment 23 Rémi Cardona (RETIRED) gentoo-dev 2008-10-18 09:31:14 UTC
(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
Comment 24 Gürkan 2008-10-18 09:36:24 UTC
Created attachment 168902 [details]
new build log

Here it is..
Comment 25 Rémi Cardona (RETIRED) gentoo-dev 2008-10-19 18:26:46 UTC
Alright, I committed a new patch yesterday but bugzilla was down. Let's hope it works this time.

Please let me know, thanks
Comment 26 Gürkan 2008-10-20 10:50:17 UTC
works here :) thanks..
Comment 27 Rémi Cardona (RETIRED) gentoo-dev 2008-10-20 11:03:58 UTC
Thanks for the follow up, closing fixed.