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

Bug 134736

Summary: libsdl fails to emerge at ./src/video/x11/SDL_x11video.c
Product: Gentoo Linux Reporter: Manuel Sabban <sabban>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: 2006.0   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Manuel Sabban 2006-05-29 02:36:29 UTC
The libsdl's compilation fails. I've only tested with gcc-4.1.1 switched by gcc-config.

fenring distfiles # emerge --info
Portage 2.1_rc3-r1 (default-linux/amd64/2005.1, gcc-4.1.1, glibc-2.4-r3, 2.6.16-suspend2-r5 x86_64)
=================================================================
System uname: 2.6.16-suspend2-r5 x86_64 Intel(R) Pentium(R) D  CPU 2.66GHz
Gentoo Base System version 1.12.0
dev-lang/python:     2.3.5, 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.1
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.15.92.0.2-r10, 2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=nocona -mtune=nocona -pipe -fomit-frame-pointer -fforce-addr"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /sbin/rc /usr/lib64/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-O2 -march=nocona -mtune=nocona -pipe -fomit-frame-pointer -fforce-addr"
DISTDIR="/usr/distfiles"
FEATURES="autoconfig ccache distlocks fixpackages metadata-transfer sandbox sfperms strict userpriv"
GENTOO_MIRRORS="http://mirror.ovh.net/gentoo-distfiles/"
LANG="fr_FR.UTF-8"
LC_ALL="fr_FR.UTF-8"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
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'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X Xaw3d a52 aac aalib aim alsa atm avi bash-completion bdf berkdb bitmap-fonts bonobo bzip2 caca cacheemu ccache cdda cddb cdio cdparanoia cdr cjk cli crypt cscope cups dba directfb divx4linux doc dri dv dvd dvdr dvdread eds emacs emboss emul-linux-x86 encode faad fame fb fbcon ffmpeg firefox foomaticdb fortran ftp gd-external gif gimpprint glitz gnome gnuplot gnustep gnutls gsl gsnd gstreamer gtk gtk2 hal iconv imagemagick imap imlib imlib2 ipv6 isdnlog jabber jpeg kexec libcaca lm_sensors lzo lzw lzw-tiff matroska mbox mozilla mp3 mpeg mpeg4 mplayer mule multislot mythtv ncurses network nls nptl nptlonly objc ogg opengl openntpd oscar pam pcre pdflib perl plotutils png pppd pthreads python quicktime rdesktop readline reflection rplay rrdtool ruby sdk sdl session shaper spell spl sqlite ssl startup-notification sysfs tcpd tetex theora threads tiff truetype truetype-fonts type1-fonts unicode uptimed usb userland userlocales vdesktop vorbis wifi wxwindows xine xorg xosd xpm xv xvid zlib zvbi elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux userland_GNU video_cards_radeon"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS

Error message:
 x86_64-pc-linux-gnu-gcc -O2 -march=nocona -mtune=nocona -pipe -I./include -D_GNU_SOURCE=1 -fvisibility=hidden -DXTHREADS -I/usr/include/directfb -D_REENTRANT -I/usr/include/ -D_REENTRANT -DHAVE_LINUX_VERSION_H -c ./src/video/x11/SDL_x11gl.c -o build/SDL_x11gl.o >/dev/null 2>&1
./src/video/x11/SDL_x11modes.c: In function 'X11_GetVideoModes':
./src/video/x11/SDL_x11modes.c:632: error: 'struct SDL_PrivateVideoData' has no member named 'xinerama_info'
./src/video/x11/SDL_x11modes.c: In function 'X11_ResizeFullScreen':
./src/video/x11/SDL_x11modes.c:905: error: 'struct SDL_PrivateVideoData' has no member named 'xinerama_info'
./src/video/x11/SDL_x11modes.c:906: error: 'struct SDL_PrivateVideoData' has no member named 'xinerama_info'
./src/video/x11/SDL_x11modes.c:907: error: 'struct SDL_PrivateVideoData' has no member named 'xinerama_info'
./src/video/x11/SDL_x11modes.c:908: error: 'struct SDL_PrivateVideoData' has no member named 'xinerama_info'
./src/video/x11/SDL_x11modes.c: In function 'X11_EnterFullScreen':
./src/video/x11/SDL_x11modes.c:967: error: 'struct SDL_PrivateVideoData' has no member named 'xinerama_info'
./src/video/x11/SDL_x11modes.c:968: error: 'struct SDL_PrivateVideoData' has no member named 'xinerama_info'
./src/video/x11/SDL_x11modes.c:969: error: 'struct SDL_PrivateVideoData' has no member named 'xinerama_info'
./src/video/x11/SDL_x11modes.c:970: error: 'struct SDL_PrivateVideoData' has no member named 'xinerama_info'
make: *** [build/SDL_x11modes.lo] Erreur 1
make: *** Attente des t
Comment 1 Manuel Sabban 2006-05-29 02:36:29 UTC
The libsdl's compilation fails. I've only tested with gcc-4.1.1 switched by gcc-config.

fenring distfiles # emerge --info
Portage 2.1_rc3-r1 (default-linux/amd64/2005.1, gcc-4.1.1, glibc-2.4-r3, 2.6.16-suspend2-r5 x86_64)
=================================================================
System uname: 2.6.16-suspend2-r5 x86_64 Intel(R) Pentium(R) D  CPU 2.66GHz
Gentoo Base System version 1.12.0
dev-lang/python:     2.3.5, 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.1
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.15.92.0.2-r10, 2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=nocona -mtune=nocona -pipe -fomit-frame-pointer -fforce-addr"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /sbin/rc /usr/lib64/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-O2 -march=nocona -mtune=nocona -pipe -fomit-frame-pointer -fforce-addr"
DISTDIR="/usr/distfiles"
FEATURES="autoconfig ccache distlocks fixpackages metadata-transfer sandbox sfperms strict userpriv"
GENTOO_MIRRORS="http://mirror.ovh.net/gentoo-distfiles/"
LANG="fr_FR.UTF-8"
LC_ALL="fr_FR.UTF-8"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
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'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X Xaw3d a52 aac aalib aim alsa atm avi bash-completion bdf berkdb bitmap-fonts bonobo bzip2 caca cacheemu ccache cdda cddb cdio cdparanoia cdr cjk cli crypt cscope cups dba directfb divx4linux doc dri dv dvd dvdr dvdread eds emacs emboss emul-linux-x86 encode faad fame fb fbcon ffmpeg firefox foomaticdb fortran ftp gd-external gif gimpprint glitz gnome gnuplot gnustep gnutls gsl gsnd gstreamer gtk gtk2 hal iconv imagemagick imap imlib imlib2 ipv6 isdnlog jabber jpeg kexec libcaca lm_sensors lzo lzw lzw-tiff matroska mbox mozilla mp3 mpeg mpeg4 mplayer mule multislot mythtv ncurses network nls nptl nptlonly objc ogg opengl openntpd oscar pam pcre pdflib perl plotutils png pppd pthreads python quicktime rdesktop readline reflection rplay rrdtool ruby sdk sdl session shaper spell spl sqlite ssl startup-notification sysfs tcpd tetex theora threads tiff truetype truetype-fonts type1-fonts unicode uptimed usb userland userlocales vdesktop vorbis wifi wxwindows xine xorg xosd xpm xv xvid zlib zvbi elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux userland_GNU video_cards_radeon"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS

Error message:
 x86_64-pc-linux-gnu-gcc -O2 -march=nocona -mtune=nocona -pipe -I./include -D_GNU_SOURCE=1 -fvisibility=hidden -DXTHREADS -I/usr/include/directfb -D_REENTRANT -I/usr/include/ -D_REENTRANT -DHAVE_LINUX_VERSION_H -c ./src/video/x11/SDL_x11gl.c -o build/SDL_x11gl.o >/dev/null 2>&1
./src/video/x11/SDL_x11modes.c: In function 'X11_GetVideoModes':
./src/video/x11/SDL_x11modes.c:632: error: 'struct SDL_PrivateVideoData' has no member named 'xinerama_info'
./src/video/x11/SDL_x11modes.c: In function 'X11_ResizeFullScreen':
./src/video/x11/SDL_x11modes.c:905: error: 'struct SDL_PrivateVideoData' has no member named 'xinerama_info'
./src/video/x11/SDL_x11modes.c:906: error: 'struct SDL_PrivateVideoData' has no member named 'xinerama_info'
./src/video/x11/SDL_x11modes.c:907: error: 'struct SDL_PrivateVideoData' has no member named 'xinerama_info'
./src/video/x11/SDL_x11modes.c:908: error: 'struct SDL_PrivateVideoData' has no member named 'xinerama_info'
./src/video/x11/SDL_x11modes.c: In function 'X11_EnterFullScreen':
./src/video/x11/SDL_x11modes.c:967: error: 'struct SDL_PrivateVideoData' has no member named 'xinerama_info'
./src/video/x11/SDL_x11modes.c:968: error: 'struct SDL_PrivateVideoData' has no member named 'xinerama_info'
./src/video/x11/SDL_x11modes.c:969: error: 'struct SDL_PrivateVideoData' has no member named 'xinerama_info'
./src/video/x11/SDL_x11modes.c:970: error: 'struct SDL_PrivateVideoData' has no member named 'xinerama_info'
make: *** [build/SDL_x11modes.lo] Erreur 1
make: *** Attente des tâches non terminées....
 x86_64-pc-linux-gnu-gcc -O2 -march=nocona -mtune=nocona -pipe -I./include -D_GNU_SOURCE=1 -fvisibility=hidden -DXTHREADS -I/usr/include/directfb -D_REENTRANT -I/usr/include/ -D_REENTRANT -DHAVE_LINUX_VERSION_H -c ./src/video/x11/SDL_x11image.c  -fPIC -DPIC -o build/.libs/SDL_x11image.o
 x86_64-pc-linux-gnu-gcc -O2 -march=nocona -mtune=nocona -pipe -I./include -D_GNU_SOURCE=1 -fvisibility=hidden -DXTHREADS -I/usr/include/directfb -D_REENTRANT -I/usr/include/ -D_REENTRANT -DHAVE_LINUX_VERSION_H -c ./src/video/x11/SDL_x11image.c -o build/SDL_x11image.o >/dev/null 2>&1

!!! ERROR: media-libs/libsdl-1.2.10 failed.
Call stack:
  ebuild.sh, line 1531:   Called dyn_compile
  ebuild.sh, line 931:   Called src_compile
  libsdl-1.2.10.ebuild, line 143:   Called die

!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-05-29 02:42:58 UTC

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