1 |
On Fri, 8 Aug 2014 17:37:52 -0700 |
2 |
Bryan Gardiner <bog@××××××.net> wrote: |
3 |
|
4 |
> Happy Friday gentoo-user, |
5 |
> |
6 |
> I'm setting up a chroot for doing some Haskell work. This chroot is |
7 |
> so that I can test my package against old versions of my |
8 |
> dependencies. I thought I would be okay with putting the following in |
9 |
> my world file: |
10 |
> |
11 |
> =dev-haskell/cabal-1.16* |
12 |
> ~dev-haskell/mtl-2.1.1 |
13 |
> ~dev-haskell/gtk-0.12.0 |
14 |
> ~dev-haskell/hunit-1.2.4.2 |
15 |
> ~dev-haskell/parsec-3.1.3 |
16 |
> =dev-lang/ghc-7.4.2 |
17 |
> |
18 |
> But when I do "emerge -puvD --changed-use @world" I get: |
19 |
> |
20 |
> > # emerge -puvDN @world |
21 |
> > |
22 |
> > These are the packages that would be merged, in order: |
23 |
> > |
24 |
> > Calculating dependencies... done! |
25 |
> > [ebuild rR ] dev-lang/ghc-7.4.2:0/7.4.2::gentoo-haskell USE="binary doc gmp -ghcbootstrap -ghcmakebinary -llvm" 0 kB |
26 |
> > [ebuild rR ] dev-haskell/cabal-1.16.0.3:0/1.16.0.3 USE="-profile {-test}" 0 kB |
27 |
> > [ebuild rR ] dev-haskell/ghc-paths-0.1.0.9::gentoo-haskell USE="-profile" 0 kB |
28 |
> > [ebuild rR ] dev-haskell/xhtml-3000.2.1-r1:0/3000.2.1::gentoo-haskell USE="hoogle hscolour -doc -profile" 0 kB |
29 |
> > [ebuild rR ] dev-haskell/glib-0.12.4-r1:0/0.12.4 USE="doc hscolour -profile" 0 kB |
30 |
> > [ebuild rR ] dev-haskell/utf8-string-0.3.7-r1:0/0.3.7 USE="doc hscolour -profile" 0 kB |
31 |
> > [ebuild rR ] dev-haskell/deepseq-1.3.0.1:0/1.3.0.1::gentoo-haskell USE="doc hoogle hscolour -profile" 0 kB |
32 |
> > [ebuild rR ] dev-haskell/transformers-0.3.0.0-r1:0/0.3.0.0::gentoo-haskell USE="doc hoogle hscolour -profile" 0 kB |
33 |
> > [ebuild rR ] dev-haskell/mtl-2.1.1 USE="doc hscolour -profile" 0 kB |
34 |
> > [ebuild rR ] dev-haskell/text-0.11.3.1:0/0.11.3.1 USE="doc hscolour -developer -profile {-test}" 0 kB |
35 |
> > [ebuild rR ] dev-haskell/cairo-0.12.5.0-r1:0/0.12.5.0 USE="doc hscolour pdf postscript svg -profile" 0 kB |
36 |
> > [ebuild rR ] dev-haskell/gio-0.12.4-r1:0/0.12.4 USE="doc hscolour -profile" 0 kB |
37 |
> > [ebuild rR ] dev-haskell/pango-0.12.4-r1:0/0.12.4 USE="doc hscolour -profile" 0 kB |
38 |
> > [ebuild N ] dev-haskell/gtk-0.12.4-r1:2/0.12.4 USE="doc gio hscolour -profile" 0 kB |
39 |
> > |
40 |
> > Total: 14 packages (1 new, 13 reinstalls), Size of downloads: 0 kB |
41 |
> > |
42 |
> > * IMPORTANT: 5 news items need reading for repository 'gentoo'. |
43 |
> > * Use eselect news to read news items. |
44 |
> |
45 |
> (I haven't gotten gtk to install just yet.) I can't figure out what's |
46 |
> causing the rebuilds. If I rebuild them, then they continue wanting |
47 |
> to rebuild. If I instead put the unversioned atoms in world and stick |
48 |
> the following in package.mask, then the rebuilds disappear: |
49 |
> |
50 |
> >=dev-haskell/cabal-1.17 |
51 |
> >=dev-haskell/mtl-2.1.2 |
52 |
> >=dev-haskell/gtk-0.12.1 |
53 |
> >=dev-haskell/hunit-1.2.4.3 |
54 |
> >=dev-haskell/parsec-3.1.4 |
55 |
> >=dev-lang/ghc-7.4.3 |
56 |
> |
57 |
> I've attached the output of "emerge -puvD --changed-use --debug |
58 |
> @world" for the rebuilding case. I see: |
59 |
> |
60 |
> 13993 Exiting... (dev-lang/ghc-7.4.2::gentoo-haskell, ebuild scheduled for merge) |
61 |
> |
62 |
> 18458 @__auto_slot_operator_replace_installed__ depends on |
63 |
> ... |
64 |
> 18463 (dev-lang/ghc-7.4.2::gentoo-haskell, ebuild scheduled for merge) (buildtime_slot_op) |
65 |
> |
66 |
> 18697 forced reinstall atoms: |
67 |
> 18698 root: / |
68 |
> ... |
69 |
> 18711 atom: dev-lang/ghc:0 |
70 |
> |
71 |
> but don't understand why. What's causing the rebuilds? |
72 |
|
73 |
Hia Bryan! |
74 |
|
75 |
It looks like very old portage bug: |
76 |
https://bugs.gentoo.org/show_bug.cgi?id=439688 |
77 |
|
78 |
USE=doc might be a trigger of this bug (due to circular nature of doc haskell depends) |
79 |
|
80 |
What portage version you are using? |
81 |
Fresh portage is able to show which packages exactly trigger rebuild. |
82 |
|
83 |
-- |
84 |
|
85 |
Sergei |