all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#46071: ‘inferior-eval-with-store’ swallows inferior build output
@ 2021-01-24 10:52 Ludovic Courtès
  0 siblings, 0 replies; only message in thread
From: Ludovic Courtès @ 2021-01-24 10:52 UTC (permalink / raw)
  To: 46071

‘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’.




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-01-24 10:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-01-24 10:52 bug#46071: ‘inferior-eval-with-store’ swallows inferior build output Ludovic Courtès

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.