NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

misc/58958: Regenerating PDFs of The pkgsrc guide and The NetBSD guide no longer works failing with `! Undefined control sequence. <argument> \g__tbl_row_int`



>Number:         58958
>Category:       misc
>Synopsis:       Regenerating PDFs of The pkgsrc guide and The NetBSD guide no longer works failing with `! Undefined control sequence. <argument> \g__tbl_row_int`
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    misc-bug-people
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jan 03 21:45:01 +0000 2025
>Originator:     Leonardo Taccari
>Release:        NetBSD 10.99.11
>Organization:
The NetBSD Foundation
>Environment:
System: NetBSD boh 10.99.11 NetBSD 10.99.11 (GENERIC) #0: Sat Aug 3 22:42:39 CEST 2024 leot@abacus:/usr/obj/sys/arch/amd64/compile/GENERIC amd64
Architecture: x86_64
Machine: amd64

Having pkgsrc-current packages of 2025-01-03, in particular:

netbsd-doc-print-1.6 Meta-package including all packages to convert SGML->PDF/PS
netbsd-doc-1.3nb1   Meta-package including all packages to convert SGML->HTML
>Description:
Trying to regenerating the PDFs of The pkgsrc guide and The NetBSD guide
fails with:

 ! Undefined control sequence.
 <argument> \g__tbl_row_int

In particular, for The pkgsrc guide:

 $ cd pkgsrc/doc/guide
 $ make
 [...]
 Package hyperref Warning: Difference (2) between bookmark levels is greater
 (hyperref)                than one, level fixed on input line 10471.
 
 
 Package fancyhdr Warning: \fancyfoot's `E' option without twoside option is use
 less.
 (fancyhdr)                Please consider using the `twoside' option on input l
 ine 10650.
 
 
 pdfTeX warning (ext4): destination with the same identifier (name{page.1}) has
 been already used, duplicate ignored
 <to be read again>
                    \relax
 l.10650 {0}}
             \Par% [1.0.5]
 ! Undefined control sequence.
 <argument> \g__tbl_row_int
 
 l.10904 \Node
              %
 ! You can't use `the character -' after \advance.
 \int_gdecr:N #1->\tex_global:D \tex_advance:D #1-
                                                  \c_one_int
 l.10904 \Node
              %
 ! Missing $ inserted.
 <inserted text>
                 $
 l.10904 \Node
              %
 (/usr/pkg/share/texmf-dist/tex/latex/amsfonts/umsa.fd)
 (/usr/pkg/share/texmf-dist/tex/latex/amsfonts/umsb.fd)
 ! Extra }, or forgotten $.
 \LT@@hline ..._end: \int_gdecr:N \g__tbl_row_int }
                                                   \cr \CT@LT@sep \multispan ...
 l.10904 \Node
              %
 ! Missing } inserted.
 <inserted text>
                 }
 l.10904 \Node
              %
 ! Extra }, or forgotten $.
 <inserted text> }
 
 l.10904 \Node
              %
 ! Missing } inserted.
 [...]

For The NetBSD guide:

 $ cd htdocs/docs/guide/en
 $ make pdf
 [...]
 Package fancyhdr Warning: \fancyhead's `E' option without twoside option is use
 less.
 (fancyhdr)                Please consider using the `twoside' option on input l
 ine 19025.
 
 
 Package hyperref Warning: Difference (2) between bookmark levels is greater
 (hyperref)                than one, level fixed on input line 19138.
 
 ! Undefined control sequence.
 <argument> \g__tbl_row_int
 
 l.19361 \Node
              %
 ! You can't use `the character -' after \advance.
 \int_gdecr:N #1->\tex_global:D \tex_advance:D #1-
                                                  \c_one_int
 l.19361 \Node
              %
 ! Missing $ inserted.
 <inserted text>
                 $
 l.19361 \Node
              %
 (/usr/pkg/share/texmf-dist/tex/latex/amsfonts/umsa.fd)
 (/usr/pkg/share/texmf-dist/tex/latex/amsfonts/umsb.fd)
 ! Extra }, or forgotten $.
 \LT@@hline ..._end: \int_gdecr:N \g__tbl_row_int }
                                                   \cr \CT@LT@sep \multispan ...
 l.19361 \Node
              %
 ! Missing } inserted.
 <inserted text>
                 }
 l.19361 \Node
              %
 ! Extra }, or forgotten $.
 <inserted text> }
 
 l.19361 \Node
              %
 ! Missing } inserted.
 [...]
 (That makes 100 errors; please try again.)
 !  ==> Fatal error occurred, no output PDF file produced!
 Transcript written on netbsd.log.
 *** Error code 1 (ignored)
 rm -f *.log *.aux

>How-To-Repeat:
For The pkgsrc guide:

$ cd pkgsrc/doc/guide
$ make

For The NetBSD Guide:

$ cd htdocs/docs/guide/en
$ make pdf

Please see above for more logs though.

>Fix:
No idea, sorry!

At least The pkgsrc guide seems that was successfully regenerated in:

- 2024-11-11
- 2024-10-14
- 2024-08-25

So, hopefully going back to pkgsrc-2024Q3 or pkgsrc-2024Q2 and using
such packages can help to bisect the problematic package that
introduced that regression.



Home | Main Index | Thread Index | Old Index