Re: make release failure on releng/15.0

Maku Bex <[email protected]> Wed, 27 May 2026 14:07:21 -0500
Newsgroups gmane.os.freebsd.questions
Message-ID <CALvWPyYn4Mes8rXVjfOVhSCuyzOy2eqicDrzJA4tu7Og6SVFFQ@mail.gmail.com>
Not sure what you are trying to invent with all of that, but is there a
reason for not using the `release.sh` script with the companion
`release.conf` file?

On Wed, May 27, 2026, 13:54 Sad Clouds <[email protected]> wrote:

> Hello, are there currently known issues with "make release" on the
> releng/15.0 branch?
>
> $ git clone --branch releng/15.0 --depth 1 https://git.FreeBSD.org/src.git
> src
>
> $ cd ${FREEBSD_SRC:?}/release && env \
>   MAKEOBJDIRPREFIX=${FREEBSD_OBJ:?} SRCCONF="${BUILD_DIR:?}/src.conf"
> SYSDIR="${FREEBSD_SRC:?}/sys" \
>   make TARGET=${MACHINE:?} TARGET_ARCH=${MACHINE_ARCH:?} \
>   release > ${BUILD_DIR:?}/release.log 2>&1 || echo "ERROR: make failed"
>
> The above make command results in the following failure:
>
> FreeBSD-base repository update completed. 338 packages processed.
> All repositories are up to date.
> pkg: Setting ABI requires setting OSVERSION, guessing the OSVERSION as:
> 1500000
> /usr/libexec/flua:
> /home/user/freebsd/src/release/scripts/pkgbase-stage.lua:49: assertion
> failed!
> stack traceback:
>         [C]: in function 'assert'
>         /home/user/freebsd/src/release/scripts/pkgbase-stage.lua:49: in
> upvalue 'select_packages'
>         /home/user/freebsd/src/release/scripts/pkgbase-stage.lua:101: in
> local 'main'
>         /home/user/freebsd/src/release/scripts/pkgbase-stage.lua:107: in
> main chunk
>         [C]: in ?
> *** Error code 1
>
> Stop.
> make: stopped making "release" in /home/user/freebsd/src/release
>
>