Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 528874 - media-tv/xbmc-13.2[gles] .../work/xbmc-13.2-Gotham/xbmc/windowing/X11/WinSystemX11GLES.h:63:3: error: 'SDL_Surface' does not name a type
Summary: media-tv/xbmc-13.2[gles] .../work/xbmc-13.2-Gotham/xbmc/windowing/X11/WinSyst...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Xbox project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-10 19:48 UTC by Rafal Kupiec
Modified: 2015-02-17 00:21 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,78.99 KB, text/plain)
2014-11-10 20:54 UTC, Rafal Kupiec
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rafal Kupiec 2014-11-10 19:48:30 UTC
CPP     xbmc/addons/Scraper.o
CPP     xbmc/addons/ScreenSaver.o
CPP     xbmc/addons/Service.o
CPP     xbmc/addons/Skin.o
Makefile:508: recipe for target 'xbmc/cores/AudioEngine/audioengine.a' failed
make: *** [xbmc/cores/AudioEngine/audioengine.a] Error 2
CPP     xbmc/addons/Visualisation.o
AR      xbmc/cdrip/cdrip.a
In file included from /var/tmp/portage/media-tv/xbmc-13.2/work/xbmc-13.2-Gotham/xbmc/windowing/WindowingFactory.h:36:0,
                 from ScreenSaver.cpp:24:
/var/tmp/portage/media-tv/xbmc-13.2/work/xbmc-13.2-Gotham/xbmc/windowing/X11/WinSystemX11GLES.h:63:3: error: 'SDL_Surface' does not name a type
   SDL_Surface* m_SDLSurface;
   ^
In file included from /var/tmp/portage/media-tv/xbmc-13.2/work/xbmc-13.2-Gotham/xbmc/windowing/WindowingFactory.h:36:0,
                 from Visualisation.cpp:29:
/var/tmp/portage/media-tv/xbmc-13.2/work/xbmc-13.2-Gotham/xbmc/windowing/X11/WinSystemX11GLES.h:63:3: error: 'SDL_Surface' does not name a type
   SDL_Surface* m_SDLSurface;
   ^
../../Makefile.include:95: recipe for target 'ScreenSaver.o' failed
make[1]: *** [ScreenSaver.o] Error 1
make[1]: *** Waiting for unfinished jobs....
Makefile:508: recipe for target 'xbmc/dialogs/dialogs.a' failed
make: *** [xbmc/dialogs/dialogs.a] Error 2
AR      xbmc/epg/epg.a
../../Makefile.include:95: recipe for target 'Visualisation.o' failed
make[1]: *** [Visualisation.o] Error 1
Makefile:508: recipe for target 'xbmc/addons/addons.a' failed
make: *** [xbmc/addons/addons.a] Error 2


Reproducible: Always
Comment 1 Ben Kohler gentoo-dev 2014-11-10 20:32:22 UTC
Please attach your "emerge --info" output and full build.log.  I suspect this has to do with some clashing USE flags (there are lots of 'fatal combos' on xbmc).
Comment 2 Rafal Kupiec 2014-11-10 20:54:59 UTC
Created attachment 389052 [details]
build.log
Comment 3 Rafal Kupiec 2014-11-10 20:56:33 UTC
Portage 2.2.14 (python 3.3.5-final-0, default/linux/amd64/13.0, gcc-4.8.3, glibc-2.20, 3.17.2-gentoo x86_64)
=================================================================
System uname: Linux-3.17.2-gentoo-x86_64-Intel-R-_Core-TM-_i7-4800MQ_CPU_@_2.70GHz-with-gentoo-2.2
KiB Mem:    16424076 total,  11313960 free
KiB Swap:          0 total,         0 free
Timestamp of tree: Mon, 10 Nov 2014 17:30:01 +0000
ld GNU ld (GNU Binutils) 2.24
app-shells/bash:          4.3_p30-r1
dev-java/java-config:     2.2.0
dev-lang/perl:            5.20.1-r2
dev-lang/python:          2.7.8, 3.3.5-r1, 3.4.2
dev-util/cmake:           3.0.2
dev-util/pkgconfig:       0.28-r2
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.13.3
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.13.4, 1.14.1
sys-devel/binutils:       2.24-r3
sys-devel/gcc:            4.8.3
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.3-r2
sys-devel/make:           4.1-r1
sys-kernel/linux-headers: 3.17-r1 (virtual/os-headers)
sys-libs/glibc:           2.20
Repositories:

gentoo
    location: /usr/repos/gentoo-portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000

ABI="amd64"
ABI_X86="64"
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
ACCEPT_PROPERTIES="*"
ACCEPT_RESTRICT="*"
ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci"
ANDROID_HOME="/opt/android-sdk-update-manager"
ANDROID_SWT="/usr/share/swt-3.7/lib"
ANT_HOME="/usr/share/ant"
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"
ARCH="amd64"
AUTOCLEAN="yes"
BOOTSTRAP_USE="cxx unicode internal-glib python_targets_python3_3 python_targets_python2_7 multilib"
CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author"
CAMERAS="ptp2"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core-avx2 -mtune=core-avx2 -mcx16 -msahf -mpopcnt -maes -mavx -mavx2 -msse4.1 -msse4.2 -O2 -s -pipe -fomit-frame-pointer"
CFLAGS_amd64="-m64"
CFLAGS_x32="-mx32"
CFLAGS_x86="-m32"
CHOST="x86_64-pc-linux-gnu"
CHOST_amd64="x86_64-pc-linux-gnu"
CHOST_x32="x86_64-pc-linux-gnux32"
CHOST_x86="i686-pc-linux-gnu"
CLEAN_DELAY="0"
USE="X aac aacplus acl alsa amd64 apng avx bash-completion berkdb bzip2 cairo cdda cli community consolekit cracklib crypt css cups curl cxx dbus declarative dri dri3 dvd emerald encode extraengine fbcondecor ffmpeg flac gbm gd gdbm gif glamor gles gles2 graphite gtk2 gudev iconv icu ipv6 jemalloc jit jpeg kde kmod libv4l lto lzma max-idx-128 minizip mmx mng modemmanager modules mp3 mpeg multilib mysql ncurses networkmanager nls nptl nsplugin ntfs ogg old-output opengl openmp openrc pam pcre pipelight pkcs11 png policykit profiling pvr qemu qt3support qt4 rdesktop readline rtmp rtnetlink rtsp sasl script session slang smpeg sql sqlite sse sse2 sse3 sse4 sse4_2 ssl ssse3 svg symlink syslog tcpd threads tiff tls tokudb tools truetype udev unicode upnp uxa v4l vaapi vde vdpau vim-syntax vnc vorbis vpx x264 x265 xa xml xmp xvid zip zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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" GRUB_PLATFORMS="pc" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" QEMU_SOFTMMU_TARGETS="arm i386 x86_64" QEMU_USER_TARGETS="arm i386 x86_64" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="intel" 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"
USEFLAGS="aac aacplus acl alsa apng avx bash-completion berkdb bzip2 cairo cdda community consolekit cracklib crypt css cups curl cxx dbus declarative dri3 dvd emerald encode extraengine fbcondecor ffmpeg flac gbm gd gdbm gif glamor gles gles2 graphite gtk2 gudev iconv icu ipv6 jemalloc jit jpeg kde kmod libv4l lto lzma max-idx-128 minizip mng modemmanager mp3 mpeg multilib mysql ncurses networkmanager nls nsplugin ntfs ogg old-output opengl openrc pam pcre pipelight pkcs11 png policykit profiling pvr qemu qt3support qt4 rdesktop readline rtmp rtnetlink rtsp sasl script sql sqlite sse3 sse4 sse4_2 ssse3 slang smpeg ssl svg symlink syslog threads tiff tls tokudb tools truetype udev unicode upnp uxa v4l vaapi vde vdpau vim-syntax vnc vorbis vpx X x264 x265 xa xml xmp xvid zip zlib -binary -fishbmc -fortran -gtk3 -libnl -mono -perl -prelink -projectm -pulseaudio -python -rsxs -samba -webdav -webkit -xrandr"
Comment 4 Ben Kohler gentoo-dev 2014-11-10 21:08:45 UTC
This looks a LITTLE like bug #464306, not the exact same error but you do have the "fatal USE combo" from that bug.  According to both upstream & gentoo's maintainer, you shouldn't be enabling USE=gles on a typical X11 desktop, and it has known problems when combined w/ vaapi or vdpau.  Can you see if disabling gles on xbmc helps?

Now that I think about it, the error bug #464306 may just be different because that was on 12.1 and this is 13.2, but combining 'gles' with either 'vaapi' or 'vdpau' is the cause in both cases.
Comment 5 Ben Kohler gentoo-dev 2014-11-10 21:11:29 UTC
I forgot you already mentioned USE=gles being the problem in your summary-- test with USE="gles -vaapi -vdpau" and if that works, if so I'd say it's the same bug
Comment 6 Rafal Kupiec 2014-11-11 19:33:17 UTC
(In reply to Ben Kohler from comment #5)
> I forgot you already mentioned USE=gles being the problem in your summary--
> test with USE="gles -vaapi -vdpau" and if that works, if so I'd say it's the
> same bug

Failed the same way with the same error.
Comment 7 Ben Kohler gentoo-dev 2014-11-17 03:57:06 UTC
Do you have a good reason to be enabling USE=gles on xbmc, or did you put it in global USE for some other reason? I'm wondering if this is just a good reason to package.use.mask gles on arches where it doesn't make any sense.
Comment 8 SpanKY gentoo-dev 2015-02-17 00:21:54 UTC
probably fixed in kodi since it no longer uses SDL