On Fri, 8 Aug 2014 17:37:52 -0700
Bryan Gardiner <[email protected]> wrote:

> Happy Friday gentoo-user,
> 
> I'm setting up a chroot for doing some Haskell work.  This chroot is
> so that I can test my package against old versions of my
> dependencies.  I thought I would be okay with putting the following in
> my world file:
> 
>     =dev-haskell/cabal-1.16*
>     ~dev-haskell/mtl-2.1.1
>     ~dev-haskell/gtk-0.12.0
>     ~dev-haskell/hunit-1.2.4.2
>     ~dev-haskell/parsec-3.1.3
>     =dev-lang/ghc-7.4.2
> 
> But when I do "emerge -puvD --changed-use @world" I get:
> 
> > # emerge -puvDN @world
> > 
> > These are the packages that would be merged, in order:
> > 
> > Calculating dependencies... done!
> > [ebuild  rR    ] dev-lang/ghc-7.4.2:0/7.4.2::gentoo-haskell  USE="binary 
> > doc gmp -ghcbootstrap -ghcmakebinary -llvm" 0 kB
> > [ebuild  rR    ] dev-haskell/cabal-1.16.0.3:0/1.16.0.3  USE="-profile 
> > {-test}" 0 kB
> > [ebuild  rR    ] dev-haskell/ghc-paths-0.1.0.9::gentoo-haskell  
> > USE="-profile" 0 kB
> > [ebuild  rR    ] dev-haskell/xhtml-3000.2.1-r1:0/3000.2.1::gentoo-haskell  
> > USE="hoogle hscolour -doc -profile" 0 kB
> > [ebuild  rR    ] dev-haskell/glib-0.12.4-r1:0/0.12.4  USE="doc hscolour 
> > -profile" 0 kB
> > [ebuild  rR    ] dev-haskell/utf8-string-0.3.7-r1:0/0.3.7  USE="doc 
> > hscolour -profile" 0 kB
> > [ebuild  rR    ] dev-haskell/deepseq-1.3.0.1:0/1.3.0.1::gentoo-haskell  
> > USE="doc hoogle hscolour -profile" 0 kB
> > [ebuild  rR    ] 
> > dev-haskell/transformers-0.3.0.0-r1:0/0.3.0.0::gentoo-haskell  USE="doc 
> > hoogle hscolour -profile" 0 kB
> > [ebuild  rR    ] dev-haskell/mtl-2.1.1  USE="doc hscolour -profile" 0 kB
> > [ebuild  rR    ] dev-haskell/text-0.11.3.1:0/0.11.3.1  USE="doc hscolour 
> > -developer -profile {-test}" 0 kB
> > [ebuild  rR    ] dev-haskell/cairo-0.12.5.0-r1:0/0.12.5.0  USE="doc 
> > hscolour pdf postscript svg -profile" 0 kB
> > [ebuild  rR    ] dev-haskell/gio-0.12.4-r1:0/0.12.4  USE="doc hscolour 
> > -profile" 0 kB
> > [ebuild  rR    ] dev-haskell/pango-0.12.4-r1:0/0.12.4  USE="doc hscolour 
> > -profile" 0 kB
> > [ebuild  N     ] dev-haskell/gtk-0.12.4-r1:2/0.12.4  USE="doc gio hscolour 
> > -profile" 0 kB
> > 
> > Total: 14 packages (1 new, 13 reinstalls), Size of downloads: 0 kB
> > 
> >  * IMPORTANT: 5 news items need reading for repository 'gentoo'.
> >  * Use eselect news to read news items.
> 
> (I haven't gotten gtk to install just yet.)  I can't figure out what's
> causing the rebuilds.  If I rebuild them, then they continue wanting
> to rebuild.  If I instead put the unversioned atoms in world and stick
> the following in package.mask, then the rebuilds disappear:
> 
>     >=dev-haskell/cabal-1.17
>     >=dev-haskell/mtl-2.1.2
>     >=dev-haskell/gtk-0.12.1
>     >=dev-haskell/hunit-1.2.4.3
>     >=dev-haskell/parsec-3.1.4
>     >=dev-lang/ghc-7.4.3
> 
> I've attached the output of "emerge -puvD --changed-use --debug
> @world" for the rebuilding case.  I see:
> 
>   13993 Exiting... (dev-lang/ghc-7.4.2::gentoo-haskell, ebuild scheduled for 
> merge)
> 
>   18458 @__auto_slot_operator_replace_installed__ depends on
>   ...
>   18463   (dev-lang/ghc-7.4.2::gentoo-haskell, ebuild scheduled for merge) 
> (buildtime_slot_op)
> 
>   18697 forced reinstall atoms:
>   18698    root: /
>   ...
>   18711       atom: dev-lang/ghc:0
> 
> but don't understand why.  What's causing the rebuilds?

Hia Bryan!

It looks like very old portage bug:
https://bugs.gentoo.org/show_bug.cgi?id=439688

USE=doc might be a trigger of this bug (due to circular nature of doc haskell 
depends)

What portage version you are using?
Fresh portage is able to show which packages exactly trigger rebuild.

-- 

  Sergei

Attachment: signature.asc
Description: PGP signature

Reply via email to