‘inferior-eval-with-store’ swallows inferior build output

OpenSubmitted by Ludovic Courtès.
Details
One participant
  • Ludovic Courtès
Owner
unassigned
Severity
normal
L
L
Ludovic Courtès wrote on 24 Jan 11:52 +0100
(address . bug-guix@gnu.org)
87wnw27gkb.fsf@inria.fr
‘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 buildoutput, which it may or may not display, depending on its‘current-build-output-port’ binding, but the calling process itselfdoesn’t see anything.
This is similar to https://issues.guix.gnu.org/41930.
To fix it would require either interpreting all the protocol as messagesare forwarded, or having another socket to forward build output from theinferior 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 ithappens is when calling ‘inferior-package-derivation’ on a package wheregrafts potentially apply; in this case, the inferior starts building theungrafted variant of the package, and it’s that build output that’sswallowed.
Ludo’.
?
Your comment

Commenting via the web interface is currently disabled.

To comment on this conversation send email to 46071@debbugs.gnu.org