On Sat, Jan 24, 2026 at 05:48:53PM +0100, Benjamin Drung wrote:

Note: My simple "cat" change did not solve the problem.

> > But I can't see any special thing in the logs (are they redirected 
> > somewhere?)
> 
> Does this really fail? help_output=$(3cpio --help) will always read the
> full output and therefore 3cpio should not fail with broken pipe. So I
> would expect this patch to be a workaround as side effect.

You are right.

The failure rate was extremely low, maybe I mixed some build logs from
the previous run.

Now I've tested it again and the failure rate is effectively zero.

> Thanks. That confirms my suspicion. grep terminates and 3cpio cannot
> write to the pipe any more. Instead of happily quitting, it throws an
> error message and exits with code 1. I'll fix 3cpio to handle the broken
> pipe case better.

Great. If you do that please retitle #1126301 to something more
suitable (I believed 3cpio was innocent but after knowing that Rust
treats pipes differently I agree that the bug make sense).

Thanks.

Reply via email to