Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 505844 - dev-haskell/cabal-1.18.1.3: circular dependencies
Summary: dev-haskell/cabal-1.18.1.3: circular dependencies
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Haskell Language team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-26 07:50 UTC by August Hörandl
Modified: 2014-03-27 06:41 UTC (History)
0 users

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


Attachments
emerge --info (emerge.info,7.20 KB, text/plain)
2014-03-26 07:51 UTC, August Hörandl
Details

Note You need to log in before you can comment on or make changes to this bug.
Description August Hörandl 2014-03-26 07:50:24 UTC
I wanted to emerge pandoc - with no haskell packages installed. Which fails with dev-haskell/cabal -- circular dependency.

Actualy it seems that most (all?) packages in dev-haskell depend on cabal, including cabal itself.

Trying to install just dev-haskell/cabal fails also with "circular dependency", and there are no USE flags to disable (none set)









Reproducible: Always

Steps to Reproduce:
1. Delete all haskell packages
2. emerge dev-haskell/cabal 
3. fails with "circular dependency"
Actual Results:  
# emerge --backtrack=30  -va --with-bdeps\=y --deep   dev-haskell/cabal

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

Calculating dependencies       ... done!       


[ebuild  N     ] dev-haskell/cabal-1.18.1.3:0/1.18.1.3  USE="-profile {-test}" 0 kB

Total: 1 package (1 new), Size of downloads: 0 kB

 * Error: circular dependencies:

(dev-haskell/cabal-1.18.1.3:0/1.18.1.3::gentoo, ebuild scheduled for merge) depends on
 (dev-haskell/cabal-1.18.1.3:0/1.18.1.3::gentoo, ebuild scheduled for merge) (buildtime)
Comment 1 August Hörandl 2014-03-26 07:51:50 UTC
Created attachment 373562 [details]
emerge --info
Comment 2 Sergei Trofimovich (RETIRED) gentoo-dev 2014-03-27 06:41:30 UTC
Pushed as:

>  27 Mar 2014; Sergei Trofimovich <slyfox@gentoo.org> cabal-1.18.1.3.ebuild:
>  Drop depend on cabal itself (bug #505844 by August Hörandl).

That's a recent regression. Older ebuilds never required it.
Nice catch!

Thanks!