From: Nigko Yerden <nigko.yerden@gmail.com>
To: Simon Tournier <zimon.toutoune@gmail.com>, help-guix@gnu.org
Subject: Re: 'guix install' downloads all outputs for packages with cmake build system.
Date: Tue, 10 Dec 2024 23:28:01 +0500 [thread overview]
Message-ID: <12c4d800-7667-40a3-a104-fc8f97b7f5f2@gmail.com> (raw)
In-Reply-To: <87h67bzj7y.fsf@gmail.com>
Simon Tournier wrote:
> Hum. I am not able to reproduce.
>
> First, let be sure nothing is already in the store.
>
> --8<---------------cut here---------------start------------->8---
> $ guix gc --list-dead | grep x265-3.5-static
> finding garbage collector roots...
> determining live/dead paths...
>
> $ guix gc --list-live | grep x265-3.5-static
> finding garbage collector roots...
> determining live/dead paths...
>
> $ find /gnu/store -maxdepth 1 -type d -name "x256-3.5-static" -print
> --8<---------------cut here---------------end--------------->8---
>
> Second, try to install:
>
> --8<---------------cut here---------------start------------->8---
> $ guix install x265 --dry-run
> guix install: warning: Your Guix installation is 92 days old.
> guix install: warning: Consider running 'guix pull' followed by
> 'guix package -u' to get up-to-date packages and security updates.
>
> The following package would be installed:
> x265 3.5
> --8<---------------cut here---------------end--------------->8---
>
> And ’static’ output does not seem required.
>
>> An interesting bit about this abnormal behavior was gained from the
>> discusstion on IRC. It turns out that the command
>> 'guix install --no-grafts <package>' with --no-grafts flag does not
>> download all the outputs of the package but only the "out" output,
>> as one would expect from 'guix install' command. So the issue seems
>> to be related to grafts. What do you think?
>
> Could you give your Guix revision? Mine is 056910e; please note x265
> had not be modified since a while and the package isn’t grafted.
>
> --8<---------------cut here---------------start------------->8---
> $ guix build x265 -d
> /gnu/store/5v0d3wf3rhy69i1fl0jdchpmwy5wxbas-x265-3.5.drv
>
> $ guix build x265 -d --no-grafts
> /gnu/store/5v0d3wf3rhy69i1fl0jdchpmwy5wxbas-x265-3.5.drv
> --8<---------------cut here---------------end--------------->8---
>
> Hum, I don’t know where could the observed behaviour come from?
>
> Cheers,
> simon
Hello Simon,
Now I'm on 47ab553178eb00d02ba9588ed1f7df44fb2f7c4c guix commit and
still have the problem:
----begin-----------------------------------------------------------
$ guix build x265 -d
3,9 MB will be downloaded:
/gnu/store/1h81psijhx3l8p88ds66q7a001rgvcl2-x265-3.5
/gnu/store/4zw8h8za4z1cg4k5iz5lha6v1s9wzwkz-x265-3.5-static
substituting /gnu/store/4zw8h8za4z1cg4k5iz5lha6v1s9wzwkz-x265-3.5-static...
downloading from https://cuirass.genenetwork.org/nar/zstd/4zw8h8za4z1cg4k5iz5lha6v1s9wzwkz-x265-3.5-static ...
x265-3.5-static 2.2MiB
substituting /gnu/store/1h81psijhx3l8p88ds66q7a001rgvcl2-x265-3.5...
downloading from https://cuirass.genenetwork.org/nar/zstd/1h81psijhx3l8p88ds66q7a001rgvcl2-x265-3.5 ...
x265-3.5 1.5MiB
/gnu/store/7555d85ldgn3vgby3sdgl0rf9ac1b6mv-x265-3.5.drv
----end-------------------------------------------------------------
Moreover, since then I have realized that the problem is not specific
to packages with cmake build system but concerns all packages with
multiple outputs.
Your Guix installation is 92 days old. Probably this is the reason why
you wasn't able to reproduce the problem. As far as I remember this
problem have arisen since the latest core packages update.
Regards,
Nigko
next prev parent reply other threads:[~2024-12-10 18:28 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-09 13:55 'guix install' downloads all outputs for packages with cmake build system nigko
2024-12-10 14:49 ` Simon Tournier
2024-12-10 18:28 ` Nigko Yerden [this message]
2024-12-11 8:54 ` Rutherther
2024-12-11 11:42 ` nigko
2024-12-11 13:02 ` nigko
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=12c4d800-7667-40a3-a104-fc8f97b7f5f2@gmail.com \
--to=nigko.yerden@gmail.com \
--cc=help-guix@gnu.org \
--cc=zimon.toutoune@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 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.