all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: Mathieu Lirzin <mthl@gnu.org>
Cc: guix-devel@gnu.org
Subject: Cuirass and duplicate derivations
Date: Mon, 02 Jan 2017 22:40:59 +0100	[thread overview]
Message-ID: <87eg0l9m38.fsf_-_@gnu.org> (raw)
In-Reply-To: <87tw9mzq4v.fsf@gnu.org> (Mathieu Lirzin's message of "Thu, 29 Dec 2016 16:55:28 +0100")

Hello!

Cuirass is almost up and running on the new machine!  :-)

The last problem I experienced is this:

--8<---------------cut here---------------start------------->8---
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")'.
--8<---------------cut here---------------end--------------->8---

… which commit 7355634db3ccf0d86f8e34c4aea37392c1a0ab0a fixes.

Then there was another one:

--8<---------------cut here---------------start------------->8---
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")'.
--8<---------------cut here---------------end--------------->8---

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?)

TIA!

Ludo’.

       reply	other threads:[~2017-01-02 21:41 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         ` Ludovic Courtès [this message]
2017-01-08 23:20           ` Cuirass and duplicate derivations Mathieu Lirzin
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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87eg0l9m38.fsf_-_@gnu.org \
    --to=ludo@gnu.org \
    --cc=guix-devel@gnu.org \
    --cc=mthl@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 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.