* Re: [gentoo-dev] News Item: Portage Dynamic Deps
2018-01-22 10:28 ` Andreas K. Huettel
@ 2018-01-22 10:53 ` James Le Cuirot
2018-01-22 16:43 ` Ian Stakenvicius
` (4 subsequent siblings)
5 siblings, 0 replies; 21+ messages in thread
From: James Le Cuirot @ 2018-01-22 10:53 UTC (permalink / raw
To: gentoo-dev
On Mon, 22 Jan 2018 11:28:21 +0100
"Andreas K. Huettel" <dilfridge@gentoo.org> wrote:
> Am Montag, 22. Januar 2018, 08:01:08 CET schrieb Zac Medico:
> >
> > According to Gentoo policy, future ebuild dependency changes need
> > to be accompanied by a revision bump in order to trigger rebuilds
> > for users. Therefore, you should only need to use --changed-deps=y
> > for a single deep @world update. After that, if you encounter
> > installed packages with outdated dependencies in a future deep
> > @world update, then you should report it as a bug.
>
> Did you come up with a solution how to handle eclass-generated
> dependency changes then?
>
> I'd loathe to have to do identical revision bumps for, say, all perl-
> module.eclass consumers...
Isn't there a rule about allowing existing dependency version bumps? I
can't remember exactly how it went. Something about subsets. ;)
--
James Le Cuirot (chewi)
Gentoo Linux Developer
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-dev] News Item: Portage Dynamic Deps
2018-01-22 10:28 ` Andreas K. Huettel
2018-01-22 10:53 ` James Le Cuirot
@ 2018-01-22 16:43 ` Ian Stakenvicius
2018-01-22 16:45 ` Ciaran McCreesh
` (3 subsequent siblings)
5 siblings, 0 replies; 21+ messages in thread
From: Ian Stakenvicius @ 2018-01-22 16:43 UTC (permalink / raw
To: gentoo-dev
[-- Attachment #1.1: Type: text/plain, Size: 1005 bytes --]
On 2018-01-22 05:28 AM, Andreas K. Huettel wrote:
> Am Montag, 22. Januar 2018, 08:01:08 CET schrieb Zac Medico:
>>
>> According to Gentoo policy, future ebuild dependency changes need to be
>> accompanied by a revision bump in order to trigger rebuilds for users.
>> Therefore, you should only need to use --changed-deps=y for a single
>> deep @world update. After that, if you encounter installed packages with
>> outdated dependencies in a future deep @world update, then you should
>> report it as a bug.
>
> Did you come up with a solution how to handle eclass-generated dependency
> changes then?
>
> I'd loathe to have to do identical revision bumps for, say, all perl-
> module.eclass consumers...
>
Based on what I'm seeing in perl-module.eclass now I don't think this
is an issue -- first, perl isn't slotted; second, perl doesn't specify
${PV} information in the eclass. If it started to do either of these,
then yes revbumps are going to start being necessary..
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 248 bytes --]
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-dev] News Item: Portage Dynamic Deps
2018-01-22 10:28 ` Andreas K. Huettel
2018-01-22 10:53 ` James Le Cuirot
2018-01-22 16:43 ` Ian Stakenvicius
@ 2018-01-22 16:45 ` Ciaran McCreesh
2018-01-24 7:05 ` Kent Fredric
2018-01-22 16:59 ` Michał Górny
` (2 subsequent siblings)
5 siblings, 1 reply; 21+ messages in thread
From: Ciaran McCreesh @ 2018-01-22 16:45 UTC (permalink / raw
To: gentoo-dev
On Mon, 22 Jan 2018 11:28:21 +0100
"Andreas K. Huettel" <dilfridge@gentoo.org> wrote:
> Am Montag, 22. Januar 2018, 08:01:08 CET schrieb Zac Medico:
> > According to Gentoo policy, future ebuild dependency changes need
> > to be accompanied by a revision bump in order to trigger rebuilds
> > for users. Therefore, you should only need to use --changed-deps=y
> > for a single deep @world update. After that, if you encounter
> > installed packages with outdated dependencies in a future deep
> > @world update, then you should report it as a bug.
>
> Did you come up with a solution how to handle eclass-generated
> dependency changes then?
>
> I'd loathe to have to do identical revision bumps for, say, all perl-
> module.eclass consumers...
perl-cleaner is rather strong evidence that the Perl situation needs a
major change anyway...
--
Ciaran McCreesh
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-dev] News Item: Portage Dynamic Deps
2018-01-22 10:28 ` Andreas K. Huettel
` (2 preceding siblings ...)
2018-01-22 16:45 ` Ciaran McCreesh
@ 2018-01-22 16:59 ` Michał Górny
2018-01-23 12:40 ` [gentoo-dev] " Michael Palimaka
2018-01-24 20:58 ` [gentoo-dev] " Zac Medico
5 siblings, 0 replies; 21+ messages in thread
From: Michał Górny @ 2018-01-22 16:59 UTC (permalink / raw
To: gentoo-dev; +Cc: Zac Medico
W dniu pon, 22.01.2018 o godzinie 11∶28 +0100, użytkownik Andreas K.
Huettel napisał:
> Am Montag, 22. Januar 2018, 08:01:08 CET schrieb Zac Medico:
> >
> > According to Gentoo policy, future ebuild dependency changes need to be
> > accompanied by a revision bump in order to trigger rebuilds for users.
> > Therefore, you should only need to use --changed-deps=y for a single
> > deep @world update. After that, if you encounter installed packages with
> > outdated dependencies in a future deep @world update, then you should
> > report it as a bug.
>
> Did you come up with a solution how to handle eclass-generated dependency
> changes then?
>
> I'd loathe to have to do identical revision bumps for, say, all perl-
> module.eclass consumers...
>
I think one of the reasons for the policy back then was to actually stop
people from creating horribly broken monstrosities of eclasses.
--
Best regards,
Michał Górny
^ permalink raw reply [flat|nested] 21+ messages in thread
* [gentoo-dev] Re: News Item: Portage Dynamic Deps
2018-01-22 10:28 ` Andreas K. Huettel
` (3 preceding siblings ...)
2018-01-22 16:59 ` Michał Górny
@ 2018-01-23 12:40 ` Michael Palimaka
2018-01-23 13:10 ` Rich Freeman
2018-01-23 13:15 ` Michael Orlitzky
2018-01-24 20:58 ` [gentoo-dev] " Zac Medico
5 siblings, 2 replies; 21+ messages in thread
From: Michael Palimaka @ 2018-01-23 12:40 UTC (permalink / raw
To: gentoo-dev
On 01/22/2018 09:28 PM, Andreas K. Huettel wrote:
> Am Montag, 22. Januar 2018, 08:01:08 CET schrieb Zac Medico:
>>
>> According to Gentoo policy, future ebuild dependency changes need to be
>> accompanied by a revision bump in order to trigger rebuilds for users.
>> Therefore, you should only need to use --changed-deps=y for a single
>> deep @world update. After that, if you encounter installed packages with
>> outdated dependencies in a future deep @world update, then you should
>> report it as a bug.
>
> Did you come up with a solution how to handle eclass-generated dependency
> changes then?
No.
Bug #641346 was filed for clarification about this, but it just got
closed without answering the question or consulting anyone.
Now, every time we want to make a minor change we need to revbump half
the tree due to a change that has been forced mostly by people not
actually involved in any actual ebuild maintenance.
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-dev] Re: News Item: Portage Dynamic Deps
2018-01-23 12:40 ` [gentoo-dev] " Michael Palimaka
@ 2018-01-23 13:10 ` Rich Freeman
2018-01-23 13:15 ` Michael Orlitzky
1 sibling, 0 replies; 21+ messages in thread
From: Rich Freeman @ 2018-01-23 13:10 UTC (permalink / raw
To: gentoo-dev
On Tue, Jan 23, 2018 at 7:40 AM, Michael Palimaka <kensington@gentoo.org> wrote:
> On 01/22/2018 09:28 PM, Andreas K. Huettel wrote:
>> Am Montag, 22. Januar 2018, 08:01:08 CET schrieb Zac Medico:
>>>
>>> According to Gentoo policy, future ebuild dependency changes need to be
>>> accompanied by a revision bump in order to trigger rebuilds for users.
>>> Therefore, you should only need to use --changed-deps=y for a single
>>> deep @world update. After that, if you encounter installed packages with
>>> outdated dependencies in a future deep @world update, then you should
>>> report it as a bug.
>>
>> Did you come up with a solution how to handle eclass-generated dependency
>> changes then?
>
> No.
>
> Bug #641346 was filed for clarification about this, but it just got
> closed without answering the question or consulting anyone.
From the bug: "I don't see the need for anything further before the
default behavior can be changed in portage, I'm all for it matching
PMS behavior." (More details in the comment.)
The question was "I would like to ask Council to state more precisely
what needs to be specifically documented before we can stop enabling
dynamic-deps in Portage by default."
So, the answer to the question appears to be "nothing."
That might not be an answer that you like, but it is an answer. I
can't vouch for who was or wasn't consulted before it was given.
--
Rich
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-dev] Re: News Item: Portage Dynamic Deps
2018-01-23 12:40 ` [gentoo-dev] " Michael Palimaka
2018-01-23 13:10 ` Rich Freeman
@ 2018-01-23 13:15 ` Michael Orlitzky
2018-01-23 13:40 ` Michael Palimaka
1 sibling, 1 reply; 21+ messages in thread
From: Michael Orlitzky @ 2018-01-23 13:15 UTC (permalink / raw
To: gentoo-dev
On 01/23/2018 07:40 AM, Michael Palimaka wrote:
>>
>> Did you come up with a solution how to handle eclass-generated dependency
>> changes then?
>
> No.
>
> Bug #641346 was filed for clarification about this, but it just got
> closed without answering the question or consulting anyone.
>
> Now, every time we want to make a minor change we need to revbump half
> the tree due to a change that has been forced mostly by people not
> actually involved in any actual ebuild maintenance.
You could always set "--dynamic-deps y" on your machine, and ignore the
breakage caused to end users (i.e. the situation last week).
^ permalink raw reply [flat|nested] 21+ messages in thread
* [gentoo-dev] Re: News Item: Portage Dynamic Deps
2018-01-23 13:15 ` Michael Orlitzky
@ 2018-01-23 13:40 ` Michael Palimaka
2018-01-23 17:12 ` Rich Freeman
0 siblings, 1 reply; 21+ messages in thread
From: Michael Palimaka @ 2018-01-23 13:40 UTC (permalink / raw
To: gentoo-dev
On 01/24/2018 12:15 AM, Michael Orlitzky wrote:
> On 01/23/2018 07:40 AM, Michael Palimaka wrote:
>>>
>>> Did you come up with a solution how to handle eclass-generated dependency
>>> changes then?
>>
>> No.
>>
>> Bug #641346 was filed for clarification about this, but it just got
>> closed without answering the question or consulting anyone.
>>
>> Now, every time we want to make a minor change we need to revbump half
>> the tree due to a change that has been forced mostly by people not
>> actually involved in any actual ebuild maintenance.
>
> You could always set "--dynamic-deps y" on your machine, and ignore the
> breakage caused to end users (i.e. the situation last week).
You mean the breakage caused by changing default options without any
consultation or notification?
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-dev] Re: News Item: Portage Dynamic Deps
2018-01-23 13:40 ` Michael Palimaka
@ 2018-01-23 17:12 ` Rich Freeman
2018-01-24 10:31 ` Martin Vaeth
0 siblings, 1 reply; 21+ messages in thread
From: Rich Freeman @ 2018-01-23 17:12 UTC (permalink / raw
To: gentoo-dev
On Tue, Jan 23, 2018 at 8:40 AM, Michael Palimaka <kensington@gentoo.org> wrote:
> On 01/24/2018 12:15 AM, Michael Orlitzky wrote:
>> On 01/23/2018 07:40 AM, Michael Palimaka wrote:
>>>>
>>>> Did you come up with a solution how to handle eclass-generated dependency
>>>> changes then?
>>>
>>> No.
>>>
>>> Bug #641346 was filed for clarification about this, but it just got
>>> closed without answering the question or consulting anyone.
>>>
>>> Now, every time we want to make a minor change we need to revbump half
>>> the tree due to a change that has been forced mostly by people not
>>> actually involved in any actual ebuild maintenance.
>>
>> You could always set "--dynamic-deps y" on your machine, and ignore the
>> breakage caused to end users (i.e. the situation last week).
>
> You mean the breakage caused by changing default options without any
> consultation or notification?
>
It would already be broken on any PMS-compliant package manager I
imagine. The goal is to make the repo and PMS align so that we're not
depending on non-PMS behavior. Either our ebuild policies ought to
change, or PMS ought to change. It is dumb to publish a specification
and then deliberately do things that break software that follows that
specification.
--
Rich
^ permalink raw reply [flat|nested] 21+ messages in thread
* [gentoo-dev] Re: News Item: Portage Dynamic Deps
2018-01-23 17:12 ` Rich Freeman
@ 2018-01-24 10:31 ` Martin Vaeth
2018-01-24 11:16 ` Ulrich Mueller
0 siblings, 1 reply; 21+ messages in thread
From: Martin Vaeth @ 2018-01-24 10:31 UTC (permalink / raw
To: gentoo-dev
Rich Freeman <rich0@gentoo.org> wrote:
>
> It would already be broken on any PMS-compliant package manager
No, it is solely the interpretation of the package manager.
PMS does not specify what information is stored in /var/db
or how that information is used.
^ permalink raw reply [flat|nested] 21+ messages in thread
* [gentoo-dev] Re: News Item: Portage Dynamic Deps
2018-01-24 10:31 ` Martin Vaeth
@ 2018-01-24 11:16 ` Ulrich Mueller
2018-01-24 12:36 ` Martin Vaeth
0 siblings, 1 reply; 21+ messages in thread
From: Ulrich Mueller @ 2018-01-24 11:16 UTC (permalink / raw
To: gentoo-dev
[-- Attachment #1: Type: text/plain, Size: 634 bytes --]
>>>>> On Wed, 24 Jan 2018, Martin Vaeth wrote:
> Rich Freeman <rich0@gentoo.org> wrote:
>>
>> It would already be broken on any PMS-compliant package manager
> No, it is solely the interpretation of the package manager.
> PMS does not specify what information is stored in /var/db
> or how that information is used.
"Runtime dependencies (RDEPEND). These must be installed and usable
before the results of an ebuild merging are treated as usable."
https://projects.gentoo.org/pms/6/pms.html#x1-770008.1
IMHO this implies that the dependencies at merge time are the relevant
ones, but not any later changes to the ebuild.
Ulrich
[-- Attachment #2: Type: application/pgp-signature, Size: 490 bytes --]
^ permalink raw reply [flat|nested] 21+ messages in thread
* [gentoo-dev] Re: News Item: Portage Dynamic Deps
2018-01-24 11:16 ` Ulrich Mueller
@ 2018-01-24 12:36 ` Martin Vaeth
2018-01-24 16:36 ` Ulrich Mueller
0 siblings, 1 reply; 21+ messages in thread
From: Martin Vaeth @ 2018-01-24 12:36 UTC (permalink / raw
To: gentoo-dev
Ulrich Mueller <ulm@gentoo.org> wrote:
> This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
> --pgp+signed++Zg8D+I6sgRUw0D
> Content-Type: text/plain; charset=us-ascii
> Content-Transfer-Encoding: 7bit
>
>>>>>> On Wed, 24 Jan 2018, Martin Vaeth wrote:
>
>> Rich Freeman <rich0@gentoo.org> wrote:
>>>
>>> It would already be broken on any PMS-compliant package manager
>
>> No, it is solely the interpretation of the package manager.
>> PMS does not specify what information is stored in /var/db
>> or how that information is used.
>
> "Runtime dependencies (RDEPEND). These must be installed and usable
> before the results of an ebuild merging are treated as usable."
> https://projects.gentoo.org/pms/6/pms.html#x1-770008.1
>
> IMHO this implies that the dependencies at merge time are the relevant
> ones
IMHO this specifies what is relevant when an emerge merging happens.
Nothing more, nothing less.
_If_ one would be willing to interpret it to have a meaning also _after_
the emerge, then of course the RDEPEND in PMS can refer to the only value
which is specified in PMS, i.e. that stored in the ebuild (and not in
any database which is explicitly not specified by PMS).
In other words: _If_ one puts any unsaid interpretation into that
sentence, then this can only be dynamic deps.
^ permalink raw reply [flat|nested] 21+ messages in thread
* [gentoo-dev] Re: News Item: Portage Dynamic Deps
2018-01-24 12:36 ` Martin Vaeth
@ 2018-01-24 16:36 ` Ulrich Mueller
0 siblings, 0 replies; 21+ messages in thread
From: Ulrich Mueller @ 2018-01-24 16:36 UTC (permalink / raw
To: gentoo-dev
[-- Attachment #1: Type: text/plain, Size: 1484 bytes --]
>>>>> On Wed, 24 Jan 2018, Martin Vaeth wrote:
> Ulrich Mueller <ulm@gentoo.org> wrote:
>> "Runtime dependencies (RDEPEND). These must be installed and usable
>> before the results of an ebuild merging are treated as usable."
>> https://projects.gentoo.org/pms/6/pms.html#x1-770008.1
>>
>> IMHO this implies that the dependencies at merge time are the
>> relevant ones
> IMHO this specifies what is relevant when an emerge merging happens.
> Nothing more, nothing less.
Exactly. RDEPEND is to be evaluated at the time before the package is
merged. For PDEPEND it is even clearer: "These must be installed at
some point before the package manager finishes the batch of installs."
> _If_ one would be willing to interpret it to have a meaning also
> _after_ the emerge, then of course the RDEPEND in PMS can refer to
> the only value which is specified in PMS, i.e. that stored in the
> ebuild
... at the time when the package was merged. You cannot rely on
anything else, because the ebuild may be gone in the meantime.
> (and not in any database which is explicitly not specified by PMS).
> In other words: _If_ one puts any unsaid interpretation into that
> sentence, then this can only be dynamic deps.
No. The only thing that PMS doesn't specify is the special format of
the VDB. However, the spec says that variables must keep their values
between phase functions, which includes pkg_prerm() and pkg_postrm().
By this, *some* sort of storage mechanism must exist.
Ulrich
[-- Attachment #2: Type: application/pgp-signature, Size: 490 bytes --]
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-dev] News Item: Portage Dynamic Deps
2018-01-22 10:28 ` Andreas K. Huettel
` (4 preceding siblings ...)
2018-01-23 12:40 ` [gentoo-dev] " Michael Palimaka
@ 2018-01-24 20:58 ` Zac Medico
5 siblings, 0 replies; 21+ messages in thread
From: Zac Medico @ 2018-01-24 20:58 UTC (permalink / raw
To: Andreas K. Huettel, gentoo-dev; +Cc: Zac Medico
[-- Attachment #1.1: Type: text/plain, Size: 977 bytes --]
On 01/22/2018 02:28 AM, Andreas K. Huettel wrote:
> Am Montag, 22. Januar 2018, 08:01:08 CET schrieb Zac Medico:
>>
>> According to Gentoo policy, future ebuild dependency changes need to be
>> accompanied by a revision bump in order to trigger rebuilds for users.
>> Therefore, you should only need to use --changed-deps=y for a single
>> deep @world update. After that, if you encounter installed packages with
>> outdated dependencies in a future deep @world update, then you should
>> report it as a bug.
>
> Did you come up with a solution how to handle eclass-generated dependency
> changes then?
>
> I'd loathe to have to do identical revision bumps for, say, all perl-
> module.eclass consumers...
Would it be possible to isolate the dependency changes in virtual
ebuilds? If the eclass depends on a virtual, the maybe updating to the
latest version of the virtual can serve as the means apply the needed
dependency change?
--
Thanks,
Zac
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 224 bytes --]
^ permalink raw reply [flat|nested] 21+ messages in thread