Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 195795 - ghc built with doc USEFLAG causes a circular dependency error
Summary: ghc built with doc USEFLAG causes a circular dependency error
Status: RESOLVED DUPLICATE of bug 190671
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-14 03:36 UTC by Charles Alexander
Modified: 2007-10-14 08:04 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Charles Alexander 2007-10-14 03:36:40 UTC
When building ghc with the doc USEFLAG on, I get the following circular dependency error:

Calculating dependencies... done!
[ebuild  N    ] dev-lang/ghc-6.4.2  USE="X doc opengl -openal -test" 
[ebuild  N    ]  dev-haskell/haddock-0.8  USE="doc" 
[ebuild  N    ]   dev-haskell/cabal-1.1.6.2  USE="doc -profile" 
!!! Error: circular dependencies:

('ebuild', '/', 'dev-haskell/haddock-0.8', 'merge') depends on
   ('ebuild', '/', 'dev-haskell/cabal-1.1.6.2', 'merge') (hard)
('ebuild', '/', 'dev-lang/ghc-6.4.2', 'merge') depends on
   ('ebuild', '/', 'dev-haskell/haddock-0.8', 'merge') (hard)
   ('ebuild', '/', 'dev-haskell/cabal-1.1.6.2', 'merge') (medium-soft)
('ebuild', '/', 'dev-haskell/cabal-1.1.6.2', 'merge') depends on
   ('ebuild', '/', 'dev-lang/ghc-6.4.2', 'merge') (medium)

Reproducible: Always

Steps to Reproduce:
1. USE=doc emerge ghc  # this might or might not trigger it if the issue is with haddock or cabal and they are already installed without the doc use flag, but at least so long as they get pulled in as dependencies, the problem occurs
Actual Results:  
USE=doc emerge ghc

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

Calculating dependencies... done!
[ebuild  N    ] dev-lang/ghc-6.4.2  USE="X doc opengl -openal -test" 
[ebuild  N    ]  dev-haskell/haddock-0.8  USE="doc" 
[ebuild  N    ]   dev-haskell/cabal-1.1.6.2  USE="doc -profile" 
!!! Error: circular dependencies:

('ebuild', '/', 'dev-haskell/haddock-0.8', 'merge') depends on
   ('ebuild', '/', 'dev-haskell/cabal-1.1.6.2', 'merge') (hard)
('ebuild', '/', 'dev-lang/ghc-6.4.2', 'merge') depends on
   ('ebuild', '/', 'dev-haskell/haddock-0.8', 'merge') (hard)
   ('ebuild', '/', 'dev-haskell/cabal-1.1.6.2', 'merge') (medium-soft)
('ebuild', '/', 'dev-haskell/cabal-1.1.6.2', 'merge') depends on
   ('ebuild', '/', 'dev-lang/ghc-6.4.2', 'merge') (medium)


Expected Results:  
It should have installed ghc

To workaround this, you can disable the doc USEFLAG
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-10-14 08:04:50 UTC
Nothing we could do about it at the moment.

*** This bug has been marked as a duplicate of bug 190671 ***