all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Mark H Weaver <mhw@netris.org>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: guix-devel@gnu.org, 28211@debbugs.gnu.org
Subject: Re: bug#28211: Grafting fails for latest Go release candidate
Date: Thu, 24 Aug 2017 00:56:30 -0400	[thread overview]
Message-ID: <878ti9o96p.fsf@netris.org> (raw)
In-Reply-To: <87lgm9j3q9.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Thu, 24 Aug 2017 00:53:18 +0200")

ludo@gnu.org (Ludovic Courtès) writes:

> Marius Bakke <mbakke@fastmail.com> skribis:
>
>> Most likely just lucky, new grafting failure today.
>>
>> I've noticed they are more likely to occur when the host system is busy.
>> Grafting a large package such as 'texlive' is almost guaranteed to fail
>> on a fully-utilized machine.
>>
>> Maybe we should switch back to 2.0 for the time being?
>
> Yes, done: <https://bugs.gnu.org/28211>.
>
> I took a look: the code in (guix build graft) is multi-threaded but
> there’s no shared state among threads (except for the current
> output/error ports,

In Guile, port operations do not include built-in thread
synchronization, so it's not safe for multiple threads to write to the
current output/error ports concurrently.  Those writes should be
protected by a mutex.

However, we had agreed that in 2.2, the port operations should be
implemented in such a way that the worst that could happen on typical
hardware in practice was for the output to be garbled.  I didn't review
the new 2.2 ports code, so I'm not sure whether this was accomplished.

      Mark

  reply	other threads:[~2017-08-24  4:57 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-31 14:39 Grafting fails for latest Go release candidate Leo Famulari
2017-07-31 15:12 ` Marius Bakke
2017-07-31 16:22 ` Mark H Weaver
2017-08-03 21:06 ` Marius Bakke
2017-08-04  3:48   ` Mark H Weaver
2017-08-04  9:51     ` Marius Bakke
2017-08-07 20:08   ` Marius Bakke
2017-08-09 10:19     ` Andy Wingo
2017-08-21 15:32       ` Ludovic Courtès
2017-08-21 20:24         ` Marius Bakke
2017-08-22 19:26           ` Marius Bakke
2017-08-23 22:53             ` bug#28211: " Ludovic Courtès
2017-08-23 22:53             ` Ludovic Courtès
2017-08-24  4:56               ` Mark H Weaver [this message]
2017-08-24  4:56               ` bug#28211: " Mark H Weaver
2017-08-22 20:09         ` Leo Famulari
2017-08-07 20:16 ` Efraim Flashner

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=878ti9o96p.fsf@netris.org \
    --to=mhw@netris.org \
    --cc=28211@debbugs.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 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.