Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 610422 - dev-haskell/skylighting-0.1.1.5[-executable] missing dependency
Summary: dev-haskell/skylighting-0.1.1.5[-executable] missing dependency
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo's Haskell Language team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-21 23:28 UTC by Peter Bleszynski
Modified: 2017-02-22 23:19 UTC (History)
1 user (show)

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


Attachments
'/var/log/portage/dev-haskell:skylighting-0.1.1.5:20170221-221629.log' (dev-haskell%3Askylighting-0.1.1.5%3A20170221-221629.log,3.58 KB, application/octet-stream)
2017-02-21 23:28 UTC, Peter Bleszynski
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Bleszynski 2017-02-21 23:28:27 UTC
Created attachment 464584 [details]
'/var/log/portage/dev-haskell:skylighting-0.1.1.5:20170221-221629.log'

dev-haskell/skylighting with USE=-executable seems to require dev-haskell/pretty-show.

# emerge -1av dev-haskell/skylighting

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N    ~] dev-haskell/skylighting-0.1.1.5:0/0.1.1.5::gentoo  USE="-doc -executable -hscolour -profile {-test}" 0 KiB
...
Configuring skylighting-0.1.1.5...
setup: At least the following dependencies are missing:
pretty-show -any
Comment 1 Erik Quaeghebeur 2017-02-22 21:51:58 UTC
I can confirm this. I can also confirm that installing the stable dev-haskell/pretty-show fixes the build. Furthermore, I've tested the resulting binary, and it works as expected.

So this is just a matter of adding dev-haskell/pretty-show to the deps.
Comment 2 Sergei Trofimovich (RETIRED) gentoo-dev 2017-02-22 23:19:48 UTC
It's not exactly a matter of missing dependency, but a bug in Cabal
that thinks dependency is needed for 'buildable: False' targets (USE=-executable).

Some details are in https://github.com/haskell/cabal/issues/1725

The fix is to require fixed Cabal version: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=05f4525ef02d580515b9797aa012ab82dd4c4f0f

Thanks for the report!