<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>130508</bug_id>
          
          <creation_ts>2006-04-19 12:06 0000</creation_ts>
          <short_desc>xorg-x11-6.9.0 compile error with linux-headers-2.6.16</short_desc>
          <delta_ts>2006-05-26 08:01:37 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Server</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>martin.k@wp.pl</reporter>
          <assigned_to>plasmaroo@gentoo.org</assigned_to>
          <cc>avuton@gmail.com</cc>
    
    <cc>simon.strandman@telia.com</cc>
    
    <cc>x11@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>martin.k@wp.pl</who>
            <bug_when>2006-04-19 12:06:23 0000</bug_when>
            <thetext>While emerging xorg-x11-6.9.0 it crashes with:

DX_BYTE_ORDER=X_LITTLE_ENDIAN                           -DXORG_VERSION_CURRENT=&quot;(((6) * 10000000) + ((9) * 100000) + ((0) * 1000) + 0)&quot; -DNDEBUG   -DFUNCPROTO=15 -DNARROWPROTO   -DHAS_MTRR_SUPPORT -DUSESTDRES  -DDO_OS_FONTRESTORE -DCHECK_OS_VERSION=1 -DHAVE_SYSV_IPC   lnx_KbdMap.c 
In file included from /usr/include/linux/bitops.h:77, 
                 from /usr/include/asm/cpufeature.h:10, 
                 from /usr/include/asm/processor.h:18, 
                 from /usr/include/linux/prefetch.h:15, 
                 from /usr/include/linux/list.h:5, 
                 from /usr/include/linux/wait.h:21, 
                 from /usr/include/linux/keyboard.h:20, 
                 from lnx_KbdMap.c:111: 
/usr/include/asm/bitops.h:250: error: syntax error before &quot;int&quot; 
In file included from /usr/include/linux/wait.h:25, 
                 from /usr/include/linux/keyboard.h:20, 
                 from lnx_KbdMap.c:111: 
/usr/include/asm/current.h:8: error: syntax error before &quot;struct&quot; 
make[7]: *** [lnx_KbdMap.o] B&amp;#322;&amp;#261;d 1 
make[7]: Leaving directory `/var/tmp/portage/xorg-x11-6.9.0/work/xc/programs/Xserver/hw/xfree86/os-support/linux&apos; 
make[6]: *** [linux] B&amp;#322;&amp;#261;d 2 
make[6]: Leaving directory `/var/tmp/portage/xorg-x11-6.9.0/work/xc/programs/Xserver/hw/xfree86/os-support&apos; 
make[5]: *** [all] B&amp;#322;&amp;#261;d 2 
make[5]: Leaving directory `/var/tmp/portage/xorg-x11-6.9.0/work/xc/programs/Xserver/hw/xfree86&apos; 
make[4]: *** [hw/xfree86] B&amp;#322;&amp;#261;d 2 
make[4]: Leaving directory `/var/tmp/portage/xorg-x11-6.9.0/work/xc/programs/Xserver&apos; 
make[3]: *** [all] B&amp;#322;&amp;#261;d 2 
make[3]: Leaving directory `/var/tmp/portage/xorg-x11-6.9.0/work/xc/programs&apos; 
make[2]: *** [all] B&amp;#322;&amp;#261;d 2 
make[2]: Leaving directory `/var/tmp/portage/xorg-x11-6.9.0/work/xc&apos; 
make[1]: *** [World] B&amp;#322;&amp;#261;d 2 
make[1]: Leaving directory `/var/tmp/portage/xorg-x11-6.9.0/work/xc&apos; 
make: *** [World] B&amp;#322;&amp;#261;d 2 

!!! ERROR: x11-base/xorg-x11-6.9.0 failed. 
Call stack: 
  ebuild.sh, line 1525:   Called dyn_compile 
  ebuild.sh, line 928:   Called src_compile 
  xorg-x11-6.9.0.ebuild, line 153:   Called build 
  xorg-x11-6.9.0.ebuild, line 933:   Called die

emerge --info goes here:

Portage 2.1_pre9-r1 (default-linux/x86/2005.1, gcc-3.4.5, glibc-2.3.6-r3, 2.6.16-ck6 i686)
=================================================================
System uname: 2.6.16-ck6 i686 AMD Athlon(tm) XP 2400+
Gentoo Base System version 1.12.0_pre17
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5-r2, 2.4.2-r1
sys-apps/sandbox:    1.2.11
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r1, 2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.16
ACCEPT_KEYWORDS=&quot;x86&quot;
AUTOCLEAN=&quot;yes&quot;
CBUILD=&quot;i686-pc-linux-gnu&quot;
CFLAGS=&quot;-O2 -march=athlon-xp -fomit-frame-pointer -pipe -msse -mmmx -m3dnow -ftracer&quot;
CHOST=&quot;i686-pc-linux-gnu&quot;
CONFIG_PROTECT=&quot;/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control&quot;
CONFIG_PROTECT_MASK=&quot;/etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/env.d&quot;
CXXFLAGS=&quot;-O2 -march=athlon-xp -pipe -msse -mmmx -m3dnow -fvisibility-inlines-hidden&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
FEATURES=&quot;autoconfig ccache digest distlocks metadata-transfer parallel-fetch sandbox sfperms strict userpriv usersandbox&quot;
GENTOO_MIRRORS=&quot;http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo&quot;
LANG=&quot;pl_PL&quot;
LDFLAGS=&quot;-Wl,-O1 -Wl,--sort-common&quot;
LINGUAS=&quot;pl en&quot;
MAKEOPTS=&quot;-j2&quot;
PKGDIR=&quot;/usr/portage/packages&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR=&quot;/usr/portage&quot;
PORTDIR_OVERLAY=&quot;/usr/local/portage /home/marcin/bmg-main&quot;
SYNC=&quot;rsync://rsync.gentoo.org/gentoo-portage&quot;
USE=&quot;x86 3dnow 3dnowext 7zip X a52 aac alsa apache2 apm arts artswrappersuid asf avi berkdb bitmap-fonts bzip2 cairo cli crypt cups dga directfb dri dts dvd eds emboss encode fbcon ffmpeg flac font-server foomaticdb fortran gd gdbm gif glitz gpm graphviz gstreamer gtk gtk2 hal imagemagick imlib ipv6 isdnlog javascript jpeg kde kdeenablefinal lcms libg++ libwww mad mikmod mmx motif mp3 mpeg musicbrainz mysql nas ncurses nls nptl nptlonly nvidia odbc ogg oggvorbis opengl oss pam pcre pdf pdflib perl png postgres povray pppd python qt quicktime readline reflection scaner sdl session spell spl sqlite sse ssl svg svga sysfs tcpd theora threads tiff truetype truetype-fonts type1-fonts urandom usb vcd vorbis win32codecs wmf xcomposite xine xml xml2 xprint xscreensaver xv xvid xvmc zlib elibc_glibc kernel_linux linguas_pl linguas_en userland_GNU&quot;
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>plasmaroo@gentoo.org</who>
            <bug_when>2006-04-19 14:55:57 0000</bug_when>
            <thetext>Created an attachment (id=84982)
Patch

Please try this patch on /usr/include/linux, should fix.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>martin.k@wp.pl</who>
            <bug_when>2006-04-20 10:01:13 0000</bug_when>
            <thetext>The above patch fixes errors.
Marking this bug as fixed.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>martin.k@wp.pl</who>
            <bug_when>2006-04-21 00:16:26 0000</bug_when>
            <thetext>Reopening the bug untill the patch for linux-headers hits the portage</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>plasmaroo@gentoo.org</who>
            <bug_when>2006-05-26 08:01:37 0000</bug_when>
            <thetext>Fixed in 2.6.16-3.</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>84982</attachid>
            <date>2006-04-19 14:55 0000</date>
            <desc>Patch</desc>
            <filename>fix-130508.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">ZGlmZiAtdXIgbGludXgvY29tcGlsZXItZ2NjMy5oIGxpbnV4L2NvbXBpbGVyLWdjYzMuaAotLS0g
bGludXgvY29tcGlsZXItZ2NjMy5oCTIwMDYtMDQtMTggMTY6MzU6NDcuMDAwMDAwMDAwICswMTAw
CisrKyBsaW51eC9jb21waWxlci1nY2MzLmgJMjAwNi0wNC0xOSAyMjo1Mzo1Ni4wMDAwMDAwMDAg
KzAxMDAKQEAgLTEzLDQgKzEzLDQgQEAKICNkZWZpbmUgX19tdXN0X2NoZWNrCQlfX2F0dHJpYnV0
ZV9fKCh3YXJuX3VudXNlZF9yZXN1bHQpKQogI2VuZGlmCiAKLSNkZWZpbmUgX19hbHdheXNfaW5s
aW5lCQlpbmxpbmUgX19hdHRyaWJ1dGVfXygoYWx3YXlzX2lubGluZSkpCisjZGVmaW5lIF9fYWx3
YXlzX2lubGluZQkJX19pbmxpbmVfXyBfX2F0dHJpYnV0ZV9fKChhbHdheXNfaW5saW5lKSkKZGlm
ZiAtdXIgbGludXgvY29tcGlsZXItZ2NjNC5oIGxpbnV4L2NvbXBpbGVyLWdjYzQuaAotLS0gbGlu
dXgvY29tcGlsZXItZ2NjNC5oCTIwMDYtMDQtMTggMTY6MzU6NDcuMDAwMDAwMDAwICswMTAwCisr
KyBsaW51eC9jb21waWxlci1nY2M0LmgJMjAwNi0wNC0xOSAyMjo1NDoxOC4wMDAwMDAwMDAgKzAx
MDAKQEAgLTE1LDQgKzE1LDQgQEAKICNkZWZpbmUgX19hdHRyaWJ1dGVfdXNlZF9fCV9fYXR0cmli
dXRlX18oKF9fdXNlZF9fKSkKICNkZWZpbmUgX19tdXN0X2NoZWNrIAkJX19hdHRyaWJ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