Gentoo Archives: gentoo-user

From: Bryan Gardiner <bog@××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] revdep-rebuild problem
Date: Tue, 21 Aug 2012 07:10:17
Message-Id: 3573264.73A4IVMG7G@negai
In Reply to: Re: [gentoo-user] revdep-rebuild problem by Volker Armin Hemmann
1 On August 20, 2012 15:27:54 Volker Armin Hemmann wrote:
2 > Am Montag, 20. August 2012, 01:00:34 schrieb Reinhard Kotucha:
3 > > On 2012-08-19 at 01:02:24 +0200, Volker Armin Hemmann wrote:
4 > > > Am Sonntag, 19. August 2012, 00:37:36 schrieb Reinhard Kotucha:
5 > > > > emerge --update --pretend
6 > > >
7 > > > why pretend?
8 > >
9 > > Because whenever I see that there is an Xorg update, I nowadays make a
10 > > full backup before I do the actual update.
11 >
12 > that is what --ask is made for ;)
13
14 Nothing wrong with --pretend. I use it religiously for a couple of reasons.
15 One is that when I want --quiet-build off, I can keep a complete list of the
16 packages being merged in another screen tab, in case something fails.
17
18 The other is that I don't want "emerge --ask" littering my emerge.log with
19 stuff like this while I'm messing with USE flags, keywords, etc. and not
20 actually committing to any emerges:
21
22 1345531458: Started emerge on: Aug 20, 2012 23:44:18
23 1345531458: *** emerge --ask --binpkg-respect-use=y --quiet-build=n --verbose
24 --quiet-unmerge-warn extreme-tuxracer
25 1345531466: *** exiting unsuccessfully with status '130'.
26 1345531466: *** terminating.
27
28 Getting back to the actual topic :) I've noticed that more and more packages
29 are getting pkg_pretend() checks so that ebuilds can abort before the build
30 starts if something is missing, e.g. missing kernel modules or in the case of
31 Xorg, gcc being too old. This might be what you're asking for, in a way.
32
33 Cheers,
34 Bryan