[Bug 294729] pkgbase ${SRC}/release/release.sh with custom KERNEL results in pkgbase-stage.lua assertion failed!
Date: Thu, 23 Apr 2026 14:52:49 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=294729
Bug ID: 294729
Summary: pkgbase ${SRC}/release/release.sh with custom KERNEL
results in pkgbase-stage.lua assertion failed!
Product: Base System
Version: CURRENT
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: misc
Assignee: bugs@FreeBSD.org
Reporter: agh@riseup.net
On a 16-CURRENT-33424fd50ee0 host running ${SRC}/release/release.sh with a
custom KERNEL configured in release.conf, results in a build failure:
> >>> Install kernel(s) CUSTOM completed in 6 seconds, ncpu: 64, make -j32
> --------------------------------------------------------------
> mkdir -p disc1/usr/freebsd-packages/repos/
> /usr/src/release/scripts/pkgbase-stage.lua disc /usr/obj/usr/src/amd64.amd64/release/pkgbase-repo-dir disc1/usr/freebsd-packages/offline "32" $(pkg -o ABI_FILE=/usr/obj/usr/src/amd64.amd64/worldstage/usr/bin/un
ame config ABI) /usr/obj/usr/src/amd64.amd64/release/pkgdb-disc1
> pkg: Setting ABI requires setting OSVERSION, guessing the OSVERSION as: 1600000
> Updating FreeBSD-base repository catalogue...
> Fetching meta.conf: . done
> Fetching data: .......... done
> Processing entries: .......... done
> FreeBSD-base repository update completed. 524 packages processed.
> All repositories are up to date.
> pkg: Setting ABI requires setting OSVERSION, guessing the OSVERSION as: 1600000
> /usr/libexec/flua: /usr/src/release/scripts/pkgbase-stage.lua:47: assertion failed!
> stack traceback:
> [C]: in function 'assert'
> /usr/src/release/scripts/pkgbase-stage.lua:47: in upvalue 'select_packages'
> /usr/src/release/scripts/pkgbase-stage.lua:104: in local 'main'
> /usr/src/release/scripts/pkgbase-stage.lua:110: in main chunk
> [C]: in ?
> *** [disc1] Error code 1
>
> make: stopped making "release" in /usr/src/release
> --- bootonly ---
> --- distribution ---
> --- installconfig_subdir_share ---
> --- installconfig_subdir_share/timedef ---
>
> make[4]: stopped making "installconfig" in /usr/src/share
>
> make[3]: stopped making "installconfig" in /usr/src
>
> make[2]: stopped making "distribution" in /usr/src
>
> make[1]: stopped making "installworld installkernel distribution" in /usr/src
> *** [bootonly] Error code 2
>
> make: stopped making "release" in /usr/src/release
> make: 2 errors
--
You are receiving this mail because:
You are the assignee for the bug.