Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 91052 - libsdl 1.2.8-r1 fails to emerge due to linux-headers
Summary: libsdl 1.2.8-r1 fails to emerge due to linux-headers
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-01 07:04 UTC by Manuel Hartl
Modified: 2005-05-03 11:55 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Manuel Hartl 2005-05-01 07:04:35 UTC
emerging of libsdl-1.2.8-r1 fails with

1) warning of overriden gentoo headers
/usr/include/linux/keyboard.h:9:2: warning: #warning Gentoo Linux Headers Warnin
g: If your compilation dies here, mention this when

2) error while compiling...
/usr/include/linux/types.h:182: error: redefinition of `struct ustat'


Reproducible: Always
Steps to Reproduce:
1.emerge libsdl ..

Actual Results:  
 _X11 -DXTHREADS -I./include -I./src/video -DXFREE86_VM -DXFREE86_VMGAMMA -DXFREE
86_DGAMOUSE -DDEFAULT_DGAMOUSE -DXFREE86_XV -DHAVE_XINERAMA -Isrc/video -DENABLE
_DGA -DENABLE_DIRECTFB -DENABLE_GGI -DENABLE_SVGALIB -DENABLE_AALIB -DHAVE_OPENG
L -DUSE_INPUT_EVENTS -D_REENTRANT -DSDL_USE_PTHREADS -DHAVE_SIGACTION -I../../..
/include -I../../../include/SDL -I../../../src -I../../../src/main/linux -I../..
/../src/audio -I../../../src/video -I../../../src/video/XFree86/extensions -I../
../../src/events -I../../../src/joystick -I../../../src/cdrom -I../../../src/thr
ead -I../../../src/timer -I../../../src/endian -I../../../src/file -I../../../sr
c/thread -c SDL_svgamouse.c  -fPIC -DPIC -o .libs/SDL_svgamouse.o
In file included from SDL_svgaevents.c:38:
/usr/include/linux/keyboard.h:7:2: warning: #warning Gentoo Linux Headers Warnin
g: GNU Libc Linux Headers Override Detected.
/usr/include/linux/keyboard.h:8:2: warning: #warning Gentoo Linux Headers Warnin
g: This is bad. Removing override and continuing.
/usr/include/linux/keyboard.h:9:2: warning: #warning Gentoo Linux Headers Warnin
g: If your compilation dies here, mention this when
/usr/include/linux/keyboard.h:10:2: warning: #warning Gentoo Linux Headers Warni
ng: filing a bug!
In file included from /usr/include/linux/keyboard.h:11,
                 from SDL_svgaevents.c:38:
/usr/include/linux/types.h:182: error: redefinition of `struct ustat'
 i686-pc-linux-gnu-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERS
ION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"SDL\" -DVERS
ION=\"1.2.8\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_S
TDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES
_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_ALLOCA_H=1 -DHA
VE_ALLOCA=1 -DHAVE_LIBASOUND=1 -I. -I. -march=k8 -pipe -O3 -fomit-frame-pointer 
-m3dnow -msse -msse2 -mmmx -mfpmath=sse -Wall -DENABLE_DUMMYVIDEO -DDISKAUD_SUPP
ORT -DUSE_DLOPEN -DUSE_ASMBLIT -I./hermes -I../../../src/hermes -DOSS_SUPPORT -D
ALSA_SUPPORT -DALSA_DYNAMIC=libasound.so.2 -DUSE_DLVSYM -DARTSC_SUPPORT -DARTSC_
DYNAMIC=libartsc.so.0 -I/usr/kde/3.3/include/artsc -pthread -I/usr/include/glib-
2.0 -I/usr/lib/glib-2.0/include -DESD_SUPPORT -DESD_DYNAMIC=libesd.so.0 -DENABLE
_X11 -DXTHREADS -I./include -I./src/video -DXFREE86_VM -DXFREE86_VMGAMMA -DXFREE
86_DGAMOUSE -DDEFAULT_DGAMOUSE -DXFREE86_XV -DHAVE_XINERAMA -Isrc/video -DENABLE
_DGA -DENABLE_DIRECTFB -DENABLE_GGI -DENABLE_SVGALIB -DENABLE_AALIB -DHAVE_OPENG
L -DUSE_INPUT_EVENTS -D_REENTRANT -DSDL_USE_PTHREADS -DHAVE_SIGACTION -I../../..
/include -I../../../include/SDL -I../../../src -I../../../src/main/linux -I../..
/../src/audio -I../../../src/video -I../../../src/video/XFree86/extensions -I../
../../src/events -I../../../src/joystick -I../../../src/cdrom -I../../../src/thr
ead -I../../../src/timer -I../../../src/endian -I../../../src/file -I../../../sr
c/thread -c SDL_svgamouse.c -o SDL_svgamouse.o >/dev/null 2>&1
SDL_svgaevents.c: In function `SVGA_initkeymaps':
SDL_svgaevents.c:77: warning: implicit declaration of function `memset'
SDL_svgaevents.c:81: warning: implicit declaration of function `ioctl'
make[3]: *** [SDL_svgaevents.lo] Error 1
make[3]: *** Waiting for unfinished jobs....


Expected Results:  
clean compile? :)


Gentoo Base System version 1.4.16
Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.4.3-20050110,
glibc-2.3.4.20041102-r1, 2.6.11.2 i686)
=================================================================
System uname: 2.6.11.2 i686 AMD Athlon(tm) 64 Processor 3000+
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Apr 29 2005, 16:10:45)]
dev-lang/python:     2.3.5
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.8.5-r3, 1.5, 1.7.9-r1, 1.6.3, 1.4_p6, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r7
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.11
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=k8 -pipe -O3 -fomit-frame-pointer -m3dnow -msse -msse2 -mmmx
-mfpmath=sse"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kd
e/3/share/config /usr/lib/X11/xkb /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/bind /var/qmail/c
ontrol"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=k8 -pipe -O3 -fomit-frame-pointer -m3dnow -msse -msse2 -mmmx
-mfpmath=sse"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.uni-erlangen.de/pub/mirrors/gentoo
http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirr
or/ http://gentoo.inode.at/
http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/
http://mirrors.sec.informatik.
tu-darmstadt.de/gentoo"
LINGUAS="de"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/overlays/gentoo-de"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow X Xaw3d aac aalib acpi adns aim alsa apache2 apm arts avi berkdb
bitmap-fonts bonobo cdparanoia cdr cr
ypt cscope cups curl dedicated dga directfb divx4linux djbfft doc dvb dvd dvdr
dvdread emboss encode esd ethereal fam
 ffmpeg flac foomaticdb fortran freetds gb gd gdbm ggi gif gnome gphoto2 gpm
gstreamer gtk gtk2 icq idea imagemagick 
imap imlib innodb ipv6 jabber java joystick jpeg junit ldap libg++ libwww lirc
mad maildir matroska memlimit mikmod m
mx motif mozilla mp3 mpeg mpi msn mysql ncurses nls nocd odbc ogg oggvorbis
opengl oscar oss pam pdflib perl plotutil
s png postgres ppds python qt quicktime readline samba sasl scanner sdl session
slang slp speex spell sse sse2 ssl sv
ga tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts unicode usb v4l
v4l2 vorbis win32codecs wmf wxwindows xi
nerama xml xml2 xmms xosd xv xvid yahoo zlib video_cards_matrox linguas_de"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS
Comment 1 SpanKY gentoo-dev 2005-05-01 20:48:31 UTC
emerge sync and re-emerge linux-headers-2.6.11 and see if that fixes things
Comment 2 Manuel Hartl 2005-05-01 23:29:52 UTC
re-emerging the linux-headers (2.6.11) helped, although i am a bit curious why this helped!?
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2005-05-02 06:54:43 UTC
*** Bug 91135 has been marked as a duplicate of this bug. ***
Comment 4 SpanKY gentoo-dev 2005-05-03 11:55:21 UTC
*** Bug 91305 has been marked as a duplicate of this bug. ***