public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] emerge -e and --resume
@ 2018-01-05 18:00 allan gottlieb
  2018-01-05 21:15 ` Neil Bothwick
  0 siblings, 1 reply; 9+ messages in thread
From: allan gottlieb @ 2018-01-05 18:00 UTC (permalink / raw
  To: gentoo-user

I am finally moving my production machine the the 17.0 profile.
Currently running is

    emerge -e --keep-going @world

So far there is one failure (libcryptui, the fix is easy).

Am I correct that when the above emerge completes, I should run
simply

    emerge --resume

Thanks,
allan

PS in make.conf I have

EMERGE_DEFAULT_OPTS="--ask --deep --tree --jobs --load-average=5"
MAKEOPTS="--jobs=8 --load-average=5"


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] emerge -e and --resume
  2018-01-05 18:00 [gentoo-user] emerge -e and --resume allan gottlieb
@ 2018-01-05 21:15 ` Neil Bothwick
  2018-01-05 21:17   ` Daniel Frey
  2018-01-06  2:49   ` allan gottlieb
  0 siblings, 2 replies; 9+ messages in thread
From: Neil Bothwick @ 2018-01-05 21:15 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 620 bytes --]

On Fri, 05 Jan 2018 13:00:20 -0500, allan gottlieb wrote:

> I am finally moving my production machine the the 17.0 profile.
> Currently running is
> 
>     emerge -e --keep-going @world
> 
> So far there is one failure (libcryptui, the fix is easy).
> 
> Am I correct that when the above emerge completes, I should run
> simply
> 
>     emerge --resume

If the emerge has completed, there is nothing to resume. Just make a note
of the packages that failed to build ans emerge --oneshot them, with any
necessary fixes.


-- 
Neil Bothwick

SITCOM: Single Income, Two Children, Oppressive Mortgage

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] emerge -e and --resume
  2018-01-05 21:15 ` Neil Bothwick
@ 2018-01-05 21:17   ` Daniel Frey
  2018-01-06  2:50     ` allan gottlieb
  2018-01-06  2:49   ` allan gottlieb
  1 sibling, 1 reply; 9+ messages in thread
From: Daniel Frey @ 2018-01-05 21:17 UTC (permalink / raw
  To: gentoo-user

On 01/05/18 13:15, Neil Bothwick wrote:
> On Fri, 05 Jan 2018 13:00:20 -0500, allan gottlieb wrote:
> 
>> I am finally moving my production machine the the 17.0 profile.
>> Currently running is
>>
>>      emerge -e --keep-going @world
>>
>> So far there is one failure (libcryptui, the fix is easy).
>>
>> Am I correct that when the above emerge completes, I should run
>> simply
>>
>>      emerge --resume
> 
> If the emerge has completed, there is nothing to resume. Just make a note
> of the packages that failed to build ans emerge --oneshot them, with any
> necessary fixes.
> 
> 

You may also want to check for dependencies (as in: `equery depends 
<package>` and rebuild the dependencies of the failed package as well.

Dan


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] emerge -e and --resume
  2018-01-05 21:15 ` Neil Bothwick
  2018-01-05 21:17   ` Daniel Frey
@ 2018-01-06  2:49   ` allan gottlieb
  2018-01-06  9:40     ` Peter Humphrey
  1 sibling, 1 reply; 9+ messages in thread
From: allan gottlieb @ 2018-01-06  2:49 UTC (permalink / raw
  To: gentoo-user

On Fri, Jan 05 2018, Neil Bothwick wrote:

> On Fri, 05 Jan 2018 13:00:20 -0500, allan gottlieb wrote:
>
>> I am finally moving my production machine the the 17.0 profile.
>> Currently running is
>> 
>>     emerge -e --keep-going @world
>> 
>> So far there is one failure (libcryptui, the fix is easy).
>> 
>> Am I correct that when the above emerge completes, I should run
>> simply
>> 
>>     emerge --resume
>
> If the emerge has completed, there is nothing to resume. Just make a note
> of the packages that failed to build ans emerge --oneshot them, with any
> necessary fixes.

Thank you.  So far (only 104 to go) just the one failure.  Will the
     emerge --keep-going
print a list of failed pkgs at the end?

thanks again,
allan


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] emerge -e and --resume
  2018-01-05 21:17   ` Daniel Frey
@ 2018-01-06  2:50     ` allan gottlieb
  2018-01-06  3:03       ` Daniel Frey
  0 siblings, 1 reply; 9+ messages in thread
From: allan gottlieb @ 2018-01-06  2:50 UTC (permalink / raw
  To: gentoo-user

On Fri, Jan 05 2018, Daniel Frey wrote:

> On 01/05/18 13:15, Neil Bothwick wrote:
>> On Fri, 05 Jan 2018 13:00:20 -0500, allan gottlieb wrote:
>>
>>> I am finally moving my production machine the the 17.0 profile.
>>> Currently running is
>>>
>>>      emerge -e --keep-going @world
>>>
>>> So far there is one failure (libcryptui, the fix is easy).
>>>
>>> Am I correct that when the above emerge completes, I should run
>>> simply
>>>
>>>      emerge --resume
>>
>> If the emerge has completed, there is nothing to resume. Just make a note
>> of the packages that failed to build ans emerge --oneshot them, with any
>> necessary fixes.
>>
>>
>
> You may also want to check for dependencies (as in: `equery depends
> <package>` and rebuild the dependencies of the failed package as well.
>
> Dan

I don't understand.  If the dependencies didn't fail, why should I
rebuild them?

thanks,
allan


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] emerge -e and --resume
  2018-01-06  2:50     ` allan gottlieb
@ 2018-01-06  3:03       ` Daniel Frey
  2018-01-06 12:53         ` allan gottlieb
  0 siblings, 1 reply; 9+ messages in thread
From: Daniel Frey @ 2018-01-06  3:03 UTC (permalink / raw
  To: gentoo-user

On 01/05/18 18:50, allan gottlieb wrote:
> On Fri, Jan 05 2018, Daniel Frey wrote:
> 
>> On 01/05/18 13:15, Neil Bothwick wrote:
>>> On Fri, 05 Jan 2018 13:00:20 -0500, allan gottlieb wrote:
>>>
>>>> I am finally moving my production machine the the 17.0 profile.
>>>> Currently running is
>>>>
>>>>       emerge -e --keep-going @world
>>>>
>>>> So far there is one failure (libcryptui, the fix is easy).
>>>>
>>>> Am I correct that when the above emerge completes, I should run
>>>> simply
>>>>
>>>>       emerge --resume
>>>
>>> If the emerge has completed, there is nothing to resume. Just make a note
>>> of the packages that failed to build ans emerge --oneshot them, with any
>>> necessary fixes.
>>>
>>>
>>
>> You may also want to check for dependencies (as in: `equery depends
>> <package>` and rebuild the dependencies of the failed package as well.
>>
>> Dan
> 
> I don't understand.  If the dependencies didn't fail, why should I
> rebuild them?
> 
> thanks,
> allan
> 

If you're transitioning over to the new profile, that means the 
dependencies would be built and linked to the old profile's binaries. 
This was merely a suggestion, as I've had some mighty strange things 
happen after upgrades to gcc in the past, all solved by `emerge -e 
world`, although... I didn't have packages fail back then.

When I switched over to the 17 profile I had one rebuild failure, and it 
didn't have any direct dependencies fail.

Dan


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] emerge -e and --resume
  2018-01-06  2:49   ` allan gottlieb
@ 2018-01-06  9:40     ` Peter Humphrey
  2018-01-06  9:54       ` Neil Bothwick
  0 siblings, 1 reply; 9+ messages in thread
From: Peter Humphrey @ 2018-01-06  9:40 UTC (permalink / raw
  To: gentoo-user

On Saturday, 6 January 2018 02:49:53 GMT allan gottlieb wrote:
> On Fri, Jan 05 2018, Neil Bothwick wrote:
> > On Fri, 05 Jan 2018 13:00:20 -0500, allan gottlieb wrote:
> >> I am finally moving my production machine the the 17.0 profile.
> >> Currently running is
> >> 
> >>     emerge -e --keep-going @world
> >> 
> >> So far there is one failure (libcryptui, the fix is easy).
> >> 
> >> Am I correct that when the above emerge completes, I should run
> >> simply
> >> 
> >>     emerge --resume
> > 
> > If the emerge has completed, there is nothing to resume. Just make a
> > note
> > of the packages that failed to build ans emerge --oneshot them, with any
> > necessary fixes.
> 
> Thank you.  So far (only 104 to go) just the one failure.  Will the
>      emerge --keep-going
> print a list of failed pkgs at the end?

Yes, it will; it'll give you the same output from each failure as you would 
have got separately.


-- 
Regards,
Peter.



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] emerge -e and --resume
  2018-01-06  9:40     ` Peter Humphrey
@ 2018-01-06  9:54       ` Neil Bothwick
  0 siblings, 0 replies; 9+ messages in thread
From: Neil Bothwick @ 2018-01-06  9:54 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 769 bytes --]

On Sat, 06 Jan 2018 09:40:32 +0000, Peter Humphrey wrote:

> > > If the emerge has completed, there is nothing to resume. Just make a
> > > note
> > > of the packages that failed to build ans emerge --oneshot them,
> > > with any necessary fixes.  
> > 
> > Thank you.  So far (only 104 to go) just the one failure.  Will the
> >      emerge --keep-going
> > print a list of failed pkgs at the end?  
> 
> Yes, it will; it'll give you the same output from each failure as you
> would have got separately.

It will also include any reverse dependencies (I think this is what Dan
was getting at) that were skipped because a package failed to build.


-- 
Neil Bothwick

At any event, the people whose seats are furthest from
the aisle arrive last.

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] emerge -e and --resume
  2018-01-06  3:03       ` Daniel Frey
@ 2018-01-06 12:53         ` allan gottlieb
  0 siblings, 0 replies; 9+ messages in thread
From: allan gottlieb @ 2018-01-06 12:53 UTC (permalink / raw
  To: gentoo-user

On Fri, Jan 05 2018, Daniel Frey wrote:

> On 01/05/18 18:50, allan gottlieb wrote:
>> On Fri, Jan 05 2018, Daniel Frey wrote:
>>
>>> On 01/05/18 13:15, Neil Bothwick wrote:
>>>> On Fri, 05 Jan 2018 13:00:20 -0500, allan gottlieb wrote:
>>>>
>>>>> I am finally moving my production machine the the 17.0 profile.
>>>>> Currently running is
>>>>>
>>>>>       emerge -e --keep-going @world
>>>>>
>>>>> So far there is one failure (libcryptui, the fix is easy).
>>>>>
>>>>> Am I correct that when the above emerge completes, I should run
>>>>> simply
>>>>>
>>>>>       emerge --resume
>>>>
>>>> If the emerge has completed, there is nothing to resume. Just make a note
>>>> of the packages that failed to build ans emerge --oneshot them, with any
>>>> necessary fixes.
>>>>
>>>>
>>>
>>> You may also want to check for dependencies (as in: `equery depends
>>> <package>` and rebuild the dependencies of the failed package as well.
>>>
>>> Dan
>>
>> I don't understand.  If the dependencies didn't fail, why should I
>> rebuild them?
>>
>> thanks,
>> allan
>>
>
> If you're transitioning over to the new profile, that means the
> dependencies would be built and linked to the old profile's
> binaries. This was merely a suggestion, as I've had some mighty
> strange things happen after upgrades to gcc in the past, all solved by
> `emerge -e 
> world`, although... I didn't have packages fail back then.
>
> When I switched over to the 17 profile I had one rebuild failure, and
> it didn't have any direct dependencies fail.
>
> Dan

Now I understand that you mean packages that depend on failed builds.
I was mistakenly thinking of packages on which the failed build depends.

You are right and thanks again.
allan


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2018-01-06 12:53 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-05 18:00 [gentoo-user] emerge -e and --resume allan gottlieb
2018-01-05 21:15 ` Neil Bothwick
2018-01-05 21:17   ` Daniel Frey
2018-01-06  2:50     ` allan gottlieb
2018-01-06  3:03       ` Daniel Frey
2018-01-06 12:53         ` allan gottlieb
2018-01-06  2:49   ` allan gottlieb
2018-01-06  9:40     ` Peter Humphrey
2018-01-06  9:54       ` Neil Bothwick

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox