Bug 28567 - libctf won't build with texinfo 6.8
Summary: libctf won't build with texinfo 6.8
Status: RESOLVED FIXED
Alias: None
Product: binutils
Classification: Unclassified
Component: libctf (show other bugs)
Version: 2.38
: P2 normal
Target Milestone: 2.38
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-11-09 13:33 UTC by H.J. Lu
Modified: 2021-11-09 13:50 UTC (History)
0 users

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description H.J. Lu 2021-11-09 13:33:11 UTC
With texinfo 6.8, I got

if makeinfo --split-size=5000000 --split-size=5000000 --no-split  -I /export/gnu/import/git/sources/binutils-gdb/libctf/doc \
 -o ctf-spec.info `test -f 'ctf-spec.texi' || echo '/export/gnu/import/git/sources/binutils-gdb/libctf/doc/'`ctf-spec.texi; \
then \
  rc=0; \
else \
  rc=$?; \
  $restore $backupdir/* `echo "./ctf-spec.info" | sed 's|[^/]*$||'`; \
fi; \
rm -rf $backupdir; exit $rc
ctf-spec.texi:5: unknown command `validatemenus'
make[4]: *** [Makefile:411: ctf-spec.info] Error 1

since validatemenus has been removed from texinfo:

commit a16dd1a9ece08568a1980b9a65a3a9090717997f
Author: Gavin Smith <gavinsmith0123@gmail.com>
Date:   Mon Oct 12 16:32:37 2020 +0100

    * doc/texinfo.texi
    (Writing a Menu, Customization Variables for @-Commands)
    (Command List),
    * doc/refcard/txirefcard.tex
    Remove @validatemenus.
    * tp/Texinfo/XS/Makefile.am (command_ids.h): Use gawk instead
    of awk.  Avoid discouraged "$p" usage, using "$(p)" instead.
    * tp/Texinfo/XS/configure.ac: Check for gawk.

commit 128acab3889b51809dc3bd3c6c74b61d13f7f5f4
Author: Gavin Smith <gavinsmith0123@gmail.com>
Date:   Thu Jan 3 14:51:53 2019 +0000

    Update refcard.
    
    * doc/refcard/txirefcard.tex: @setfilename is no longer
    mandatory.  Do not mention @validatemenus or explicitly giving
    @node pointers, as these are not very important features.
Comment 1 Sourceware Commits 2021-11-09 13:39:57 UTC
The master branch has been updated by H.J. Lu <hjl@sourceware.org>:

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=469ca94170aa4f14cc3b3dc9e7d8c02bb17f8c91

commit 469ca94170aa4f14cc3b3dc9e7d8c02bb17f8c91
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Tue Nov 9 05:35:42 2021 -0800

    doc/ctf-spec.texi: Remove "@validatemenus off"
    
    Remove @validatemenus from ctf-spec.texi, which has been removed from
    texinfo by
    
    commit a16dd1a9ece08568a1980b9a65a3a9090717997f
    Author: Gavin Smith <gavinsmith0123@gmail.com>
    Date:   Mon Oct 12 16:32:37 2020 +0100
    
        * doc/texinfo.texi
        (Writing a Menu, Customization Variables for @-Commands)
        (Command List),
        * doc/refcard/txirefcard.tex
        Remove @validatemenus.
        * tp/Texinfo/XS/Makefile.am (command_ids.h): Use gawk instead
        of awk.  Avoid discouraged "$p" usage, using "$(p)" instead.
        * tp/Texinfo/XS/configure.ac: Check for gawk.
    
    commit 128acab3889b51809dc3bd3c6c74b61d13f7f5f4
    Author: Gavin Smith <gavinsmith0123@gmail.com>
    Date:   Thu Jan 3 14:51:53 2019 +0000
    
        Update refcard.
    
        * doc/refcard/txirefcard.tex: @setfilename is no longer
        mandatory.  Do not mention @validatemenus or explicitly giving
        @node pointers, as these are not very important features.
    
            PR libctf/28567
            * doc/ctf-spec.texi: Remove "@validatemenus off".
Comment 2 H.J. Lu 2021-11-09 13:50:49 UTC
Fixed.