[Bug 257228] While `make installworld` installs /usr/share/man/man8/{apm,apmconf}.8.gz, `make delete-old` suggests to remove them

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 17 Jul 2021 09:14:16 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=257228

            Bug ID: 257228
           Summary: While `make installworld` installs
                    /usr/share/man/man8/{apm,apmconf}.8.gz, `make
                    delete-old` suggests to remove them
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: yasu@utahime.org
                CC: fernape@FreeBSD.org

Summary explains everything.

----------------------------------------------------------------------
yasu@rolling-vm-freebsd1[1014]% uname -a
FreeBSD rolling-vm-freebsd1.home.utahime.org 14.0-CURRENT FreeBSD 14.0-CURRENT
#0 main-n248030-4652422eb47: Sat Jul 17 03:17:05 JST 2021    
rootz@rolling-vm-freebsd1.home.utahime.org:/usr/obj/usr/src/amd64.amd64/sys/GENERIC
 amd64
yasu@rolling-vm-freebsd1[1015]%
----------------------------------------------------------------------

According to my investigation, this happens with base 0a0f7486413 and later.

----------------------------------------------------------------------
commit 0a0f7486413
Author: Fernando ApesteguĂ­a <fernape@FreeBSD.org>
Date:   Wed Jun 9 19:58:04 2021

    man: Build manpages for all architectures

    Building and installing architecture-specific man pages only raises a
number of
    problems:

     * The https://www.freebsd.org/cgi/man.cgi is incomplete. As an
       example, it does not show results for pae(4). The reason for this is
       that the cgi interface runs on FreeBSD amd64.

     * In FreeBSD amd64 some manual pages have broken X-refs. See hptrr(4)
       for an example.

     * Also, we have broken links in our Release Notes. This is a
       consequence of the first point. See
       https://www.freebsd.org/releases/13.0R/hardware/#proc-i386.

    Make MAN_ARCH default to 'all' so we build all the man pages for all the
    architectures. The difference in disk space is negligible. Also link
    architecture-specific man pages to their own section while keeping their
own
    namespace.

    PR: 212290
    Reported by:    mj@bsdops.com
    Approved by:    ceri@, wosch@
    MFC after:      4 weeks
----------------------------------------------------------------------

Cc-ing to the committer of it.

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