* [gentoo-user] Versioned world dependencies and subslot rebuilds
@ 2014-08-09 0:37 Bryan Gardiner
2014-08-09 13:23 ` Sergei Trofimovich
2014-08-09 13:38 ` Neil Bothwick
0 siblings, 2 replies; 5+ messages in thread
From: Bryan Gardiner @ 2014-08-09 0:37 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 3147 bytes --]
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?
Many thanks,
Bryan
[-- Attachment #2: emerge-debug.txt.gz --]
[-- Type: application/gzip, Size: 101709 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] Versioned world dependencies and subslot rebuilds
2014-08-09 0:37 [gentoo-user] Versioned world dependencies and subslot rebuilds Bryan Gardiner
@ 2014-08-09 13:23 ` Sergei Trofimovich
2014-08-26 2:14 ` Bryan Gardiner
2014-08-09 13:38 ` Neil Bothwick
1 sibling, 1 reply; 5+ messages in thread
From: Sergei Trofimovich @ 2014-08-09 13:23 UTC (permalink / raw
To: gentoo-user; +Cc: bog
[-- Attachment #1: Type: text/plain, Size: 3728 bytes --]
On Fri, 8 Aug 2014 17:37:52 -0700
Bryan Gardiner <bog@khumba.net> 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 #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 181 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] Versioned world dependencies and subslot rebuilds
2014-08-09 0:37 [gentoo-user] Versioned world dependencies and subslot rebuilds Bryan Gardiner
2014-08-09 13:23 ` Sergei Trofimovich
@ 2014-08-09 13:38 ` Neil Bothwick
2014-08-26 2:05 ` Bryan Gardiner
1 sibling, 1 reply; 5+ messages in thread
From: Neil Bothwick @ 2014-08-09 13:38 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 608 bytes --]
On Fri, 8 Aug 2014 17:37:52 -0700, Bryan Gardiner wrote:
> 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
it might be cleaner, and easier to maintain, to put these in a set.
--
Neil Bothwick
667 - The FAX number of the beast
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 181 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] Versioned world dependencies and subslot rebuilds
2014-08-09 13:38 ` Neil Bothwick
@ 2014-08-26 2:05 ` Bryan Gardiner
0 siblings, 0 replies; 5+ messages in thread
From: Bryan Gardiner @ 2014-08-26 2:05 UTC (permalink / raw
To: gentoo-user
On Sat, 9 Aug 2014 14:38:12 +0100
Neil Bothwick <neil@digimed.co.uk> wrote:
> On Fri, 8 Aug 2014 17:37:52 -0700, Bryan Gardiner wrote:
>
> > 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
>
> it might be cleaner, and easier to maintain, to put these in a set.
Excellent idea. I never think to use them. Thanks.
--
Go game editor :: http://khumba.net/projects/goatee :: AGPL, Haskell
I: [pulseaudio] main.c: Fresh high-resolution timers available! Bon appetit!
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] Versioned world dependencies and subslot rebuilds
2014-08-09 13:23 ` Sergei Trofimovich
@ 2014-08-26 2:14 ` Bryan Gardiner
0 siblings, 0 replies; 5+ messages in thread
From: Bryan Gardiner @ 2014-08-26 2:14 UTC (permalink / raw
To: gentoo-user
On Sat, 9 Aug 2014 16:23:30 +0300
Sergei Trofimovich <slyfox@gentoo.org> wrote:
> On Fri, 8 Aug 2014 17:37:52 -0700
> Bryan Gardiner <bog@khumba.net> 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.
Interesting (and yes, old) bug. I'm on portage-2.2.8-r1 but maybe
this is a related issue. I tried disabling my "dev-haskell/* doc" USE
line, changed the world lines to exact versions, and moved them to a
set as Neil suggested, but I still get rebuilds, and Portage doesn't
say why.
(Fewer rebuilds now, independent of the USE=-doc change:)
> # emerge -puvD --changed-use @world
>
> These are the packages that would be merged, in order:
>
> Calculating dependencies... done!
> [ebuild rR ] dev-haskell/mtl-2.1.1 USE="hscolour -doc -profile" 0 kB
> [ebuild rR ] dev-haskell/gio-0.12.4-r1:0/0.12.4 USE="hscolour -doc -profile" 0 kB
> [ebuild rR ] dev-haskell/cairo-0.12.4-r1:0/0.12.4 USE="hscolour svg -doc -profile" 0 kB
> [ebuild rR ] dev-haskell/pango-0.12.4-r1:0/0.12.4 USE="hscolour -doc -profile" 0 kB
> [ebuild rR ] dev-haskell/gtk-0.12.4-r1:2/0.12.4 USE="gio hscolour -doc -profile" 0 kB
>
> Total: 5 packages (5 reinstalls), Size of downloads: 0 kB
>
> * IMPORTANT: 5 news items need reading for repository 'gentoo'.
> * Use eselect news to read news items.
Thanks!
Bryan
--
Go game editor :: http://khumba.net/projects/goatee :: AGPL, Haskell
I: [pulseaudio] main.c: Fresh high-resolution timers available! Bon appetit!
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2014-08-26 2:15 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-09 0:37 [gentoo-user] Versioned world dependencies and subslot rebuilds Bryan Gardiner
2014-08-09 13:23 ` Sergei Trofimovich
2014-08-26 2:14 ` Bryan Gardiner
2014-08-09 13:38 ` Neil Bothwick
2014-08-26 2:05 ` Bryan Gardiner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox