[Bug 295007] "make memstick" in /usr/src/release fails at final steps
Date: Mon, 04 May 2026 14:47:54 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=295007
Bug ID: 295007
Summary: "make memstick" in /usr/src/release fails at final
steps
Product: Base System
Version: 15.1-STABLE
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: bin
Assignee: bugs@FreeBSD.org
Reporter: karl@denninger.net
"make -j12 buildworld buildkernel" succeeds (and in fact I installed from that
and am running it without issue on that machine)
I'm current on the source tree as of 2026-05-04 ~10:30ish ET and running the
kernel and world from yesterday (FreeBSD 15.1-STABLE #1
stable/15-n283479-152106e641e5-dirty: Sun May 3 18:04:55 EDT 2026
root@NewFS.denninger.net:/usr/obj/usr/src/amd64.amd64/sys/GENERIC); there was
nothing in the pull this morning that looked material to the build process
itself.
I always want a memstick in the box for recovery purposes of the same version,
so I generally come current, do the pull, "make clean; make -j12 buildworld
buildkernel", go to /usr/src/release and do a "make memstick" to DD to the
stick in the machine so in the case of a disaster I can boot from it and do
whatever is necessary to attempt to recover.
This morning that attempt failed at the very end with what look to be license
disclaimer files being missing:
echo vfs.mountroot.timeout=\"10\" >> disc1/boot/loader.conf
echo kernels_autodetect=\"NO\" >> disc1/boot/loader.conf
echo loader_brand=\"install\" >> disc1/boot/loader.conf
echo loader_menu_multi_user_prompt=\"Installer\" >> disc1/boot/loader.conf
cp /usr/src.15-STABLE/release/rc.local disc1/etc
echo "./etc/resolv.conf type=link uname=root gname=wheel mode=0644
link=/tmp/bsdinstall_etc/resolv.conf" >> disc1/METALOG
echo "./etc/rc.conf type=file uname=root gname=wheel mode=0644" >>
disc1/METALOG
echo "./etc/sysctl.conf type=file uname=root gname=wheel mode=0644" >>
disc1/METALOG
echo "./boot/loader.conf type=file uname=root gname=wheel mode=0644" >>
disc1/METALOG
echo "./etc/rc.local type=file uname=root gname=wheel mode=0644" >>
disc1/METALOG
touch disc1
mkdir disc1-memstick
tar -cf- -C disc1 . | tar -xf- -C disc1-memstick
cd disc1-memstick && sh /usr/src.15-STABLE/release/amd64/make-memstick.sh
./METALOG ../memstick.img
/tmp/metalog.DrqWer:72: warning: duplicate definition of var
/tmp/metalog.DrqWer:122: warning: duplicate definition of usr
/tmp/metalog.DrqWer:582: warning: duplicate definition of include
/tmp/metalog.DrqWer:779: warning: duplicate definition of lib
/tmp/metalog.DrqWer:817: warning: duplicate definition of lib
/tmp/metalog.DrqWer:832: warning: duplicate definition of be_BY.UTF-8
/tmp/metalog.DrqWer:834: warning: duplicate definition of ca_ES.ISO8859-1
/tmp/metalog.DrqWer:836: warning: duplicate definition of de_DE.ISO8859-1
/tmp/metalog.DrqWer:838: warning: duplicate definition of el_GR.ISO8859-7
/tmp/metalog.DrqWer:840: warning: duplicate definition of es_ES.ISO8859-1
/tmp/metalog.DrqWer:842: warning: duplicate definition of fi_FI.ISO8859-1
/tmp/metalog.DrqWer:844: warning: duplicate definition of fr_FR.ISO8859-1
/tmp/metalog.DrqWer:846: warning: duplicate definition of gl_ES.ISO8859-1
/tmp/metalog.DrqWer:848: warning: duplicate definition of hu_HU.ISO8859-2
/tmp/metalog.DrqWer:850: warning: duplicate definition of it_IT.ISO8859-15
/tmp/metalog.DrqWer:852: warning: duplicate definition of ja_JP.UTF-8
/tmp/metalog.DrqWer:854: warning: duplicate definition of ja_JP.eucJP
/tmp/metalog.DrqWer:856: warning: duplicate definition of ko_KR.UTF-8
/tmp/metalog.DrqWer:858: warning: duplicate definition of ko_KR.eucKR
/tmp/metalog.DrqWer:860: warning: duplicate definition of mn_MN.UTF-8
/tmp/metalog.DrqWer:862: warning: duplicate definition of nl_NL.ISO8859-1
/tmp/metalog.DrqWer:864: warning: duplicate definition of no_NO.ISO8859-1
.....
/tmp/metalog.DrqWer:30416: error: BSD2CLAUSE: contents file
'usr/local/share/licenses/pkg-2.7.4/BSD2CLAUSE' not found
/tmp/metalog.DrqWer:30417: error: LICENSE: contents file
'usr/local/share/licenses/pkg-2.7.4/LICENSE' not found
/tmp/metalog.DrqWer:30418: error: catalog.mk: contents file
'usr/local/share/licenses/pkg-2.7.4/catalog.mk' not found
/tmp/metalog.DrqWer:30471: warning: duplicate definition of _pkg.bash
/tmp/metalog.DrqWer:30472: warning: duplicate definition of 411.pkg-backup
/tmp/metalog.DrqWer:30473: warning: duplicate definition of
490.status-pkg-changes
.....
makefs: 3 error(s) and 1499 warning(s) in mtree manifest
*** Error code 1
Stop.
make: stopped making "memstick" in /usr/src.15-STABLE/release
[root@NewFS /usr/src/release]#
--
You are receiving this mail because:
You are the assignee for the bug.