[bug #68372] Out-of-tree builds without dependency tracking fail often
Ross Burton <[email protected]>
| Newsgroups | gmane.comp.printing.groff.bugs |
|---|---|
| Message-ID | <[email protected]> |
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/
signature.asc
(application/pgp-signature, 228 B)
-----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQQk97aszIMMAvLLwm6qLAuaBUf3TgUCagx1DQAKCRCqLAuaBUf3 Tgj2AQDjj95f4ycNsYWjYjIjjDJcaBFLyn9uN6XEYjDjI4S6VgD8D88hQt1KZjQN gjfu+aa3OvC4RTfcg/VDxluktdpvtAM= =NaDS -----END PGP SIGNATURE-----