Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Apr 2026 20:51:05 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 294822] makeman.lua lacking diagnostics for failure case
Message-ID:  <bug-294822-227@https.bugs.freebsd.org/bugzilla/>

index | next in thread | raw e-mail

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

            Bug ID: 294822
           Summary: makeman.lua lacking diagnostics for failure case
           Product: Base System
           Version: 16.0-CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: emaste@freebsd.org

In my WIP tree (with a bunch of patches not in main) `make makeman` fails,
where sh makeman did not, and does not provide usable diagnostics:

$ make makeman
building src.conf.5 man page from files in
/home/emaste/src/freebsd-src/wipbsd/tools/build/options
ignoring duplicate option OPT_INIT_ALL
.makeman.lua:482: Child 42697 failed, buf: makeman.lua:195: make exited
unsuccessfully
*** Error code 1

Stop.
make[1]: stopped making "makeman" in /home/emaste/src/freebsd-src/wipbsd
*** Error code 1

Stop.
make: stopped making "makeman" in /home/emaste/src/freebsd-src/wipbsd
$
......................................................................................................................................................................................................................................................................


The `.`s from individual option make invocations are all emitted after
returning to the shell.

With a few hacks (to report the make invocation and avoid cleaning up the tmp
dir) I can find the failing case:

.makeman.lua:482: Child 61647 failed, buf: makeman.lua:195: make
[.MAKE.MODE=normal showconfig
SRC_ENV_CONF=/tmp/makeman.6081/src-WITHOUT_ALL_WITH_LOADER_VERIEXEC.conf]
exited unsuccessfully

$ make showconfig
SRC_ENV_CONF=/tmp/makeman.6081/src-WITHOUT_ALL_WITH_VERIEXEC.conf
make[1]: /home/emaste/src/freebsd-src/wipbsd/share/mk/src.opts.mk:526: VERIEXEC
requires BEARSSL
        in /home/emaste/src/freebsd-src/wipbsd/Makefile.inc1:123
        in make[1] in directory "/home/emaste/src/freebsd-src/wipbsd"

make[1]: stopped making "showconfig" in /home/emaste/src/freebsd-src/wipbsd
*** Error code 1

Stop.

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

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-294822-227>