Bug 291186 - ctfmerge.1: needs to document environment variable use
Summary: ctfmerge.1: needs to document environment variable use
Status: Closed FIXED
Alias: None
Product: Documentation
Classification: Unclassified
Component: Manual Pages (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Alexander Ziaee
URL: https://reviews.freebsd.org/D54054
Keywords:
Depends on: 290958
Blocks:
  Show dependency tree / graph
 
Reported: 2025-11-24 07:42 UTC by Wolfram Schneider
Modified: 2026-08-05 18:51 UTC (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Wolfram Schneider freebsd_committer freebsd_triage 2025-11-24 07:42:35 UTC
The ctfmerge(1) manpage
https://man.freebsd.org/ctfmerge

does not mention the supported environment variables.

Fortunately, NetBSD already documented it some month ago and we can copy the section upstream except for CTFMERGE_NUM_THREADS

https://man.netbsd.org/ctfmerge.1
https://github.com/NetBSD/src/commit/8a0c0d837af6f88a5a7d5a5081924e69cd374408

commit 8a0c0d837af6f88a5a7d5a5081924e69cd374408
Author:     christos <christos@NetBSD.org>
AuthorDate: Sat May 4 13:11:41 2024 +0000
Commit:     christos <christos@NetBSD.org>
CommitDate: Sat May 4 13:11:41 2024 +0000

    Document environment variable use.
Comment 1 Alexander Ziaee freebsd_committer freebsd_triage 2025-12-02 14:06:15 UTC
Okay, please commit
Comment 2 commit-hook freebsd_committer freebsd_triage 2026-06-30 13:52:41 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/src/commit/?id=32cf24b725fdf899fb642c47004b69fcfae9b9db

commit 32cf24b725fdf899fb642c47004b69fcfae9b9db
Author:     Wolfram Schneider <wosch@FreeBSD.org>
AuthorDate: 2026-06-30 13:20:41 +0000
Commit:     Alexander Ziaee <ziaee@FreeBSD.org>
CommitDate: 2026-06-30 13:42:59 +0000

    ctfmerge.1: Import ENVIRONMENT from NetBSD

    Import the ENVIRONMENT section from NetBSD, minus the variable that our
    ctfmerge does not have. Alphabetize them, polish grammar and alignment,
    and add the variables to the man database. While here, remove whitespace
    from the end of some lines to quiet linter.

    MFC after:      3 days
    PR:             291186
    Co-authored-by: Alexander Ziaee <ziaee@FreeBSD.org>
    Obtained from:  NetBSD (christos <christos@NetBSD.org>, 8a0c0d8)
    Differential Revision:  https://reviews.freebsd.org/D54054

 cddl/usr.bin/ctfmerge/ctfmerge.1 | 74 ++++++++++++++++++++++++++--------------
 1 file changed, 48 insertions(+), 26 deletions(-)
Comment 3 commit-hook freebsd_committer freebsd_triage 2026-08-05 15:56:17 UTC
A commit in branch stable/15 references this bug:

URL: https://cgit.FreeBSD.org/src/commit/?id=565061836e1dabb7c115ea4026307097ca41c7f0

commit 565061836e1dabb7c115ea4026307097ca41c7f0
Author:     Wolfram Schneider <wosch@FreeBSD.org>
AuthorDate: 2026-06-30 13:20:41 +0000
Commit:     Alexander Ziaee <ziaee@FreeBSD.org>
CommitDate: 2026-08-05 15:54:24 +0000

    ctfmerge.1: Import ENVIRONMENT from NetBSD

    Import the ENVIRONMENT section from NetBSD, minus the variable that our
    ctfmerge does not have. Alphabetize them, polish grammar and alignment,
    and add the variables to the man database. While here, remove whitespace
    from the end of some lines to quiet linter.

    MFC after:      3 days
    PR:             291186
    Co-authored-by: Alexander Ziaee <ziaee@FreeBSD.org>
    Obtained from:  NetBSD (christos <christos@NetBSD.org>, 8a0c0d8)
    Differential Revision:  https://reviews.freebsd.org/D54054

    (cherry picked from commit 32cf24b725fdf899fb642c47004b69fcfae9b9db)

 cddl/usr.bin/ctfmerge/ctfmerge.1 | 74 ++++++++++++++++++++++++++--------------
 1 file changed, 48 insertions(+), 26 deletions(-)
Comment 4 commit-hook freebsd_committer freebsd_triage 2026-08-05 18:50:52 UTC
A commit in branch stable/14 references this bug:

URL: https://cgit.FreeBSD.org/src/commit/?id=2b0f4a74e2a1f4eea062d651fe6759c807646ffc

commit 2b0f4a74e2a1f4eea062d651fe6759c807646ffc
Author:     Wolfram Schneider <wosch@FreeBSD.org>
AuthorDate: 2026-06-30 13:20:41 +0000
Commit:     Alexander Ziaee <ziaee@FreeBSD.org>
CommitDate: 2026-08-05 18:50:27 +0000

    ctfmerge.1: Import ENVIRONMENT from NetBSD

    Import the ENVIRONMENT section from NetBSD, minus the variable that our
    ctfmerge does not have. Alphabetize them, polish grammar and alignment,
    and add the variables to the man database. While here, remove whitespace
    from the end of some lines to quiet linter.

    MFC after:      3 days
    PR:             291186
    Co-authored-by: Alexander Ziaee <ziaee@FreeBSD.org>
    Obtained from:  NetBSD (christos <christos@NetBSD.org>, 8a0c0d8)
    Differential Revision:  https://reviews.freebsd.org/D54054

    (cherry picked from commit 32cf24b725fdf899fb642c47004b69fcfae9b9db)

 cddl/usr.bin/ctfmerge/ctfmerge.1 | 74 ++++++++++++++++++++++++++--------------
 1 file changed, 48 insertions(+), 26 deletions(-)