From: "Ludovic Courtès" <ludo@gnu.org>
To: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Cc: 47569@debbugs.gnu.org
Subject: bug#47569: ‘qt-build-system’ retains too many references via wrappers
Date: Tue, 06 Apr 2021 15:17:52 +0200 [thread overview]
Message-ID: <87r1jnmu0v.fsf@gnu.org> (raw)
In-Reply-To: <878s5wseaz.fsf@gnu.org> ("Ludovic Courtès"'s message of "Mon, 05 Apr 2021 21:48:36 +0200")
Hi,
For the record, changing ‘qt-build-system’ would trigger a rebuild of
less than 400 packages according to the back-of-the-envelope calculation
below. In that case, it’s tempting to fix on ‘master’ and include it in
the release.
Thoughts?
Ludo’.
--8<---------------cut here---------------start------------->8---
scheme@(guile-user)> ,use(gnu)
scheme@(guile-user)> ,use(guix build-system qt)
scheme@(guile-user)> ,use(guix)
scheme@(guile-user)> (define qtpkgs (fold-packages (lambda (pkg lst)
(if (eq? (package-build-system pkg) qt-build-system)
(cons pkg lst)
lst))
'()))
scheme@(guile-user)> (length qtpkgs)
$78 = 186
scheme@(guile-user)> ,use(guix graph)
scheme@(guile-user)> ,run-in-store (node-edges (@ (guix scripts graph) %reverse-package-node-type) (fold-packages cons '()))
$79 = #<procedure 7fe494f11520 at guix/graph.scm:94:17 (node)>
scheme@(guile-user)> (node-reachable-count qtpkgs $79)
$80 = 180
scheme@(guile-user)> (+ 186 180)
$81 = 366
--8<---------------cut here---------------end--------------->8---
next prev parent reply other threads:[~2021-04-06 13:19 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-02 20:11 bug#47569: ‘qt-build-system’ retains too many references via wrappers Ludovic Courtès
2021-04-04 3:00 ` Maxim Cournoyer
2021-04-05 19:48 ` Ludovic Courtès
2021-04-06 13:17 ` Ludovic Courtès [this message]
2021-04-06 13:43 ` Efraim Flashner
2021-04-06 13:57 ` Efraim Flashner
2021-04-06 17:43 ` Ludovic Courtès
2021-04-07 19:35 ` Maxim Cournoyer
2021-04-08 21:38 ` Ludovic Courtès
2021-04-07 21:03 ` Maxim Cournoyer
2021-04-07 21:23 ` Maxim Cournoyer
2021-04-08 21:32 ` Ludovic Courtès
2021-04-06 17:45 ` Leo Famulari
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
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87r1jnmu0v.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=47569@debbugs.gnu.org \
--cc=maxim.cournoyer@gmail.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 public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).