From: Michael Palimaka <kensington@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: [gentoo-dev] Re: On the good usage of subslots
Date: Sat, 09 Feb 2013 23:38:35 +1100 [thread overview]
Message-ID: <kf5g08$ns1$1@ger.gmane.org> (raw)
In-Reply-To: <20130209091503.1f75352d@gentoo.org>
Hi,
On 9/02/2013 23:15, Alexis Ballier wrote:
> Dear fellow developers,
>
> I hope this will be trivial to most of you but after seeing bug #455900
> and the vast majority of developers not even thinking twice before
> sedding their dep strings, I believe this needs some attention.
What is wrong with maintainers just updating their dependencies in this
fashion? Surely the onus in this case is on package maintainers setting
sensible subslots (which is indeed what you appear to be saying below)?
I even noticed some maintainers adding subslots dependencies on
libraries that do not yet define subslots. This too seems reasonable,
given that there would be no impact until the library defines a
(sensible) subslot in the future.
>
> What do subslots do: You set a subslot to a package and every time said
> package subslot changes (e.g. with an update), others packages
> depending on it with a := dep will be rebuilt. Nothing more, nothing
> less.
>
> Now, this solves a real problem: haskell, perl and ocaml packages need
> to be rebuilt after updating their respective compiler/interpreter and,
> in some cases, even after updating the libraries they use. Subslots
> would make haskell-updater, perl-cleaner and ocaml-rebuild not needed
> in the future.
>
> You can also use subslots to notify an ABI change in a shared library,
> in order to avoid having to use preserve-libs or run revdep-rebuild.
> However, this week I had to rebuild webkit-gtk three or four times and
> libreoffice twice...
> If you want to notify ABI changes, then you should set subslot to
> something representing the ABI, $PV as subslot is most certainly wrong
> in that case. Subslot is *not* a substitute to checking your library
> ABI, checking if its reverse dependencies work fine after the update,
> and notifying upstream if something went wrong so they can make a quick
> release fixing their mistake. Subslot is also *not* a substitute to
> soname and ensuring ABI compatibility (at least forward) between
> libraries with the same major. Using subslot only to be on the safe
> side and forcing a rebuild of all the dependent packages because it is
> too much work to check the ABI and work with upstream is, IMHO, a
> serious QA issue.
>
> Thank you for your attention,
>
> Alexis.
>
>
Best regards,
Michael
next prev parent reply other threads:[~2013-02-09 12:39 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-09 12:15 [gentoo-dev] On the good usage of subslots Alexis Ballier
2013-02-09 12:38 ` Michael Palimaka [this message]
2013-02-09 12:46 ` [gentoo-dev] " Alexis Ballier
2013-02-09 12:52 ` Alexis Ballier
2013-02-09 14:09 ` Michael Palimaka
2013-02-11 0:45 ` Alexis Ballier
2013-02-11 15:40 ` Ian Stakenvicius
2013-02-09 13:47 ` [gentoo-dev] " Samuli Suominen
2013-02-09 14:05 ` [gentoo-dev] " Michael Palimaka
2013-02-09 16:06 ` Zac Medico
2013-02-09 16:36 ` Michael Palimaka
2013-02-09 16:39 ` Samuli Suominen
2013-02-09 16:53 ` Pacho Ramos
2013-02-09 19:21 ` [gentoo-dev] " Michał Górny
2013-02-11 0:44 ` Alexis Ballier
2013-02-11 20:53 ` James Cloos
2013-02-11 21:13 ` Ian Stakenvicius
2013-02-11 21:21 ` Zac Medico
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='kf5g08$ns1$1@ger.gmane.org' \
--to=kensington@gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox