Hello Guix,

I'm trying to run a Cuirass server for my channels. I have setup
Cuirass and can build packages in my channels. So far so good.

What I would like to do next is to build a manifest with my channel
and my modified version of the Guix channel that contains patches that
aren't upstreamed.

When I do this, I see the following build error:

-----------------------------------------------------------------------------
Computing Guix derivation for 'aarch64-linux'...
substitute: updating substitutes from 'https://bordeaux.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
The following derivations will be built:
  /gnu/store/bzl05y4790frz38hv9mj1a0m91451akf-profile.drv
  /gnu/store/rwy6nr20rdc3krkpj45kbr4d3snsqkc0-asahi.drv
  /gnu/store/s8qlz8g581vvhdhh8qrmrpglmq7nndpv-inferior-script.scm.drv
  /gnu/store/wydr6pvfc0llx0d9hq41gn2cyzj8qwc1-profile.drv
The following profile hooks will be built:
   /gnu/store/2v1i8qwsxsin0ssgvjbghqq7hx81kqr4-ca-certificate-bundle.drv
   /gnu/store/8xgz94zkjayz5amxc4f16crxv7qgjda7-fonts-dir.drv
   /gnu/store/9akz81fhpkpz073mgxf5mnabwnpfg30g-info-dir.drv
   /gnu/store/k2f0m1qv0vvm4cz9f21yp1y3i23s513y-guix-package-cache.drv
   /gnu/store/s9nch31jiapln29c03an5sb4gk85yxzj-emacs-subdirs.drv
building path(s) `/gnu/store/ny6s2b4652xmqvjl44ban7ra3398zn7v-asahi'
(repl-version 0 1 1)
WARNING: (asahi guix system desktop): imported module (gnu services) overrides 
core binding `delete'
WARNING: (asahi guix system desktop): imported module (gnu services) overrides 
core binding `delete'
(values (value 
"/gnu/store/ny6s2b4652xmqvjl44ban7ra3398zn7v-asahi/share/guile/site/3.0"))
building path(s) 
`/gnu/store/hkk0778ql8ms9a0w5314s1r15qbvclpn-ca-certificate-bundle'
building path(s) `/gnu/store/29gz6ym8mgkb0qmvzlz5dmjyms4qlgss-emacs-subdirs'
building path(s) `/gnu/store/q6rs8i12gx68h3wcvx6f1pr4ndy5gxbs-fonts-dir'
building path(s) `/gnu/store/wk1hg6kfzgxqz5scimxkxsvv0ab05yyx-info-dir'
building path(s) `/gnu/store/dkb8539cx85833bpnils35shsvnv0bca-profile'
building path(s) 
`/gnu/store/c1wyvrxgwqgm6vsfv8xsgdsdzbq6a1w6-inferior-script.scm'
building path(s) 
`/gnu/store/b878q40rwkmi2b1fyd4aj4z14fpc914x-guix-package-cache'
(repl-version 0 1 1)
Generating package cache for 
'/gnu/store/dkb8539cx85833bpnils35shsvnv0bca-profile'...
(values (value 
"/gnu/store/b878q40rwkmi2b1fyd4aj4z14fpc914x-guix-package-cache/lib/guix/package.cache"))
building path(s) `/gnu/store/xvlilpg0pk9yqj1rhymc4jnh83clx3si-profile'
In thread:
uncaught throw to %exception: (#<&inferior-exception arguments: (git-error 
#<inferior-object #<<git-error> code: -3 message: "could not find repository at 
'/gnu/store/xphccxyczx2706ikpz77iq10xjpcq9wc-guix-cf5f7a8'" class: 6>>) 
inferior: #<inferior pipe (0 1 1) ffff6cb4f340> stack: ((#f ("ice-9/boot-9.scm" 
1779 13)) (raise-exception ("ice-9/boot-9.scm" 1682 16)) (raise-exception 
("ice-9/boot-9.scm" 1684 16)) (#f ("guix/git.scm" 438 13)) 
(update-cached-checkout ("guix/git.scm" 536 29)) (latest-channel-instance 
("guix/channels.scm" 416 18)) (latest-channel-instances ("guix/channels.scm" 
553 23)) (#f ("guix/store.scm" 2053 38)) (#f ("guix/build-system/channel.scm" 
42 2)) (#f ("guix/packages.scm" 2009 11)) (#f ("guix/store.scm" 2009 8)) (#f 
("guix/gexp.scm" 298 22)) (#f ("guix/store.scm" 2009 8)) (#f ("guix/gexp.scm" 
298 22)) (#f ("guix/store.scm" 2009 8)) (#f ("guix/gexp.scm" 917 13)) 
(run-with-store ("guix/store.scm" 2181 25)) (call-with-build-handler 
("guix/store.scm" 1301 8)) (map/accumulate-builds ("guix/store.scm" 1383 11)) 
(#f ("guix/store.scm" 2066 12)) (#f ("guix/gexp.scm" 912 4)) (#f 
("guix/gexp.scm" 1071 2)) (#f ("guix/gexp.scm" 1204 2)) (#f ("guix/gexp.scm" 
298 22)) (#f ("guix/store.scm" 2009 8)) (#f ("guix/gexp.scm" 917 13)) 
(run-with-store ("guix/store.scm" 2181 25)) (call-with-build-handler 
("guix/store.scm" 1301 8)) (map/accumulate-builds ("guix/store.scm" 1383 11)) 
(#f ("guix/store.scm" 2066 12)) (#f ("guix/gexp.scm" 912 4)) (#f 
("guix/gexp.scm" 1071 2)) (#f ("guix/gexp.scm" 1204 2)) (#f ("guix/gexp.scm" 
298 22)) (#f ("guix/store.scm" 2009 8)) (#f ("gnu/services.scm" 724 2)) 
(run-with-store ("guix/store.scm" 2181 25)) (call-with-build-handler 
("guix/store.scm" 1301 8)) (map/accumulate-builds ("guix/store.scm" 1383 11)) 
(#f ("guix/store.scm" 2066 12)) (#f ("gnu/services.scm" 431 2)) (run-with-store 
("guix/store.scm" 2181 25)) (#f ("gnu/system.scm" 1661 9)) (#f 
("guix/store.scm" 2053 38)) (#f ("guix/gexp.scm" 298 22)) (#f ("guix/store.scm" 
2009 8)) (run-with-store ("guix/store.scm" 2181 25)) (#f ("gnu/ci.scm" 447 18)) 
(map1 ("srfi/srfi-1.scm" 585 17)) (map1 ("srfi/srfi-1.scm" 585 29)) (map1 
("srfi/srfi-1.scm" 585 29)) (map1 ("srfi/srfi-1.scm" 585 17)) (append-map 
("srfi/srfi-1.scm" 672 15)) (map1 ("srfi/srfi-1.scm" 585 17)) (append-map 
("srfi/srfi-1.scm" 672 15)) (cuirass-jobs ("gnu/ci.scm" 505 4)) (#f 
("ice-9/eval.scm" 158 9)) (with-exception-handler ("ice-9/boot-9.scm" 1751 10)) 
(call-with-prompt ("ice-9/boot-9.scm" 723 2)) (#f (#f #f #f)) (#f 
("guix/repl.scm" 98 21)) (with-exception-handler ("ice-9/boot-9.scm" 1751 10)) 
(with-exception-handler ("ice-9/boot-9.scm" 1746 15)) (#f ("guix/repl.scm" 125 
7)))>)

-----------------------------------------------------------------------------

Here are the links to my Cuirass configuration and the manifest I would like to 
build.

- 
https://github.com/asahi-guix/channel/blob/main/src/asahi/guix/system/server.scm#L166-L265
- https://github.com/asahi-guix/channel/blob/main/.guix/manifest.scm

A couple of things I noticed:

- The /gnu/store/xphccxyczx2706ikpz77iq10xjpcq9wc-guix-cf5f7a8
  directory contains the source code for Guix, but as the error
  message says it is NOT a Git repository.

- The /gnu/store/xphccxyczx2706ikpz77iq10xjpcq9wc-guix-cf5f7a8
  directory does not contain the source code I'm expecting to see. It
  contains the code from the official Guix channel, and NOT the Guix
  channel that I specified.

Do you have any ideas what the problem could be?

Thanks, Roman.

Attachment: signature.asc
Description: PGP signature

Reply via email to