Skip to content
Tcl Source Code History Of Ticket e4d394cd24
Login

History Of Ticket e4d394cd24

Artifacts Associated With Ticket e4d394cd24

  1. Ticket change [05a8a5ee2c] (rid 225463) by apnadkarni on 2024-05-02 05:05:05:

    1. assignee initialized to: "nobody"
    2. closer initialized to: "nobody"
    3. cmimetype initialized to: "text/x-markdown"
    4. comment initialized to:
      Using mingw on Windows, while Tcl itself builds fine, building of the pkgs directory fails, at least on my system.
      
      The 64-bit build fails in thread
      
      ```
      make[1]: Entering directory '/c/src/tcltk/9.0b2/tcl/win/build/x64/pkgs/thread3.0b2'
      creating libthread.vfs/thread_library (prepare compression)
      creating libthread3.0b2.zip from libthread.vfs/thread_library
      cd libthread.vfs && /c/src/tcltk/9.0b2/tcl/win/build/x64/pkgs/thread3.0b2/minizip -o -r ../libthread3.0b2.zip *
      /bin/sh: line 5: /c/src/tcltk/9.0b2/tcl/win/build/x64/pkgs/thread3.0b2/minizip: No such file or directory
      make[1]: *** [Makefile:233: libthread3.0b2.zip] Error 127
      ```
      
      config.log shows "minizip not found in path". However, I do have minizip in the path. Not having found minizip, it builds it but the thread invokes it from the wrong directory.
      
      The 32-bit build fails in that it does not seem to try to build pkgs at all.
      
      It's possible something wrong with my mingw configuration as I do not use it often so someone else should verify.
      
      Note it's not a Windows issue as the nmake builds (which is what I normally use) work fine.
      
      Not a reason to hold up beta 2 imo.
      
    5. foundin initialized to: "9.0b2"
    6. is_private initialized to: "0"
    7. login: "apnadkarni"
    8. priority initialized to: "5 Medium"
    9. private_contact initialized to: "9546e9877f1a8899e25a89082561ee694e7fb402"
    10. resolution initialized to: "None"
    11. severity initialized to: "Minor"
    12. status initialized to: "Open"
    13. submitter initialized to: "apnadkarni"
    14. subsystem initialized to: "53. Configuration and Build Tools"
    15. title initialized to: "mingw builds fail for pkgs"
    16. type initialized to: "Bug"
  2. Ticket change [4d43d3f856] (rid 225464) by jan.nijtmans on 2024-05-02 07:12:19:

    1. icomment:
      I wouldn't be surprised if some path setting is missing there. I'm normally working in an environment where "zip" is in the path, then there is no need for minizip.
      
      Thread 9.0 zips it's companion "ttrace.tcl", being part of libthread.so, in the same way Tk zips its tk_library into libtk.so as well. Is that necessary? No! But it makes searching for "ttrace.tcl" in the filesystem more robust. The nmake build was never adapted to do that, but it would be nice for extensions to be able to do that as well.
      
    2. login: "jan.nijtmans"
    3. mimetype: "text/x-fossil-wiki"
  3. Ticket change [1c3a99131e] (rid 225542) by apnadkarni on 2024-05-04 14:57:50:

    1. icomment:
      Yes, installing zip fixed the problem. Keeping open though because the underlying minizip fallback bug still exists.
      
    2. login: "apnadkarni"
    3. mimetype: "text/plain"
  4. Ticket change [ed777459aa] (rid 259680) by serhiy.storchaka on 2026-10-21 09:36:26:

    1. icomment:
      Rechecked with main and Thread 3.0.7 in pkgs/, on Windows 11 with MSYS2 and no zip or minizip on PATH. Both a 32-bit MINGW32 (i686) and a 64-bit UCRT64 build configure and build pkgs/thread during <tt>make</tt>; <tt>make packages</tt> gives tcl9thread307.dll, and <tt>package require thread</tt>, <tt>package require Ttrace</tt> (from the attached zip) and <tt>thread::send</tt> work in both. The Thread part was fixed by Thread itself, which now builds its zip with <tt>zipfs mkzip</tt> (Thread check-in 37b67651e1).
      
      For the remaining minizip fallback in the TEA tcl.m4: proposed fix in tclconfig branch [https://core.tcl-lang.org/tclconfig/timeline?r=zipfs-no-minizip|zipfs-no-minizip]. With no zip on PATH, TEA_ZIPFS_SUPPORT no longer sets <tt>ZIP_PROG=./minizip</tt> and <tt>ZIP_INSTALL_OBJS=minizip</tt> (a package has no minizip to build), but leaves them empty; packages should create the archive with <tt>zipfs mkzip</tt> of a Tcl 9 tclsh, as Tk does since [https://core.tcl-lang.org/tk/tktview/130949dafe|Tk 130949dafe].
      
    2. login: "serhiy.storchaka"
    3. mimetype: "text/x-fossil-wiki"