NetBSD Problem Report #151
From gnats Thu Mar 3 12:00:38 1994
Received: from wonderland.org (root@alice.wonderland.org [193.195.141.1]) by sun-lamp.cs.berkeley.edu (8.6.5/8.6.5) with ESMTP id MAA18787 for <gnats-bugs@sun-lamp.cs.berkeley.edu>; Thu, 3 Mar 1994 12:00:30 -0800
Message-Id: <199403032000.TAA02576@wonderland.org>
Date: Thu, 3 Mar 1994 20:00:00 GMT
From: peter@wonderland.org
Reply-To: peter@wonderland.org
To: gnats-bugs@sun-lamp.cs.berkeley.edu
Subject: "make distribution" fails if mtree exits with error
X-Send-Pr-Version: 3.2
>Number: 151
>Category: misc
>Synopsis: If mtree fails when building install tree, make exits
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: gnats-admin
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Mar 03 12:05:01 +0000 1994
>Closed-Date: Fri Mar 04 00:49:10 +0000 1994
>Last-Modified: Thu Jan 02 18:11:30 +0000 2014
>Originator: Peter Galbavy
>Release: 0.9a 3/3/93
>Organization:
Wonderland
>Environment:
486DX as usual
System: NetBSD alice.wonderland.org 0.9a ALICE#0 i386
>Description:
If I usr "make distribution" in src/etc, and mtree exists because something
was corrected, then the make fails.
>How-To-Repeat:
*DANGEROUS COMMAND BELOW*
cd .../src/etc ; make distribution DESTDIR=/
>Fix:
maybe use "-mtree ..." in the distrib-dirs rule. However this may
break things if there reall is an error.
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed
State-Changed-By: cgd
State-Changed-When: Thu Mar 3 16:49:10 PST 1994
State-Changed-Why:
not a bug. my reply (via e-mail):
this is not a bug. there's no reason that mtree should have to
correct any of the permissions on the directories.
If you'll notice, it *doesn't* barf when it has to *create* the
directories, only if it has to change the permissions on them.
If it has to change the permissions on them, then something else
happened wrong someplace -- e.g. in a previous 'make distribution'
into that DESTDIR, something clobbered the correct permissions
on the directory in question.
>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.