Tcl Source Code

View Ticket
Login
Ticket UUID: c9098c8bae8c6b81f40fa55c94ac3160c7de21a8
Title: make html fails in tclib when included in tcl/pkgs
Type: Bug Created on: 2024-03-30 17:27:01
Submitter: griffin Assigned to: nobody
Subsystem: 53. Configuration and Build Tools Severity: Minor
Priority: 5 Medium Last modified: 2026-10-22 17:19:29
Status: Closed Closed by: serhiy.storchaka
Resolution: Duplicate Closed on: 2026-10-21 09:37:20
Version: trunk
Description:
Here is the error:

make -C unix 'BUILD_HTML_FLAGS=--srcdir=/home/briang42/tcl_core --verbose=on' html
make: Entering directory '/home/briang42/tcl_core/tcl/unix'
using Tcl source directory 
using Tk source directory 
verbose messages are on
couldn't open "pkgs/tcllib/configure.ac": no such file or directory
couldn't open "pkgs/tcllib/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)
make: *** [Makefile:2473: html] Error 1


This fails because of the local pkgs directory contains only target files
and no source files. 
The tcltk-man2html.tcl script does not support this concept.
User Comments:
serhiy.storchaka added on 2026-10-21 09:37:20:

Fixed by [3b95f5210d] for [27fa20249d] (in 9.0.2 and 8.6.17): tcltk-man2html.tcl now skips package folders without configure.ac/configure.in ("package folder without package ignored"). Closing as a duplicate of [27fa20249d].