Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: a0bce07da8507ab820170bf2397048dda33d7bbf0ae6a706f94c21b53af794c5
Ticket: 87b69745be15c2816574ec415dfe2c3c407cc5d6
interp creation resets encoding directory search path
User & Date: apnadkarni on 2025-08-25 16:25:44
Changes

  1. closedate changed to: "2460913.18454344"
  2. closer changed to: "apnadkarni"
  3. icomment:
    Don,
    
    As seen below your build recipe works fine for me on Ubuntu 20 under WSL. It's more or less identical to one of the configs I tried before but just to be sure.
    
    I do notice one difference though. What is the purpose of the path /home/dgp/lib in your test? Where is it coming from and what does it contain? Can you eliminate that just to eliminate one variation?
    
    ```
    LD_LIBRARY_PATH=`pwd`:/home/dgp/lib ...
    ```
    
    
    ```
    apnadkarni@IO:/mnt/c/src/tcltk/demo-87b697$ uname -a
    Linux IO 6.6.87.2-microsoft-standard-WSL2 #1 SMP PREEMPT_DYNAMIC Thu Jun  5 18:30:46 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux
    apnadkarni@IO:/mnt/c/src/tcltk/demo-87b697$ cd unix
    apnadkarni@IO:/mnt/c/src/tcltk/demo-87b697/unix$ ./configure --disable-shared
    ...
    checking system version... (cached) Linux-6.6.87.2-microsoft-standard-WSL2
    ...
    checking for macher... checking for zip... /usr/bin/zip
    Found INFO Zip in environment
    checking for building with zipfs... yes
    ...
    apnadkarni@IO:/mnt/c/src/tcltk/demo-87b697/unix$ make
    ...
    apnadkarni@IO:/mnt/c/src/tcltk/demo-87b697/unix$ make tcltest
    ...
    apnadkarni@IO:/mnt/c/src/tcltk/demo-87b697/unix$ make test-tcl TESTFLAGS="-file encoding.test"
    Warning: tclStubInit.c may be out of date.
    Developers may want to run "make genstubs" to regenerate.
    This warning can be safely ignored, do not report as a bug!
    Warning: tclOOScript.h may be out of date.
    Developers may want to run "make genscript" to regenerate.
    This warning can be safely ignored, do not report as a bug!
    LD_LIBRARY_PATH=`pwd`: TCLLIBPATH="/mnt/c/src/tcltk/demo-87b697/unix/pkgs" TCL_LIBRARY="" ./tcltest /mnt/c/src/tcltk/demo-87b697/tests/all.tcl -file encoding.test
    Tests running in interp:  /mnt/c/src/tcltk/demo-87b697/unix/tcltest
    Tests located in:  /mnt/c/src/tcltk/demo-87b697/tests
    Tests running in:  /mnt/c/src/tcltk/demo-87b697/unix
    Temporary files stored in /mnt/c/src/tcltk/demo-87b697/unix
    Test files run in separate interpreters
    Running tests that match:  *
    Skipping test files that match:  l.*.test
    Only running test files that match:  encoding.test
    Tests began at 2025-08-25 21:49:34 IST
    encoding.test
    
    Tests ended at 2025-08-25 21:49:36 IST
    all.tcl:        Total   232     Passed  227     Skipped 5       Failed  0
    Sourced 1 Test Files.
    Number of tests skipped for each constraint:
            4       perf
            1       win
    
    ```
    
  4. login: "apnadkarni"
  5. mimetype: "text/x-markdown"