Re: [gentoo-dev] Draft news item: preserve-libs default for portage-2.1.12

2013-06-04 Thread Pacho Ramos
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)




Re: [gentoo-dev] Draft news item: preserve-libs default for portage-2.1.12

2013-06-04 Thread Zac Medico

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



Re: [gentoo-dev] Draft news item: preserve-libs default for portage-2.1.12

2013-06-04 Thread Samuli Suominen

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



Re: [gentoo-dev] Draft news item: preserve-libs default for portage-2.1.12

2013-06-04 Thread Zac Medico

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



Re: [gentoo-dev] Draft news item: preserve-libs default for portage-2.1.12

2013-06-04 Thread Rich Freeman
On Tue, Jun 4, 2013 at 4:51 PM, Zac Medico zmed...@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



Re: [gentoo-dev] Draft news item: preserve-libs default for portage-2.1.12

2013-06-04 Thread Rick Zero_Chaos Farina
-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 zmed...@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-



Re: [gentoo-dev] Draft news item: preserve-libs default for portage-2.1.12

2013-06-03 Thread Markos Chandras
On 3 June 2013 01:41, Zac Medico zmed...@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



Re: [gentoo-dev] Draft news item: preserve-libs default for portage-2.1.12

2013-06-03 Thread Alex Alexander
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 zmed...@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: Wh h xD
I almost believed this would never happen.

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


signature.asc
Description: Digital signature


Re: [gentoo-dev] Draft news item: preserve-libs default for portage-2.1.12

2013-06-03 Thread Tom Wijsman
On Sun, 02 Jun 2013 17:41:21 -0700
Zac Medico zmed...@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  : tom...@gentoo.org
GPG Public Key  : 6D34E57D
GPG Fingerprint : C165 AF18 AB4C 400B C3D2  ABF0 95B2 1FCD 6D34 E57D


signature.asc
Description: PGP signature


Re: [gentoo-dev] Draft news item: preserve-libs default for portage-2.1.12

2013-06-03 Thread Rick Zero_Chaos Farina
-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 zmed...@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-



Re: [gentoo-dev] Draft news item: preserve-libs default for portage-2.1.12

2013-06-03 Thread Zac Medico

On 06/03/2013 03:32 AM, Tom Wijsman wrote:

On Sun, 02 Jun 2013 17:41:21 -0700
Zac Medico zmed...@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



[gentoo-dev] Draft news item: preserve-libs default for portage-2.1.12

2013-06-02 Thread Zac Medico
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 zmed...@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.