From: ludo@gnu.org (Ludovic Courtès)
To: Marius Bakke <mbakke@fastmail.com>
Cc: 29177@debbugs.gnu.org
Subject: bug#29177: Hidden packages are not accounted for by `guix refresh`
Date: Mon, 06 Nov 2017 23:16:46 +0100 [thread overview]
Message-ID: <87zi7zm4s1.fsf@gnu.org> (raw)
In-Reply-To: <87h8u73zja.fsf@fastmail.com> (Marius Bakke's message of "Mon, 06 Nov 2017 21:47:21 +0100")
Hi Marius,
Marius Bakke <mbakke@fastmail.com> skribis:
> Currently, some packages are marked as "hidden". This makes `guix
> refresh` fail to realize the full impact of a change. Most notably this
> affects 'xorg-server': there have already been a few commits that
> rebuilds the for-test variant (and thus GTK) because they seemed to only
> cause ~150 rebuilds, where in reality it's more than 400:
>
> 97ecd75e289d96a8b4f9b1ae877d9d1a2f6774b4 gnu: libxfont: Fix CVE-2017-13720, CVE-2017-13722.
> c2eb8cd98c82277e851eb4302b7f12614e215a76 gnu: xorg-server: Build reproducibly.
> 9371600ec8397ab3d596dea89c388b4acb1c2437 gnu: libxres: Update to 1.2.0.
Oooops! I’m the guilty party here. The real dependency count can be
found with:
--8<---------------cut here---------------start------------->8---
$ guix refresh -l -e '(@ (gnu packages xorg) xorg-server-1.19.3)' xorg-server
Building the following 276 packages would ensure 516 dependent packages are rebuilt: snd@17.7 ardour@5.12 …
--8<---------------cut here---------------end--------------->8---
The problem is not that ‘xorg-server-1.19.3’ is hidden (we can work
around it with -e), but that it inherits from ‘xorg-server’, and thus
ended up being rebuilt.
That’s a “known limitation” of ‘guix refresh -l’ and not something
easily addressed since inheritance is purely syntactic. Tricky!
So I think it’s “not a bug” from the ‘guix refresh’ viewpoint, but it’s
definitely a mistake on my side. Apologies!
I think at this stage it’s no longer useful to revert this commit
though. WDYT?
Thanks for the heads-up!
Ludo’.
next prev parent reply other threads:[~2017-11-06 22:17 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-11-06 20:47 bug#29177: Hidden packages are not accounted for by `guix refresh` Marius Bakke
2017-11-06 22:16 ` Ludovic Courtès [this message]
2017-11-06 23:14 ` Ludovic Courtès
2017-11-07 19:09 ` Marius Bakke
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=87zi7zm4s1.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=29177@debbugs.gnu.org \
--cc=mbakke@fastmail.com \
/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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.