Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 441686 - games-strategy/hedgewars-0.9.18-r1 build fails when dev-lang/ghc is installed
Summary: games-strategy/hedgewars-0.9.18-r1 build fails when dev-lang/ghc is installed
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: 247114
Blocks:
  Show dependency tree
 
Reported: 2012-11-04 04:54 UTC by Alec Moskvin
Modified: 2012-11-04 13:47 UTC (History)
1 user (show)

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


Attachments
build.log (hedgewars-build.log,472.99 KB, text/plain)
2012-11-04 04:54 UTC, Alec Moskvin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alec Moskvin 2012-11-04 04:54:59 UTC
Created attachment 328270 [details]
build.log

hedgewars-0.9.18 fails to build when ghc is installed because it automagically enables the server build, which fails due to unsatisfied dependencies:

/var/tmp/portage/games-strategy/hedgewars-0.9.18/work/hedgewars-src-0.9.18/gameServer/RoomsAndClients.hs:39:8:
    Could not find module `Control.DeepSeq':
      Use -v to see a list of the files searched for.


I created an ebuild to fix this in bug 247114.

(Unrelated, but there's also an automagic dependency on ffmpeg. This is also fixed in my ebuild in bug 247114.)
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2012-11-04 05:04:32 UTC
there's not automagic ffmpeg dep.  forced off the server for now to avoid the ghc dep.
Comment 2 Alec Moskvin 2012-11-04 05:11:11 UTC
(In reply to comment #1)
> there's not automagic ffmpeg dep.

What do you mean?

$ ldd /usr/games/bin/hedgewars | grep libav
	libavcodec.so.53 => /usr/lib64/libavcodec.so.53 (0x00007f1d72c54000)
	libavformat.so.53 => /usr/lib64/libavformat.so.53 (0x00007f1d72b6e000)
	libavutil.so.51 => /usr/lib64/libavutil.so.51 (0x00007f1d72b4e000)
Comment 3 Mike Limansky 2012-11-04 08:53:11 UTC
(In reply to comment #1)
> there's not automagic ffmpeg dep.  forced off the server for now to avoid
> the ghc dep.

Why not to include ebuild from bug 247114? Server is an important part of the game, it would be nice to have it in Gentoo too.
Comment 4 Julian Ospald 2012-11-04 13:47:51 UTC
(In reply to comment #2)
> (In reply to comment #1)
> > there's not automagic ffmpeg dep.
> 
> What do you mean?
> 

He means that ffmpeg support is not turned off as it would be the case when it's an automagic dependency.

In fact it is required, but not set as required by the build system which is an upstream bug.

if(NOT NOVIDEOREC)
    find_package(FFMPEG)
endif()

should be

if(NOT NOVIDEOREC)
    find_package(FFMPEG REQUIRED)
endif()