On Monday, January 23rd, 2023 at 22:25, Ludovic Courtès wrote: > Hi, > > Luis Felipe luis.felipe.la@protonmail.com skribis: > > > Thanks. I attach a new patch where guile and texinfo are not propagated, and the script is wrapped. > > > > From 4fd946321742e19a44b93e4d6d03fd09e92f70ba Mon Sep 17 00:00:00 2001 > > From: Luis Felipe luis.felipe.la@protonmail.com > > Date: Wed, 28 Dec 2022 12:45:32 -0500 > > Subject: [PATCH] gnu: Add guile-proba. > > > > * gnu/packages/check.scm (guile-proba): New variable. > > > It LGTM, but it fails to build: > > --8<---------------cut here---------------start------------->8--- > > starting phase `check' > Backtrace: > 7 (primitive-load "/tmp/guix-build-guile-proba-0.2.0.drv-…") > In ice-9/eval.scm: > 619:8 6 (_ #(# #)) > > 196:43 5 (_ #(# #)) > > 155:9 4 (_ #(# #)) > > 159:9 3 (_ #(# #)) > > 182:19 2 (proc #(# #)) > > 142:16 1 (compile-top-call # …) > > In unknown file: > 0 (%resolve-variable (7 . unit-name) #) > > > ERROR: In procedure %resolve-variable: > Unbound variable: unit-name > ------------------------------------------------------------ > TEST SUITE > ------------------------------------------------------------ > error: in phase 'check': uncaught exception: > %exception #<&invoke-error program: "guile" arguments: ("proba.scm" "run" "tests") exit-status: 1 term-signal: #f stop-signal: #f> > > phase `check' failed after 0.1 seconds > --8<---------------cut here---------------end--------------->8--- > > > Any idea? It beats me... I built the package several times today on two different machines using the latest patch; the test suite passes and the package is built successfully. Basically, I did the following: 1. Download latest patch 2. git clone https://git.savannah.gnu.org/git/guix.git 3. git am path/to/the.patch 4. guix shell --pure -D guix 5. ./bootstrap 6. ./configure --localstatedir=/var 7. make 8. ./pre-inst-env guix build [--no-grafts --check] guile-proba