[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 +0000
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_at_FreeBSD.org
          Reporter: yasu_at_utahime.org
                CC: fernape_at_FreeBSD.org

Summary explains everything.

----------------------------------------------------------------------
yasu_at_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_at_rolling-vm-freebsd1.home.utahime.org:/usr/obj/usr/src/amd64.amd64/sys/GENERIC
 amd64
yasu_at_rolling-vm-freebsd1[1015]%
----------------------------------------------------------------------

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

----------------------------------------------------------------------
commit 0a0f7486413
Author: Fernando ApesteguĂ­a <fernape_at_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_at_bsdops.com
    Approved by:    ceri_at_, wosch_at_
    MFC after:      4 weeks
----------------------------------------------------------------------

Cc-ing to the committer of it.

-- 
You are receiving this mail because:
You are the assignee for the bug.
Received on Sat Jul 17 2021 - 09:14:16 UTC

Original text of this message