[gentoo-dev] [PATCH] zig.eclass: fix rare spurious `error.BrokenPipe` during `src_test`

2024-12-15 Thread Eric Joldasov
Most likely caused by `grep -q` processing too fast when steps are filtered. Can sometimes be reproduced with this command (you might need several retries to hit it): ```console $ for i in {0..20}; do zig build --list-steps | grep -q test; done error: BrokenPipe /usr/lib64/zig//lib/compiler/bu

Re: [gentoo-dev] [RFC] [PATCH] toolchain-funcs.eclass: toolchain-funcs.eclass: Add tc-check-min_ver()

2024-12-15 Thread Ionen Wolkens
On Sun, Dec 15, 2024 at 10:22:06AM +0200, Mickaël Bucas wrote: > Le sam. 14 déc. 2024, 00:32, Andreas Sturmlechner a > écrit : > > > Every once in a while, a package requires a really up to date active > > compiler > > in order to build successfully. ecm.eclass had inherited such a mechanism, > >

Re: [gentoo-dev] [RFC] [PATCH] toolchain-funcs.eclass: toolchain-funcs.eclass: Add tc-check-min_ver()

2024-12-15 Thread Mickaël Bucas
Le sam. 14 déc. 2024, 00:32, Andreas Sturmlechner a écrit : > Every once in a while, a package requires a really up to date active > compiler > in order to build successfully. ecm.eclass had inherited such a mechanism, > albeit GCC specific, from older kde* eclasses. I don't think that is a good