Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 245095 - x11-drivers/xf86-video-intel-2.5.0 - /usr/include/X11/Xmd.h:152: error: conflicting types for 'CARD32'
Summary: x11-drivers/xf86-video-intel-2.5.0 - /usr/include/X11/Xmd.h:152: error: confl...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
: 248282 249410 251776 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-10-31 20:01 UTC by Stefan Behte (RETIRED)
Modified: 2008-12-23 18:46 UTC (History)
16 users (show)

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


Attachments
build.log (build.log,21.14 KB, text/plain)
2008-10-31 20:01 UTC, Stefan Behte (RETIRED)
Details
d.raison build log (intel.build.log,25.31 KB, text/plain)
2008-11-01 13:42 UTC, David Raison
Details
patch removing CARD32 definition (2.5.1-0002-card32.patch,353 bytes, patch)
2008-12-11 15:04 UTC, Johan Euphrosine
Details | Diff
adding CARD32 patch to ebuild PATCHES (xf86-video-intel-2.5.1.ebuild,882 bytes, text/plain)
2008-12-11 15:04 UTC, Johan Euphrosine
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Behte (RETIRED) gentoo-dev Security 2008-10-31 20:01:36 UTC
>>> Emerging (1 of 1) x11-drivers/xf86-video-intel-2.5.0 to /
 * xf86-video-intel-2.5.0.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                                                                       [ ok ]
 * checking ebuild checksums ;-) ...                                                                                                                    [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                                   [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                                  [ ok ]
 * checking xf86-video-intel-2.5.0.tar.bz2 ;-) ...                                                                                                      [ ok ]
>>> Unpacking source...
 * Checking for direct rendering capabilities ...
>>> Unpacking xf86-video-intel-2.5.0.tar.bz2 to /var/tmp/portage/x11-drivers/xf86-video-intel-2.5.0/work
 * Applying 2.5.0-0001-Default-kernel-mode-setting-to-off-add-configure-fl.patch ...                                                                    [ ok ]
 * Applying 2.5.0-0002-clean-up-man-pages-generation-and-installation.patch ...                                                                         [ ok ]
 * Applying 2.5.0-0003-use-standard-automake-macros-for-handling-symlinks.patch ...                                                                     [ ok ]
 * Applying 2.5.0-0004-add-a-configure-switch-for-pre-2.0-compatibility-sym.patch ...                                                                   [ ok ]
 * Running eautoreconf in '/var/tmp/portage/x11-drivers/xf86-video-intel-2.5.0/work/xf86-video-intel-2.5.0' ...
 * Running aclocal ...                                                                                                                                  [ ok ]
 * Running libtoolize --copy --force --automake ...                                                                                                     [ ok ]
 * Running aclocal ...                                                                                                                                  [ ok ]
 * Running autoconf ...                                                                                                                                 [ ok ]
 * Running autoheader ...                                                                                                                               [ ok ]
 * Running automake --add-missing --copy --foreign ...                                                                                                  [ ok ]
 * Running elibtoolize in: xf86-video-intel-2.5.0
 *   Applying portage-1.5.10.patch ...
 *   Applying sed-1.5.6.patch ...
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/x11-drivers/xf86-video-intel-2.5.0/work/xf86-video-intel-2.5.0 ...
 * econf: updating xf86-video-intel-2.5.0/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating xf86-video-intel-2.5.0/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --prefix=/usr --datadir=/usr/share --enable-dri --disable-symlinks --build=i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
[...]
 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I/usr/include/xorg -I/usr/include/drm -I/usr/include/xorg -I/usr/include/drm -I/usr/include/X11/dri -I../../src -DTRUE=1 -DFALSE=0 -O2 -march=pentium-m -pipe -fomit-frame-pointer -MT libIntelXvMC_la-intel_batchbuffer.lo -MD -MP -MF .deps/libIntelXvMC_la-intel_batchbuffer.Tpo -c intel_batchbuffer.c  -fPIC -DPIC -o .libs/libIntelXvMC_la-intel_batchbuffer.o
mv -f .deps/libIntelXvMC_la-intel_batchbuffer.Tpo .deps/libIntelXvMC_la-intel_batchbuffer.Plo
/bin/sh ../../libtool --tag=CC   --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../..   -I/usr/include/xorg    -I/usr/include/drm   -I/usr/include/xorg   -I/usr/include/drm   -I/usr/include/X11/dri -I../../src -DTRUE=1 -DFALSE=0 -O2 -march=pentium-m -pipe -fomit-frame-pointer -MT libIntelXvMC_la-xf86dri.lo -MD -MP -MF .deps/libIntelXvMC_la-xf86dri.Tpo -c -o libIntelXvMC_la-xf86dri.lo `test -f 'xf86dri.c' || echo './'`xf86dri.c
 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I/usr/include/xorg -I/usr/include/drm -I/usr/include/xorg -I/usr/include/drm -I/usr/include/X11/dri -I../../src -DTRUE=1 -DFALSE=0 -O2 -march=pentium-m -pipe -fomit-frame-pointer -MT libIntelXvMC_la-xf86dri.lo -MD -MP -MF .deps/libIntelXvMC_la-xf86dri.Tpo -c xf86dri.c  -fPIC -DPIC -o .libs/libIntelXvMC_la-xf86dri.o
mv -f .deps/libIntelXvMC_la-xf86dri.Tpo .deps/libIntelXvMC_la-xf86dri.Plo
/bin/sh ../../libtool --tag=CC   --mode=link i686-pc-linux-gnu-gcc -I/usr/include/xorg   -I/usr/include/drm   -I/usr/include/X11/dri -I../../src -DTRUE=1 -DFALSE=0 -O2 -march=pentium-m -pipe -fomit-frame-pointer -version-number 1:0:0 -Wl,-z,lazy -o libIntelXvMC.la -rpath /usr/lib libIntelXvMC_la-intel_xvmc.lo libIntelXvMC_la-intel_xvmc_dump.lo libIntelXvMC_la-i915_xvmc.lo libIntelXvMC_la-intel_batchbuffer.lo libIntelXvMC_la-xf86dri.lo  
i686-pc-linux-gnu-gcc -shared  .libs/libIntelXvMC_la-intel_xvmc.o .libs/libIntelXvMC_la-intel_xvmc_dump.o .libs/libIntelXvMC_la-i915_xvmc.o .libs/libIntelXvMC_la-intel_batchbuffer.o .libs/libIntelXvMC_la-xf86dri.o   -march=pentium-m -Wl,-z -Wl,lazy -Wl,-soname -Wl,libIntelXvMC.so.1 -o .libs/libIntelXvMC.so.1.0.0
(cd .libs && rm -f libIntelXvMC.so.1 && ln -s libIntelXvMC.so.1.0.0 libIntelXvMC.so.1)
(cd .libs && rm -f libIntelXvMC.so && ln -s libIntelXvMC.so.1.0.0 libIntelXvMC.so)
creating libIntelXvMC.la
(cd .libs && rm -f libIntelXvMC.la && ln -s ../libIntelXvMC.la libIntelXvMC.la)
make[4]: Leaving directory `/var/tmp/portage/x11-drivers/xf86-video-intel-2.5.0/work/xf86-video-intel-2.5.0/src/xvmc'
Making all in bios_reader
make[4]: Entering directory `/var/tmp/portage/x11-drivers/xf86-video-intel-2.5.0/work/xf86-video-intel-2.5.0/src/bios_reader'
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../..   -I/usr/include/xorg    -I/usr/include/drm   -Wall -Wpointer-arith -Wstrict-prototypes       -Wmissing-prototypes -Wmissing-declarations   -Wnested-externs -fno-strict-aliasing -I/usr/include/xorg -DREG_DUMPER -O2 -march=pentium-m -pipe -fomit-frame-pointer -MT bios_reader.o -MD -MP -MF .deps/bios_reader.Tpo -c -o bios_reader.o bios_reader.c
In file included from /usr/include/xorg/vdif.h:24,
                 from /usr/include/xorg/edid.h:15,
                 from bios_reader.c:45:
/usr/include/X11/Xmd.h:152: error: conflicting types for 'CARD32'
bios_reader.c:43: error: previous declaration of 'CARD32' was here
make[4]: *** [bios_reader.o] Error 1
make[4]: Leaving directory `/var/tmp/portage/x11-drivers/xf86-video-intel-2.5.0/work/xf86-video-intel-2.5.0/src/bios_reader'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/x11-drivers/xf86-video-intel-2.5.0/work/xf86-video-intel-2.5.0/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/x11-drivers/xf86-video-intel-2.5.0/work/xf86-video-intel-2.5.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/x11-drivers/xf86-video-intel-2.5.0/work/xf86-video-intel-2.5.0'
make: *** [all] Error 2
 * 
 * ERROR: x11-drivers/xf86-video-intel-2.5.0 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2964:  Called x-modular_src_compile
 *             environment, line 3750:  Called x-modular_src_make
 *             environment, line 3786:  Called die
 * The specific snippet of code:
 *       emake || die "emake failed"
 *  The die message:
 *   emake failed
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/x11-drivers/xf86-video-intel-2.5.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/x11-drivers/xf86-video-intel-2.5.0/temp/environment'.
 * 

 * Messages for package x11-drivers/xf86-video-intel-2.5.0:

 * 
 * ERROR: x11-drivers/xf86-video-intel-2.5.0 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2964:  Called x-modular_src_compile
 *             environment, line 3750:  Called x-modular_src_make
 *             environment, line 3786:  Called die
 * The specific snippet of code:
 *       emake || die "emake failed"
 *  The die message:
 *   emake failed
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/x11-drivers/xf86-video-intel-2.5.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/x11-drivers/xf86-video-intel-2.5.0/temp/environment'.
 * 


Portage 2.1.4.5 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.25-gentoo-r8 i686)
=================================================================
System uname: 2.6.25-gentoo-r8 i686 Intel(R) Pentium(R) M processor 1.60GHz
Timestamp of tree: Fri, 31 Oct 2008 16:00:01 +0000
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.4.4-r14, 2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
dev-util/cmake:      2.4.6-r1
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 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.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium-m -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=pentium-m -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp.gentoo.mesh-solutions.com/gentoo/ http://pandemonium.tiscali.de/pub/gentoo/ ftp://pandemonium.tiscali.de/pub/gentoo/ http://gentoo.intergenia.de "
LANG="de_DE@euro"
LC_ALL="de_DE@euro"
LINGUAS="de"
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi adns alsa arts berkdb cairo cdr cli cracklib crypt cups dri dvd dvdr dvdread eds emboss encode evo fam firefox fortran gdbm gif gpm gstreamer gtk hal iconv imlib ipv6 jpeg kerberos mad midi mikmod mmx mp3 mpeg mtrr mudflap ncurses nls nptl nptlonly nsplugin ogg opengl openmp oss pam pcre pdf perl php png ppds pppd python qt3 qt3support qt4 quicktime readline reflection samba sdl session snmp socks5 spell spl sse sse2 ssl svg tcpd theora threads tiff truetype unicode userlocales utf8 vorbis wifi win32codecs x264 x86 xml xorg xv xvid xvmc zlib" 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="de" USERLAND="GNU" VIDEO_CARDS="fbdev intel i810 vesa vga"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LDFLAGS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Stefan Behte (RETIRED) gentoo-dev Security 2008-10-31 20:01:58 UTC
Created attachment 170422 [details]
build.log
Comment 2 David Raison 2008-11-01 01:03:06 UTC
same here
Comment 3 Stefan Behte (RETIRED) gentoo-dev Security 2008-11-01 02:49:03 UTC
Your emerge --info and build.log, please! :)
Comment 4 David Raison 2008-11-01 13:14:23 UTC
(In reply to comment #3)
> Your emerge --info and build.log, please! :)
> 

Yes, well I was on the brink of doing so, but the trouble is, that I'm not using portage anymore, so emerge --info gives unreliable information.

And AFAI, there's no such thing as --info on paludis. (Well there's --info, but that returns a different set of information. I'll give it a shot though shortly (just remember, that all static information isn't accurate)
Comment 5 David Raison 2008-11-01 13:42:18 UTC
Created attachment 170457 [details]
d.raison build log

This is my build log, I '2>&1'ed it from my paludis output
Comment 6 David Raison 2008-11-01 13:54:38 UTC
(In reply to comment #5)
The following is paludis information:
--
paludis 0.30.3
Paludis build information:
    Compiler:
        CXX:                   i686-pc-linux-gnu-g++ 4.1.2 (Gentoo 4.1.2 p1.1)
        CXXFLAGS:              -O2 -march=prescott -pipe -fomit-frame-pointer
        LDFLAGS:               
        DATE:                  2008-10-11T14:39:25+0200

    Libraries:
        C++ Library:           GNU libstdc++ 20070214

    Reduced Privs:
        reduced_uid:           110
        reduced_uid->name:     paludisbuild
        reduced_uid->dir:      /var/tmp/paludis
        reduced_gid:           451
        reduced_gid->name:     paludisbuild

    Paths:
        DATADIR:               /usr/share
        LIBDIR:                /usr/lib
        LIBEXECDIR:            /usr/libexec
        SYSCONFDIR:            /etc
        PYTHONINSTALLDIR:      /usr/lib/python2.5/site-packages
        RUBYINSTALLDIR:        

Environment:
    Format:                    paludis
    Config dir:                /etc/paludis
    World file:                /var/lib/portage/world

------------
Follows the relevant emerge --info part:
--
Portage 2.1.4.5 (default/linux/x86/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.27-gentoo-r1 i686)
=================================================================
System uname: 2.6.27-gentoo-r1 i686 Genuine Intel(R) CPU T2300 @ 1.66GHz
Timestamp of tree: Sat, 01 Nov 2008 12:45:01 +0000
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.4.4-r13, 2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.5, 1.6.3, 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.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=prescott -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=prescott -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.inode.at/ http://gd.tuwien.ac.at/opsys/linux/gentoo/ ftp://gd.tuwien.ac.at/opsys/linux/gentoo/ "
LANG="en_GB.UTF-8"
LC_ALL="en_GB.UTF-8"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j3"
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"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
Comment 7 Jérôme Poulin 2008-11-02 17:02:10 UTC
On my side I use emerge and get the same exact problem, here's my emerge --info
Build log is almost the same, at least the error is, if you need it I can attach it on request.

MobileCPU ~ # emerge --info
Portage 2.2_rc12 (default/linux/x86/2008.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.27-gentoo-r1 i686)
=================================================================
System uname: Linux-2.6.27-gentoo-r1-i686-Intel-R-_Core-TM-2_Duo_CPU_P8400_@_2.26GHz-with-glibc2.0
Timestamp of tree: Sat, 01 Nov 2008 14:45:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
dev-util/cmake:      2.4.6-r1
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.4_p6, 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.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-Os -march=i686 -mtune=prescott -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
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/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-Os -march=i686 -mtune=prescott -pipe"
DISTDIR="/mnt/portage/archives/distfiles"
FEATURES="distlocks parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.mirrors.tds.net/gentoo http://mirror.datapipe.net/gentoo http://mirror.csclub.uwaterloo.ca/gentoo-distfiles/ http://adelie.polymtl.ca/"
LANG="en_US.ISO-8859-1"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j5"
PKGDIR="/mnt/portage/archives/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="/mnt/portage4/tree"
PORTDIR_OVERLAY="/usr/portage/local/layman/sunrise /usr/portage/local/layman/wschlich-testing /mnt/portage4/local"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="3dnow X a52 aac acl acpi adns aiglx alsa apm arts async audacious avahi bash-completion berkdb bluetooth branding bzip2 cairo caps cdr cli crypt css cups curl dbus device-mapper dga disk-partition divx dmi dri dts dv dvd dvdr dvdread dxr3 eds emboss encode esd evo exif expat fam fbcon fbsplash ffmpeg firefox flac foomaticdb fortran fuse gd gdbm gif gimp glitz gmedia gnome gnome-keyring gnutls gpm gsm gstreamer gtk hal howl-compat hvm iconv ieee1394 imagemagick imlib injection inkjar iproute2 ipv6 isdnlog ithreads java javascript jpeg juju kde kdeenablefinal kerberos kqemu l7filter laptop ldap libcaca libnotify libsamplerate lzo mad mdnsresponder-compat midi mikmod mmap mmx mng mono mp3 mpd mpeg mssql mudflap multicall musepack nano-syntax nautilus ncurses nls nptl nptlonly nsplugin odbc offensive ogg openexr opengl openmp pam pcmcia pcre pdf perl png portaudio ppds pppd pth pulseaudio python qt3 qt3support qt4 quicktime readline real realmedia reflection rss samba scanner screen sdl sensord session sid slang smp snmp speex spell spl sse sse2 ssl startup-notification subversion svg svnserve sysfs tcpd threads tiff tos truetype tta unicode usb v4l v4l2 vcd vim-syntax vorbis wav wavpack webdav wifi win32codecs winbind wma wmf wmp x264 x86 xattr xcb xft xinerama xinetd xml xorg xscreensaver xv xvid xvmc yv12 zeroconf zlib" 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" CAMERAS="canon ptp2" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse vmmouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIRC_DEVICES="atiusb" USERLAND="GNU" VIDEO_CARDS="i128 i740 i810 v4l vesa vga vmware r128 intel"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 8 Rémi Cardona (RETIRED) gentoo-dev 2008-11-03 07:57:02 UTC
Yup yup yup, this bug got fixed a couple of hours ago, I'll backport the patch ASAP.

Thanks :)
Comment 9 David Raison 2008-11-08 15:13:12 UTC
I'm still getting the same error message. (Synced today) Has it been backported by now or not? Thanks
Comment 10 Jérôme Poulin 2008-11-10 04:00:37 UTC
Removing line 43:
typedef uint32_t CARD32;

from src/bios_reader/bios_reader.c in the source makes the package compile, as the error suggest, the same definition of CARD32 is in  /usr/include/X11/Xmd.h at line 52. So I'll try it this way meanwhile.
Comment 11 Jesse Adelman 2008-11-12 00:00:36 UTC
Howdy. Same error here. Recent sync. What's the name of the patch file? Here's what I have:

fuji files # pwd
/usr/portage/x11-drivers/xf86-video-intel/files
fuji files # ls
1.6.5-fix_no_dri.patch
2.1.1-fix_build_without_dri.patch
2.2.1-0001-fixup-pciaccess-version-detect.patch
2.3.2-0001-intel-fix-drm-check.patch
2.4.2-0001-Don-t-allocate-a-pipe-for-hotplug-detection.patch
2.4.2-0002-Disable-render-standby.patch
2.4.2-0003-never-enable-DRI_MM-on-this-branch.patch
2.5.0-0001-Default-kernel-mode-setting-to-off-add-configure-fl.patch
2.5.0-0002-clean-up-man-pages-generation-and-installation.patch
2.5.0-0003-use-standard-automake-macros-for-handling-symlinks.patch
2.5.0-0004-add-a-configure-switch-for-pre-2.0-compatibility-sym.patch
i810.xinf
fuji files #

Thanks.
Comment 12 Rémi Cardona (RETIRED) gentoo-dev 2008-11-12 00:59:29 UTC
Sorry no, this hasn't been fixed and I can't seem to find the patch I had found the other day.

Could you guys tell me which xorg-server you have installed, with which useflags?

Thanks
Comment 13 Peter Alfredsen (RETIRED) gentoo-dev 2008-11-12 13:06:27 UTC
(In reply to comment #12)
> Sorry no, this hasn't been fixed and I can't seem to find the patch I had found
> the other day.

Does upgrading to xproto-7.0.14 do it for anyone?
( bug 246470 )

Comment 14 David Raison 2008-11-15 17:10:16 UTC
you mean the one that's not even in portage, right?

[I] x11-proto/xproto
     Available versions:  7.0.10 ~7.0.12 ~7.0.13

Xorg-server and useflags:

hyperion ~ # eix xorg-server
[I] x11-base/xorg-server
   Installed versions:  1.3.0.0-r6(04:17:30 10/27/08)(dri input_devices_evdev input_devices_keyboard input_devices_mouse ipv6 nptl video_cards_intel video_cards_vesa xorg
Comment 15 Balint Dobai-Pataky 2008-11-21 14:19:43 UTC
i made my xproto-7.0.14 ebuild, installed fine, but the xf86-video-intel-2.5 still has the:
Making all in bios_reader
In file included from /usr/include/xorg/vdif.h:24,
                 from /usr/include/xorg/edid.h:15,
                 from bios_reader.c:45:
/usr/include/X11/Xmd.h:152: error: conflicting types for 'CARD32'
bios_reader.c:43: error: previous declaration of 'CARD32' was here
make[4]: *** [bios_reader.o] Error 1
make[4]: *** Waiting for unfinished jobs....
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Comment 16 ProTech 2008-11-21 20:53:52 UTC
I have the same problem with 2.5.1 (and 2.5.0).

emerge --info:
Portage 2.1.4.5 (default/linux/x86/2008.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.25-gentoo-r9 i686)
=================================================================
System uname: 2.6.25-gentoo-r9 i686 Intel(R) Pentium(R) M processor 1.70GHz
Timestamp of tree: Fri, 21 Nov 2008 19:45:01 +0000
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.5.2-r7
dev-util/cmake:      2.4.6-r1
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.4_p6, 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.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium-m -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=pentium-m -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer parallel-fech sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.fsn.hu/pub/linux/distributions/gentoo http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="hu en de"
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/portage/local/layman/protech"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acpi alsa bash-completion berkdb bluetooth branding bzip2 cairo cdr cli cracklib crypt cups dbus doc dri dts dv dvd dvdr dvdread eds emboss encode evo fam ffmpeg flac freetype gdbm gif glitz gnome gphoto2 gpm gstreamer gtk hal iconv ipv6 isdnlog java javamail javascript jce jpeg kerberos libnotify mad matroska midi mikmod mmx mono mp3 mpeg mudflap ncurses nls nptl nptlonly ogg opengl openmp pam pcre pdf perl png ppds pppd python qt3support quicktime readline reflection rtc samba sdl session source spell spl sse sse2 ssl startup-notification svg symlink sysfs tcpd theora tiff truetype unicode usb vorbis win32codecs x264 x86 xinerama xml xorg xprint xulrunner xv xvid zlib" 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" CAMERAS="canon" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="hu en de" USERLAND="GNU" VIDEO_CARDS="intel vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 17 Tom Bicer 2008-11-24 03:41:11 UTC
(In reply to comment #12)
> Sorry no, this hasn't been fixed and I can't seem to find the patch I had found
> the other day.
> 
> Could you guys tell me which xorg-server you have installed, with which
> useflags?
> 
> Thanks
> 

This works
http://www.mail-archive.com/xorg@lists.freedesktop.org/msg01488.html
Comment 18 Rémi Cardona (RETIRED) gentoo-dev 2008-11-24 10:39:38 UTC
(In reply to comment #17)
> This works
> http://www.mail-archive.com/xorg@lists.freedesktop.org/msg01488.html

Of course it works, but then this patch breaks building with xorg-server 1.5...

It's not _that_ simple ;)

Thanks
Comment 19 Tom Bicer 2008-11-26 05:01:12 UTC
(In reply to comment #18)
> (In reply to comment #17)
> > This works
> > http://www.mail-archive.com/xorg@lists.freedesktop.org/msg01488.html
> 
> Of course it works, but then this patch breaks building with xorg-server 1.5...
> 
> It's not _that_ simple ;)
> 
> Thanks
> 

Didn't know that. Building xorg-server-1.3.0.0-r6 works just fine.
Comment 20 Jeroen Roovers (RETIRED) gentoo-dev 2008-11-26 17:06:13 UTC
*** Bug 248282 has been marked as a duplicate of this bug. ***
Comment 21 Jeroen Roovers (RETIRED) gentoo-dev 2008-12-01 22:03:52 UTC
*** Bug 249410 has been marked as a duplicate of this bug. ***
Comment 22 Johan Euphrosine 2008-12-11 15:04:01 UTC
Created attachment 174963 [details, diff]
patch removing CARD32 definition
Comment 23 Johan Euphrosine 2008-12-11 15:04:55 UTC
Created attachment 174965 [details]
adding CARD32 patch to ebuild PATCHES
Comment 24 Johan Euphrosine 2008-12-11 15:06:15 UTC
I attached a patch that remove CARD32 definition and the updated ebuild.
Comment 25 Vladimir Berezhnoy 2008-12-17 02:32:03 UTC
Confirming this on latest ~x86

If I use the patch by Johan Euphrosine, I get this

i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../..   -I/usr/include/xorg -I/usr/include/pixman-1    -I/usr/include/drm   -Wall -Wpointer-arith -Wstrict-prototypes        -Wmissing-prototypes -Wmissing-declarations     -Wnested-externs -fno-strict-aliasing -I/usr/include/xorg -I/usr/include/pixman-1 -DREG_DUMPER -O2 -march=native -pipe -msse3 -fomit-frame-pointer -funroll-loops -fforce-addr -ftracer -finline-functions -fexpensive-optimizations -freorder-blocks -MT swf_dumper.o -MD -MP -MF .deps/swf_dumper.Tpo -c -o swf_dumper.o swf_dumper.c
In file included from bios_reader.c:42:
/usr/include/xorg/edid.h:439: ошибка: expected specifier-qualifier-list before ‘CARD16’
make[4]: *** [bios_reader.o] Ошибка 1
Comment 26 Rémi Cardona (RETIRED) gentoo-dev 2008-12-17 09:19:23 UTC
(In reply to comment #25)
> Confirming this on latest ~x86

Huh? Which version of xorg-server do you have?

Thanks
Comment 27 Martin Samek 2008-12-17 09:57:33 UTC
(In reply to comment #23)
> Created an attachment (id=174965) [edit]
> adding CARD32 patch to ebuild PATCHES
> 

Confirm. This patch solved my issues with 2.5.1 driver and 1.5.3 server.
Comment 28 Rémi Cardona (RETIRED) gentoo-dev 2008-12-17 10:11:19 UTC
Erf, sorry I let this slip for way too long. I've just comitted 2.5.1-r1 with a better patch that should work in all cases.

Thanks for your patience.
Comment 29 Jeroen Roovers (RETIRED) gentoo-dev 2008-12-23 06:42:31 UTC
*** Bug 251776 has been marked as a duplicate of this bug. ***
Comment 30 R Stephan 2008-12-23 15:56:07 UTC
works for me now with 2.5.1-r1  Many thanks!
Comment 31 David Raison 2008-12-23 18:46:45 UTC
2.5.1 works for me too