[Bug 213762] makewhatis (mdocml) does not produce reproducible files for /usr/share/man or /usr/share/openssl/man

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Oct 24 23:30:22 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=213762

            Bug ID: 213762
           Summary: makewhatis (mdocml) does not produce reproducible
                    files for /usr/share/man or /usr/share/openssl/man
           Product: Base System
           Version: 11.0-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: dereks at lifeofadishwasher.com

Under 11.0-RELEASE when periodic weekly runs makewhatis is ran to rebuild man
whatis dbs and in turn mandoc.db files are also created.  After a fresh install
or updated to 11.0-RELEASE letting 'periodic weekly' or running on makewhatis
on the problematic directories (/usr/share/man and /usr/share/openssl/man) and
running 'freebsd-update fetch' freebsd-update attempt to update the mandoc.db
files.  This repeats if you update via 'freebsd-update install' the next time
320.whatis is ran (weekly).

root at mandoc:~ # freebsd-update fetch 
src component not installed, skipped
Looking up update.FreeBSD.org mirrors... 4 mirrors found.
Fetching metadata signature for 11.0-RELEASE from update5.freebsd.org... done.
Fetching metadata index... done.
Inspecting system... done.
Preparing to download files... done.

No updates needed to update system to 11.0-RELEASE-p1.
root at mandoc:~ # makewhatis /usr/share/man/
root at mandoc:~ # makewhatis /usr/share/openssl/man/
root at mandoc:~ # freebsd-update fetch
src component not installed, skipped
Looking up update.FreeBSD.org mirrors... 4 mirrors found.
Fetching metadata signature for 11.0-RELEASE from update5.freebsd.org... done.
Fetching metadata index... done.
Inspecting system... done.
Preparing to download files... done.
Fetching 1 files... done.

The following files will be updated as part of updating to 11.0-RELEASE-p1:
/usr/share/man/mandoc.db
/usr/share/openssl/man/mandoc.db

It appears mdocml is producing different files because of the AUTOINCREMENT
fields in the macdoc.db files.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list