bugDatabase-driven manual pager suite - Bugs: bug #55552, mandb returns lots of "failed...

 
 

bug #55552: mandb returns lots of "failed to store entry for" warning messages

Submitter:  - <_78879>
Submitted:  Wed 23 Jan 2019 03:19:57 PM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Need Info
Privacy:  Public Assigned to:  None
Open/Closed:  Open
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 24 Oct 2022 12:50:26 PM UTC, comment #3: 

I want to add information concerning this bug.

On my system (gentoo) there are also many messages "failed to store...".

One example is gunzip(1):

# apropos gunzip
gunzip: nothing appropriate.

# man -w gunzip
/usr/share/man/man1/gzip.1.bz2

I will also attach the log of `mandb --debug`.

Dirk Gouders <dgouders>
Fri 21 Oct 2022 08:46:06 PM UTC, comment #2: 

I was looking through the posted log output (and my own, as I can reproduce this locally).  To the uninitiated, it appears as though man entries with a dot in the name fail in this way.  It is as if the process tries to interpret the portion after the dot as the subsection, and then confuses it with a man page of the similar name -- e.g., "journald.conf.d.5" fails to store because it believes "journald.conf.5" is the same entry.

The error that appears to be fatal is this, "ignoring differing compression extensions: <module>".  Every time it is encountered the entry fails.

Hopefully this is helpful analysis in some way...

Matt <cyberbisson>
Wed 23 Jan 2019 03:21:37 PM UTC, comment #1: 

Please run "mandb --debug" and attach the full output.

Colin Watson <cjwatson>
Group administrator
Wed 23 Jan 2019 03:19:57 PM UTC, original submission:  

I have sys-apps/man-db-2.8.5 on a Gentoo Linux system.

I'd like to update the man pages database with the "mandb" command, but I get lots of warning messages such as the following ones:

# mandb
mandb: warning: $MANPATH set, ignoring /etc/man_db.conf
Processing manual pages under /usr/share/man...
Updating index cache for path `/usr/share/man/man5'. Wait...mandb: warning: failed to store entry for modules.dep.bin(5)
mandb: warning: failed to store entry for xorg.conf.d(5)
mandb: warning: failed to store entry for .k5login(5)
mandb: warning: failed to store entry for sleep.conf.d(5)
mandb: warning: failed to store entry for journald.conf.d(5)
mandb: warning: failed to store entry for resolved.conf.d(5)
mandb: warning: failed to store entry for coredump.conf.d(5)
mandb: warning: failed to store entry for utmp(5)
mandb: warning: failed to store entry for wtmp(5)
mandb: warning: failed to store entry for resolver(5)
...

I haven't touched /etc/man_db.conf.

# echo $MANPATH
/usr/share/gcc-data/x86_64-pc-linux-gnu/8.2.0/man:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.31.1/man:/usr/local/share/man:/usr/share/man

# emerge -pv man-db

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R    ] sys-apps/man-db-2.8.5::gentoo  USE="berkdb gdbm manpager nls seccomp zlib (-selinux) -static-libs" 0 KiB

Total: 1 package (1 reinstall), Size of downloads: 0 KiB

- <_78879>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #53904:  mandb.log.bz2 added by dgouders (186KiB - application/x-bzip2 - Log of `mandb --debug`.)
file #46080:  mandb.log.xz added by _78879 (561KiB - application/x-xz)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by dgouders (Posted a comment)
  • -email is unavailable- added by cyberbisson (Posted a comment)
  • -email is unavailable- added by cjwatson (Posted a comment)
  • -email is unavailable- added by _78879 (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2022-10-24 dgouders Attached File- Added mandb.log.bz2, #53904
    2019-01-23 _78879 Attached File- Added mandb.log.xz, #46080
    2019-01-23 cjwatson StatusNone Need Info

    Back to the top

    Powered by Savane 3.13-6ae7.
    Corresponding source code