From: Mathieu Lirzin <mthl@gnu.org>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: guix-devel@gnu.org
Subject: Re: Cuirass and duplicate derivations
Date: Mon, 09 Jan 2017 00:20:42 +0100 [thread overview]
Message-ID: <87tw99yw8l.fsf@gnu.org> (raw)
In-Reply-To: <87eg0l9m38.fsf_-_@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\?\= \=\?utf-8\?Q\?\=22's\?\= message of "Mon, 02 Jan 2017 22:40:59 +0100")
Hello,
ludo@gnu.org (Ludovic Courtès) writes:
> Cuirass is almost up and running on the new machine! :-)
Great work!
> The last problem I experienced is this:
>
> evaluate 'gfortran-4.9.4.x86_64-linux': 0.136 seconds
> evaluate 'gfortran-4.9.4.x86_64-linux': 0.000 seconds
> Backtrace:
> In ice-9/boot-9.scm:
> 160: 12 [catch #t #<catch-closure 1b9bc40> ...]
> In unknown file:
> ?: 11 [apply-smob/1 #<catch-closure 1b9bc40>]
> In ice-9/boot-9.scm:
> 66: 10 [call-with-prompt prompt0 ...]
> In ice-9/eval.scm:
> 432: 9 [eval # #]
> In ice-9/r4rs.scm:
> 90: 8 [dynamic-wind #<procedure a26a600 at ice-9/boot-9.scm:1136:2 _> ...]
> In ice-9/eval.scm:
> 481: 7 [lp (#<fluid 22> #<fluid 34>) ("/var/run/cuirass/cuirass.db" #f)]
> 481: 6 [lp (#<fluid 34>) (#f)]
> 432: 5 [eval # #]
> 387: 4 [eval # #]
> In ice-9/boot-9.scm:
> 705: 3 [map #<procedure c3bbdb0 at ice-9/eval.scm:416:20 (a)> #]
> In ice-9/eval.scm:
> 432: 2 [eval # #]
> In src/cuirass/database.scm:
> 54: 1 [sqlite-exec # ...]
> In ice-9/eval.scm:
> 432: 0 [eval # #]
>
> ice-9/eval.scm:432:17: In procedure eval:
> ice-9/eval.scm:432:17: Throw to key `sqlite-error' with args `(#f 1555 "UNIQUE constraint failed: Derivations.derivation, Derivations.evaluation")'.
>
> … which commit 7355634db3ccf0d86f8e34c4aea37392c1a0ab0a fixes.
>
> Then there was another one:
>
> evaluate 'wine-1.9.24.i686-linux': 0.205 seconds
> Backtrace:
> In ice-9/boot-9.scm:
> 160: 12 [catch #t #<catch-closure 9efb20> ...]
> In unknown file:
> ?: 11 [apply-smob/1 #<catch-closure 9efb20>]
> In ice-9/boot-9.scm:
> 66: 10 [call-with-prompt prompt0 ...]
> In ice-9/eval.scm:
> 432: 9 [eval # #]
> In ice-9/r4rs.scm:
> 90: 8 [dynamic-wind #<procedure 9104c20 at ice-9/boot-9.scm:1136:2 _> ...]
> In ice-9/eval.scm:
> 481: 7 [lp (#<fluid 22> #<fluid 34>) ("/var/run/cuirass/cuirass.db" #f)]
> 481: 6 [lp (#<fluid 34>) (#f)]
> 432: 5 [eval # #]
> 387: 4 [eval # #]
> In ice-9/boot-9.scm:
> 703: 3 [map #<procedure b0913f0 at ice-9/eval.scm:416:20 (a)> #]
> In ice-9/eval.scm:
> 432: 2 [eval # #]
> In src/cuirass/database.scm:
> 54: 1 [sqlite-exec # ...]
> In ice-9/eval.scm:
> 432: 0 [eval # #]
>
> ice-9/eval.scm:432:17: In procedure eval:
> ice-9/eval.scm:432:17: Throw to key `sqlite-error' with args `(#f 1555 "UNIQUE constraint failed: Derivations.derivation, Derivations.evaluation")'.
>
> This is because Wine is always built for i686-linux, even on x86_64,
> hence the same .drv. So I hacked my way to ignore Wine.
>
> But then ‘cargo-bootstrap’ showed the same problem.
>
> Hence this message. :-)
>
> What change would you suggest to solve this problem? It would be best
> if Cuirass allowed several jobs building the same derivations (the key
> could be an autoincrement counter instead of the (drv,eval) pair maybe?)
Seems reasonable to me. I will do that.
Thanks.
--
Mathieu Lirzin
GPG: F2A3 8D7E EB2B 6640 5761 070D 0ADE E100 9460 4D37
next prev parent reply other threads:[~2017-01-08 23:20 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <87r35o8x0h.fsf@gnu.org>
[not found] ` <87shq35tue.fsf@gnu.org>
[not found] ` <87y3zv4c4i.fsf@gnu.org>
[not found] ` <87fuljj5ku.fsf@gnu.org>
[not found] ` <87tw9mzq4v.fsf@gnu.org>
2017-01-02 21:40 ` Cuirass and duplicate derivations Ludovic Courtès
2017-01-08 23:20 ` Mathieu Lirzin [this message]
2017-01-09 0:41 ` Mathieu Lirzin
2017-01-09 9:11 ` Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87tw99yw8l.fsf@gnu.org \
--to=mthl@gnu.org \
--cc=guix-devel@gnu.org \
--cc=ludo@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
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).