GNU bug report logs - #46071
‘inferior-eval-with-store’ swallows inferior build output

Previous Next

Package: guix;

Reported by: Ludovic Courtès <ludo <at> gnu.org>

Date: Sun, 24 Jan 2021 10:53:01 UTC

Severity: normal

To reply to this bug, email your comments to 46071 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#46071; Package guix. (Sun, 24 Jan 2021 10:53:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Ludovic Courtès <ludo <at> gnu.org>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Sun, 24 Jan 2021 10:53:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: bug-guix <at> gnu.org
Subject: ‘inferior-eval-with-store’ swallows
 inferior build output
Date: Sun, 24 Jan 2021 11:52:20 +0100
‘inferior-eval-with-store’ swallows build output.  Namely, the ‘proxy’
procedure proxies interactions between the daemon and the inferior,
without any interpretation.  Thus, the inferior gets to see build
output, which it may or may not display, depending on its
‘current-build-output-port’ binding, but the calling process itself
doesn’t see anything.

This is similar to <https://issues.guix.gnu.org/41930>.

To fix it would require either interpreting all the protocol as messages
are forwarded, or having another socket to forward build output from the
inferior to the caller.

(Another option might be to install a “build handler” in the inferior,
but older Guixes didn’t have that.)

Note that this issue is normally quite rare.  The one case where it
happens is when calling ‘inferior-package-derivation’ on a package where
grafts potentially apply; in this case, the inferior starts building the
ungrafted variant of the package, and it’s that build output that’s
swallowed.

Ludo’.




This bug report was last modified 3 years and 65 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.