Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 357761 - games-arcade/smc-1.9 with dev-games/cegui-0.7.5: missing openglrenderer.h
Summary: games-arcade/smc-1.9 with dev-games/cegui-0.7.5: missing openglrenderer.h
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:
: 365169 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-03-07 12:51 UTC by Martin von Gagern
Modified: 2012-11-21 20:52 UTC (History)
6 users (show)

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


Attachments
adjust smc dependency to <dev-games/cegui-0.7 (smc-1.9.ebuild.patch,343 bytes, patch)
2011-04-03 16:23 UTC, Petr Zima
Details | Diff
smc-1.9 build log. (games-arcade:smc-1.9:20121121-192624.log,7.15 KB, text/plain)
2012-11-21 20:51 UTC, Róbert Čerňanský
Details
emerge --info (file_357761.txt,6.90 KB, text/plain)
2012-11-21 20:52 UTC, Róbert Čerňanský
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin von Gagern 2011-03-07 12:51:48 UTC
In file included from audio/../core/../objects/../objects/sprite.h:21:0,
                 from audio/../core/../objects/movingsprite.h:19,
                 from audio/../core/game_core.h:19,
                 from audio/audio.cpp:17:
audio/../core/../objects/../objects/../video/video.h:26:62: fatal error: RendererModules/OpenGLGUIRenderer/openglrenderer.h: No such file or directory
compilation terminated.
make[2]: *** [audio.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/games-arcade/smc-1.9/work/smc-1.9/src'

At first this looks like a reincarnation of bug #156272, but upon closer investigation it seems to be the opposite: That bug was due to old versions of cegui not yet shipping that header file, while this here is about new versions no longer shipping it. The file in question was removed (or renamed?) upstream:
http://crayzedsgui.svn.sourceforge.net/viewvc/crayzedsgui?view=revision&revision=2001
Comment 1 Martin von Gagern 2011-03-11 10:35:44 UTC
SMC upstream has a commit in their repo addressing this:
https://github.com/FluXy/SMC/commit/a066f15ef5efc4684536379b5e21e9149ef19bc9

Most of that patch won't apply to the 1.9 tarball sources, though. And I'm not even convinced it would be self-contained. So unless someone wants to do a lot of manual porting, I suggest simply changing the dep so that portage at least knows about the incompatibility, and won't try to remerge the package on every emerge of @preserved-rebuild.

Bug #286722 discusses the fact that cegui breaks api. The idea os slotting cegui did come up there, but was dismissed in bug #286722 comment #26. Instead they opted for updating packages to use new cegui. One way of doing that with smc would be create a ~ARCH-only "pre-release" ebuild from a repo snapshot. Another option would be waiting for the next release. The last discussion that I could find of when that might be is http://www.secretmaryo.org/phpBB3/viewtopic.php?f=1&t=3902
Comment 2 Petr Zima 2011-04-03 16:22:06 UTC
The latest SMC git snapshot requires:
1) boost-1.46, still masked in gentoo;
2) NULL renderer support in cegui-0.7, not present in gentoo at all.
While 2) is an easily doable enhancement, unmasking boost-1.46 could be tricky. Hence I agree, that adjusting the cegui dependency of smc-1.9 is the most reasonable at the moment.
Comment 3 Petr Zima 2011-04-03 16:23:56 UTC
Created attachment 268357 [details, diff]
adjust smc dependency to <dev-games/cegui-0.7
Comment 4 Mr. Bones. (RETIRED) gentoo-dev 2011-04-27 16:39:12 UTC
clamped it to the older cegui.
Comment 5 Mr. Bones. (RETIRED) gentoo-dev 2011-04-28 14:38:21 UTC
*** Bug 365169 has been marked as a duplicate of this bug. ***
Comment 6 Casper Ti. Vector 2012-11-02 13:25:31 UTC
Sorry if it would be better to open a new bug, but boost 1.46 is now unmasked, so would dropping the upper limit on cegui version be possible?
Comment 7 Róbert Čerňanský 2012-11-21 20:50:27 UTC
games-arcade/smc-1.9 still fails to build with dev-games/cegui-0.7.6-r1 (and dev-libs/boost-1.49.0-r2).  Please reopen.

After downgrading to cegui-0.6.2b, smc builds fine.

...
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I..  -DDATA_DIR="\"/usr/share/games
/smc\"" -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL   -I/usr/include/CEGUI  
 -Wall -Wpointer-arith -O2 -march=k8 -msahf --param l1-cache-size=64 --param l1-
cache-line-size=64 --param l2-cache-size=512 -fweb -pipe -c -o random_sound.o `t
est -f 'audio/random_sound.cpp' || echo './'`audio/random_sound.cpp
In file included from audio/../audio/../objects/sprite.h:21:0,
                 from audio/../audio/random_sound.h:20,
                 from audio/random_sound.cpp:16:
audio/../audio/../objects/../video/video.h:26:62: fatal error: RendererModules/O
penGLGUIRenderer/openglrenderer.h: No such file or directory
...
Comment 8 Róbert Čerňanský 2012-11-21 20:51:48 UTC
Created attachment 330162 [details]
smc-1.9 build log.
Comment 9 Róbert Čerňanský 2012-11-21 20:52:33 UTC
Created attachment 330164 [details]
emerge --info