tcltk-man2html.tcl errors out if a pkgs folder has no configure.in/ac
Closed / Fixed27fa20249dde828adc7e4fe222a1ffac3ce95ac4Created 2 years agoUpdated 2 years ago
Descriptionwiki2025-01-27 11:23:03
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.
Referenced by4
28d4453cefClosed ticket [c9098c8bae]: make html fails in tclib when included in tcl/pkgs plus 4 other changes ticket2026-10-21 09:37:2009d7e24d80Ticket [27fa20249d]: htmlhelp: ignore pckgs folders without configure.in/ac check-in2025-01-27 14:24:363b95f5210dTicket [27fa20249d]: htmlhelp: ignore pckgs folders without configure.in/ac check-in2025-01-27 14:17:46ea8480993aTicket [27fa20249d]: guard html generation against bogus package folders. check-in2025-01-27 11:33:02
oehharwiki2025-01-27 11:34:41
Proposed fix here: checkin [ea8480993a] in branch [27fa20249d-htmlhelp-pckgs-error].
May this be merged ?
Thanks, Harald
jan.nijtmanswiki2025-01-27 13:20:58
Looks OK to me!
+1
oehharwiki2025-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
Log in (anonymous is fine) to add a comment.