Hi,
On Thu, 12 Dec 2024 at 16:31, Simon Tournier <[email protected]> wrote:
> Please consider the package ’x265’. If one installs it with the option
> ’no-grafts’ then everything works as expected. However, if one installs
> it with the default command line, then the output ’static’ is downloaded
> when it should not.
Closing because I think it’s already tracked by:
https://codeberg.org/guix/guix/issues/3617
> Please note this package is not grafted.
Well, it is a story some grafts somewhere. :-)
> Below, a reproducer.
>
> $ guix time-machine -q --commit=47ab553178eb00d02ba9588ed1f7df44fb2f7c4c \
> -- install x265 --no-grafts -p /tmp/no-grafts
> guix install: warning: Consider running 'guix pull' followed by
> 'guix package -u' to get up-to-date packages and security updates.
>
> The following package will be installed:
> x265 3.5
>
> substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
> substitute: updating substitutes from 'https://bordeaux.guix.gnu.org'...
> 0.0%guix substitute: warning: bordeaux.guix.gnu.org: connection failed:
> Connection refused
> substitute:
> substitute: updating substitutes from 'https://guix.bordeaux.inria.fr'...
> 100.0%
> The following derivation will be built:
> /gnu/store/cxpssdlarc9z688jp11a5aa2i50920bk-profile.drv
>
> 1.7 MB will be downloaded
> module-import-compiled 107KiB
> 1.2MiB/s 00:00 ▕██████████████████▏ 100.0%
> libfontenc-1.1.4 13KiB
> 4.4MiB/s 00:00 ▕██████████████████▏ 100.0%
> module-import-compiled 48KiB
> 5.9MiB/s 00:00 ▕██████████████████▏ 100.0%
> mkfontscale-1.2.2 20KiB
> 3.6MiB/s 00:00 ▕██████████████████▏ 100.0%
> module-import-compiled 58KiB
> 6.2MiB/s 00:00 ▕██████████████████▏ 100.0%
> mkfontdir-1.0.7 4KiB
> 3.1MiB/s 00:00 ▕██████████████████▏ 100.0%
> x265-3.5 1.4MiB
> 3.2MiB/s 00:00 ▕██████████████████▏ 100.0%
> building CA certificate bundle...
> listing Emacs sub-directories...
> building fonts directory...
> building directory of Info manuals...
> building profile with 1 package...
> hint: Consider setting the necessary environment variables by running:
>
> GUIX_PROFILE="/tmp/no-grafts"
> . "$GUIX_PROFILE/etc/profile"
>
> Alternately, see `guix package --search-paths -p "/tmp/no-grafts"'.
>
>
> Here, all is fine. Then bang!
>
> $ guix time-machine -q --commit=47ab553178eb00d02ba9588ed1f7df44fb2f7c4c \
> -- install x265 -p /tmp/with-grafts
> guix install: warning: Consider running 'guix pull' followed by
> 'guix package -u' to get up-to-date packages and security updates.
>
> The following package will be installed:
> x265 3.5
>
> substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
> substitute: updating substitutes from 'https://bordeaux.guix.gnu.org'...
> 0.0%guix substitute: warning: bordeaux.guix.gnu.org: connection failed:
> Connection refused
> substitute:
> 2.2 MB will be downloaded
> curl-8.6.0-doc 535KiB
> 843KiB/s 00:01 ▕██████████████████▏ 100.0%
> substitute: updating substitutes from 'https://bordeaux.guix.gnu.org'...
> 0.0%
> 2.8 MB will be downloaded
> x265-3.5-static 1.3MiB
> 1.6MiB/s 00:01 ▕██████████████████▏ 100.0%
> hint: Consider setting the necessary environment variables by running:
>
> GUIX_PROFILE="/tmp/with-grafts"
> . "$GUIX_PROFILE/etc/profile"
>
> Alternately, see `guix package --search-paths -p "/tmp/with-grafts"'.
>
>
> Indeed x265-3.5-static is downloaded. Hum?! A bug, I guess.
Cheers,
simon