Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

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

  1. cmimetype changed to: "text/x-fossil-wiki"
  2. 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.
    
  3. foundin changed to: "9.1.0"
  4. login: "serhiy.storchaka"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. severity changed to: "Minor"
  8. status changed to: "Open"
  9. subsystem changed to: "53. Configuration and Build Tools"
  10. title changed to:
    Incremental build does not pick up changes in library/ (stale library zip)
    
  11. type changed to: "Bug"