help-guix
[Top][All Lists]
Advanced

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

Re: Cuirass: Could not find repository


From: Roman Scherer
Subject: Re: Cuirass: Could not find repository
Date: Sun, 12 May 2024 09:40:59 +0200
User-agent: mu4e 1.12.4; emacs 29.3

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: signature.asc
Description: PGP signature


reply via email to

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