Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 466584 - media-tv/xbmc[X,-sdl] fails to build due to harddep in screensavers
Summary: media-tv/xbmc[X,-sdl] fails to build due to harddep in screensavers
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Xbox project
URL:
Whiteboard:
Keywords:
: 466586 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-04-20 16:32 UTC by Tomáš Chvátal (RETIRED)
Modified: 2014-10-17 12:27 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 Tomáš Chvátal (RETIRED) gentoo-dev 2013-04-20 16:32:32 UTC
Reduced error:

In file included from /var/tmp/portage/media-tv/xbmc-12.1-r1/work/xbmc-12.1/xbmc/windowing/X11/WinSystemX11GL.h:25:0,
                 from /var/tmp/portage/media-tv/xbmc-12.1-r1/work/xbmc-12.1/xbmc/windowing/WindowingFactory.h:33,
                 from ScreenSaver.cpp:22:
/var/tmp/portage/media-tv/xbmc-12.1-r1/work/xbmc-12.1/xbmc/windowing/X11/WinSystemX11.h:72:3: error: ‘SDL_Surface’ does not name a type
make[1]: *** [ScreenSaver.o] Error 1
make[1]: *** Waiting for unfinished jobs....
distcc[11225] ERROR: compile /var/tmp/ccache/tmp/Visualisat.tmp.htpc.11220.ii on localhost failed
In file included from /var/tmp/portage/media-tv/xbmc-12.1-r1/work/xbmc-12.1/xbmc/windowing/X11/WinSystemX11GL.h:25:0,
                 from /var/tmp/portage/media-tv/xbmc-12.1-r1/work/xbmc-12.1/xbmc/windowing/WindowingFactory.h:33,
                 from Visualisation.cpp:28:
/var/tmp/portage/media-tv/xbmc-12.1-r1/work/xbmc-12.1/xbmc/windowing/X11/WinSystemX11.h:72:3: error: ‘SDL_Surface’ does not name a type
make[1]: *** [Visualisation.o] Error 1


Basically in the code there is no option to disable the sdl.

When building with sdl enabled everything finishes just fine. I would just go with removing the flag and forcing always on for the sdl.
Comment 1 SpanKY gentoo-dev 2013-04-23 00:02:02 UTC
*** Bug 466586 has been marked as a duplicate of this bug. ***
Comment 2 SpanKY gentoo-dev 2013-04-23 01:16:28 UTC
i'll make the X mode require sdl.  the point of the new USE flags was to support systems that didn't have X/sdl and were using raw OpenGL.
Comment 3 SpanKY gentoo-dev 2013-04-23 01:33:38 UTC
should be all set now in the tree; thanks for the report!

Commit message: Have USE=X require USE=sdl
http://sources.gentoo.org/media-tv/xbmc/xbmc-12.1-r1.ebuild?r1=1.1&r2=1.2
http://sources.gentoo.org/media-tv/xbmc/xbmc-9999.ebuild?r1=1.142&r2=1.143
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2014-05-18 03:34:47 UTC
*** Bug 466586 has been marked as a duplicate of this bug. ***
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2014-10-12 07:13:42 UTC
*** Bug 525084 has been marked as a duplicate of this bug. ***
Comment 6 Silvio 2014-10-17 12:27:17 UTC
(In reply to SpanKY from comment #3)
> should be all set now in the tree; thanks for the report!
> 
> Commit message: Have USE=X require USE=sdl
> http://sources.gentoo.org/media-tv/xbmc/xbmc-12.1-r1.ebuild?r1=1.1&r2=1.2
> http://sources.gentoo.org/media-tv/xbmc/xbmc-9999.ebuild?r1=1.142&r2=1.143

As I said in bug #525084

1) I do have sdl use enabled when I compiles xbmc from the very first time.

2) I'm using the last updated portage tree

3) I cannot compile any version of xbmc

Is the problem of sdl? I do not know.