NetBSD Problem Report #57639

From  Sun Oct  1 16:29:07 2023
Return-Path: <>
Received: from ( [])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	(Client CN "", Issuer " CA" (not verified))
	by (Postfix) with ESMTPS id D73C61A9238
	for <>; Sun,  1 Oct 2023 16:29:06 +0000 (UTC)
Message-Id: <>
Date: Sun,  1 Oct 2023 16:29:05 +0000 (UTC)
Subject: MAKEDEV in destdir causes checkflist to fail
X-Send-Pr-Version: www-1.0

>Number:         57639
>Category:       misc
>Synopsis:       MAKEDEV in destdir causes checkflist to fail
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    misc-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Oct 01 16:30:01 +0000 2023
>Originator:     Taylor R Campbell
>Release:        current
The Foundation
checkflist appears to ignore device nodes under $DESTDIR/dev, but not directories or symlinks, so running MAKEDEV in $DESTDIR/dev (in order to make it work as a functional chroot, e.g. with /dev/null, /dev/stdin, &c.) has the effect of breaking checkflist.  This is annoying for iterating development and testing in a chroot.
cd $NETBSDSRCDIR && ... distribution
cd $DESTDIR/dev && sh MAKEDEV all
cd $NETBSDSRCDIR && ... distribution
Yes, please!

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.47 2022/09/11 19:34:41 kim Exp $
$NetBSD:,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2023 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.