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

Reply via email to