tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Build failure tooling improvements



* On 2025-03-21 at 15:46 GMT, J. Lewis Muir wrote:

On 03/21, Jonathan Perkin wrote:
* On 2025-03-21 at 15:11 GMT, J. Lewis Muir wrote:

> 1. https://netbsd.org/~bacon/Pbulk/index.html
> 2. https://github.com/TritonDataCenter/pkgbuild
>
> But #1 doesn't support macOS, and #2 favors SmartOS over other
> platforms, and its macOS support does not do builds in a sandbox.

It definitely does, it's what I use for my official builds:

  https://github.com/TritonDataCenter/pkgbuild/blob/master/scripts/mksandbox-macos

OK, I'm happy to be corrected on that! :-)

My statement was based on

 https://github.com/TritonDataCenter/pkgsrc/wiki/pkgdev:setup#create-sandbox

which says the following:

 On macOS there used to be instructions for creating a sandbox, but the
 amount of setup is considerable and changes over time. At the current
 time it's simpler to just build as a regular user with no special
 setup.

Yeh, the problem is that you at least need to disable SIP, install the macFUSE kext, etc. Most users cannot stomach that, and so it's easier to recommend building normally, as this is really only written for users who want to build one or two custom packages or do some light development work.

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


Home | Main Index | Thread Index | Old Index