Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 66990 - /etc/X11/app-defaults/XOrgCfg created incorrectly in xorg-x11-6.8.2-r6 when using gcc-3.4.4-r1
Summary: /etc/X11/app-defaults/XOrgCfg created incorrectly in xorg-x11-6.8.2-r6 when u...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal minor (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-10 09:41 UTC by Barry Schwartz
Modified: 2006-04-19 21:19 UTC (History)
1 user (show)

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


Attachments
XOrgCfg generated with gcc-3.3.x (XOrgCfg,62.36 KB, text/plain)
2004-10-10 09:42 UTC, Barry Schwartz
Details
XOrgCfg generated with gcc-3.4.2-r2 (._cfg0000_XOrgCfg,62.30 KB, text/plain)
2004-10-10 09:43 UTC, Barry Schwartz
Details
diff -Naurb /etc/X11/app-defaults/XOrgCfg /etc/X11/app-defaults/._cfg0000_XOrgCfg (diff,1.87 KB, text/plain)
2005-12-29 10:32 UTC, Denilson Sá Maia
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Barry Schwartz 2004-10-10 09:41:25 UTC
This happened to me during a remerging of xorg-x11-6.8.0-r1 when changing to the gcc-3.4.2-r2 compiler.  I already had that xorg version installed using gcc-3.3.x.  Wherever my older /etc/X11R6/app-defaults/XOrgCfg file has "\ " at the end of a line, the new XOrgCfg apparently removes the "\ " and instead joins lines.  The older file, no doubt, is the correct one.

A change in C preprocessor behavior seems to be involved.

Reproducible: Didn't try
Steps to Reproduce:
1. USE_SPECS=vanilla ACCEPT_KEYWORDS="~amd64" emerge xorg-x11
2.
3.

Actual Results:  
See "Details".

Expected Results:  
No difference between the older XOrgCfg and the newer one.

Here is (what I believe to be) a relevant portion of the portage log:

rm -f XOrgCfg.ad
cpp -traditional  -D__VENDORNAME__="X.Org" <XOrgCfg.cpp | sed -e '/^#  *[0-9][0-
9]*  *.*$/d'                    -e '/^#line  *[0-9][0-9]*  *.*$/d'
        -e '/^[         ]*XCOMM$/s/XCOMM/#/'                    -e '/^[
]*XCOMM[^a-zA-Z0-9_]/s/XCOMM/#/'                        -e '/^[         ]*XHASH/s/
XHASH/#/'                     -e '/\@\@$/s/\@\@$/\\/' >XOrgCfg.ad
<stdin>:530: warning: backslash and newline separated by space
<stdin>:1182: warning: backslash and newline separated by space
<stdin>:1183: warning: backslash and newline separated by space
<stdin>:1184: warning: backslash and newline separated by space
<stdin>:1185: warning: backslash and newline separated by space
<stdin>:1186: warning: backslash and newline separated by space
<stdin>:1187: warning: backslash and newline separated by space
<stdin>:1188: warning: backslash and newline separated by space
<stdin>:1189: warning: backslash and newline separated by space
<stdin>:1190: warning: backslash and newline separated by space
<stdin>:1191: warning: backslash and newline separated by space
<stdin>:1192: warning: backslash and newline separated by space
<stdin>:1193: warning: backslash and newline separated by space
<stdin>:1194: warning: backslash and newline separated by space
<stdin>:1195: warning: backslash and newline separated by space
<stdin>:1196: warning: backslash and newline separated by space
<stdin>:1197: warning: backslash and newline separated by space
install -c -m 0444 XOrgCfg.ad /var/tmp/portage/xorg-x11-6.8.0-r1/image//usr/
X11R6/lib/X11/app-defaults/XOrgCfg


Here is the "emerge info":

Gentoo Base System version 1.4.16
Portage 2.0.51_rc7 (default-linux/amd64/2004.3, gcc-hardened, glibc-2.3.4.
20040808-r1, 2.6.7-hardened-r7 x86_64)
=================================================================
System uname: 2.6.7-hardened-r7 x86_64 AMD Athlon(tm) 64 Processor 3400+
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.92.0.2
Headers:  sys-kernel/linux26-headers-2.6.7-r4
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CFLAGS="-pipe -O2 -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.
2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown 
/usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/
share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/
generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/
qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-pipe -O2 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distlocks sandbox sfperms strict userpriv 
usersandbox"
GENTOO_MIRRORS=" ftp://mirrors.tds.net/gentoo ftp://ftp.ussg.iu.edu/pub/linux/
gentoo http://gentoo.eliteitminds.com http://gentoo.oregonstate.edu  http://www.
ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/bmg-main /usr/local/bmg-gnome-
current"
SYNC="rsync://localhost/gentoo-portage"
USE="amd64 X X509 aalib acl acpi alsa arts artswrappersuid audiofile berkdb 
bitmap-fonts bonobo cap cdr chroot crudhard crypt cscope cups curl dvd dvdr emacs 
encode erandom esd f77 fam flac foomaticdb gdbm gif gimpprint gmp gnome gpm 
gstreamer gtk gtk2 gtkhtml guile imagemagick imlib innodb jack jbig jp2 jpeg lcms 
libwww lzw lzw-tiff mad maildir mbox mikmod mng motif mozcalendar mozilla mozp3p 
mozsvg mozxmlterm multilib mysql nas ncurses nntp nptl objc oggvorbis opengl oss 
pam pcre pdflib perl pic pie png portaudio ppds python readline scanner sdl skey 
slang spell sqlite ssl svg tcltk tcpd tetex tiff truetype usb userlocales vim-
with-x wmf xface xml xml2 xmms xpm xprint xrandr xv zlib"
Comment 1 Barry Schwartz 2004-10-10 09:42:30 UTC
Created attachment 41464 [details]
XOrgCfg generated with gcc-3.3.x
Comment 2 Barry Schwartz 2004-10-10 09:43:31 UTC
Created attachment 41465 [details]
XOrgCfg generated with gcc-3.4.2-r2
Comment 3 Denilson Sá Maia 2005-12-29 10:27:57 UTC
I can reproduce this bug, with more or less the exact same conditions (updating from gcc-3.3 to 3.4, and using "stable x86" packages).
Comment 4 Denilson Sá Maia 2005-12-29 10:32:38 UTC
Created attachment 75745 [details]
diff -Naurb /etc/X11/app-defaults/XOrgCfg /etc/X11/app-defaults/._cfg0000_XOrgCfg

There are about 18 lines incorrectly joined.
Comment 5 Donnie Berkholz (RETIRED) gentoo-dev 2006-01-02 22:22:13 UTC
Could I ask why you're still using that old xorg version? Please reproduce with 6.8.2 and reopen if it's still a problem.
Comment 6 Denilson Sá Maia 2006-01-04 07:26:35 UTC
No, this still happens with xorg-x11-6.8.2-r6 (sorry, I should have mentioned this in my comment).

I had xorg-x11-6.8.2-r6 when I updated from gcc-3.3.6 to gcc-3.4.4-r1.

So, yes, this bug is still valid, and still happens on latest stable versions. Please reopen it.
Comment 7 Donnie Berkholz (RETIRED) gentoo-dev 2006-01-04 08:49:58 UTC
k
Comment 8 Donnie Berkholz (RETIRED) gentoo-dev 2006-04-19 21:19:27 UTC
This file is no longer installed in modular X, and monolithic X is no longer receiving non-security fixes.