Artifacts Associated With Ticket fb2fecf22123f3c6ccaefbc0e7b40c4f3b728ceb
Ticket change [e1f56f9186] (rid 4257) by anonymous on 2026-01-28 07:21:38:
- foundin initialized to: "2.0 (28/01/2026)"
- icomment:
---------------------------- (that's what claude says why it's failing) The build fails in the make-docs-n target (Makefile line 219) due to two interrelated issues: 1. @DTPLITE@ is Never Substituted In Makefile.in:213: DTPLITE=$(TCLSH) @DTPLITE@ The @DTPLITE@ placeholder should be substituted by configure with the path to dtplite. However, DTPLITE is never defined in configure.ac, so the literal string @DTPLITE@ remains in the generated Makefile. 2. Shell Syntax Error from Unquoted PATH with Parentheses The TCLSH variable expands to include environment variables (line 141): TCLSH = $(TCLSH_ENV) $(PKG_ENV) $(TCLSH_PROG) Where PKG_ENV includes PATH="$(EXTRA_PATH):$(PATH)" (line 137). PATH contains Windows-style paths with parentheses: /mnt/c/Program Files (x86)/... When the shell evaluates line 219: @if [ -n "$(DTPLITE)" -a -x "$(DTPLITE)" ]; then \ The parentheses in (x86) are interpreted as shell command grouping syntax, causing: syntax error near unexpected token `(' --------------------------- Here the build fail: gcc -pipe -O2 -fomit-frame-pointer -DNDEBUG -Wall -fPIC -shared -Wl,--export-dynamic -o libtls2.0.so tls.o tlsBIO.o tlsIO.o tlsX509.o -lssl -lcrypto -L/home/thomas/cm.tcltk/tcltk86/rcompile/tcl/unix -ltclstub8.6 : libtls2.0.so make nroff documentation /bin/bash: -c: line 1: syntax error near unexpected token `(' /bin/bash: -c: line 1: `if [ -n "TCL_LIBRARY=`echo /home/thomas/cm.tcltk/tcltk86/rcompile/tcl/library` LD_LIBRARY_PATH="/home/thomas/cm.tcltk/tcltk86/rcompile/tcltls:/home/thomas/cm.tcltk/tcltk86/rcompile/tcl/unix:" PATH="/home/thomas/cm.tcltk/tcltk86/rcompile/tcltls:/home/thomas/cm.tcltk/tcltk86/rcompile/tcl/unix:/home/thomas/.local/bin:/home/thomas/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/usr/lib/wsl/lib:/mnt/c/Program Files/WindowsApps/TheDebianProject.DebianGNULinux_1.23.0.0_x64__76v4gfsz19hv4:/mnt/c/Program Files (x86)/Common Files/Intel/Shared Files/cpp/bin/Intel64:/mnt/c/WINDOWS/system32:/mnt/c/WINDOWS:/mnt/c/WINDOWS/System32/Wbem:/mnt/c/WINDOWS/System32/WindowsPowerShell/v1.0/:/mnt/c/WINDOWS/System32/OpenSSH/:/mnt/c/Program Files (x86)/Windows Kits/10/Windows Performance Toolkit/:/mnt/d/Programs/ffmpeg/bin:/mnt/d/Programs/msys2/mingw64/bin:/mnt/d/Programs/msys2/usr/bin:/mnt/c/Program Files/dotnet/:/mnt/c/Program Files/PostgreSQL/pg10/bin:/mnt/c/Program Files/Microsoft Network Monitor 3/:/mnt/d/Programs/Git/bin:/mnt/d/Programs/net-snmp/bin:/mnt/d/CM.tcltk/tcltk86/release/share/lib64:/mnt/c/Program Files/TortoiseGit/bin:/mnt/c/Users/thomas/AppData/Local/Microsoft/WindowsApps:/mnt/c/Users/thomas/AppData/Local/Programs/Microsoft VS Code/bin:/mnt/c/Users/thomas/.local/bin" TCLLIBPATH="/home/thomas/cm.tcltk/tcltk86/rcompile/tcltls" /home/thomas/cm.tcltk/tcltk86/rcompile/tcl/unix/tclsh @DTPLITE@" -a -x "TCL_LIBRARY=`echo /home/thomas/cm.tcltk/tcltk86/rcompile/tcl/library` LD_LIBRARY_PATH="/home/thomas/cm.tcltk/tcltk86/rcompile/tcltls:/home/thomas/cm.tcltk/tcltk86/rcompile/tcl/unix:" PATH="/home/thomas/cm.tcltk/tcltk86/rcompile/tcltls:/home/thomas/cm.tcltk/tcltk86/rcompile/tcl/unix:/home/thomas/.local/bin:/home/thomas/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/usr/lib/wsl/lib:/mnt/c/Program Files/WindowsApps/TheDebianProject.DebianGNULinux_1.23.0.0_x64__76v4gfsz19hv4:/mnt/c/Program Files (x86)/Common Files/Intel/Shared Files/cpp/bin/Intel64:/mnt/c/WINDOWS/system32:/mnt/c/WINDOWS:/mnt/c/WINDOWS/System32/Wbem:/mnt/c/WINDOWS/System32/WindowsPowerShell/v1.0/:/mnt/c/WINDOWS/System32/OpenSSH/:/mnt/c/Program Files (x86)/Windows Kits/10/Windows Performance Toolkit/:/mnt/d/Programs/ffmpeg/bin:/mnt/d/Programs/msys2/mingw64/bin:/mnt/d/Programs/msys2/usr/bin:/mnt/c/Program Files/dotnet/:/mnt/c/Program Files/PostgreSQL/pg10/bin:/mnt/c/Program Files/Microsoft Network Monitor 3/:/mnt/d/Programs/Git/bin:/mnt/d/Programs/net-snmp/bin:/mnt/d/CM.tcltk/tcltk86/release/share/lib64:/mnt/c/Program Files/TortoiseGit/bin:/mnt/c/Users/thomas/AppData/Local/Microsoft/WindowsApps:/mnt/c/Users/thomas/AppData/Local/Programs/Microsoft VS Code/bin:/mnt/c/Users/thomas/.local/bin" TCLLIBPATH="/home/thomas/cm.tcltk/tcltk86/rcompile/tcltls" /home/thomas/cm.tcltk/tcltk86/rcompile/tcl/unix/tclsh @DTPLITE@" ]; then \' make: *** [Makefile:219: make-docs-n] Error 2 - login: "anonymous"
- mimetype: "text/x-markdown"
- severity initialized to: "Important"
- status initialized to: "Open"
- title initialized to:
make-docs-n in WSL (Debian 12) fails due to DTPLITE substitution
- type initialized to: "Build Problem"