NetBSD Problem Report #50061
From www@NetBSD.org Sun Jul 19 07:30:12 2015
Return-Path: <www@NetBSD.org>
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 E852BA5858
for <gnats-bugs@gnats.NetBSD.org>; Sun, 19 Jul 2015 07:30:11 +0000 (UTC)
Message-Id: <20150719073008.BB056A6555@mollari.NetBSD.org>
Date: Sun, 19 Jul 2015 07:30:06 +0000 (UTC)
From: okuyama@flex.phys.tohoku.ac.jp
Reply-To: okuyama@flex.phys.tohoku.ac.jp
To: gnats-bugs@NetBSD.org
Subject: build release fails with MKKMOD=yes for amd64/i386/sparc64
X-Send-Pr-Version: www-1.0
>Number: 50061
>Category: install
>Synopsis: build release fails with MKKMOD=yes for amd64/i386/sparc64
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: martin
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Jul 19 07:35:01 +0000 2015
>Closed-Date: Sun Jul 19 10:17:56 +0000 2015
>Last-Modified: Sun Jul 19 11:55:00 +0000 2015
>Originator: Rin Okuyama
>Release: 7.99.20
>Organization:
Department of Physics, Tohoku University
>Environment:
NetBSD XXX 7.99.20 NetBSD 7.99.20 (XXX) #0: Sat Jul 18 23:38:38 JST 2015 root@XXX:/usr/src/sys/arch/amd64/compile/XXX amd64
>Description:
Build release fails with MKKMOD=yes for amd64, i386, or sparc64.
>How-To-Repeat:
Execute /usr/src/build.sh -m amd64 (or i386 or sparc64) release, with
MKKMOD=no in your /etc/mk.conf.
>Fix:
Check MKKMOD appropriately when building CD images.
--- src/distrib/amd64/cdroms/Makefile.cdrom.orig 2015-07-19 03:23:03.000000000 +0900
+++ src/distrib/amd64/cdroms/Makefile.cdrom 2015-07-19 03:23:40.000000000 +0900
@@ -10,7 +10,10 @@
CDINSTKERNEL= ../../instkernel
CDKERNELS= netbsd-GENERIC.gz netbsd
CDRELEASE_NOISOS= true
-CD_SETS= base etc modules
+CD_SETS= base etc
+.if ${MKKMOD} != "no"
+CD_SETS+= modules
+.endif
image_md_pre:
${RM} -f cdrom/etc/gettytab cdrom/etc/ttys cdrom/etc/rc
--- src/distrib/amd64/Makefile.orig 2015-07-19 02:42:14.000000000 +0900
+++ src/distrib/amd64/Makefile 2015-07-19 03:12:47.000000000 +0900
@@ -1,11 +1,15 @@
# $NetBSD: Makefile,v 1.9 2015/01/12 19:40:48 snj Exp $
+.include <bsd.own.mk>
+
SUBDIR=
SUBDIR+= ramdisks
SUBDIR+= .WAIT
SUBDIR+= instkernel
+.if ${MKKMOD} != "no"
SUBDIR+= kmod
SUBDIR+= kmod-cgdroot
+.endif
SUBDIR+= .WAIT
SUBDIR+= cdroms
SUBDIR+= liveimage
--- src/distrib/i386/cdroms/Makefile.cdrom.orig 2015-07-19 10:27:27.000000000 +0900
+++ src/distrib/i386/cdroms/Makefile.cdrom 2015-07-19 10:27:27.000000000 +0900
@@ -10,7 +10,10 @@
CDINSTKERNEL= ../../instkernel
CDKERNELS= netbsd-GENERIC.gz netbsd
CDRELEASE_NOISOS= true
-CD_SETS= base etc modules
+CD_SETS= base etc
+.if ${MKKMOD} != "no"
+CD_SETS+= modules
+.endif
image_md_pre:
${RM} -f cdrom/etc/gettytab cdrom/etc/ttys cdrom/etc/rc cdrom/install.sh
--- src/distrib/i386/Makefile.orig 2015-07-19 10:27:04.000000000 +0900
+++ src/distrib/i386/Makefile 2015-07-19 10:27:04.000000000 +0900
@@ -1,11 +1,15 @@
# $NetBSD: Makefile,v 1.10 2013/07/16 02:10:43 khorben Exp $
+.include <bsd.own.mk>
+
SUBDIR=
SUBDIR+= ramdisks
SUBDIR+= .WAIT
SUBDIR+= instkernel
+.if ${MKKMOD} != "no"
SUBDIR+= kmod
SUBDIR+= kmod-cgdroot
+.endif
SUBDIR+= .WAIT
SUBDIR+= cdroms
SUBDIR+= floppies
--- src/distrib/sparc64/cdroms/installcd/Makefile.orig 2015-07-19 10:28:09.000000000 +0900
+++ src/distrib/sparc64/cdroms/installcd/Makefile 2015-07-19 10:28:09.000000000 +0900
@@ -1,11 +1,14 @@
# $NetBSD: Makefile,v 1.26 2015/05/28 09:51:31 martin Exp $
+
+.include <bsd.own.mk>
+
CDBASE= sparc64cd # gives ${CDBASE}.iso
CDRELEASE= true # include $RELEASEDIR/$MACHINE
CDKERNELS= ${RELEASEDIR}/${MACHINE}/binary/kernel/netbsd-GENERIC.gz netbsd
-CD_SETS= base etc modules
-
-# for PRINTOBJDIR
-.include <bsd.own.mk>
+CD_SETS= base etc
+.if ${MKKMOD} != "no"
+CD_SETS+= modules
+.endif
SYSINSTDIR!= cd ${.CURDIR}/../../../../usr.sbin/sysinst/arch/${MACHINE} && ${PRINTOBJDIR}
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: install-manager->martin
Responsible-Changed-By: martin@NetBSD.org
Responsible-Changed-When: Sun, 19 Jul 2015 10:17:56 +0000
Responsible-Changed-Why:
I'll deal with it
State-Changed-From-To: open->closed
State-Changed-By: martin@NetBSD.org
State-Changed-When: Sun, 19 Jul 2015 10:17:56 +0000
State-Changed-Why:
Patch applied, thanks!
From: "Martin Husemann" <martin@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/50061 CVS commit: src/distrib
Date: Sun, 19 Jul 2015 10:16:56 +0000
Module Name: src
Committed By: martin
Date: Sun Jul 19 10:16:56 UTC 2015
Modified Files:
src/distrib/amd64: Makefile
src/distrib/amd64/cdroms: Makefile.cdrom
src/distrib/i386: Makefile
src/distrib/i386/cdroms: Makefile.cdrom
src/distrib/sparc64/cdroms/installcd: Makefile
Log Message:
Obey MKKMOD=no.
From Rin Okuyama in PR install/50061.
To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/distrib/amd64/Makefile
cvs rdiff -u -r1.19 -r1.20 src/distrib/amd64/cdroms/Makefile.cdrom
cvs rdiff -u -r1.10 -r1.11 src/distrib/i386/Makefile
cvs rdiff -u -r1.39 -r1.40 src/distrib/i386/cdroms/Makefile.cdrom
cvs rdiff -u -r1.26 -r1.27 src/distrib/sparc64/cdroms/installcd/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
From: Rin Okuyama <okuyama@flex.phys.tohoku.ac.jp>
To: gnats-bugs@NetBSD.org, martin@NetBSD.org, gnats-admin@netbsd.org,
netbsd-bugs@netbsd.org
Cc:
Subject: Re: PR/50061 CVS commit: src/distrib
Date: Sun, 19 Jul 2015 20:51:28 +0900
Thank you always for your quick actions!
>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.