public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] emerge @preserved-rebuild
@ 2008-06-26  9:12 Alan McKinnon
  2008-06-26 11:04 ` Zhang Le
  0 siblings, 1 reply; 6+ messages in thread
From: Alan McKinnon @ 2008-06-26  9:12 UTC (permalink / raw
  To: gentoo-user

Lately emerge-2.2 has been issuing output like this:

!!! existing preserved libs:
>>> package: dev-libs/eet-9999
 *  - /usr/lib/libeet.so.0
 *  - /usr/lib/libeet.so.0.9.99900
Use emerge @preserved-rebuild to rebuild packages using these libraries

There's no reference to this "@preserved-rebuild" argument in the emerge 
man page. Same with a new FEATURES=preserve-libs, which is mentioned in 
NEWS.

Is this documented anywhere?


-- 
Alan McKinnon
alan dot mckinnon at gmail dot com

-- 
gentoo-user@lists.gentoo.org mailing list



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

* Re: [gentoo-user] emerge @preserved-rebuild
  2008-06-26  9:12 [gentoo-user] emerge @preserved-rebuild Alan McKinnon
@ 2008-06-26 11:04 ` Zhang Le
  2008-06-26 11:18   ` Alan McKinnon
  0 siblings, 1 reply; 6+ messages in thread
From: Zhang Le @ 2008-06-26 11:04 UTC (permalink / raw
  To: gentoo-user

On 11:12 Thu 26 Jun     , Alan McKinnon wrote:
> Lately emerge-2.2 has been issuing output like this:
> 
> !!! existing preserved libs:
> >>> package: dev-libs/eet-9999
>  *  - /usr/lib/libeet.so.0
>  *  - /usr/lib/libeet.so.0.9.99900
> Use emerge @preserved-rebuild to rebuild packages using these libraries
> 
> There's no reference to this "@preserved-rebuild" argument in the emerge 
> man page. Same with a new FEATURES=preserve-libs, which is mentioned in 
> NEWS.
> 
> Is this documented anywhere?

In NEWS and RELEASE-NOTES of portage-2.2

Zhang Le
-- 
gentoo-user@lists.gentoo.org mailing list



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

* Re: [gentoo-user] emerge @preserved-rebuild
  2008-06-26 11:04 ` Zhang Le
@ 2008-06-26 11:18   ` Alan McKinnon
  2008-06-27 19:36     ` Zhang Le
  0 siblings, 1 reply; 6+ messages in thread
From: Alan McKinnon @ 2008-06-26 11:18 UTC (permalink / raw
  To: gentoo-user

On Thursday 26 June 2008, Zhang Le wrote:
> On 11:12 Thu 26 Jun     , Alan McKinnon wrote:
> > Lately emerge-2.2 has been issuing output like this:
> >
> > !!! existing preserved libs:
> > >>> package: dev-libs/eet-9999
> >
> >  *  - /usr/lib/libeet.so.0
> >  *  - /usr/lib/libeet.so.0.9.99900
> > Use emerge @preserved-rebuild to rebuild packages using these
> > libraries
> >
> > There's no reference to this "@preserved-rebuild" argument in the
> > emerge man page. Same with a new FEATURES=preserve-libs, which is
> > mentioned in NEWS.
> >
> > Is this documented anywhere?
>
> In NEWS and RELEASE-NOTES of portage-2.2

OK, so it's a new set feature. Could be useful.

That info is still a bit skimpy though. Is there anything more 
somewhere? And what about FEATURES=preserve-libs, is that documented 
somewhere?

-- 
Alan McKinnon
alan dot mckinnon at gmail dot com

-- 
gentoo-user@lists.gentoo.org mailing list



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

* Re: [gentoo-user] emerge @preserved-rebuild
  2008-06-26 11:18   ` Alan McKinnon
@ 2008-06-27 19:36     ` Zhang Le
  2008-06-27 19:59       ` Alan McKinnon
  2008-07-03  4:55       ` Vladimir G. Ivanovic
  0 siblings, 2 replies; 6+ messages in thread
From: Zhang Le @ 2008-06-27 19:36 UTC (permalink / raw
  To: gentoo-user

On 13:18 Thu 26 Jun     , Alan McKinnon wrote:
> That info is still a bit skimpy though. Is there anything more 
> somewhere? And what about FEATURES=preserve-libs, is that documented 
> somewhere?

All you need to do is to run 'emerge @preserved-rebuild' when you are reminded
to.
If you want to know the background, take a look:
http://r0bertz.blogspot.com/2008/06/portage-22-preserve-libs-features.html

Zhang Le
-- 
gentoo-user@lists.gentoo.org mailing list



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

* Re: [gentoo-user] emerge @preserved-rebuild
  2008-06-27 19:36     ` Zhang Le
@ 2008-06-27 19:59       ` Alan McKinnon
  2008-07-03  4:55       ` Vladimir G. Ivanovic
  1 sibling, 0 replies; 6+ messages in thread
From: Alan McKinnon @ 2008-06-27 19:59 UTC (permalink / raw
  To: gentoo-user

On Friday 27 June 2008, Zhang Le wrote:
> On 13:18 Thu 26 Jun     , Alan McKinnon wrote:
> > That info is still a bit skimpy though. Is there anything more
> > somewhere? And what about FEATURES=preserve-libs, is that
> > documented somewhere?
>
> All you need to do is to run 'emerge @preserved-rebuild' when you are
> reminded to.
> If you want to know the background, take a look:
> http://r0bertz.blogspot.com/2008/06/portage-22-preserve-libs-features
>.html

Thanks, that blog is very useful indeed.

I don't agree with the first comment though - it's not just for new 
users who don't understand revdep-rebuild. There is no realistic way of 
knowing which libs will be updated during an emerge and thereby causing 
breakage. This new syntax ensures stuff will still work and delete old 
libs only after affected apps have been rebuilt. Very useful, very 
appreciated.

-- 
Alan McKinnon
alan dot mckinnon at gmail dot com

-- 
gentoo-user@lists.gentoo.org mailing list



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

* Re: [gentoo-user] emerge @preserved-rebuild
  2008-06-27 19:36     ` Zhang Le
  2008-06-27 19:59       ` Alan McKinnon
@ 2008-07-03  4:55       ` Vladimir G. Ivanovic
  1 sibling, 0 replies; 6+ messages in thread
From: Vladimir G. Ivanovic @ 2008-07-03  4:55 UTC (permalink / raw
  To: gentoo-user

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

on 06/27/2008 12:36 PM Zhang Le said the following:
> On 13:18 Thu 26 Jun     , Alan McKinnon wrote:
>> That info is still a bit skimpy though. Is there anything more 
>> somewhere? And what about FEATURES=preserve-libs, is that documented 
>> somewhere?
> 
> All you need to do is to run 'emerge @preserved-rebuild' when you are reminded
> to.
> If you want to know the background, take a look:
> http://r0bertz.blogspot.com/2008/06/portage-22-preserve-libs-features.html

Thanks for the pointer.

I do have one additional question: What happens when a build in 
'emerge @preserve-rebuild' fails?

I'm assuming that 'emerge @preserve-rebuild' does something extra 
beyond a regular emerge, so I can't just 'emerge --skipfirst 
--resume'. If it only removes the listed, preserved libraries in 
addition to the emerge, then I can fix things up by hand by deleting 
the named libraries.

--- Vladimir

-- 
Vladimir G. Ivanovic



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

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

end of thread, other threads:[~2008-07-03  4:56 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-26  9:12 [gentoo-user] emerge @preserved-rebuild Alan McKinnon
2008-06-26 11:04 ` Zhang Le
2008-06-26 11:18   ` Alan McKinnon
2008-06-27 19:36     ` Zhang Le
2008-06-27 19:59       ` Alan McKinnon
2008-07-03  4:55       ` Vladimir G. Ivanovic

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