* Cuirass: Could not find repository
@ 2024-05-09 13:35 Roman Scherer
2024-05-09 19:30 ` Richard Sent
0 siblings, 1 reply; 3+ messages in thread
From: Roman Scherer @ 2024-05-09 13:35 UTC (permalink / raw)
To: help-guix
[-- Attachment #1: Type: text/plain, Size: 6068 bytes --]
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 #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 528 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Cuirass: Could not find repository
2024-05-09 13:35 Cuirass: Could not find repository Roman Scherer
@ 2024-05-09 19:30 ` Richard Sent
2024-05-12 7:40 ` Roman Scherer
0 siblings, 1 reply; 3+ messages in thread
From: Richard Sent @ 2024-05-09 19:30 UTC (permalink / raw)
To: Roman Scherer; +Cc: help-guix
Roman Scherer <roman.scherer@burningswell.com> writes:
> 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.
> Do you have any ideas what the problem could be?
>
> Thanks, Roman.
>
If it's of any help, I noticed that when I ran $ guix time-machine -C
channels.scm -- describe, where channels.scm contains:
--8<---------------cut here---------------start------------->8---
;; channels listed in "images" specification
(list (channel
(name 'guix)
(url "https://github.com/asahi-guix/guix.git")
(branch "main")
(introduction
(make-channel-introduction
"f802d404b7229704190c821f89afd987be6a6905"
(openpgp-fingerprint
"D226 A339 D8DF 4481 5DDE 0CA0 3DDA 5252 7D2A C199"))))
(channel
(name 'asahi)
(branch "main")
(url "https://github.com/asahi-guix/channel.git")
(introduction
(make-channel-introduction
"3eeb493b037bea44f225c4314c5556aa25aff36c"
(openpgp-fingerprint
"D226 A339 D8DF 4481 5DDE 0CA0 3DDA 5252 7D2A C199")))))
--8<---------------cut here---------------end--------------->8---
I got the following error:
--8<---------------cut here---------------start------------->8---
building /gnu/store/29gmxzgpabwlqygcjy1l4wxgjkph5qhi-asahi.drv...
/builder for `/gnu/store/29gmxzgpabwlqygcjy1l4wxgjkph5qhi-asahi.drv' failed to produce output path `/gnu/store/mi8c5dgwiznqwyxcsk0pwnm2a4x52m5g-asahi'
build of /gnu/store/29gmxzgpabwlqygcjy1l4wxgjkph5qhi-asahi.drv failed
View build log at '/var/log/guix/drvs/29/gmxzgpabwlqygcjy1l4wxgjkph5qhi-asahi.drv.gz'.
--8<---------------cut here---------------end--------------->8---
And the log:
--8<---------------cut here---------------start------------->8---
(repl-version 0 1 1)
WARNING: (asahi guix system desktop): imported module (gnu services) overrides core binding `delete'
(exception %exception (non-self-quoting 140736755930640 "#<&compound-exception components: (#<&error-location location: #<<location> file: \"/gnu/store/bny0sjiy9cixb8ghhsirlgjkmxf1z001-channel-f020a1a/src/asahi/guix/system/desktop.scm\" line: 96 column: 2>> #<&formatted-message format: \"modify-services: service '~a' not found in service list\\n\" arguments: (sddm)>)>"))
--8<---------------cut here---------------end--------------->8---
My guess is that's because %desktop-services only conditionally includes
sddm-service-type depending on %current-target-system or
%current-system. See (gnu services desktop). And yet
%gnome-desktop-services unconditionally deletes it.
https://github.com/asahi-guix/channel/blob/main/src/asahi/guix/system/desktop.scm
Perhaps that's relevant, perhaps it's not. I could see it potentially
causing odd behavior, although I can't see how it connects to the error
you observed.
--
Take it easy,
Richard Sent
Making my computer weirder one commit at a time.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Cuirass: Could not find repository
2024-05-09 19:30 ` Richard Sent
@ 2024-05-12 7:40 ` Roman Scherer
0 siblings, 0 replies; 3+ messages in thread
From: Roman Scherer @ 2024-05-12 7:40 UTC (permalink / raw)
To: Richard Sent; +Cc: help-guix
[-- Attachment #1: Type: text/plain, Size: 7924 bytes --]
Richard Sent <richard@freakingpenguin.com> writes:
Hi Richard,
thanks for taking a look and uncovering the issue about deleting
sddm-service-type on non-aarch64 systems. I'm now deleting it in a way
that does not fail.
https://github.com/asahi-guix/channel/blob/main/src/asahi/guix/system/desktop.scm#L102-L104
Unfortunatly, I still see the same error. But I think I'm a step
further. The /gnu/store/j3igwh17jvhvkr4839hdjlwvazwym3r4-guix-bfcac8c
directory now contains the version of my Guix channel that matches the
Cuirass specification.
But it still fails with the same error, complaining that this directory
is not a Git repository.
--8<---------------cut here---------------start------------->8---
Computing Guix derivation for 'aarch64-linux'...
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/j3igwh17jvhvkr4839hdjlwvazwym3r4-guix-bfcac8c'" class: 6>>) inferior: #<inferior pipe (0 1 1) ffff6fbf5340> 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" 2008 11)) (#f ("guix/store.scm" 2009 8)) (#f ("guix/gexp.scm" 298 22)) (#f ("guix/store.scm" 2009 8)) (#f ("./guix/monads.scm" 486 9)) (#f ("guix/gexp.scm" 1666 2)) (#f ("guix/gexp.scm" 1866 6)) (#f ("guix/gexp.scm" 1982 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 ("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 ("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 ("gnu/services.scm" 463 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)))>)
--8<---------------cut here---------------end--------------->8---
Roman
> Roman Scherer <roman.scherer@burningswell.com> writes:
>
>> 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.
>
>> Do you have any ideas what the problem could be?
>>
>> Thanks, Roman.
>>
>
> If it's of any help, I noticed that when I ran $ guix time-machine -C
> channels.scm -- describe, where channels.scm contains:
>
> --8<---------------cut here---------------start------------->8---
> ;; channels listed in "images" specification
> (list (channel
> (name 'guix)
> (url "https://github.com/asahi-guix/guix.git")
> (branch "main")
> (introduction
> (make-channel-introduction
> "f802d404b7229704190c821f89afd987be6a6905"
> (openpgp-fingerprint
> "D226 A339 D8DF 4481 5DDE 0CA0 3DDA 5252 7D2A C199"))))
> (channel
> (name 'asahi)
> (branch "main")
> (url "https://github.com/asahi-guix/channel.git")
> (introduction
> (make-channel-introduction
> "3eeb493b037bea44f225c4314c5556aa25aff36c"
> (openpgp-fingerprint
> "D226 A339 D8DF 4481 5DDE 0CA0 3DDA 5252 7D2A C199")))))
> --8<---------------cut here---------------end--------------->8---
>
> I got the following error:
>
> --8<---------------cut here---------------start------------->8---
> building /gnu/store/29gmxzgpabwlqygcjy1l4wxgjkph5qhi-asahi.drv...
> /builder for `/gnu/store/29gmxzgpabwlqygcjy1l4wxgjkph5qhi-asahi.drv' failed to produce output path `/gnu/store/mi8c5dgwiznqwyxcsk0pwnm2a4x52m5g-asahi'
> build of /gnu/store/29gmxzgpabwlqygcjy1l4wxgjkph5qhi-asahi.drv failed
> View build log at '/var/log/guix/drvs/29/gmxzgpabwlqygcjy1l4wxgjkph5qhi-asahi.drv.gz'.
> --8<---------------cut here---------------end--------------->8---
>
> And the log:
>
> --8<---------------cut here---------------start------------->8---
> (repl-version 0 1 1)
> WARNING: (asahi guix system desktop): imported module (gnu services) overrides core binding `delete'
> (exception %exception (non-self-quoting 140736755930640 "#<&compound-exception components: (#<&error-location location: #<<location> file: \"/gnu/store/bny0sjiy9cixb8ghhsirlgjkmxf1z001-channel-f020a1a/src/asahi/guix/system/desktop.scm\" line: 96 column: 2>> #<&formatted-message format: \"modify-services: service '~a' not found in service list\\n\" arguments: (sddm)>)>"))
> --8<---------------cut here---------------end--------------->8---
>
> My guess is that's because %desktop-services only conditionally includes
> sddm-service-type depending on %current-target-system or
> %current-system. See (gnu services desktop). And yet
> %gnome-desktop-services unconditionally deletes it.
> https://github.com/asahi-guix/channel/blob/main/src/asahi/guix/system/desktop.scm
>
> Perhaps that's relevant, perhaps it's not. I could see it potentially
> causing odd behavior, although I can't see how it connects to the error
> you observed.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 528 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-05-12 7:41 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-09 13:35 Cuirass: Could not find repository Roman Scherer
2024-05-09 19:30 ` Richard Sent
2024-05-12 7:40 ` Roman Scherer
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).