Re: [bug #67804] Excessive "Entering directory" with -O/--output-sync
Paul Smith <[email protected]> Thu, 11 Dec 2025 16:47:05 -0500
| Newsgroups | gmane.comp.gnu.make.bugs |
|---|---|
| Organization | GNU's Not UNIX! |
| Message-ID | <[email protected]> |
On Thu, 2025-12-11 at 16:37 +0100, Andreas Schwab wrote: > On Dez 11 2025, Paul D. Smith wrote: > > > $ make -C $(pwd) > > make: Entering directory '/tmp/test' > > a > > b > > c > > d > > make: Leaving directory '/tmp/test' > > $ make -C $(pwd) -j -O > make: Entering directory '/tmp/test' > a > make: Leaving directory '/tmp/test' > make: Entering directory '/tmp/test' > b > make: Leaving directory '/tmp/test' > make: Entering directory '/tmp/test' > c > make: Leaving directory '/tmp/test' > make: Entering directory '/tmp/test' > d > make: Leaving directory '/tmp/test' Oh interesting: adding -j seems required here. I guess without -j, -O doesn't do much anyway so maybe it is related. This feels like a bug to me; I'd have to look more closely. Maybe there was some reason we added this output, in this situation, that I'm forgetting now. TBH I have had GNUMAKEFLAGS=--no-print-directory set in my environment for so long now I don't even think about this output anymore.