Re: Bulk build information

Jonathan Perkin <[email protected]> Mon, 30 Mar 2026 09:53:19 +0100
Newsgroups gmane.os.netbsd.devel.packages
Message-ID <[email protected]>
* On 2026-03-27 at 21:07 GMT, Rob Whitlock wrote:

>> On Mar 27, 2026, at 8:58 AM, Jonathan Perkin <[email protected]> wrote:
>>
>> My question is what other information do people want added?  One thing I'd like to add if possible is a link to the change that might be responsible for the failure or most recent commit, though naturally that will get complicated.  Anything else?
>
>I’d like to see which options were enabled, which were disabled, and for it to be easy to see which ones have non-default values.

The options information is already included in configure output, but I 
feel this is a bug in supported-options-message.  I don't see why it 
doesn't include the same information that show-options does, and ideally 
just have a single unified target that displays all the useful 
information rather than requiring the user go and compare the output 
against the defaults.

I think any improvements to this (and I welcome them) should be done 
separately as part of work on bsd.options.mk rather than build tools, 
though once done we can certainly include any new information.  In 
particular I think a single variable that outputs something like:

   PKG_OPTIONS_CHANGES="+dtrace -doc"

that simply shows diffs to defaults would be good, would map 
naturally to a useful build report column, and could easily be added to 
the scan index.

-- 
Jonathan Perkin                    pkgsrc.smartos.org
Open Source Complete Cloud   www.tritondatacenter.com