Skip to content
Tcl Source Code History Of Ticket 24d2e66bda
Login

History Of Ticket 24d2e66bda

Artifacts Associated With Ticket 24d2e66bda

  1. Ticket change [e24af7a4a3] (rid 245960) by anonymous on 2025-09-26 06:49:05:

    1. assignee initialized to: "nobody"
    2. closer initialized to: "nobody"
    3. cmimetype initialized to: "text/x-fossil-plain"
    4. comment initialized to:
      Building tcl/tk under windows msys/mingw is successful.
      The created binaries, tclsh90s.exe and wish90s.exe, are running.
      
      But when I try to append an additional directory to build a BI executable
      I got an error when running the zip command: "file structure invalid"
      
      I could verify with renaming the .exe files to .zip an trying to open in zip.
      This fails on both, tclsh and wish.
      
      After inserting the following line (it was removed in 9.0.2) in the tcl/win/Makefile.in and tk/win/makefile.in
      in the TCLSH and WISH targets everything is working as before:
      
                             ${NATIVE_ZIP} -A ${TCLSH} \
                                || echo 'ignore zip-error by adjust sfx process (not executable?)'; \
      
      Is this an error or intended behaviour? 
      Do I have to change something?
      
    5. foundin initialized to: "9.0.2"
    6. is_private initialized to: "0"
    7. login: "anonymous"
    8. priority initialized to: "5 Medium"
    9. resolution initialized to: "None"
    10. severity initialized to: "Minor"
    11. status initialized to: "Open"
    12. submitter initialized to: "anonymous"
    13. subsystem initialized to: "85. tclconfig"
    14. title initialized to: "tcl/tk 9.0.2 build error"
    15. type initialized to: "Bug"
  2. Ticket change [18021e5e00] (rid 245963) by apnadkarni on 2025-09-26 11:21:32:

    1. icomment:
      In all likelihood, it is [this](https://core.tcl-lang.org/tcl/tktview/aaa84fbbc5). See the ticket as to why.
      
      Your description is also not clear. Did you actually just append an additional archive? That will not work. The executable can have only one archive appended to it so you need to split the zip archive from the executable, merge in your own directory, zip it, and add it back to the archive.
      
      See this [sample](https://wiki.tcl-lang.org/page/Single+file+applications+in+Tcl+9).
      
    2. login: "apnadkarni"
    3. mimetype: "text/x-markdown"
  3. Ticket change [3932a4fa7a] (rid 246052) by jan.nijtmans on 2025-09-26 20:17:33:

    1. icomment:
      You can just run
      <pre>
      zip -A tclsh90s.exe
      </pre>
      Then you can use the zip tool to append any file to it you like.
      
      Without this, the offsets within the zip-file don't follow the 'zip'-standard (whatever that is), "zip -A" corrects that. Tcl itself doesn't bother, but other tools do.
      
      Indeed, you can look [https://core.tcl-lang.org/tcl/tktview/aaa84fbbc5|here] for the reason of this change.
      
    2. login: "jan.nijtmans"
    3. mimetype: "text/x-fossil-wiki"
  4. Ticket change [80113a5d23] (rid 246065) by sebres on 2025-09-26 21:10:32:

    1. icomment:
      FWIW, also 7-zip is able to modify the bonded archive (from command line as well as from UI 7zFM).
      
    2. login: "sebres"
    3. mimetype: "text/x-fossil-wiki"
  5. Ticket change [9e4bb6a4aa] (rid 246293) by anonymous on 2025-10-02 08:58:45:

    1. icomment:
      I'm building under windows and until now it was possible to do just:
      
      zip -r -q tclsh|wish.exe <additional dirs>
      
      With the last changes I have to call before:
      
      zip -A tclsh|wish.exe
      
      I can do this but I do not see the reason for this change and it
      is not mentioned in the changes.md file. At least it is a visible
      change to created tclsh/wish executables.
      
    2. login: "anonymous"
    3. mimetype: "text/plain"
  6. Ticket change [90793f70b0] (rid 246299) by apnadkarni on 2025-10-02 11:17:09:

    1. icomment:
      > I can do this but I do not see the reason for this change
      
      The reason for the change was already linked in two earlier comments.
      
      > not mentioned in the changes.md file
      
      Afaik, what you were doing was never a documented feature, visible or not. Nevertheless, the change was documented in the following entry in changes.md
      
      ```
        - [zipfs info on mountpoint of executable returns zero offset in field 4"](https://core.tcl-lang.org/tcl/info/aaa84f)
      ```
      
      It is not possible to list all possible ramifications of every change. Sorry.
      
    2. login: "apnadkarni"
    3. mimetype: "text/x-markdown"
  7. Ticket change [e0631e277a] (rid 246300) by jan.nijtmans on 2025-10-02 12:17:32:

    1. icomment:
      In my view, it would be best to fix "zipfs info", such that it doesn't return 0 any more for a "zip -A"'d executable.  Until that's done, you will have to do the ""zip -A" yourself, unfortunately. There's disagreement on this.
      
    2. login: "jan.nijtmans"
    3. mimetype: "text/x-fossil-wiki"
  8. Ticket change [14e8d5c8d5] (rid 247654) by anonymous on 2025-10-28 08:42:13:

    1. icomment:
      In the meantime I have chamged my workflow to add the additional -A flag.
      You can close this issue. Thanks.
      
    2. login: "anonymous"
    3. mimetype: "text/plain"
  9. Ticket change [6a2514a8e7] (rid 247659) by jan.nijtmans on 2025-10-28 10:52:38:

    1. assignee changed to: "jan.nijtmans"
    2. closedate changed to: "2460976.9532274"
    3. closer changed to: "jan.nijtmans"
    4. icomment: "Thanks for confirming that this can be closed."
    5. login: "jan.nijtmans"
    6. mimetype: "text/x-fossil-wiki"
    7. resolution changed to: "Works For Me"
    8. status changed to: "Closed"