Overview
| Artifact ID: | aeaabba987e6be7df268ebf69476a986a06ef8c602f8f65cbd736ef61c59b3a6 |
|---|---|
| Ticket: | 1555016064a4a70a5eb7caa2f019e98d2dffc8ff
Incremental build does not pick up changes in library/ (stale library zip) |
| User & Date: | serhiy.storchaka on 2026-10-19 17:18:06 |
Changes
- cmimetype changed to: "text/x-fossil-wiki"
- comment changed to:
With zipfs, an incremental build does not pick up changes in <tt>library/</tt>: after <tt>fossil update</tt> brings only Tcl library changes, <tt>make</tt> does nothing, and <tt>libtcl</tt> and <tt>tclsh</tt> keep the old library until <tt>make clean</tt>. This is what happened in [607d9a61d5]: the build kept <tt>tcl::idna</tt> 1.0.1 after the update to 1.0.2. The same happens with changes to <tt>library/encoding/*.enc</tt>. <verbatim> $ touch library/cookiejar/idna.tcl # or any change in library/ $ make # libtcl9.1.1.zip is not rebuilt </verbatim> The rule for <tt>${TCL_ZIP_FILE}</tt> in <tt>unix/Makefile.in</tt> and <tt>win/Makefile.in</tt> depends only on <tt>${ZIP_INSTALL_OBJS}</tt> (and the DDE DLL on Windows), not on the library files. <tt>win/makefile.vc</tt> is not affected: it rebuilds the zip on every run. Proposed fix in branch [/timeline?r=zip-depends-on-library|zip-depends-on-library]: the zip file depends on the files and directories of <tt>library/</tt>, so a changed, added or removed file rebuilds it. Tested on Linux and with MSYS2 on Windows. - foundin changed to: "9.1.0"
- login: "serhiy.storchaka"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- severity changed to: "Minor"
- status changed to: "Open"
- subsystem changed to: "53. Configuration and Build Tools"
- title changed to:
Incremental build does not pick up changes in library/ (stale library zip)
- type changed to: "Bug"