all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#43760: cuirass: fail to install with simple configuration
@ 2020-10-02 11:11 Jonathan Brielmaier
  2020-10-02 13:02 ` Mathieu Othacehe
  0 siblings, 1 reply; 7+ messages in thread
From: Jonathan Brielmaier @ 2020-10-02 11:11 UTC (permalink / raw)
  To: 43760

Hi,

I'm trying to set up a simple cuirass server. But in the last month I
never got it working. This time I tried with help from Mathieu.

cuirass-spec:
```
(define %cuirass-specs
  '((#:name . "my-manifest")
    (#:load-path-inputs . ("guix"))
    (#:package-path-inputs . ())
    (#:proc-input . "guix")
    (#:proc-file . "build-aux/cuirass/gnu-system.scm")
    (#:proc . cuirass-jobs)
    (#:proc-args (subset . "all"))
    (#:inputs . (((#:name . "guix")
                  (#:url . "git://git.savannah.gnu.org/guix.git")
                  (#:load-path . ".")
                  (#:branch . "master")
                  (#:no-compile? . #t))
                 ((#:name . "jonsger-guix")
                  (#:url . "https://gitlab.com/jonsger/jonsger-guix.git")
                  (#:load-path . ".")
                  (#:branch . "master")
                  (#:no-compile? . #t))))
    (#:build-outputs . ())))
(list %cuirass-specs)
```

Used as:
```
(service cuirass-service-type
         (cuirass-configuration
           (specifications %cuirass-specs)
           (use-substitutes? #t)))
```

Gives following error when reconfiguring this system:
```
Backtrace:
In guix/status.scm:
    776:4 19 (call-with-status-report _ _)
In guix/scripts/system.scm:
   1170:4 18 (_)
In ice-9/boot-9.scm:
  1736:10 17 (with-exception-handler _ _ #:unwind? _ #:unwind-for-type _)
In guix/store.scm:
   631:37 16 (thunk)
   1300:8 15 (call-with-build-handler _ _)
   1300:8 14 (call-with-build-handler _ _)
   1300:8 13 (call-with-build-handler #<procedure 7fc206bd3450 at
guix/ui.scm:1166:2 (continue store things mode)> _)
  2042:24 12 (run-with-store #<store-connection 256.99 7fc202e2af50> _
#:guile-for-build _ #:system _ #:target _)
In guix/scripts/system.scm:
   840:13 11 (_ _)
   748:13 10 (_ _)
In ice-9/boot-9.scm:
    152:2  9 (with-fluid* _ _ _)
In unknown file:
           8 (primitive-load
"/gnu/store/ki892f95cw5i48r165k6di4n3wb2d2cc-switch-to-system.scm")
           7 (primitive-load
"/gnu/store/smpbrrw738f6ncpgrlw4h9qwbgr2vwaa-activate.scm")
In ice-9/boot-9.scm:
   260:13  6 (for-each #<procedure primitive-load (_)> _)
In unknown file:
           5 (primitive-load
"/gnu/store/z2yjxn8c7spiql4cdv6ydkvrqbdl85kd-activate-service.scm")
In ice-9/eval.scm:
    619:8  4 (_ #(#<directory (guile-user) 7fc2119e1f00> 980 982))
In ice-9/ports.scm:
   461:11  3 (call-with-output-file #f #<procedure 7fc202f17940 at
ice-9/boot-9.scm:803:2 _> #:binary _ #:encoding _)
In unknown file:
           2 (open-file #f "w" #:encoding #f)
In ice-9/boot-9.scm:
  1669:16  1 (raise-exception _ #:continuable? _)
  1669:16  0 (raise-exception _ #:continuable? _)

ice-9/boot-9.scm:1669:16: In procedure raise-exception:
Wrong type (expecting string): #f
```




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

* bug#43760: cuirass: fail to install with simple configuration
  2020-10-02 11:11 bug#43760: cuirass: fail to install with simple configuration Jonathan Brielmaier
@ 2020-10-02 13:02 ` Mathieu Othacehe
  2020-10-02 14:05   ` Jonathan Brielmaier
  0 siblings, 1 reply; 7+ messages in thread
From: Mathieu Othacehe @ 2020-10-02 13:02 UTC (permalink / raw)
  To: Jonathan Brielmaier; +Cc: 43760


Hello Jonathan,

> ice-9/boot-9.scm:1669:16: In procedure raise-exception:
> Wrong type (expecting string): #f

Thanks for the bug report. This should be fixed with
d6a8f0a9781a90c3037f25e51d7ff32e50f7a8c1.

You will then probably hit this one:

https://issues.guix.gnu.org/43757

but we'll see that later :)

Thanks,

Mathieu




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

* bug#43760: cuirass: fail to install with simple configuration
  2020-10-02 13:02 ` Mathieu Othacehe
@ 2020-10-02 14:05   ` Jonathan Brielmaier
  2020-10-02 14:14     ` Mathieu Othacehe
  2020-10-03 10:46     ` Mathieu Othacehe
  0 siblings, 2 replies; 7+ messages in thread
From: Jonathan Brielmaier @ 2020-10-02 14:05 UTC (permalink / raw)
  To: Mathieu Othacehe; +Cc: 43760-done

On 02.10.20 15:02, Mathieu Othacehe wrote:
>
> Hello Jonathan,
>
>> ice-9/boot-9.scm:1669:16: In procedure raise-exception:
>> Wrong type (expecting string): #f
>
> Thanks for the bug report. This should be fixed with
> d6a8f0a9781a90c3037f25e51d7ff32e50f7a8c1.

Yes, fix confirmed.

> You will then probably hit this one:
>
> https://issues.guix.gnu.org/43757

I do :(




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

* bug#43760: cuirass: fail to install with simple configuration
  2020-10-02 14:05   ` Jonathan Brielmaier
@ 2020-10-02 14:14     ` Mathieu Othacehe
  2020-10-03 10:46     ` Mathieu Othacehe
  1 sibling, 0 replies; 7+ messages in thread
From: Mathieu Othacehe @ 2020-10-02 14:14 UTC (permalink / raw)
  To: Jonathan Brielmaier; +Cc: 43760-done


>> https://issues.guix.gnu.org/43757
>
> I do :(

At least it's reproducible. Using one input works, but using more than
one input causes an exception during git fetching. It seems to be broken
since at least a few months.

It makes me think that we need a stronger test suite for Cuirass.

Thanks,

Mathieu




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

* bug#43760: cuirass: fail to install with simple configuration
  2020-10-02 14:05   ` Jonathan Brielmaier
  2020-10-02 14:14     ` Mathieu Othacehe
@ 2020-10-03 10:46     ` Mathieu Othacehe
  2020-10-03 10:55       ` Jonathan Brielmaier
  1 sibling, 1 reply; 7+ messages in thread
From: Mathieu Othacehe @ 2020-10-03 10:46 UTC (permalink / raw)
  To: 43760; +Cc: jonathan.brielmaier


Hello Jonathan,

>> You will then probably hit this one:
>>
>> https://issues.guix.gnu.org/43757
>
> I do :(

After fixing this issue, see: 761443bca6178b4ac299a8bd368d1cac4abda5f8,
I'm able to successfully evaluate and build your specification.

I still need to update the Cuirass package accordingly.

Thanks,

Mathieu




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

* bug#43760: cuirass: fail to install with simple configuration
  2020-10-03 10:46     ` Mathieu Othacehe
@ 2020-10-03 10:55       ` Jonathan Brielmaier
  2020-10-03 13:15         ` Mathieu Othacehe
  0 siblings, 1 reply; 7+ messages in thread
From: Jonathan Brielmaier @ 2020-10-03 10:55 UTC (permalink / raw)
  To: Mathieu Othacehe, 43760

On 03.10.20 12:46, Mathieu Othacehe wrote:
>
> Hello Jonathan,
>
>>> You will then probably hit this one:
>>>
>>> https://issues.guix.gnu.org/43757
>>
>> I do :(
>
> After fixing this issue, see: 761443bca6178b4ac299a8bd368d1cac4abda5f8,
> I'm able to successfully evaluate and build your specification.
>
> I still need to update the Cuirass package accordingly.

Would be great :)
Thanks




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

* bug#43760: cuirass: fail to install with simple configuration
  2020-10-03 10:55       ` Jonathan Brielmaier
@ 2020-10-03 13:15         ` Mathieu Othacehe
  0 siblings, 0 replies; 7+ messages in thread
From: Mathieu Othacehe @ 2020-10-03 13:15 UTC (permalink / raw)
  To: Jonathan Brielmaier; +Cc: 43760


> Would be great :)

Done with b3f5402d2d506271857d2c987b79b741d4b0ec33.

Mathieu




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

end of thread, other threads:[~2020-10-03 13:16 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-10-02 11:11 bug#43760: cuirass: fail to install with simple configuration Jonathan Brielmaier
2020-10-02 13:02 ` Mathieu Othacehe
2020-10-02 14:05   ` Jonathan Brielmaier
2020-10-02 14:14     ` Mathieu Othacehe
2020-10-03 10:46     ` Mathieu Othacehe
2020-10-03 10:55       ` Jonathan Brielmaier
2020-10-03 13:15         ` Mathieu Othacehe

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.