NetBSD-Bugs archive

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

bin/49742: makemandb(8) is no longer working properly on evbarm/7-BETA



>Number:         49742
>Category:       bin
>Synopsis:       makemandb(8) is no longer working properly on evbarm/7-BETA
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Mar 12 01:25:00 +0000 2015
>Originator:     David H. Gutteridge
>Release:        7-BETA
>Organization:
>Environment:
NetBSD arcusviii.nonus-porta.net 7.0_BETA NetBSD 7.0_BETA (ARCUSVIII) #11: Tue Mar 10 22:31:01 EST 2015  disciple%arcusiii.nonus-porta.net@localhost:/usr/builds/netbsd-7/src/sys/arch/evbarm/compile/obj/ARCUSVIII evbarm

>Description:
I updated my userland to the latest releng build (as of yesterday),
and now I'm finding that makemandb(8) refuses to index most of the
man pages on my system.

Running "makemandb -v" gives a slew of errors, ending with:

Parsing: /usr/share/man/man1/chio.1
makemandb: Error in indexing /usr/share/man/man1/chio.1
Parsing: /usr/share/man/man1/apply.1
makemandb: Error in indexing /usr/share/man/man1/apply.1
Parsing: /usr/share/man/man1/altqstat.1
makemandb: Error in indexing /usr/share/man/man1/altqstat.1
Parsing: /usr/share/man/man1/cat.1
makemandb: Error in indexing /usr/share/man/man1/cat.1
Parsing: /usr/share/man/man1/dns-sd.1
makemandb: Error in indexing /usr/share/man/man1/dns-sd.1
Parsing: /usr/share/man/man1/atq.1
makemandb: Error in indexing /usr/share/man/man1/atq.1
Parsing: /usr/share/man/man1/x68k/tvctrl.1
makemandb: Error in indexing /usr/share/man/man1/x68k/tvctrl.1
Parsing: /usr/share/man/man1/x68k/palette.1
makemandb: Error in indexing /usr/share/man/man1/x68k/palette.1
Parsing: /usr/share/man/man1/x68k/loadkmap.1
makemandb: Error in indexing /usr/share/man/man1/x68k/loadkmap.1
Parsing: /usr/share/man/man1/x68k/loadfont.1
makemandb: Error in indexing /usr/share/man/man1/x68k/loadfont.1
Parsing: /usr/share/man/man1/x68k/bellctrl.1
makemandb: Error in indexing /usr/share/man/man1/x68k/bellctrl.1
Parsing: /usr/share/man/man1/x68k/aout2hux.1
makemandb: Error in indexing /usr/share/man/man1/x68k/aout2hux.1
Parsing: /usr/share/man/man1/atari/msconfig.1
makemandb: Error in indexing /usr/share/man/man1/atari/msconfig.1
Parsing: /usr/share/man/man1/atari/edahdi.1
makemandb: Error in indexing /usr/share/man/man1/atari/edahdi.1
Total Number of new or updated pages encountered = 2014
Total number of (hard or symbolic) links found = 0
Total number of pages that were successfully indexed/updated = 0
Total number of pages that could not be indexed due to errors = 2014
Deleting stale index entries

Running "makemandb -f -o -v" gives similar output:

Parsing: /usr/share/man/man1/openssl_ca.1
Parsing: /usr/share/man/man1/openssl_dsaparam.1
Parsing: /usr/share/man/man1/openssl_dgst.1
Parsing: /usr/share/man/man1/openssl_dsa.1
Parsing: /usr/share/man/man1/openssl_ecparam.1
Parsing: /usr/share/man/man1/openssl_s_server.1
Parsing: /usr/share/man/man1/openssl_crl2pkcs7.1
Parsing: /usr/share/man/man1/openssl_ciphers.1
Parsing: /usr/share/man/man1/openssl_crl.1
Parsing: /usr/share/man/man1/openssl_dhparam.1
Parsing: /usr/share/man/man1/openssl.1
Parsing: /usr/share/man/man1/openssl_CA.pl.1
Parsing: /usr/share/man/man1/openssl_asn1parse.1
Parsing: /usr/share/man/man1/x68k/tvctrl.1
makemandb: Error in indexing /usr/share/man/man1/x68k/tvctrl.1
Parsing: /usr/share/man/man1/x68k/palette.1
makemandb: Error in indexing /usr/share/man/man1/x68k/palette.1
Parsing: /usr/share/man/man1/x68k/loadkmap.1
makemandb: Error in indexing /usr/share/man/man1/x68k/loadkmap.1
Parsing: /usr/share/man/man1/x68k/loadfont.1
makemandb: Error in indexing /usr/share/man/man1/x68k/loadfont.1
Parsing: /usr/share/man/man1/x68k/bellctrl.1
makemandb: Error in indexing /usr/share/man/man1/x68k/bellctrl.1
Parsing: /usr/share/man/man1/x68k/aout2hux.1
makemandb: Error in indexing /usr/share/man/man1/x68k/aout2hux.1
Parsing: /usr/share/man/man1/atari/msconfig.1
makemandb: Error in indexing /usr/share/man/man1/atari/msconfig.1
Parsing: /usr/share/man/man1/atari/edahdi.1
makemandb: Error in indexing /usr/share/man/man1/atari/edahdi.1
Total Number of new or updated pages encountered = 2344
Total number of (hard or symbolic) links found = 0
Total number of pages that were successfully indexed/updated = 330
Total number of pages that could not be indexed due to errors = 2014
Optimizing the database index

I looked at the Sqlite database and couldn't see any obvious issues
with what's generated (i.e. no corruption in the file itself).
Unfortunately (as per PR 46642), the error reporting isn't helpful
enough to narrow down a problem. It's choking on man pages that
haven't been updated in over a decade, so it can't be a problem with
the content.


>How-To-Repeat:
Try running makemandb(8) after updating to recent sources.
>Fix:



Home | Main Index | Thread Index | Old Index