Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 501892 - media-libs/libsdl2-2.0.1-r1 - .../work/SDL2-2.0.1/src/video/directfb/SDL_DirectFB_window.c:95:30: error: 'DSCAPS_GL' undeclared (first use in this function)
Summary: media-libs/libsdl2-2.0.1-r1 - .../work/SDL2-2.0.1/src/video/directfb/SDL_Dire...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-20 14:21 UTC by Michal Plichta
Modified: 2014-03-22 22:43 UTC (History)
1 user (show)

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


Attachments
build.log (media-libs_libsdl2-2.0.1-r1_20140220-122212.log,149.19 KB, text/plain)
2014-02-20 14:21 UTC, Michal Plichta
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michal Plichta 2014-02-20 14:21:00 UTC
Created attachment 370880 [details]
build.log

emerge -pv games-engines/openmw

Calculating dependencies... done!
[ebuild  N    ~] media-libs/libsdl2-2.0.1-r1  USE="X alsa audio dbus directfb joystick mmx opengl sse sse2 threads udev video xinerama -3dnow (-altivec) (-custom-cflags) -fusionsound -gles -haptic -
nas -oss -pulseaudio -static-libs -tslib -xscreensaver" 0 kB
[ebuild   R    ] dev-games/ogre-1.8.1  USE="boost cg* freeimage ois opengl threads zip -doc -double-precision -examples -gles2 -poco -profile -tbb -tools" 0 kB
[ebuild  N     ] dev-games/mygui-3.2.0-r1  USE="-debug -doc -plugins -samples -static-libs {-test} -tools" LINGUAS="-ru" 0 kB
[ebuild  N    ~] games-engines/openmw-0.28.0::mipl  USE="cdinstall ffmpeg launcher -devtools -mpg123 {-test}" 0 kB
[ebuild IN    ~] games-rpg/morrowind-data-2::mipl  0 kB


# emerge --info                                                                                        
Portage 2.2.7 (default/linux/amd64/13.0/desktop, gcc-4.7.3, glibc-2.17, 3.11.10-geek x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.11.10-geek-x86_64-AMD_E-450_APU_with_Radeon-tm-_HD_Graphics-with-gentoo-2.2
KiB Mem:     7762076 total,   5349356 free
KiB Swap:   10485756 total,  10485756 free
Timestamp of tree: Thu, 20 Feb 2014 09:15:01 +0000
ld GNU ld (GNU Binutils) 2.23.2
ccache version 3.1.9 [enabled]
app-shells/bash:          4.2_p45
dev-java/java-config:     2.1.12-r1
dev-lang/python:          2.7.5-r3, 3.3.3
dev-util/ccache:          3.1.9-r3
dev-util/cmake:           2.8.11.2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.12.6, 1.13.4
sys-devel/binutils:       2.23.2
sys-devel/gcc:            4.7.3-r1
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.9 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: sunrise sublime-text init6 mv spring gentoo mipl
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -fomit-frame-pointer -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -fomit-frame-pointer -pipe"
DISTDIR="/var/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs ccache config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms split-elog strict 
unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://gentoo.mirror.pw.edu.pl/ http://ftp.halifax.rwth-aachen.de/gentoo/ http://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/sunrise /var/lib/layman/sublime-text /var/lib/layman/init6 /var/lib/layman/mv /var/lib/layman/Spring /usr/portage /usr/local/portage/gentoo.mipl"
USE="X a52 aac acl acpi alsa amd64 avahi bash-completion berkdb bluetooth branding bzip2 cairo cdda cddb cdr cli consolekit cracklib crypt cups cxx dbus directfb dri dts dvd dvdr emboss encode exif fam fbcon ffmpeg firefox flac fontconfig fortran gdbm gif gnome-keyring gpm gstreamer gtk iconv icu ipv6 jpeg jpeg2k lame lcms ldap libnotify mad matroska mmx mmxext mng modules mp3 mp4 mpeg multilib ncurses nls nptl ntfs ogg opengl openmp orc pam pango pcre pdf png policykit ppds quicktime raw readline samba sdl session smp spell sse sse2 sse3 ssl ssse3 startup-notification svg tcpd threads tiff truetype udev udisks unicode upnp upower usb v4l vim-syntax vorbis wifi wmf wxwidgets x264 xcb xcomposite xinerama xml xpm xv xvid zeroconf zlib" ABI_X86="64" ALSA_CARDS="hda-intel" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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 cgi cgid 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en pl en_US pl_PL" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" QEMU_SOFTMMU_TARGETS="x86_64 i386" QEMU_USER_TARGETS="x86_64 i386" RUBY_TARGETS="ruby19 ruby18" USERLAND="GNU" VIDEO_CARDS="radeon" XFCE_PLUGINS="brightness menu trash logout" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
USE_PYTHON="2.7 3.3"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC
Comment 1 Michal Plichta 2014-02-21 11:03:40 UTC
$ eix directfb
[I] dev-libs/DirectFB
     Installed versions:  1.4.9-r1(01:46:14 AM 02/03/2014)(X fbcon gif jpeg mmx png sdl sse truetype v4l zlib -debug -doc -static-libs INPUT_DEVICES="evdev -dynapro -elo2300 -joystick -keyboard -lirc -mouse -mutouch -tslib" VIDEO_CARDS="radeon -intel -mach64 -mga -neomagic -nsc -nvidia -r128 -s3 -savage -sis -tdfx -via -vmware")

Workaround:
UES="-directfb" emerge media-libs/libsdl2

Compilation is successful.
Comment 2 Julian Ospald 2014-02-21 14:23:01 UTC
You are mixing stable and unstable arch.

It is really no surprise to me that libsdl2 does not work with directfb-1.4.9-r1. Try directfb-1.6.3-r1 or later.
Comment 3 Michal Plichta 2014-02-23 19:52:51 UTC
Yes, right with directfb-1.6.3-r1, media-libs/libsdl2-2.0.1-r1 emerge successfuly with USE=directfb. So, maybe is goo to close this bug.
Comment 4 Julian Ospald 2014-03-22 22:43:48 UTC
+  22 Mar 2014; Julian Ospald <hasufell@gentoo.org> libsdl2-2.0.1-r1.ebuild,
+  libsdl2-2.0.2.ebuild:
+  fix dev-libs/DirectFB dependency string wrt #501892