serpent-os / tools

The home of moss (system state manager) and boulder (moss format build tool)
https://serpentos.com
132 stars 12 forks source link

boulder: Output appears to go missing when redirecting to stderr? #313

Closed ermo closed 1 month ago

ermo commented 1 month ago

To see the current outcome (missing analysis output, missing package emission output etc.), check any summit build.log file.

From what I can tell, the bug (if that's what it is) also causes certain moss-output to go AWOL in the Populate (moss) phase.

To reproduce, do a just build 2>error.log in a terminal of any package and compare the output from the same package built via just build.

Note that avalanche attempts to collect both redirected stdout and stderr to the same LogFile with the same behaviour observed.

Expected Result:

The missing output in the redirected case would all be present in the error.log file

Observed Result:

A bunch of output in the redirected case appears to go missing somewhere.