Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 132571 - libsdl-1.2.9 fails to compile with DirectFB-
Summary: libsdl-1.2.9 fails to compile with DirectFB-
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Games
Depends on:
Reported: 2006-05-07 08:11 UTC by Heiko Baums
Modified: 2006-05-07 16:36 UTC (History)
2 users (show)

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

Handles missing DIKI_ALTGR enum (libsdl-1.2.9-DirectFB-updates2.patch,1.03 KB, patch)
2006-05-07 16:02 UTC, Sascha Schwarz
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Heiko Baums 2006-05-07 08:11:03 UTC
libsdl-1.2.9-r1 fails to compile during revdep-rebuild with this error message:

i686-pc-linux-gnu-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"SDL\" -DVERSION=\"1.2.9\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_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 -DHAVE_ALLOCA=1 -DHAVE_LIBASOUND=1 -I. -I. -D_REENTRANT -I/usr/include/directfb -march=athlon-xp -O2 -pipe -Wall -DENABLE_DUMMYVIDEO -DDISKAUD_SUPPORT -DUSE_DLOPEN -DUSE_ASMBLIT -I./hermes -I../../../src/hermes -DOSS_SUPPORT -DALSA_SUPPORT -DUSE_DLVSYM -DARTSC_SUPPORT -I/usr/kde/3.5/include/artsc -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNAS_SUPPORT -I/usr/X11R6/include/ -DENABLE_X11 -DXTHREADS -I./include -I./src/video -DXFREE86_VM -DXFREE86_VMGAMMA -DXFREE86_DGAMOUSE -DDEFAULT_DGAMOUSE -DXFREE86_XV -Isrc/video -DENABLE_DGA -DENABLE_FBCON -DENABLE_DIRECTFB -DENABLE_SVGALIB -DENABLE_AALIB -DHAVE_OPENGL -DUSE_INPUT_EVENTS -D_REENTRANT -DSDL_USE_PTHREADS -DHAVE_SIGACTION -DHAVE_LINUX_VERSION_H -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/thread -I../../../src/timer -I../../../src/endian -I../../../src/file -I../../../src/thread -c
SDL_DirectFB_events.c  -fPIC -DPIC -o .libs/SDL_DirectFB_events.o
SDL_DirectFB_events.c: In function `DirectFB_InitOSKeymap':
SDL_DirectFB_events.c:164: error: `DIKI_ALTGR' undeclared (first use in this function)
SDL_DirectFB_events.c:164: error: (Each undeclared identifier is reported only once
SDL_DirectFB_events.c:164: error: for each function it appears in.)
make[3]: *** [SDL_DirectFB_events.lo] Error 1
make[3]: Leaving directory `/usr/var/portage/libsdl-1.2.9-r1/work/SDL-1.2.9/src/video/directfb'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/var/portage/libsdl-1.2.9-r1/work/SDL-1.2.9/src/video'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/var/portage/libsdl-1.2.9-r1/work/SDL-1.2.9/src'
make: *** [all-recursive] Error 1

!!! ERROR: media-libs/libsdl-1.2.9-r1 failed.
Call stack:, line 1525:   Called dyn_compile, line 928:   Called src_compile
  libsdl-1.2.9-r1.ebuild, line 155:   Called die

!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if relevant.

This is my emerge --info:

Gentoo Base System version 1.12.0_pre19
Portage 2.1_pre10-r3 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.4-r2, 2.6.16-gentoo-r3 i686)
System uname: 2.6.16-gentoo-r3 i686 AMD Athlon(tm) XP 1600+
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18
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-r2
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r5
CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
CONFIG_PROTECT="/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/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
USE="3dnow 3dnowext X a52 aac aalib accessibility acpi aim alsa apache2 apm arts asf audiofile avi bash-completion berkdb bitmap-fonts bluetooth bzip2 cdda cddb cdparanoia cdr chipcard cli crypt cups curl dba dcc dga directfb divx4linux dlloader doc dri dv dvb dvd dvdr dvdread eds emacs emacs-w3 emboss encode expat extrafilters f77 fame fbcon ffmpeg flac flash font-server foomaticdb fortran ftp gcc-libffi gcj gd gdbm geldkarte gif gimp gimpprint glitz gmp gpm graphviz gs gstreamer gtk gtk2 gtkhtml hbci iconv icq idn imagemagick imlib ipv6 irmc isdnlog jabber jce jpeg kde lcms ldap libg++ libwww lirc live lzo mad maildir mailwrapper mbox mikmod mime ming mjpeg mmx mmx2 mmxext mng modplug motif mozilla mp3 mp4 mpeg mplayer msn mysql mysqli mythtv nas ncurses network nls nptl nptlonly nsplugin nvidia objc objc-gc odbc offensive ofx ogg oggvorbis on-the-fly-crypt opengl oscar oss pam pcre pdflib perl php plugin png ppds pppd print python pyzor qt quicktime quotes razor readline real reflection rtsp scanner sdl session slang slideshow smime speex spell spl sqlite sse sse-filters ssl svg svga tcltk tcpd tetex theora threads tidy tiff tokenizer tools truetype truetype-fonts type1-fonts udev unicode usb userlocales utf8 v4l v4l2 vdr vfat videos vidix visualization vlm vorbis win32codecs wmf x86 xcomposite xine xml xml2 xmms xorg xpm xv xvid yahoo yv12 zip zlib elibc_glibc input_devices_evdev input_devices_joystick input_devices_keyboard input_devices_mouse kernel_linux linguas_de userland_GNU video_cards_nvidia video_cards_v4l"
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2006-05-07 09:07:15 UTC
remerge dev-libs/DirectFB
Comment 2 Heiko Baums 2006-05-07 09:17:49 UTC
I did emerge DirectFB- during an emerge -uDN world.
That's why I did the revdep-rebuild.
During this the error occurred.
Comment 3 Heiko Baums 2006-05-07 09:56:42 UTC
Tried remerging DirectFB anyway.
Still the same error when remerging libsdl after that.
Comment 4 SpanKY gentoo-dev 2006-05-07 12:13:29 UTC
DirectFB API breakage
Comment 5 Sascha Schwarz 2006-05-07 16:02:44 UTC
Created attachment 86398 [details, diff]
Handles missing DIKI_ALTGR enum

I ran into this, too. According to DirectFB homepage DIKI_ALTGR is to be substituted by DIKI_ALT_R from now on.
Comment 6 SpanKY gentoo-dev 2006-05-07 16:17:55 UTC
shouldnt need the extra version handling ... DIKI_ALT_R has existed in older DirectFB releases
Comment 7 SpanKY gentoo-dev 2006-05-07 16:36:03 UTC
thanks Sascha ... ive added a simpler version of your patch to cvs and e-mailed it upstream to libsdl authors