Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2018-05-03
19:02 • Ticket [af69c6966d] msgcat: make-manpage-section: ignoring .VS "TIP 412&quo... artifact: 681b81314d user: fvogel
16:28 • Ticket [af69c6966d]: 5 changes artifact: 97c735b8ef user: oehhar
16:24
Syntax error in msgcat documentation fixed. Ticket [af69c6966d] check-in: 1eedc1f86b user: oehhar tags: trunk
09:01 • New ticket [9babefdccc] Error "couldn't find Tk" in "make htm... artifact: 5f9495674e user: oehhar
07:02 • Ticket [af69c6966d] msgcat: make-manpage-section: ignoring .VS "TIP 412&quo... artifact: cee74c1aef user: oehhar
2018-05-02
19:01 • Ticket [af69c6966d]: 5 changes artifact: c6c34017c7 user: fvogel
12:34 • Closed ticket [af69c6966d]. artifact: cee7475c48 user: oehhar
12:34 • Ticket [af69c6966d]: 4 changes artifact: 11884f8aef user: oehhar
12:29 • Ticket [af69c6966d]: 5 changes artifact: b2762e7948 user: oehhar
12:22
Syntax error in msgcat documentation fixed. Ticket [af69c6966d] check-in: 5ccd647de5 user: oehhar tags: core-8-branch
2018-05-01
19:14 • New ticket [af69c6966d] msgcat: make-manpage-section: ignoring .VS "TIP 412... artifact: 3b0a16dfb1 user: fvogel

msgcat: make-manpage-section: ignoring .VS "TIP 412" after .TP

Closed / Fixedaf69c6966d8a0a1acfc4bce5e5874b7c5b5b26a1Created 9 years agoUpdated 9 years ago
Descriptionwiki2018-05-01 19:14:07
When compiling msgcat.n to html, the following error line is output:
msgcat: make-manpage-section: ignoring .VS "TIP 412" after .TP

I guess the problem is here.

Referenced by4
  • 1eedc1f86bSyntax error in msgcat documentation fixed. Ticket [af69c6966d] check-in2018-05-03 16:24:05
  • 5f9495674eNew ticket [9babefdccc] Error "couldn't find Tk" in "make html". ticket2018-05-03 09:01:42
  • 11884f8aefTicket [af69c6966d] msgcat: make-manpage-section: ignoring .VS "TIP 412" after .TP status still Open with 4 other changes ticket2018-05-02 12:34:15
  • 5ccd647de5Syntax error in msgcat documentation fixed. Ticket [af69c6966d] check-in2018-05-02 12:22:44
oehharwiki2018-05-02 12:29:31

Thank you, Francois, for the ticket and spotting the line. This is definitively wrong. The line following .TP must contain the title.

So the two commands must be exchanged:

$ fossil diff
Index: doc/msgcat.n
==================================================================
--- doc/msgcat.n
+++ doc/msgcat.n
@@ -126,12 +126,12 @@
 .
 Given several source strings, \fB::msgcat::mcmax\fR returns the length
 of the longest translated string.  This is useful when designing
 localized GUIs, which may require that all buttons, for example, be a
 fixed width (which will be the width of the widest button).
-.TP
 .VS "TIP 412"
+.TP
 \fB::msgcat::mcexists\fR ?\fB-exactnamespace\fR? ?\fB-exactlocale\fR? ?\fB-namespace\fR \fInamespace\fR? \fIsrc-string\fR
 .
 Return true, if there is a translation for the given \fIsrc-string\fR.
 .PP
 .RS

The issue is in core-8-branch.

When I try to make the html, I get the following error:

$ fossil open tcl.fossil core-8-branch
$ cd unix
$ ./configure
$ make html
using Tcl source directory tcl-core-8-branch
tcltk-man-html: couldn't find Tk below /home/oehhar/elmicron/tech/tcl/tcl-core-8-branch/..
make: *** [html] Fehler 1

When I try to sync the corrected fossil , I get the error:

$ fossil commit
# Enter a commit message for this check-in. Lines beginning with # are ignored.
#
# user: oehhar
# tags: core-8-branch
#
# EDITED     doc/msgcat.n
#
# Since no default text editor is set using EDITOR or VISUAL
# environment variables or the "fossil set editor" command,
# and because no comment was specified using the "-m" or "-M"
# command-line options, you will need to enter the comment below.
# Type "." on a line by itself when you are done:
Syntax error in msgcat documentation fixed. Ticket [af69c6966d]
.
New_Version: 5ccd647de50d42b8c84fff0677a1e8017d2bb262beafceb31621593d5820e607
[oehhar@rose tcl-core-8-branch]$ fossil sync
Sync with http://[email protected]/tcl
*** buffer overflow detected ***: fossil terminated
======= Backtrace: =========
[0x731531]
[0x779d32]
[0x779cae]
[0x4e076c]
[0x4cf2b9]
[0x456f92]
[0x4e5413]
[0x4c2b47]
[0x405aa2]
[0x7165b6]
[0x7167aa]
[0x4061c9]
======= Memory map: ========
00400000-009dc000 r-xp 00000000 fd:00 135915                             /usr/local/bin/fossil
00bdb000-00bf6000 rw-p 005db000 fd:00 135915                             /usr/local/bin/fossil
00bf6000-00c01000 rw-p 00000000 00:00 0 
00cf2000-01950000 rw-p 00000000 00:00 0                                  [heap]
3ac5800000-3ac5820000 r-xp 00000000 fd:00 133643                         /lib64/ld-2.12.so
3ac5820000-3ac5a20000 ---p 00020000 fd:00 133643                         /lib64/ld-2.12.so
3ac5a20000-3ac5a21000 r--p 00020000 fd:00 133643                         /lib64/ld-2.12.so
3ac5a21000-3ac5a22000 rw-p 00021000 fd:00 133643                         /lib64/ld-2.12.so
3ac5a22000-3ac5a23000 rw-p 00000000 00:00 0 
3ac5c00000-3ac5d8a000 r-xp 00000000 fd:00 133796                         /lib64/libc-2.12.so
3ac5d8a000-3ac5f8a000 ---p 0018a000 fd:00 133796                         /lib64/libc-2.12.so
3ac5f8a000-3ac5f8e000 r--p 0018a000 fd:00 133796                         /lib64/libc-2.12.so
3ac5f8e000-3ac5f90000 rw-p 0018e000 fd:00 133796                         /lib64/libc-2.12.so
3ac5f90000-3ac5f94000 rw-p 00000000 00:00 0 
3ac8000000-3ac8016000 r-xp 00000000 fd:00 156389                         /lib64/libresolv-2.12.so
3ac8016000-3ac8216000 ---p 00016000 fd:00 156389                         /lib64/libresolv-2.12.so
3ac8216000-3ac8217000 r--p 00016000 fd:00 156389                         /lib64/libresolv-2.12.so
3ac8217000-3ac8218000 rw-p 00017000 fd:00 156389                         /lib64/libresolv-2.12.so
3ac8218000-3ac821a000 rw-p 00000000 00:00 0 
7fcc8417c000-7fcc84181000 r-xp 00000000 fd:00 151078                     /lib64/libnss_dns-2.12.so
7fcc84181000-7fcc84380000 ---p 00005000 fd:00 151078                     /lib64/libnss_dns-2.12.so
7fcc84380000-7fcc84381000 r--p 00004000 fd:00 151078                     /lib64/libnss_dns-2.12.so
7fcc84381000-7fcc84382000 rw-p 00005000 fd:00 151078                     /lib64/libnss_dns-2.12.so
7fcc84382000-7fcc84482000 rw-p 00000000 00:00 0 
7fcc84482000-7fcc8448f000 r-xp 00000000 fd:00 151248                     /lib64/libnss_files-2.12.so
7fcc8448f000-7fcc8468e000 ---p 0000d000 fd:00 151248                     /lib64/libnss_files-2.12.so
7fcc8468e000-7fcc8468f000 r--p 0000c000 fd:00 151248                     /lib64/libnss_files-2.12.so
7fcc8468f000-7fcc84690000 rw-p 0000d000 fd:00 151248                     /lib64/libnss_files-2.12.so
7fcc846a0000-7fcc846cb000 rw-p 00000000 00:00 0 
7ffc3dadf000-7ffc3daf4000 rw-p 00000000 00:00 0                          [stack]
7ffc3dbfd000-7ffc3dbfe000 r-xp 00000000 00:00 0                          [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0                  [vsyscall]
Abgebrochen: 1   Artifacts sent: 2  received: 103

So I try to get it in the repository on other ways.

Sorry, Harald

oehharwiki2018-05-02 12:34:15

It was committed by fossil by checkin [af69c6966d].

Closing bug without check.

Please reopen, if not fixed.

The upper issues are centos 6.5 with fossil 2.4

Thank you, Harald

oehhar Closed ticket [af69c6966d]. [History diff]2018-05-02 12:34:35
fvogelplain2018-05-02 19:01:17
Can't check, it was not merged to trunk so far (using trunk, sorry).
oehharwiki2018-05-03 07:02:43

Thank you anyway. My fossil core dumps with TCL after a lot of tries. So no help from me, sorry.

Sorry, Harald

oehharwiki2018-05-03 16:28:15

Fossil fixed by recompilation of current fossil trunk.

Fix merged to trunk by commit [1eedc1f86b].

I hope, it works for you.

Thanks, Harald

fvogelplain2018-05-03 19:02:12
Confirmed fixed, thanks!
Log in (anonymous is fine) to add a comment.