NetBSD Problem Report #57639
From www@netbsd.org Sun Oct 1 16:29:07 2023
Return-Path: <www@netbsd.org>
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))
(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
by mollari.NetBSD.org (Postfix) with ESMTPS id D73C61A9238
for <gnats-bugs@gnats.NetBSD.org>; Sun, 1 Oct 2023 16:29:06 +0000 (UTC)
Message-Id: <20231001162905.67F251A923A@mollari.NetBSD.org>
Date: Sun, 1 Oct 2023 16:29:05 +0000 (UTC)
From: campbell+netbsd@mumble.net
Reply-To: campbell+netbsd@mumble.net
To: gnats-bugs@NetBSD.org
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
>Organization:
The NetBuild.sh Foundation
>Environment:
>Description:
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.
>How-To-Repeat:
cd $NETBSDSRCDIR && build.sh ... distribution
cd $DESTDIR/dev && sh MAKEDEV all
cd $NETBSDSRCDIR && build.sh ... distribution
>Fix:
Yes, please!
(Contact us)
$NetBSD: query-full-pr,v 1.47 2022/09/11 19:34:41 kim Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2023
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.