[bug #67804] Excessive "Entering directory" with -O/--output-sync

Pierre Ossman <[email protected]> Thu, 11 Dec 2025 03:52:18 -0500 (EST)
Newsgroups gmane.comp.gnu.make.bugs
Message-ID <[email protected]>
URL:
  <https://savannah.gnu.org/bugs/?67804>

                 Summary: Excessive "Entering directory" with -O/--output-sync
                   Group: make
               Submitter: cendossm
               Submitted: Thu 11 Dec 2025 08:52:14 AM UTC
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Unlocked
       Component Version: None
        Operating System: None
           Fixed Release: None
           Triage Status: None


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Thu 11 Dec 2025 08:52:14 AM UTC By: Pierre Ossman <cendossm>
The -O option is a really useful feature. Especially with noisy commands, like
libtool. However, using it for less noisy things causes some grief:


...
make[1]: Entering directory
'/local/home/ossman/devel/tigervnc/builddir/native/unix/xserver/exa'
  CC       exa_mixed.lo
make[1]: Leaving directory
'/local/home/ossman/devel/tigervnc/builddir/native/unix/xserver/exa'
make[1]: Entering directory
'/local/home/ossman/devel/tigervnc/builddir/native/unix/xserver/exa'
  CC       exa_classic.lo
make[1]: Leaving directory
'/local/home/ossman/devel/tigervnc/builddir/native/unix/xserver/exa'
make[1]: Entering directory
'/local/home/ossman/devel/tigervnc/builddir/native/unix/xserver/exa'
  CC       exa_render.lo
make[1]: Leaving directory
'/local/home/ossman/devel/tigervnc/builddir/native/unix/xserver/exa'
...


It would be nice if the feature could be a bit more clever and only print
those directory lines if it's different from the last thing printed.







    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?67804>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc (application/pgp-signature, 228 B)
-----BEGIN PGP SIGNATURE-----

iHUEABYIAB0WIQQk97aszIMMAvLLwm6qLAuaBUf3TgUCaTqGQgAKCRCqLAuaBUf3
TkFsAQCmwbyQSEPhzNc1B7Q1qeNa9p8dWCUsXU/QaHl8ZgqUzQEAjAmMOw/c2ils
wjxVpQXh/JZwVza9886P4VaTiDmE/Qg=
=Uewt
-----END PGP SIGNATURE-----