Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 505844

Summary: dev-haskell/cabal-1.18.1.3: circular dependencies
Product: Gentoo Linux Reporter: August Hörandl <hoea>
Component: [OLD] DevelopmentAssignee: Gentoo's Haskell Language team <haskell>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info

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!