Hy, I tried to install dangerdeep 0.3.0 but it failed to linking the binary. Have a look at the elog file that i will attach. regards Jointy Reproducible: Always Steps to Reproduce: 1. emerge -av dangerdeep 2. 3. Actual Results: !!! ERROR: games-simulation/dangerdeep-0.3.0 failed. Call stack: ebuild.sh, line 1621: Called dyn_compile ebuild.sh, line 973: Called qa_call 'src_compile' ebuild.sh, line 44: Called src_compile dangerdeep-0.3.0.ebuild, line 49: Called die !!! scons failed Expected Results: emerge complete ;)
Created attachment 125279 [details] dangerdeep-0.3.0 elog file
Please post the output of 'emerge --info' and 'eselect opengl show' too.
(In reply to comment #2) > Please post the output of 'emerge --info' and 'eselect opengl show' too. > Hi, through some posts in the forum of gentoo I founded out that I have to switch to xorg-x11 opengl libary. eselect opengl set xorg-x11 emerge -av dangerdeep eselect opengl set ati So now the emerge didn't failed. BUT....If I start the game and select a mission and click on "play" then the game exit (doesn't set my desktop resolution back). For a friend of me (use amd64) the X server restarted. My emerge --info and soon will attach.... regard j0inty
Created attachment 125599 [details] emerge --info
Created attachment 125622 [details] dangerdeep debug log First I ran it with ati opengl support and then I switched to xorg-x11 support. Hope this help to analyse the problem.
dangerdeep makes the incorrect assumption that the OpenGL functions for creating shaders will be present, which in the binary ATI drivers that you are using it is not. As such the symbol lookup fails and the application does not handle that situation gracefully and fails. This is 100% a coding deficency in the application since by the OpenGL spec and standards, you are suppose to query for your features first and if they're not available, not use them. Blindly assuming causes situations like this. Switching to the xorg-x11 interface is only useful for linking against a driver and compiling with headers. However, when it comes to running your application, you can not use the xorg-x11 OpenGL driver while you have the ATI binary driver loaded. If you switched to the open source ATI driver and used the xorg-x11 OpenGL interface then you should find that this game will work for you. Re-assigning back to the games herd since the bug is squarely with dangerdeep. An argument can be made that in this day and age the ATI driver should provide that feature, but it is not required to.
There is a post here with more information. http://www.dangerdeep.net/forums/viewtopic.php?t=242 I don't think any of us have an ATI card, so we're not going to be able to fix this.