URL:
  <https://savannah.gnu.org/bugs/?68372>

                 Summary: Out-of-tree builds without dependency tracking fail
often
                   Group: GNU roff
               Submitter: rossburton
               Submitted: Tue 19 May 2026 02:34:49 PM UTC
                Category: None
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Unlocked
         Planned Release: None


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Tue 19 May 2026 02:34:49 PM UTC By: Ross Burton <rossburton>
Related to #68370 but whereas that is missing dependencies, this is missing
mkdir calls.

If you do an out-of-tree build with dependency tracking disabled (configure
--disable-dependency-tracking) then the build tree doesn't have a shadow of
the source tree created by configure.

This then exposes rules which don't create directories that they're about to
write into:

$ make src/libs/libgroff/version.cpp
echo 1.24.1 > .version-t && mv .version-t .version
/bin/bash: line 1: src/libs/libgroff/version.cpp.tmp: No such file or
directory
make: *** [Makefile:20242: src/libs/libgroff/version.cpp] Error 1

This is because src/libs/libgroff doesn't exist yet.

$ make font/devpdf/SS
  GEN      font/devpdf/SS
cp: cannot create regular file 'font/devpdf/SS': No such file or directory

Same problem, font/devpdf does not exist yet.







    _______________________________________________________

Reply to this item at:

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

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/

Attachment: signature.asc
Description: PGP signature

Reply via email to