URL: <https://savannah.gnu.org/bugs/?66500>
Summary: Caching of timestamps prevents proper builds Group: make Submitter: gwj Submitted: Sat 30 Nov 2024 03:15:29 PM UTC Severity: 3 - Normal Item Group: None Status: None Privacy: Public Assigned to: None Open/Closed: Open Discussion Lock: Any Component Version: None Operating System: None Fixed Release: None Triage Status: None _______________________________________________________ Follow-up Comments: ------------------------------------------------------- Date: Sat 30 Nov 2024 03:15:29 PM UTC By: Grzegorz Jabłoński <gwj> Due to make caching timestamps, building baz after updating bar requires invoking make twice. $ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 22.04.5 LTS Release: 22.04 Codename: jammy $ make --version GNU Make 4.3 Built for x86_64-pc-linux-gnu Copyright (C) 1988-2020 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. $ touch bar $ make mkdir foo touch foo/tar touch baz $ make make: 'baz' is up to date. $ touch bar $ make mkdir foo mkdir: cannot create directory ‘foo’: File exists make: [makefile:5: foo] Error 1 (ignored) touch foo/tar $ make mkdir foo mkdir: cannot create directory ‘foo’: File exists make: [makefile:5: foo] Error 1 (ignored) touch foo/tar touch baz _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?66500> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
signature.asc
Description: PGP signature