Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 248282

Summary: x11-drivers/xf86-video-intel-2.5.1 - /usr/include/X11/Xmd.h:152: error: conflicting types for ‘CARD32’
Product: Gentoo Linux Reporter: Dan Liu <miraclecome>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Dan Liu 2008-11-23 11:21:01 UTC
When I emerge -e world,and close to the end.This problem come.Can not emerge x11-drivers/xf86-video-intel-2.5.1,after still have 8 packages.
x11-drivers/xf86-input-mouse-1.3.0
dev-python/pygobject-2.15.4
dev-python/pygtk-2.13.0
sys-asys-apps/openrc-0.3.0-r1
sys-apps/baselayout-2.0.0
x11-libs/libpciaccess-0.10.5
[uninstall    ] x11-base/xorg-server-1.3.0.0-r6 
[blocks b     ] <x11-base/xorg-server-1.5 ("<x11-base/xorg-server-1.5" is blocking x11-libs/libpciaccess-0.10.5)
[ebuild     U ] x11-base/xorg-server-1.5.2
x11-drivers/xf86-input-keyboard-1.3.1

The error message is:
make[4]: Entering directory `/var/tmp/portage/x11-drivers/xf86-video-intel-2.5.1/work/xf86-video-intel-2.5.1/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=prescott -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:25,
                 from /usr/include/xorg/edid.h:16,
                 from bios_reader.c:46:
/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.1/work/xf86-video-intel-2.5.1/src/bios_reader'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/x11-drivers/xf86-video-intel-2.5.1/work/xf86-video-intel-2.5.1/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/x11-drivers/xf86-video-intel-2.5.1/work/xf86-video-intel-2.5.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/x11-drivers/xf86-video-intel-2.5.1/work/xf86-video-intel-2.5.1'
make: *** [all] Error 2




Reproducible: Always

Steps to Reproduce:
1.Change ACCEPT_KEYWORDS from x86 to ~x86
2.emerge -e world
3.emerge x11-drivers/xf86-video-intel-2.5.1 error




emerge --info
!!! CONFIG_PROTECT is emptyPortage 2.2_rc15 (default/linux/x86/2008.0, gcc-4.1.2, glibc-2.8_p20080602-r0, 2.6.27-gentoo-r4 i686)
=================================================================
System uname: Linux-2.6.27-gentoo-r4-i686-Intel-R-_Pentium-R-_Dual_CPU_T2370_@_1.73GHz-with-glibc2.0
Timestamp of tree: Sun, 23 Nov 2008 10:31:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p48
dev-lang/python:     2.5.2-r8
dev-util/ccache:     2.4-r8
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r3
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.7.9-r1, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.19
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=prescott -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT=""
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=prescott -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://ftp.lecl.net/pub/gentoo/ http://gentoo.arcticnetwork.ca/source/ http://open-systems.ufl.edu/mirrors/gentoo ftp://ftp.daum.net/gentoo/"
LANG="en_US.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"
PORTDIR_OVERLAY="/usr/portage/local/layman/gentoo-china /usr/portage/local/layman/new-gentoo"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl acpi berkdb bzip2 cairo cjk cli cracklib crypt dbus dri esd fontconfig fortran gdbm gnutls iconv imlib isdnlog midi mmx mudflap ncurse ncurses nls nptl nptlonly opengl openmp pam pcre pdf perl pppd python readline reflection sdl session smp spl sse sse2 ssl ssse3 sysfs tcpd truetype unicode x86 xorg zlib" ALSA_CARDS="intel8x0" 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" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="intel"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Dan Liu 2008-11-25 03:15:46 UTC
Solved now.
Comment 2 R Stephan 2008-11-25 14:55:34 UTC
duplicate of #245095
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2008-11-26 17:06:13 UTC

*** This bug has been marked as a duplicate of bug 245095 ***