public inbox for gentoo-project@lists.gentoo.org
 help / color / mirror / Atom feed
From: Rich Freeman <rich0@gentoo.org>
To: gentoo-project@lists.gentoo.org
Cc: Michael Palimaka <kensington@gentoo.org>
Subject: Re: [gentoo-project] Re: Call for agenda items - Council meeting 2014-08-12
Date: Thu, 31 Jul 2014 22:17:59 -0400	[thread overview]
Message-ID: <CAGfcS_mM3wB=EoCRpZ-om9T399=CNT_ZnVoXEMmadk_=WSr_mQ@mail.gmail.com> (raw)
In-Reply-To: <20140731211239.0eb282cb@pomiot.lan>

On Thu, Jul 31, 2014 at 3:12 PM, Michał Górny <mgorny@gentoo.org> wrote:
>
> Yes, exactly. We need to get dynamic-deps right if they are ever
> supposed to become the default. That's one of the reasons that we want
> to revert the problematic changes and make Portage use the default
> model once again.

Do we actually have some kind of list of issues with dynamic deps?
The only specific one that I think I've seen is with prerm and subslot
deps, but as was pointed out that issue actually is as much of a
problem with static deps unless you unmerge all the reverse-deps
before upgrading anything, followed by a re-merge.

I have no problem with accepting that it is broken, but it would be
nice to deal with more specifics and not with it in general.

>
> If you are really curious, I am working hard on providing tools to fix
> the vdb inconsistencies caused by dynamic-deps. There were no specific
> data because it wasn't available until today.
>
> My regularly updated desktop system (2-3 days between @world updates)
> after disabling dynamic-deps has 77 packages needing rebuild. That
> number includes a few virtuals, Perl packages and other low-effort
> cases. And this is after the big, scary virtual/*udev changes.
>
> Over the next days I will obviously have more numbers. More
> specifically, the number of packages needing rebuild after dependency
> changes made by developers. It should be noted that the above number
> includes one-time rebuild of packages that are simply ancient.
>
> There is a lot of FUD about unnecessary rebuilds. Sadly, most people
> seem to fight a holy war against them without realizing the real
> impact. In fact, more unnecessary rebuilds are caused by unnecessary
> USE flags than by dependency changes. Yet the same people believe in
> adding more flags to contain even more minor aspects of packages...

Thank you for this.  It is very helpful in gauging the likely impact
of having more revbumps.

One thing I don't want to do is create a barrier to anybody who wants
to upgrade an eclass or do work on virtuals.  I can just imagine
endless debates about whether splitting a virtual is worth it since it
will cause up to 250 rebuilds, etc.

Is there any easy way to compare tree vs installed deps using the API?
 I have a script that is part of the way there, but I'm struggling to
compare the vartree and porttree depdendencies (the portree
dependencies need to be correctly reduced - if somebody has the list
of function calls needed to reduce an RDEPEND from porttree to account
for USE/etc in /etc/portage and substitute in subslots that would be
helpful.

code snippet:
    depstr = vartree.dbapi.aux_get(cpv, ["RDEPEND"])[0]
    depstr2 = porttree.dbapi.aux_get(cpv, ["RDEPEND"] )[0]
    flatdeps=portage.dep.flatten(portage.dep.paren_reduce(depstr))
    flatdeps2=portage.dep.flatten(portage.dep.use_reduce(portage.dep.paren_reduce(depstr2)))

Ideally those should be the same if static deps = dynamic deps, but I
suspect it isn't appying the right USE flags (I'm not passing any),
and it isn't substituting actual subslot values either.  I'm also not
sure if flatten is going to properly handle operators/etc.

Rich


  parent reply	other threads:[~2014-08-01  2:18 UTC|newest]

Thread overview: 82+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-29  9:18 [gentoo-project] Call for agenda items - Council meeting 2014-08-12 Ulrich Mueller
2014-07-29 12:06 ` Pacho Ramos
2014-07-29 19:22   ` Michał Górny
2014-08-02  9:23     ` Pacho Ramos
2014-08-03  4:18       ` Samuli Suominen
2014-08-03  6:45         ` Michał Górny
2014-08-03  8:55         ` Ulrich Mueller
2014-08-03 10:04           ` Samuli Suominen
2014-08-03 10:11             ` Ulrich Mueller
2014-08-03 10:35               ` Samuli Suominen
2014-08-05  3:29                 ` William Hubbs
2014-08-03 10:46               ` Michał Górny
2014-07-29 22:59 ` [gentoo-project] Re: [gentoo-dev-announce] " Patrick McLean
2014-07-30 10:35   ` Ulrich Mueller
2014-07-30 13:47     ` hasufell
2014-07-30 13:50       ` hasufell
2014-07-30  7:26 ` [gentoo-project] " Michał Górny
2014-07-30 10:28   ` Alexander Berntsen
2014-07-30 11:44     ` Andrew Savchenko
2014-07-30 13:48       ` Michał Górny
2014-07-30 13:48       ` Alexander Berntsen
2014-07-31  7:36         ` Andrew Savchenko
2014-08-02 10:01           ` Michał Górny
2014-08-02 11:53             ` hasufell
2014-07-30 16:23       ` Andreas K. Huettel
2014-07-31  7:21         ` Andrew Savchenko
2014-07-31  9:41           ` Patrick Lauer
2014-07-30 11:04   ` Andreas K. Huettel
     [not found]     ` <CA+rTEUPff5TOCuF=W5KQmD_Nq44ksEb=zKD8G3k2h72T4uUBAA@mail.gmail.com>
2014-07-30 18:15       ` Andreas K. Huettel
2014-07-31 10:53         ` Rich Freeman
2014-07-31 11:40           ` [gentoo-project] " Michael Palimaka
2014-07-31 11:49           ` [gentoo-project] " hasufell
2014-08-01  0:29             ` Rich Freeman
2014-07-31 18:03           ` Re: " Denis Dupeyron
2014-07-31 18:17             ` Seemant Kulleen
2014-07-31 18:43               ` Denis Dupeyron
2014-07-31 18:47               ` [gentoo-project] " Michael Palimaka
2014-07-31 18:51             ` [gentoo-project] " hasufell
2014-07-31 18:57               ` Denis Dupeyron
2014-07-31 19:03                 ` hasufell
2014-08-02 11:24           ` Michał Górny
2014-07-31 14:40 ` [gentoo-project] " Michael Palimaka
2014-07-31 14:59   ` Samuli Suominen
2014-07-31 15:26     ` Ciaran McCreesh
2014-07-31 15:55     ` hasufell
2014-07-31 15:25   ` Ciaran McCreesh
2014-07-31 16:07   ` Alexander Berntsen
2014-08-01  0:34     ` Rich Freeman
2014-08-01 11:51       ` Alexander Berntsen
2014-08-01 12:44         ` Rich Freeman
2014-08-01 12:57           ` Ciaran McCreesh
2014-08-01 13:03           ` hasufell
2014-08-01 13:24             ` Rich Freeman
2014-08-01 13:33               ` Seemant Kulleen
2014-08-01 13:39                 ` Rich Freeman
2014-08-01 13:37               ` Ciaran McCreesh
2014-08-01 14:00                 ` Rich Freeman
2014-08-01 14:35                   ` hasufell
2014-08-01 15:05                     ` Rich Freeman
2014-08-02 12:05                       ` hasufell
2014-08-01 16:23                     ` Michael Palimaka
2014-08-01 16:42                       ` hasufell
2014-08-02 15:04                   ` Ciaran McCreesh
2014-07-31 19:12   ` Michał Górny
2014-07-31 19:32     ` Samuli Suominen
2014-07-31 19:36       ` Ciaran McCreesh
2014-08-01  2:17     ` Rich Freeman [this message]
2014-08-01  6:51       ` Michał Górny
2014-08-01  9:31         ` Rich Freeman
2014-08-01 20:55           ` Michał Górny
2014-08-01 16:54       ` Michael Palimaka
2014-08-01 17:03         ` hasufell
2014-08-01 17:23           ` Michael Palimaka
2014-08-01 17:37             ` hasufell
2014-08-01 18:09               ` Michael Palimaka
2014-08-01 18:27             ` Samuli Suominen
2014-08-13  9:15               ` Tom Wijsman
2014-08-01 19:40     ` Michael Palimaka
2014-08-01 19:47       ` Michał Górny
2014-08-05  8:49 ` [gentoo-project] " Michał Górny
2014-08-05 10:25   ` Ulrich Mueller
2014-08-05 20:51     ` Michał Górny

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='CAGfcS_mM3wB=EoCRpZ-om9T399=CNT_ZnVoXEMmadk_=WSr_mQ@mail.gmail.com' \
    --to=rich0@gentoo.org \
    --cc=gentoo-project@lists.gentoo.org \
    --cc=kensington@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