help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 'guix install' downloads all outputs for packages with cmake build s


From: Rutherther
Subject: Re: 'guix install' downloads all outputs for packages with cmake build system.
Date: Wed, 11 Dec 2024 09:54:54 +0100

Hello Nigko,

> Hello Simon,

> Now I'm on 47ab553178eb00d02ba9588ed1f7df44fb2f7c4c guix commit and
> still have the problem:
> ----begin-----------------------------------------------------------
> $ guix build x265 -d

You are building the package. I think I've already explained it on
the IRC few weeks ago: due to how guix is made, build always builds
all outputs. That is because when you are building the package,
there is just one build process and in middle of that process
some files are copied to other outputs. With `guix build`, you cannot
even specify the outputs. So even on substitution, you get all
of them. That's what you would get if nothing was substituted
and the build ran on your system.

> 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.

Yes, with guix build it is for all packages, is expected,
and there is likely no way around it. Please provide guix install
example, where this happens, that's what you reported as an issue earlier.
With install, you no longer need to get all outputs,
when you do not need to build the package,
so you should be able to get just one output as long as
it is substituted. So indeed, if install substitutes all outputs
for some packages, something is wrong and it should be possible to fix it.

Rutherther
Date: Wed, 11 Dec 2024 09:54:36 +0100
Message-ID: <878qsmppkj.fsf@ditigal.xyz>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]