unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* Guix 1.4 unable to pull with --no-substitutes
@ 2024-08-31 20:44 tobtoht
  2024-09-04 16:52 ` Simon Tournier
  0 siblings, 1 reply; 2+ messages in thread
From: tobtoht @ 2024-08-31 20:44 UTC (permalink / raw)
  To: help-guix@gnu.org

Hi,

Using guix 1.4.0 as a starting point on a foreign distro, I'm unable to
complete a pull without substitutes.

Steps to reproduce:

$ install guix using the installer script (or apt install guix)
$ export GUIX_BUILD_OPTIONS="--no-substitutes"
$ guix pull

It then proceeds to build a number of packages, including guile 3.0.7. Tests 
for this package fail as described here: https://issues.guix.gnu.org/48392

I have tried building it at least a dozen times and the tests fail each time.

Context:

A project I am involved with uses guix time-machine + guix shell to set up a
build environment that is used to build portable binaries for a desktop 
application. For security and auditability reasons, the build process is 
bootstrappable and verifiably reproducible.

Multiple builders build the software using guix. The results are signed, 
submitted to a central repository, and compared.

To ensure the build is in fact bootstrappable, and to detect potential 
non-determinism in guix packages, I want to encourage builders to build the 
manifest without substitutes.

I'd like to provide mostly distribution-agnostic documentation. Instructing 
builders to build a more recent version of guix from source would make this
process less accessible.

Questions:

1. Why does it attempt to build guile 3.0.7? The version of guile defined in
   the latest version of guix (or the time-machine pinned commit) is 3.0.9.

2. Is there a way to avoid having to build guile 3.0.7? (While still using
   the guix provided by the installer script as a starting point.)

3. If not, is it possible to skip the test phase for this specific package?

4. If not, is there anything I can do to make the tests less likely to fail?



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-09-04 17:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-31 20:44 Guix 1.4 unable to pull with --no-substitutes tobtoht
2024-09-04 16:52 ` Simon Tournier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).