Subject: bug#68955: ghostscripts-with-cups downloaded twice

From: Simon Tournier <[email-masked]>
Date: Tue, 06 Feb 2024 14:03:43 +0100

Hi,

As noticed in [1] and just seen here:

--8<---------------cut here---------------start------------->8---
$ guix time-machine -C channels.scm -- describe
  guix 8e61e63
    repository URL: https://git.savannah.gnu.org/git/guix.git
    branch: master
    commit: 8e61e6351510f5665d09c6debc0584b3ed218e73

$ guix time-machine -C channels.scm -- shell -m manifest.scm
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://bordeaux.guix.gnu.org'... 100.0%
14.6 MB will be downloaded
 libxrender-0.9.10  22KiB                                                                         4.1MiB/s 00:00 ▕██████████████████▏ 100.0%
 libxft-2.3.4  45KiB                                                                              933KiB/s 00:00 ▕██████████████████▏ 100.0%
 tk-8.6.12  1.3MiB                                                                                3.0MiB/s 00:00 ▕██████████████████▏ 100.0%
 python-3.10.7  11.4MiB                                                                           2.7MiB/s 00:04 ▕██████████████████▏ 100.0%
 python-wrapper-3.10.7  332B                                                                      448KiB/s 00:00 ▕██████████████████▏ 100.0%
 meson-1.1.1  1.2MiB                                                                              3.1MiB/s 00:00 ▕██████████████████▏ 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
41.1 MB will be downloaded
 ghostscript-9.56.1-doc  6.5MiB                                                                   4.9MiB/s 00:01 ▕██████████████████▏ 100.0%
 glib-2.72.3  2.4MiB                                                                              2.4MiB/s 00:01 ▕██████████████████▏ 100.0%
 libjpeg-turbo-2.1.4  366KiB                                                                      2.5MiB/s 00:00 ▕██████████████████▏ 100.0%
 desktop-file-utils-0.26  43KiB                                                                   4.6MiB/s 00:00 ▕██████████████████▏ 100.0%
 glib-2.72.3-bin  111KiB                                                                          2.1MiB/s 00:00 ▕██████████████████▏ 100.0%
 glib-2.72.3-static  1.3MiB                                                                       2.6MiB/s 00:01 ▕██████████████████▏ 100.0%
 libtiff-4.4.0  380KiB                                                                            2.7MiB/s 00:00 ▕██████████████████▏ 100.0%
 glib-2.72.3-debug  10.4MiB                                                                       2.5MiB/s 00:04 ▕██████████████████▏ 100.0%
 ghostscript-9.56.1  11.4MiB                                                                      3.1MiB/s 00:04 ▕██████████████████▏ 100.0%
 shared-mime-info-1.15  663KiB                                                                    3.0MiB/s 00:00 ▕██████████████████▏ 100.0%
 gdk-pixbuf-2.42.8  515KiB                                                                        2.6MiB/s 00:00 ▕██████████████████▏ 100.0%
 gdk-pixbuf-2.42.8-debug  421KiB                                                                  3.1MiB/s 00:00 ▕██████████████████▏ 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://bordeaux.guix.gnu.org'... 100.0%
14.9 MB will be downloaded
 chez-scheme-9.5.8-doc  2.1MiB                                                                    4.7MiB/s 00:00 ▕██████████████████▏ 100.0%
 cups-minimal-2.4.7  4.9MiB                                                                       2.4MiB/s 00:02 ▕██████████████████▏ 100.0%
 graphite2-1.3.13  85KiB                                                                          8.3MiB/s 00:00 ▕██████████████████▏ 100.0%
 libdatrie-0.2.13  41KiB                                                                          4.4MiB/s 00:00 ▕██████████████████▏ 100.0%
 harfbuzz-5.3.1  1.0MiB                                                                           2.4MiB/s 00:00 ▕██████████████████▏ 100.0%
 librsvg-2.56.4-doc  15KiB                                                                        6.4MiB/s 00:00 ▕██████████████████▏ 100.0%
 libthai-0.1.29  164KiB                                                                           3.0MiB/s 00:00 ▕██████████████████▏ 100.0%
 libxext-1.3.4  32KiB                                                                             3.6MiB/s 00:00 ▕██████████████████▏ 100.0%
 lz4-1.9.3  147KiB                                                                                2.7MiB/s 00:00 ▕██████████████████▏ 100.0%
 pixman-0.42.2  233KiB                                                                            3.7MiB/s 00:00 ▕██████████████████▏ 100.0%
 chez-scheme-9.5.8  2.4MiB                                                                        2.8MiB/s 00:01 ▕██████████████████▏ 100.0%
 cairo-1.16.0  600KiB                                                                             3.1MiB/s 00:00 ▕██████████████████▏ 100.0%
 pango-1.50.10  368KiB                                                                            3.2MiB/s 00:00 ▕██████████████████▏ 100.0%
 librsvg-2.56.4  1.9MiB                                                                           3.1MiB/s 00:01 ▕██████████████████▏ 100.0%
 librsvg-2.56.4-debug  359KiB                                                                     3.4MiB/s 00:00 ▕██████████████████▏ 100.0%
18.8 MB will be downloaded
 ghostscript-with-cups-9.56.1-doc  6.5MiB                                                         5.2MiB/s 00:01 ▕██████████████████▏ 100.0%
 ghostscript-with-cups-9.56.1  11.5MiB                                                            2.7MiB/s 00:04 ▕██████████████████▏ 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
22.8 MB will be downloaded
 dbus-1.14.0  273KiB                                                                              1.9MiB/s 00:00 ▕██████████████████▏ 100.0%
 cairo-1.16.0  600KiB                                                                             4.6MiB/s 00:00 ▕██████████████████▏ 100.0%
 ghostscript-with-cups-9.56.1  11.5MiB                                                            2.6MiB/s 00:04 ▕██████████████████▏ 100.0%
 lcms-2.13.1  193KiB                                                                              3.1MiB/s 00:00 ▕██████████████████▏ 100.0%
 libevent-2.1.12  330KiB                                                                          2.4MiB/s 00:00 ▕██████████████████▏ 100.0%
 openjpeg-2.5.0  224KiB                                                                           2.5MiB/s 00:00 ▕██████████████████▏ 100.0%
 avahi-0.8  348KiB                                                                                2.1MiB/s 00:00 ▕██████████████████▏ 100.0%
 poppler-22.09.0  1.4MiB                                                                          2.6MiB/s 00:01 ▕██████████████████▏ 100.0%
 qpdf-11.1.0  923KiB                                                                              2.6MiB/s 00:00 ▕██████████████████▏ 100.0%
 cups-filters-1.28.15  870KiB                                                                     2.7MiB/s 00:00 ▕██████████████████▏ 100.0%
 cups-2.4.7  5.2MiB                                                                               2.8MiB/s 00:02 ▕██████████████████▏ 100.0%
--8<---------------cut here---------------end--------------->8---

where ’manifest.scm’ file reads:

        (specifications->manifest
          (list "guile"
                "racket"
                "chez-scheme"

                "make"
                "time"
                "coreutils"
                ))

Well, something appears to me unexpected.  The term
ghostscript-with-cups appears only 3 times (NEWS does not count ;-))

--8<---------------cut here---------------start------------->8---
5 candidates:
./gnu/packages/ghostscript.scm:297:    (name "ghostscript-with-cups")
./gnu/packages/cups.scm:176:                                  #$(this-package-input "ghostscript-with-cups")
./gnu/packages/cups.scm:202:                             #$(this-package-input "ghostscript-with-cups")
./NEWS:1370:[email-masked], [email-masked], [email-masked],
./NEWS:2043:ghc-warp-tls, ghostscript-with-cups, git-remote-gcrypt, git-repo,
--8<---------------cut here---------------end--------------->8---

Therefore, this double download appears to me unexpected.

Cheers,
simon

1: Re: Large amount of dependencies downloaded
Simon Tournier <[email-masked]>
Fri, 12 Jan 2024 13:50:56 +0100
id:[email-masked]
https://lists.gnu.org/archive/html/help-guix/2024-01
https://yhetil.org/guix/[email-masked]