public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] Draft news item: preserve-libs default for portage-2.1.12
@ 2013-06-03  0:41 Zac Medico
  2013-06-03  9:59 ` Markos Chandras
                   ` (3 more replies)
  0 siblings, 4 replies; 13+ messages in thread
From: Zac Medico @ 2013-06-03  0:41 UTC (permalink / raw
  To: gentoo development, pr

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

Please review the attached news item which announces the preserve-libs 
default for portage-2.1.12. Note that our council has discussed this 
change in their 2013-05-14 meeting [1], and they were in favor of 
allowing it.

[1] http://thread.gmane.org/gmane.linux.gentoo.project/2448/focus=2452
-- 
Thanks,
Zac

[-- Attachment #2: 2013-06-07-portage-preserve-libs-default.en.txt --]
[-- Type: text/plain, Size: 806 bytes --]

Title: Portage preserve-libs default
Author: Zac Medico <zmedico@gentoo.org>
Content-Type: text/plain
Posted: 2012-06-07
Revision: 1
News-Item-Format: 1.0
Display-If-Installed: >=sys-apps/portage-2.1.12

Beginning with sys-apps/portage-2.1.12, FEATURES=preserve-libs is enabled by
default. This feature will preserve libraries when the sonames change during
upgrade or downgrade. Libraries are preserved only if consumers of those
libraries are detected. Preserved libraries are automatically removed when
there are no remaining consumers. Run `emerge @preserved-rebuild` in order to
rebuild all consumers of preserved libraries.

If you would like to disable this behavior by default, then set
FEATURES="-preserve-libs" in make.conf. See the make.conf(5) man page for more
information about this feature.

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

* Re: [gentoo-dev] Draft news item: preserve-libs default for portage-2.1.12
  2013-06-03  0:41 [gentoo-dev] Draft news item: preserve-libs default for portage-2.1.12 Zac Medico
@ 2013-06-03  9:59 ` Markos Chandras
  2013-06-03 10:13 ` Alex Alexander
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 13+ messages in thread
From: Markos Chandras @ 2013-06-03  9:59 UTC (permalink / raw
  To: gentoo-dev; +Cc: pr

On 3 June 2013 01:41, Zac Medico <zmedico@gentoo.org> wrote:
> Please review the attached news item which announces the preserve-libs
> default for portage-2.1.12. Note that our council has discussed this change
> in their 2013-05-14 meeting [1], and they were in favor of allowing it.
>
> [1] http://thread.gmane.org/gmane.linux.gentoo.project/2448/focus=2452
> --
> Thanks,
> Zac

Looks good to me.

--
Regards,
Markos Chandras - Gentoo Linux Developer
http://dev.gentoo.org/~hwoarang


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

* Re: [gentoo-dev] Draft news item: preserve-libs default for portage-2.1.12
  2013-06-03  0:41 [gentoo-dev] Draft news item: preserve-libs default for portage-2.1.12 Zac Medico
  2013-06-03  9:59 ` Markos Chandras
@ 2013-06-03 10:13 ` Alex Alexander
  2013-06-03 10:32 ` Tom Wijsman
  2013-06-04  0:04 ` [gentoo-dev] " Zac Medico
  3 siblings, 0 replies; 13+ messages in thread
From: Alex Alexander @ 2013-06-03 10:13 UTC (permalink / raw
  To: gentoo-dev; +Cc: pr

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

On Sun, Jun 02, 2013 at 05:41:21PM -0700, Zac Medico wrote:
> Please review the attached news item which announces the preserve-libs 
> default for portage-2.1.12. Note that our council has discussed this 
> change in their 2013-05-14 meeting [1], and they were in favor of 
> allowing it.
> 
> [1] http://thread.gmane.org/gmane.linux.gentoo.project/2448/focus=2452
> -- 
> Thanks,
> Zac

> Title: Portage preserve-libs default
> Author: Zac Medico <zmedico@gentoo.org>
> Content-Type: text/plain
> Posted: 2012-06-07
> Revision: 1
> News-Item-Format: 1.0
> Display-If-Installed: >=sys-apps/portage-2.1.12
> 
> Beginning with sys-apps/portage-2.1.12, FEATURES=preserve-libs is enabled by
> default. This feature will preserve libraries when the sonames change during
> upgrade or downgrade. Libraries are preserved only if consumers of those
> libraries are detected. Preserved libraries are automatically removed when
> there are no remaining consumers. Run `emerge @preserved-rebuild` in order to
> rebuild all consumers of preserved libraries.
> 
> If you would like to disable this behavior by default, then set
> FEATURES="-preserve-libs" in make.conf. See the make.conf(5) man page for more
> information about this feature.

Looks good. Perhaps you'd like to add that this replaces revdep-rebuild
in case it's not obvious to some users.

By the way: Whoooo hoooo xD
I almost believed this would never happen.

-- 
Alex Alexander | wired
+ Gentoo Linux Developer
++ www.linuxized.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

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

* Re: [gentoo-dev] Draft news item: preserve-libs default for portage-2.1.12
  2013-06-03  0:41 [gentoo-dev] Draft news item: preserve-libs default for portage-2.1.12 Zac Medico
  2013-06-03  9:59 ` Markos Chandras
  2013-06-03 10:13 ` Alex Alexander
@ 2013-06-03 10:32 ` Tom Wijsman
  2013-06-03 13:11   ` Rick "Zero_Chaos" Farina
  2013-06-04  0:24   ` Zac Medico
  2013-06-04  0:04 ` [gentoo-dev] " Zac Medico
  3 siblings, 2 replies; 13+ messages in thread
From: Tom Wijsman @ 2013-06-03 10:32 UTC (permalink / raw
  To: gentoo-dev

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

On Sun, 02 Jun 2013 17:41:21 -0700
Zac Medico <zmedico@gentoo.org> wrote:

I'll answer to some parts with what I think the user might think; I
know the answer to most of those, but the user might not.

> Beginning with sys-apps/portage-2.1.12, FEATURES=preserve-libs is
> enabled by default. This feature will preserve libraries when the
> sonames change during upgrade or downgrade.

Why are libraries being preserved?

> Libraries are preserved only if consumers of those libraries are
> detected.

When exactly are those consumers detected?

> Preserved libraries are automatically removed when there are no
> remaining consumers.

When exactly does this happen? At the end of any emerge action?

> Run `emerge @preserved-rebuild` in order to rebuild all consumers of
> preserved libraries.

When and why? Do I run this once? Do I need to run this often?

Besides these questions, the transition from revdep-rebuild to
@preserved-rebuild may be worth a note as well; if I remember correctly
you have to do one last revdep-rebuild when you enable this feature, or
in other words preserve-libs won't detect present inconsistencies. I
feel like this should probably be documented as well, as part of
mentioning that this is intended to replace revdep-rebuild...

-- 
With kind regards,

Tom Wijsman (TomWij)
Gentoo Developer

E-mail address  : TomWij@gentoo.org
GPG Public Key  : 6D34E57D
GPG Fingerprint : C165 AF18 AB4C 400B C3D2  ABF0 95B2 1FCD 6D34 E57D

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 490 bytes --]

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

* Re: [gentoo-dev] Draft news item: preserve-libs default for portage-2.1.12
  2013-06-03 10:32 ` Tom Wijsman
@ 2013-06-03 13:11   ` Rick "Zero_Chaos" Farina
  2013-06-04  0:24   ` Zac Medico
  1 sibling, 0 replies; 13+ messages in thread
From: Rick "Zero_Chaos" Farina @ 2013-06-03 13:11 UTC (permalink / raw
  To: gentoo-dev

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 06/03/2013 06:32 AM, Tom Wijsman wrote:
> On Sun, 02 Jun 2013 17:41:21 -0700
> Zac Medico <zmedico@gentoo.org> wrote:
> 

The news item is good, but I agree with Tom there could be more
questions.  Maybe adding a link to some page which explains the
functionality in detail?

- -Zero
> I'll answer to some parts with what I think the user might think; I
> know the answer to most of those, but the user might not.
> 
>> Beginning with sys-apps/portage-2.1.12, FEATURES=preserve-libs is
>> enabled by default. This feature will preserve libraries when the
>> sonames change during upgrade or downgrade.
> 
> Why are libraries being preserved?
> 
>> Libraries are preserved only if consumers of those libraries are
>> detected.
> 
> When exactly are those consumers detected?
> 
>> Preserved libraries are automatically removed when there are no
>> remaining consumers.
> 
> When exactly does this happen? At the end of any emerge action?
> 
>> Run `emerge @preserved-rebuild` in order to rebuild all consumers of
>> preserved libraries.
> 
> When and why? Do I run this once? Do I need to run this often?
> 
> Besides these questions, the transition from revdep-rebuild to
> @preserved-rebuild may be worth a note as well; if I remember correctly
> you have to do one last revdep-rebuild when you enable this feature, or
> in other words preserve-libs won't detect present inconsistencies. I
> feel like this should probably be documented as well, as part of
> mentioning that this is intended to replace revdep-rebuild...
> 

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBAgAGBQJRrJXnAAoJEKXdFCfdEflKKtIQAJMYNQcG20jqwwxxVY9+OOCs
Mr+VpcZY+1pCWigCA5AaTpgnU0yr+tvg9wtHvkpMh7lZMjpx4Ot5YQe5BsCfF2w+
bOZztEXbb5d2O5QIjaYG30/UERSxy0tDIGLPbJRO20Qcbw4JEuVpHeW9cXOBciD+
uJ/ISSKmSncrPfuDkJAt/eHx3RaxWhyaYCW+GJJdnzXfSPbkGOVtn/x7+jHex/2o
hZ37mqhpu5hCmWHDC3ycFSpB6/+M8ghY0mTo6OYKbqEvPs7u50uBVD/CqYbleFr2
BLSDkEVJo3nyPiuQaP/NGyHIidlW1ejfrqUT811I23DL7OuRc5usIRxINA3VzaVi
HtbEMhrDXTKgY56Tq/sxRqHB5VI6kin6z7q347l1OVjf3uYLEcXQsOxeowDW5rZ8
5cUfIXDsadvAnactLS9axIcBjya2O+siBchAlQ6BYckDJlEaMCoM3tWCQ5cGoDO6
tYEz3VRLJDpFmtDoCGQI4KweG5zdXLMvtupg4MN8omhoP4l6oswEQ0Htvba1HNPn
HCha+8BABXpRsn81BrOg9Re2EozInykVCMQ6ze+oZBkSeOW+Os6pIe9hkISqjENc
IZ4weFBYWz+KSiAX2mFh1KgPf6mVMxoPbRdQyoZgJwscQSysxm+eOej/dsuVCZZ1
gujVTWb3m2HfdxSZWiSq
=wrBb
-----END PGP SIGNATURE-----


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

* [gentoo-dev] Re: Draft news item: preserve-libs default for portage-2.1.12
  2013-06-03  0:41 [gentoo-dev] Draft news item: preserve-libs default for portage-2.1.12 Zac Medico
                   ` (2 preceding siblings ...)
  2013-06-03 10:32 ` Tom Wijsman
@ 2013-06-04  0:04 ` Zac Medico
  3 siblings, 0 replies; 13+ messages in thread
From: Zac Medico @ 2013-06-04  0:04 UTC (permalink / raw
  To: gentoo development, pr

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

Here's a revised version based on feedback. I've included a link to a 
wiki page about preserve-libs, where we can add answers to all of the 
questions that may arise:

   http://wiki.gentoo.org/wiki/Preserve-libs
-- 
Thanks,
Zac

[-- Attachment #2: 2013-06-07-portage-preserve-libs-default.en.txt --]
[-- Type: text/plain, Size: 852 bytes --]

Title: Portage preserve-libs default
Author: Zac Medico <zmedico@gentoo.org>
Content-Type: text/plain
Posted: 2012-06-07
Revision: 1
News-Item-Format: 1.0
Display-If-Installed: >=sys-apps/portage-2.1.12

Beginning with sys-apps/portage-2.1.12, FEATURES=preserve-libs is
enabled by default. Even though preserve-libs makes it unnecessary to
use revdep-rebuild for most common updates, it is still a good practice
to run `revdep-rebuild -ip` after updates, in order to check if there
are any broken library dependencies that preserve-libs was not able to
handle. For example, see http://bugs.gentoo.org/show_bug.cgi?id=459038.

If you would like to disable preserve-libs by default, then set
FEATURES="-preserve-libs" in make.conf. See the make.conf(5) man page
or the following wiki page for more information:

http://wiki.gentoo.org/wiki/Preserve-libs

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

* Re: [gentoo-dev] Draft news item: preserve-libs default for portage-2.1.12
  2013-06-03 10:32 ` Tom Wijsman
  2013-06-03 13:11   ` Rick "Zero_Chaos" Farina
@ 2013-06-04  0:24   ` Zac Medico
  2013-06-04  6:49     ` Pacho Ramos
  2013-06-04 16:20     ` Samuli Suominen
  1 sibling, 2 replies; 13+ messages in thread
From: Zac Medico @ 2013-06-04  0:24 UTC (permalink / raw
  To: gentoo-dev

On 06/03/2013 03:32 AM, Tom Wijsman wrote:
> On Sun, 02 Jun 2013 17:41:21 -0700
> Zac Medico <zmedico@gentoo.org> wrote:
>
> I'll answer to some parts with what I think the user might think; I
> know the answer to most of those, but the user might not.

The news item now includes a link to this wiki page which we can use to 
answer all of the questions that may arise:

   http://wiki.gentoo.org/wiki/Preserve-libs

> Besides these questions, the transition from revdep-rebuild to
> @preserved-rebuild may be worth a note as well; if I remember correctly
> you have to do one last revdep-rebuild when you enable this feature, or
> in other words preserve-libs won't detect present inconsistencies. I
> feel like this should probably be documented as well, as part of
> mentioning that this is intended to replace revdep-rebuild...

Yeah. The news item now advises the user that it's a good practice to 
run revdep-rebuild anyway, just to be safe.
-- 
Thanks,
Zac


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

* Re: [gentoo-dev] Draft news item: preserve-libs default for portage-2.1.12
  2013-06-04  0:24   ` Zac Medico
@ 2013-06-04  6:49     ` Pacho Ramos
  2013-06-04 11:07       ` Zac Medico
  2013-06-04 16:20     ` Samuli Suominen
  1 sibling, 1 reply; 13+ messages in thread
From: Pacho Ramos @ 2013-06-04  6:49 UTC (permalink / raw
  To: gentoo-dev

El lun, 03-06-2013 a las 17:24 -0700, Zac Medico escribió:
[...]
> Yeah. The news item now advises the user that it's a good practice to 
> run revdep-rebuild anyway, just to be safe.

I would also suggest people to report bugs when they find cases not
catched by preserve-libs as they can be a real bug (like bug #460826)



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

* Re: [gentoo-dev] Draft news item: preserve-libs default for portage-2.1.12
  2013-06-04  6:49     ` Pacho Ramos
@ 2013-06-04 11:07       ` Zac Medico
  0 siblings, 0 replies; 13+ messages in thread
From: Zac Medico @ 2013-06-04 11:07 UTC (permalink / raw
  To: gentoo-dev

On 06/03/2013 11:49 PM, Pacho Ramos wrote:
> El lun, 03-06-2013 a las 17:24 -0700, Zac Medico escribió:
> [...]
>> Yeah. The news item now advises the user that it's a good practice to
>> run revdep-rebuild anyway, just to be safe.
>
> I would also suggest people to report bugs when they find cases not
> catched by preserve-libs as they can be a real bug (like bug #460826)

Well, I already gave them an example bug report, so hopefully they'll 
take that as a clue. I don't feel like nagging them to file bugs.
-- 
Thanks,
Zac


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

* Re: [gentoo-dev] Draft news item: preserve-libs default for portage-2.1.12
  2013-06-04  0:24   ` Zac Medico
  2013-06-04  6:49     ` Pacho Ramos
@ 2013-06-04 16:20     ` Samuli Suominen
  2013-06-04 20:51       ` Zac Medico
  1 sibling, 1 reply; 13+ messages in thread
From: Samuli Suominen @ 2013-06-04 16:20 UTC (permalink / raw
  To: gentoo-dev

On 04/06/13 03:24, Zac Medico wrote:
> Yeah. The news item now advises the user that it's a good practice to
> run revdep-rebuild anyway, just to be safe.

And `revdep-rebuild --library libfoobar.so.0` is still useful,
unless Portage can replace targeted --library calls too?

Just saying I'm not seeing the command going away anytime soon ;-)

- Samuli


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

* Re: [gentoo-dev] Draft news item: preserve-libs default for portage-2.1.12
  2013-06-04 16:20     ` Samuli Suominen
@ 2013-06-04 20:51       ` Zac Medico
  2013-06-04 20:56         ` Rich Freeman
  0 siblings, 1 reply; 13+ messages in thread
From: Zac Medico @ 2013-06-04 20:51 UTC (permalink / raw
  To: gentoo-dev

On 06/04/2013 09:20 AM, Samuli Suominen wrote:
> On 04/06/13 03:24, Zac Medico wrote:
>> Yeah. The news item now advises the user that it's a good practice to
>> run revdep-rebuild anyway, just to be safe.
>
> And `revdep-rebuild --library libfoobar.so.0` is still useful,

This is for a ABI change without bumping the soname? It's possible to 
trigger rebuilds for that case by using sub-slots and slot-operators.

> unless Portage can replace targeted --library calls too?

No, portage doesn't have that, except when it's implied via sub-slots 
and slot-operators.

> Just saying I'm not seeing the command going away anytime soon ;-)

Yes, it could certainly be useful in some situations.
-- 
Thanks,
Zac


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

* Re: [gentoo-dev] Draft news item: preserve-libs default for portage-2.1.12
  2013-06-04 20:51       ` Zac Medico
@ 2013-06-04 20:56         ` Rich Freeman
  2013-06-05  1:35           ` Rick "Zero_Chaos" Farina
  0 siblings, 1 reply; 13+ messages in thread
From: Rich Freeman @ 2013-06-04 20:56 UTC (permalink / raw
  To: gentoo-dev

On Tue, Jun 4, 2013 at 4:51 PM, Zac Medico <zmedico@gentoo.org> wrote:
> This is for a ABI change without bumping the soname? It's possible to
> trigger rebuilds for that case by using sub-slots and slot-operators.

Or you could choose a longer-term solution like firebombing the
upstream maintainers...

Rich


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

* Re: [gentoo-dev] Draft news item: preserve-libs default for portage-2.1.12
  2013-06-04 20:56         ` Rich Freeman
@ 2013-06-05  1:35           ` Rick "Zero_Chaos" Farina
  0 siblings, 0 replies; 13+ messages in thread
From: Rick "Zero_Chaos" Farina @ 2013-06-05  1:35 UTC (permalink / raw
  To: gentoo-dev

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 06/04/2013 04:56 PM, Rich Freeman wrote:
> On Tue, Jun 4, 2013 at 4:51 PM, Zac Medico <zmedico@gentoo.org>
> wrote:
>> This is for a ABI change without bumping the soname? It's
>> possible to trigger rebuilds for that case by using sub-slots and
>> slot-operators.
> 
> Or you could choose a longer-term solution like firebombing the 
> upstream maintainers...
> 
HA! ++

- -Zero
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBAgAGBQJRrpXZAAoJEKXdFCfdEflK1EsQAIDpfQe9HGAl7g62hd9qBh7K
Kc7tKpRRtYal7WTI5KnhzTkofGfd8eOnuG8DYQpZ8r6Ush3dseDTTOvUD12I6E63
De3x7HjCLLzVo6EtsVcynLb2TG52hgM+EWW4cFR1y7T3/InriuiG5CFOKy37VXE9
Yw+FmaGh4OtPhqzsElVi8HmxeSSOhye856ueHNjBYO8RhalVEOalEkUJ25vo2RSL
25TkDjKVbSlDYKkzY3KkkZa9HcdSFAufrcdywtVIteiDNzjK694QQTVsU4xqxu4V
TEQTT7/tg9Y6TEV1dwzFZVtb3NIncTvwN1Pkf8LOHW7KWxJiv7r8aEM0UoDHqjvy
mgDdtdWrNek9YQghsCboGl4w3ZB4S/rIkLkCaarosUyfH99bAqgflvg5hAAkr6xi
iumIJFcBBxXiQIFAIzKzoa9MJU40Q9fM1MmvCtfpu8x0eoiKzRN/EPNAhU/HZP1t
2ublDGRe5iAtHvd2sF1TXCeB2UXIj5iQS+/L5Tm3mZ0quQ44TnRv04toy5bT2Juz
GkoS0tY3m3YXiMCWHZgVRiopY6fkYMgzFhGIS2vgkvNDwMWwjOOy4ljC3g3KcMyt
wawAkaVI2TnMvt3wjm5phzyNJVT3M+rRUR79daASRgLUEdUtKjnssHcQgDxk/XOF
HVUMlwFoHUbS0ny6qj76
=8bCV
-----END PGP SIGNATURE-----


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

end of thread, other threads:[~2013-06-05  1:34 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-03  0:41 [gentoo-dev] Draft news item: preserve-libs default for portage-2.1.12 Zac Medico
2013-06-03  9:59 ` Markos Chandras
2013-06-03 10:13 ` Alex Alexander
2013-06-03 10:32 ` Tom Wijsman
2013-06-03 13:11   ` Rick "Zero_Chaos" Farina
2013-06-04  0:24   ` Zac Medico
2013-06-04  6:49     ` Pacho Ramos
2013-06-04 11:07       ` Zac Medico
2013-06-04 16:20     ` Samuli Suominen
2013-06-04 20:51       ` Zac Medico
2013-06-04 20:56         ` Rich Freeman
2013-06-05  1:35           ` Rick "Zero_Chaos" Farina
2013-06-04  0:04 ` [gentoo-dev] " Zac Medico

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