Gentoo Archives: gentoo-user

From: allan gottlieb <gottlieb@×××.edu>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] emerge -e and --resume
Date: Sat, 06 Jan 2018 12:53:42
Message-Id: 87a7xr408l.fsf@nyu.edu
In Reply to: Re: [gentoo-user] emerge -e and --resume by Daniel Frey
1 On Fri, Jan 05 2018, Daniel Frey wrote:
2
3 > On 01/05/18 18:50, allan gottlieb wrote:
4 >> On Fri, Jan 05 2018, Daniel Frey wrote:
5 >>
6 >>> On 01/05/18 13:15, Neil Bothwick wrote:
7 >>>> On Fri, 05 Jan 2018 13:00:20 -0500, allan gottlieb wrote:
8 >>>>
9 >>>>> I am finally moving my production machine the the 17.0 profile.
10 >>>>> Currently running is
11 >>>>>
12 >>>>> emerge -e --keep-going @world
13 >>>>>
14 >>>>> So far there is one failure (libcryptui, the fix is easy).
15 >>>>>
16 >>>>> Am I correct that when the above emerge completes, I should run
17 >>>>> simply
18 >>>>>
19 >>>>> emerge --resume
20 >>>>
21 >>>> If the emerge has completed, there is nothing to resume. Just make a note
22 >>>> of the packages that failed to build ans emerge --oneshot them, with any
23 >>>> necessary fixes.
24 >>>>
25 >>>>
26 >>>
27 >>> You may also want to check for dependencies (as in: `equery depends
28 >>> <package>` and rebuild the dependencies of the failed package as well.
29 >>>
30 >>> Dan
31 >>
32 >> I don't understand. If the dependencies didn't fail, why should I
33 >> rebuild them?
34 >>
35 >> thanks,
36 >> allan
37 >>
38 >
39 > If you're transitioning over to the new profile, that means the
40 > dependencies would be built and linked to the old profile's
41 > binaries. This was merely a suggestion, as I've had some mighty
42 > strange things happen after upgrades to gcc in the past, all solved by
43 > `emerge -e
44 > world`, although... I didn't have packages fail back then.
45 >
46 > When I switched over to the 17 profile I had one rebuild failure, and
47 > it didn't have any direct dependencies fail.
48 >
49 > Dan
50
51 Now I understand that you mean packages that depend on failed builds.
52 I was mistakenly thinking of packages on which the failed build depends.
53
54 You are right and thanks again.
55 allan