Tcl Source Code

View Ticket
Login
2026-10-21
09:37 • Closed ticket [c9098c8bae]: make html fails in tclib when included in tcl/pkgs</... artifact: 28d4453cef user: serhiy.storchaka
2025-01-27
14:27 • Closed ticket [27fa20249d]: tcltk-man2html.tcl errors out if a pkgs folder has n... artifact: c7fdb3a5ac user: oehhar
14:24
Ticket [27fa20249d]: htmlhelp: ignore pckgs folders without configure.in/ac check-in: 09d7e24d80 user: oehhar tags: core-8-6-branch
14:17
Ticket [27fa20249d]: htmlhelp: ignore pckgs folders without configure.in/ac check-in: 3b95f5210d user: oehhar tags: trunk, main
13:20 • Ticket [27fa20249d] tcltk-man2html.tcl errors out if a pkgs folder has no config... artifact: 6df8c5def8 user: jan.nijtmans
11:34 • Ticket [27fa20249d]: 4 changes artifact: e2a7b55770 user: oehhar
11:33
Ticket [27fa20249d]: guard html generation against bogus package folders. closed check-in: ea8480993a user: oehhar tags: 27fa20249d-htmlhelp-pckgs-error
11:23 • New ticket [27fa20249d] tcltk-man2html.tcl errors out if a pkgs folder has no co... artifact: d94eba97e8 user: oehhar

Ticket UUID: 27fa20249dde828adc7e4fe222a1ffac3ce95ac4
Title: tcltk-man2html.tcl errors out if a pkgs folder has no configure.in/ac
Type: Bug Created on: 2025-01-27 11:23:03
Submitter: oehhar Assigned to: nobody
Subsystem: 81. Bundled Packages Severity: Minor
Priority: 5 Medium Last modified: 2025-01-27 14:27:11
Status: Closed Closed by: oehhar
Resolution: Fixed Closed on: 2025-01-27 14:27:11
Version: main
Description:

When there is a folder in "pckgs" without a file "configure.(ac|in)", the script "tools/tcltk-man2html.tcl errors out.

Example unsing makefile.vc and VS2022 in 32bit with OPTS=symbols:

C:\test\tcl9.0.1\tcl9.0.1\win>nmake -f makefile.vc htmlhelp OPTS=symbols

Microsoft (R) Program Maintenance Utility, Version 14.42.34435.0
Copyright (C) Microsoft Corporation. Alle Rechte vorbehalten.

*** Compiler does not have 'Pentium 0x0f fix'

C:\test\tcl9.0.1\tcl9.0.1\win>echo 9,0,0,0  1>>versions.vc
*** Doing symbols
*** Intermediate directory will be 'C:\test\tcl9.0.1\tcl9.0.1\win\Debug_VC1942\tcl_Dynamic'
*** Output directory will be 'C:\test\tcl9.0.1\tcl9.0.1\win\Debug_VC1942'
*** Installation, if selected, will be in 'C:\Tcl'
*** Suffix for binaries will be ''
*** Compiler version 1942. Target IX86, host AMD64.
*** Tcl script library will be appended to the binary.
*** Dependency rules are not being used.

using Tcl source directory ../../tcl9.0.1
using Tk source directory ../../tk9.0.1
verbose messages are off
couldn't open "../../tcl9.0.1/pkgs/tcl901_vs2022_debug/configure.ac": no such file or directory
couldn't open "../../tcl9.0.1/pkgs/tcl901_vs2022_debug/configure.ac": no such file or directory
    while executing
"open [file join $pkgsDir $dir configure.ac]"
    (lambda term "{} {
    global packageBuildList tcltkdir tcldir build_tcl

..." line 23)
    invoked from within
"apply {{} {
    global packageBuildList tcltkdir tcldir build_tcl

    # When building docs for Tcl, try to build docs for bundled packages too
    se..."
    ("try" body line 23)
NMAKE : fatal error U1077: "C:\test\tcl9.0.1\tcl9.0.1\win\Debug_VC1942\tclsh90.exe C:\test\tcl9.0.1\tcl9.0.1\win\..\tools\tcltk-man2html.tcl "--htmldir=C:\test\tcl9.0.1\tcl9.0.1\win\Debug_VC1942\html"": Rückgabe-Code "0x1"
Stop.

User Comments:
oehhar added on 2025-01-27 11:34:41:

Proposed fix here: checkin [ea8480993a] in branch [27fa20249d-htmlhelp-pckgs-error].

May this be merged ?

Thanks, Harald


jan.nijtmans added on 2025-01-27 13:20:58:

Looks OK to me!

+1


oehhar added on 2025-01-27 14:27:11:

Thanks. Merged to branches:

  • main by [3b95f5210d]
  • core-8-6-branch by [09d7e24d80]

My first use of --cherrypick - worked out great, thanks !

Bug closed. Harald