On a 16-CURRENT-n287807-5f02c8439786 host: > cd /usr/src/release && > doas ./release.sh Results in: > --- package-pkg --- > Creating external/libsqlite/Makefile from external/libsqlite/Makefile.in > Creating external/libfetch/Makefile from external/libfetch/Makefile.in > Creating external/Makefile from external/Makefile.in > Creating compat/Makefile from compat/Makefile.in > --- create-packages-world --- > --- all_subdir_clibs --- > --- FreeBSD-clibs-dev-16.snap20260731015925.pkg --- > pkg -o ABI=FreeBSD:16:amd64 -o OSVERSION=1600019 -o ALLOW_BASE_SHLIBS=yes -o SHLIB_PROVIDE_PATHS_NATIVE=/lib,/usr/lib -o SHLIB_PROVIDE_PATHS_COMPAT_32=/usr/lib32 create -f tzst -l -1 -T 0 -r /usr/obj/usr/src/amd64.amd64/worldstage -o /usr/obj/usr/src/amd64.amd64/packages/clibs -M FreeBSD-clibs-dev.pkgucl -p /usr/obj/usr/src/amd64.amd64/worldstage/clibs-dev.plist > pkg: duplicate directory listing: /usr/include, fatal (developer mode) > --- package-pkg --- > Creating libpkg/Makefile from libpkg/Makefile.in > --- create-packages-world --- > *** [FreeBSD-clibs-dev-16.snap20260731015925.pkg] Error code 1 > > make[7]: stopped making "all" in /usr/src/packages/clibs > make[7]: 1 error > > make[7]: stopped making "all" in /usr/src/packages/clibs > > make[6]: stopped making "clean all stagepackages" in /usr/src/packages > --- all_subdir_libcompiler_rt --- > > make[6]: stopped making "clean all stagepackages" in /usr/src/packages > --- package-pkg --- > Creating libpkg/repo/Makefile from libpkg/repo/Makefile.in > Creating libpkg/repo/binary/Makefile from libpkg/repo/binary/Makefile.in > Creating src/Makefile from src/Makefile.in > --- create-packages-world --- > --- all_subdir_libevent1 --- > > make[6]: stopped making "clean all stagepackages" in /usr/src/packages > --- package-pkg --- > Creating external/libucl/Makefile from external/libucl/Makefile.in > Creating external/libelf/Makefile from external/libelf/Makefile.in > --- create-packages-world ---
I am not able to find the cause of this. I have git bisect'ed ${SRC} from the last working copy to main, and every build fails the same way. I then tried it with ${PORTS}, same error. So I decided to build on my desktop using the ${SRC} and ${PORTS} pkg, it failed in the same way. It also failed if I used ${SRC} and ${PORTS} at main. It is a shame that release.sh has become even more fragile since the intro of pkgbase. I remember when it was contributed to ${SRC}, I think back in 8.x or 9.x, it was a source of much rejoicing, mostly because make release never worked for me, and moving to a single build machine for the entire home lab was a huge progression in efficiency. I was very excited about pkgbase, I know it is a great source of division within the FreeBSD community, however I always wanted to be on the side of supporting it. But this is now just a major de-motivator. I see the Project is able to supply updated pkgbase packages and I do not know how that is done.
The desktop is at snap20260622061812.