NetBSD Problem Report #50004
From martin@duskware.de Sat Jun 27 07:45:27 2015
Return-Path: <martin@duskware.de>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
by mollari.NetBSD.org (Postfix) with ESMTPS id 9D46EA65D4
for <gnats-bugs@gnats.NetBSD.org>; Sat, 27 Jun 2015 07:45:27 +0000 (UTC)
Date: Sat, 27 Jun 2015 09:45:24 CEST
From: martin@NetBSD.org
Reply-To: martin@NetBSD.org
To: gnats-bugs@NetBSD.org
Subject: postinstall can not fix missing NetBSD.dist.compat
X-Send-Pr-Version: 3.95
>Number: 50004
>Category: toolchain
>Synopsis: postinstall can not fix missing NetBSD.dist.compat
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: toolchain-manager
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Jun 27 07:50:00 +0000 2015
>Closed-Date: Sun Jun 28 09:30:54 +0000 2015
>Last-Modified: Sun Jun 28 09:35:00 +0000 2015
>Originator: Martin Husemann
>Release: NetBSD 7.99.19
>Organization:
The NetBSD Foundation, Inc.
>Environment:
System: NetBSD night-owl.duskware.de 7.99.19 NetBSD 7.99.19 (NIGHT-OWL) #335: Fri Jun 26 19:48:00 CEST 2015 martin@night-owl.duskware.de:/usr/src/sys/arch/amd64/compile/NIGHT-OWL amd64
Architecture: x86_64
Machine: amd64
>Description:
After updateing -current from a version w/o etc/mtree/NetBSD.commpat.dist to
a version which has it, postinstall(1) fails:
+ make -s -C /usr/src//etc/mtree 'emit_dist_file'
cat: NetBSD.dist.compat: No such file or directory
+ 'MTREE_DIR=/tmp/_postinstall.17950.0'
and postinstall has no "fix" for the missing file either.
>How-To-Repeat:
see above
>Fix:
Create a "make_compat_distfile" make target and also make the use of
NetBSD.compat.dist optional in the makefile?
>Release-Note:
>Audit-Trail:
From: "Martin Husemann" <martin@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/50004 CVS commit: src/etc/mtree
Date: Sun, 28 Jun 2015 09:28:47 +0000
Module Name: src
Committed By: martin
Date: Sun Jun 28 09:28:46 UTC 2015
Modified Files:
src/etc/mtree: Makefile
Log Message:
Guard a few $MK... != "no" tests by an additional defined(MK...) clause
and make the emit_dist_file target depend on EXTRA_DIST_FILES.
Part of fixing PR toolchain/50004.
To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 src/etc/mtree/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
State-Changed-From-To: open->closed
State-Changed-By: martin@NetBSD.org
State-Changed-When: Sun, 28 Jun 2015 09:30:54 +0000
State-Changed-Why:
should be fixed now
From: "Martin Husemann" <martin@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/50004 CVS commit: src/usr.sbin/postinstall
Date: Sun, 28 Jun 2015 09:29:58 +0000
Module Name: src
Committed By: martin
Date: Sun Jun 28 09:29:58 UTC 2015
Modified Files:
src/usr.sbin/postinstall: postinstall
Log Message:
Pass AWK to make when invoking emit_dist_file.
Part of fixing PR toolchain/50004.
To generate a diff of this commit:
cvs rdiff -u -r1.192 -r1.193 src/usr.sbin/postinstall/postinstall
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.