|
2013-10-06
| ||
| 19:26 | • Closed ticket [3381085fff]: `make html` failure plus 9 other changes artifact: 20fe52c61b user: dkf | |
| 19:17 | [3381085] Improved way of detecting what version of the documentation to build. Set the HTML_VERSION... check-in: 390d70697c user: dkf tags: trunk | |
|
2012-05-19
| ||
| 20:51 | • Ticket [3381085fff] `make html` failure status still Open with 1 other chang... artifact: 5bc40ae31b user: dkf | |
|
2011-07-29
| ||
| 15:33 | • Ticket [3381085fff]: 4 changes artifact: 50503c83ae user: dkf | |
| 15:30 | • Ticket [3381085fff]: 4 changes artifact: 1d29a58e2d user: dkf | |
| 00:08 | • Ticket [3381085fff]: 5 changes artifact: e0b16f0caf user: dgp | |
|
2011-07-28
| ||
| 23:35 | • Ticket [3381085fff]: 4 changes artifact: 456c9e3333 user: dgp | |
| 23:33 | • Ticket [3381085fff]: 4 changes artifact: 82edb0acb2 user: dgp | |
| 23:09 | • Ticket [3381085fff]: 4 changes artifact: 1914e826ea user: dgp | |
| 15:52 | • New ticket [3381085fff]. artifact: 166eef3a9a user: dgp | |
`make html` failure
Closed / Fixed3381085fffffffffffffffffffffffffffffffffCreated 15 years agoUpdated 13 years ago
Descriptionplain2011-07-28 15:52:31
$ make html
...
scanning section Tk Library
..................can't read "head": no such variable
can't read "head": no such variable
while executing
"man-puts "$head — $tail""
(procedure "output-name" line 6)
invoked from within
"output-name [join $names { }]"
(procedure "output-directive" line 30)
invoked from within
"output-directive $line"
(procedure "make-man-pages" line 299)
invoked from within
"make-man-pages $webdir [list $tcltkdir/{$appdir}/doc/*.1 "$tcltkdesc Applications" UserCmd "The interpreters which implement $cmdesc."] [plus-base ..."
("try" body line 50)
make: *** [html] Error 1
dgpplain2011-07-28 23:09:30
This also looks wrong: $ make html using Tcl source directory tcl8.5 using Tk source directory tk8.5 I'm running `make html` in a trunk/rc directory named "tcl" (with "tk" as a sibling) yet it's going over into sibling dirs "tcl8.5" and "tk8.5" and building their html docs instead?
dgpplain2011-07-28 23:33:02
Somehow the line .SS NAME in tk/doc/CrtPhImgFmt.3 is getting processed as though it were .SH NAME and the conventions of the NAME section aren't met so the program throws an error. Don't yet grok the whole $::manual(.) business enough to see how that happens.
dgpplain2011-07-28 23:35:17
Ok, the two things are related. The 8.5 docs actually have ".SH NAME" and since we're picking up the wrong data files we get the failure. Not exactly robust if the tools with 8.6 fail on the data from 8.5.
dgpplain2011-07-29 00:08:51
I can work around the problem with some symlinks tcl8.6 -> tcl and tk8.6 -> tk to give the checkout directories names that work. Of course, now the next time I try to `make html` in the 8.5 directories, they will find 8.6 unless I remove those symlinks, so a real fix would be better, but with the workaround the urgency is reduced.
dkfplain2011-07-29 15:30:19
Re picking up the wrong version, that's a misdesign of the tool code that I've not done anything to change. When I'm building the docs I use: make html BUILD_HTML_FLAGS=--useversion= NATIVE_TCLSH=/tmp/tcl/bin/tclsh8.6 The value after --useversion (empty above; the = is significant) is really a pathname fragment that is used to find the tcl and tk documentation directories. (I hate it every time!)
dkfplain2011-07-29 15:33:19
Moreover, the 8.5 html builder should be used with the 8.5 docs, and the 8.6 builder with the 8.6 docs; those are the tested cases. (There were a lot of minor problems in the docs in 8.5, of which confusing misuse of section names was only one. It's all very very nasty.)
dkf Ticket [3381085fff]: 1 change
[History diff]2012-05-19 20:51:46
dkfhtml2013-10-06 19:26:10
Added a new environment variable to unix/Makefile.in:
- HTML_VERSION
- The version of the documentation tree to build. If not specified, parses the name of the last component of the TOP_DIR makefile variable to get a sensible value.
You still need to have a native version of 8.6 about (and listed in NATIVE_TCL), as the build script uses try these days…
Log in (anonymous is fine) to add a comment.