NetBSD Problem Report #60684
From mlr@rterm.rse.com Sun Sep 6 00:22:49 2026
Return-Path: <mlr@rterm.rse.com>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256
client-signature RSA-PSS (2048 bits) client-digest SHA256)
(Client CN "mail.netbsd.org", Issuer "YR1" (not verified))
by mollari.NetBSD.org (Postfix) with ESMTPS id F39131A923B
for <gnats-bugs@gnats.NetBSD.org>; Sun, 6 Sep 2026 00:22:48 +0000 (UTC)
Message-Id: <20260906001351.401FC22A869@rterm.rse.com>
Date: Sat, 5 Sep 2026 20:13:51 -0400 (EDT)
From: mlr@rse.com
Reply-To: mlr@rse.com
To: gnats-bugs@NetBSD.org, mlr@rse.com
Subject: Compiling 20260827171453Z.11.0_STABLE: Failed target: boot.iso cdrom: image
X-send-pr-version: 3.95
X-From4GNATS: "Michael L. Riechers via gnats" <gnats-admin@NetBSD.org>
>Number: 60684
>Category: toolchain
>Synopsis: Compiling 20260827171453Z.11.0_STABLE: Failed target: boot.iso cdrom: image
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: toolchain-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Sep 06 00:25:00 +0000 2026
>Last-Modified: Sun Nov 01 07:55:01 +0000 2026
>Originator: Michael L. Riechers
>Release: NetBSD 11.0
>Organization:
M L Riechers Systems Engineering
>Environment:
System: NetBSD cterm.rse.com 11.0_BETA NetBSD 11.0_BETA (GENERIC) #1: Sat Nov 29 10:51:39 EST 2025 root@cterm.rse.com:/usr/local/src/usr/usr.20251122160958Z.11.0_BETA/src/sys/arch/amd64/compile/obj/GENERIC amd64
Architecture: x86_64
Machine: amd64
>Description:
>Synopsis: 20260827171453Z.11.0_STABLE build fails on makeing boot cdrom
Second attempt to compile NetBSD STABLE, both turned out the same.
One was downloaded from nyftp.netbsd.org/pub/NetBSD-daily/
nyftp.netbsd.org/pub/NetBSD-daily/netbsd-11/20260819115158Z/, the
other from
nyftp.netbsd.org/pub/NetBSD-daily/netbsd-11/20260827171453Z/.
I untarred the NetBSD distribution into a clean usr dir, and let the
build make a clean, new, and empty
HOUSE-20260827171453Z.11.0_STABLE-amd64tools/,
dest-HOUSE-20260827171453Z.11.0_STABLE-for-amd64/, and
tar_files-HOUSE-20260827171453Z.11.0_STABLE/, and obj/ directories.
nohup sh -c 'date; export DESTDIR=/usr/local/src/dest-HOUSE-20260827171453Z.11.0_STABLE-for-amd64; export LOCALTIME=US/Eastern; ./build.sh -m amd64 -V KERNEL_DIR=yes -T /usr/local/src/HOUSE-20260827171453Z.11.0_STABLE-amd64tools -O /usr/local/src/usr/usr.20260827171453Z.11.0_STABLE/obj -R /usr/local/src/tar_files-HOUSE-20260827171453Z.11.0_STABLE -X /usr/local/src/usr/usr.20260827171453Z.11.0_STABLE/xsrc -x release ; date' &
or:
nohup sh -c 'date; export\
DESTDIR=/usr/local/src/dest-HOUSE-20260827171453Z.11.0_STABLE-for-amd64;\
export LOCALTIME=US/Eastern; ./build.sh -m amd64 -V KERNEL_DIR=yes -T\
/usr/local/src/HOUSE-20260827171453Z.11.0_STABLE-amd64tools -O\
/usr/local/src/usr/usr.20260827171453Z.11.0_STABLE/obj -R\
/usr/local/src/tar_files-HOUSE-20260827171453Z.11.0_STABLE -X\
/usr/local/src/usr/usr.20260827171453Z.11.0_STABLE/xsrc -x release ;\
date' &\
The first build's command was the same, except that I didn't specify
an obj directory.
Short list of the release build abort. I can provide the whole list
if necessary:
cat /usr/local/src/usr/usr.20260827171453Z.11.0_STABLE/src/distrib/amd64/cdroms/bootcd/../spec-dir.in >> fs.spec
if [ ! -s fs.spec ]; then /bin/sh /usr/local/src/usr/usr.20260827171453Z.11.0_STABLE/src/etc/makespec -d cdrom . > fs.spec; else for i in amd64 source boot.cfg; do if [ -n "$i" ] && [ -e cdrom/$i ]; then /bin/sh /usr/local/src/usr/usr.20260827171453Z.11.0_STABLE/src/etc/makespec -d cdrom $i >> fs.spec; fi; done; fi
/usr/local/src/HOUSE-20260827171453Z.11.0_STABLE-amd64tools/bin/nbmakefs -N /usr/local/src/usr/usr.20260827171453Z.11.0_STABLE/src/etc -t cd9660 -F fs.spec -xx -o rockridge,label=NETBSD_110_STABLE,publisher=The_NetBSD_Project,bootimage=i386\;bootxx.amd64,no-emul-boot,allow-multidot,bootimage=i386\;efiboot.img,platformid=efi,no-emul-boot boot.iso cdrom
nbmakefs: missing specfile entry for cdrom/etc/mtree/set.gpufw
nbmakefs: Add 1 missing entries in `fs.spec'
*** Failed target: image
*** Failed command: /usr/local/src/HOUSE-20260827171453Z.11.0_STABLE-amd64tools/bin/nbmakefs -N /usr/local/src/usr/usr.20260827171453Z.11.0_STABLE/src/etc -t cd9660 -F fs.spec -xx -o rockridge,label=NETBSD_110_STABLE,publisher=The_NetBSD_Project,bootimage=i386\;bootxx.amd64,no-emul-boot,allow-multidot,bootimage=i386\;efiboot.img,platformid=efi,no-emul-boot boot.iso cdrom
*** Error code 1
Stop.
nbmake[5]: stopped making "release" in /usr/local/src/usr/usr.20260827171453Z.11.0_STABLE/src/distrib/amd64/cdroms/bootcd
*** Failed target: release-bootcd
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this="etc/amd64/cdroms/"; real="/usr/local/src/usr/usr.20260827171453Z.11.0_STABLE/src/distrib/amd64/cdroms" ;; *) this="etc/amd64/cdroms/${dir}/"; real="/usr/local/src/usr/usr.20260827171453Z.11.0_STABLE/src/distrib/amd64/cdroms/${dir}" ;; esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && /usr/local/src/HOUSE-20260827171453Z.11.0_STABLE-amd64tools/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget bootcd release
*** Error code 1
Stop.
nbmake[4]: stopped making "release" in /usr/local/src/usr/usr.20260827171453Z.11.0_STABLE/src/distrib/amd64/cdroms
*** Failed target: release-cdroms
>How-To-Repeat:
Download from nyftp, and re-compile.
>Fix:
No idea.
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: gnats-admin->install-manager
Responsible-Changed-By: dholland@NetBSD.org
Responsible-Changed-When: Sun, 01 Nov 2026 00:51:56 +0000
Responsible-Changed-Why:
Fix up broken submission
Responsible-Changed-From-To: install-manager->toolchain-manager
Responsible-Changed-By: martin@NetBSD.org
Responsible-Changed-When: Sun, 01 Nov 2026 07:44:25 +0000
Responsible-Changed-Why:
unrelated to installation issues
From: Martin Husemann <martin@duskware.de>
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: toolchain/60684 (Compiling 20260827171453Z.11.0_STABLE: Failed
target: boot.iso cdrom: image)
Date: Sun, 1 Nov 2026 08:53:59 +0100
This is hard to diagnose remotely, as all auto-builds of the netbsd-11
branch work and there is nothing special in the build.sh command line
besides the -V KERNEL_DIR=yes (which is unlikely to cause the kind
of fallout you see).
Something in the build must have gone wrong shortly before the list
of commands that you showed in the PR. You need to check everything
from first creation of fs.spec to the failure for error messages.
Martin
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.