On Sep 22 2022, Dmitry Goncharov wrote: > On Thu, Sep 22, 2022 at 4:39 AM Andreas Schwab <sch...@suse.de> wrote: > ... >> Interestingly, this eventually runs out of file >> descriptors, because, due to -O, make keeps opening new pipes for >> synchronizing the output without closing any. Without -O, this would >> probably go on forever. > > Make used to synchronize output by locking stdout. There was a recent > change. Make now uses a temp file to synchronize output. > There was also a change in replacing a pipe with a named pipe for > jobserver synchronization. > Can you please tell us how to reproduce?
Just using make -O should trigger this. The same problem also happens for other packages: https://build.opensuse.org/package/live_build_log/Base:System/coreutils/openSUSE_Tumbleweed/x86_64 FAIL: tests/misc/sort-merge-fdlimit =================================== sort: open failed: in/1: Too many open files sort: open failed: in/10: Too many open files sort: open failed: in/10: Too many open files FAIL tests/misc/sort-merge-fdlimit.sh (exit status: 1) FAIL: tests/split/r-chunk ========================= ./tests/split/r-chunk.sh: pipe error: Too many open files stat: cannot statx 'x*': No such file or directory FAIL tests/split/r-chunk.sh (exit status: 1) -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different."