Page MenuHomeFreeBSD

makeman: extend duplicate option warning to OPT_ options
ClosedPublic

Authored by emaste on May 13 2024, 7:28 PM.
Tags
None
Referenced Files
F146833784: D45184.id138501.diff
Fri, Mar 6, 12:35 AM
Unknown Object (File)
Tue, Mar 3, 4:09 AM
Unknown Object (File)
Thu, Feb 12, 5:04 AM
Unknown Object (File)
Sun, Feb 8, 2:41 PM
Unknown Object (File)
Sun, Feb 8, 12:02 PM
Unknown Object (File)
Sun, Feb 8, 3:38 AM
Unknown Object (File)
Jan 31 2026, 3:09 PM
Unknown Object (File)
Nov 22 2025, 11:17 PM
Subscribers

Details

Summary
In a local tree I accidentally had OPT_INIT_ALL defaulting to zero in
userland and none in kernel.  This resulted in the INIT_ALL text
appearing twice in src.conf.5.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

emaste created this revision.

OPT_ are not handled per-target

In my local tree:

building src.conf.5 man page from files in /home/emaste/src/freebsd-git/wipbsd/tools/build/options
...........................make[1]: "/home/emaste/src/freebsd-git/wipbsd/share/mk/bsd.mkopt.mk" line 71: warning: WITHOUT_CASPER option ignored: it is no longer supported
make[1]: "/home/emaste/src/freebsd-git/wipbsd/share/mk/bsd.mkopt.mk" line 71: warning: WITHOUT_CASPER option ignored: it is no longer supported
................................................................................................................................................................................................................................
ignoring duplicate option INIT_ALL
This revision is now accepted and ready to land.May 16 2024, 5:27 PM