NetBSD Problem Report #42702

From www@NetBSD.org  Sat Jan 30 09:39:03 2010
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by www.NetBSD.org (Postfix) with ESMTP id AA09263BBAC
	for <gnats-bugs@gnats.NetBSD.org>; Sat, 30 Jan 2010 09:39:03 +0000 (UTC)
Message-Id: <20100130093903.3EFE763B886@www.NetBSD.org>
Date: Sat, 30 Jan 2010 09:39:03 +0000 (UTC)
From: eau@phear.org
Reply-To: eau@phear.org
To: gnats-bugs@NetBSD.org
Subject: ./build.sh release  with some options in mk.conf fail!
X-Send-Pr-Version: www-1.0

>Number:         42702
>Category:       port-amd64
>Synopsis:       ./build.sh release  with some options in mk.conf fail!
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    lukem
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jan 30 09:40:00 +0000 2010
>Closed-Date:    Sat Jun 10 07:26:56 +0000 2023
>Last-Modified:  Sat Jun 10 07:26:56 +0000 2023
>Originator:     Eric Auge
>Release:        netbsd 5.0.1
>Organization:
>Environment:
NetBSD foobsd.no.phear.org 5.0.1 NetBSD 5.0.1 (GENERIC) #0: Thu Jul 30 00:08:07 UTC 2009 builds@b7.netbsd.org:/home/builds/ab/netbsd-5-0-1-RELEASE/amd64/200907292356Z-obj/home/builds/ab/netbsd-5-0-1-RELEASE/src/sys/arch/amd64/compile/GENERIC amd64
>Description:
build.sh -m amd64 release cleaned and rebuilt from scratch fails with the following issue:

[...]
chmod +w bootxx.amd64
/usr/src/../amd64.tools/bin/nbinstallboot -mamd64 -e -o console=com0 bootxx.amd64
nbinstallboot: Invalid magic in exiting bootstrp
nbinstallboot: Edit bootstrap operation failed
*** Failed command: /usr/src/../amd64.tools/bin/nbinstallboot -mamd64 -e -o console=com0 bootxx.amd64
*** Error code 1

Stop.
nbmake: stopped in /usr/src/distrib/amd64/cdroms/bootcd-com

*** Failed target: release-bootcd-com
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this="etc/amd64/cdroms/"; real="/usr/src/distrib/amd64/cdroms" ;; *) this="etc/amd64/cdroms/${dir}/"; real="/usr/src/distrib/amd64/cdroms/${dir}" ;; esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && /usr/src/../amd64.tools/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget bootcd-com release
*** Error code 1

Stop.
[...]
>How-To-Repeat:
my mk.conf is the following:

MKDOC=yes
MKDYNAMICROOT=yes
MKGCC=yes
MKGCCCMDS=yes
MKGDB=yes
MKHESIOD=yes
MKMAN=yes
MKHTML=yes
MKPIE=yes
MKSKEY=yes
MKIPFILTEr=no
MKYP=no
MKSTRIPIDENT=yes
USE_SSP=yes


and i do the following 
cd /usr/src
./build.sh -m amd64 -T ../amd64.tools -O ../amd64.obj -R ../amd64.release release

This is running in a virtualbox vm, i use it for cross compiling systems for updating various box on different arch (cobalt/macppc/sparc64/amd64)


>Fix:

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: port-amd64-maintainer->lukem
Responsible-Changed-By: lukem@NetBSD.org
Responsible-Changed-When: Wed, 24 May 2023 10:49:59 +0000
Responsible-Changed-Why:


State-Changed-From-To: open->feedback
State-Changed-By: lukem@NetBSD.org
State-Changed-When: Wed, 24 May 2023 10:49:59 +0000
State-Changed-Why:
Is this still an issue with -current (or netbsd-10) for you?
BTW: MKIPFILTEr looks like a typo - probably meant to be MKIPFILTER


State-Changed-From-To: feedback->closed
State-Changed-By: lukem@NetBSD.org
State-Changed-When: Sat, 10 Jun 2023 07:26:56 +0000
State-Changed-Why:
Unable to reproduce.
NetBSD 5.x has been EOL since 2015.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: gnats-precook-prs,v 1.4 2018/12/21 14:20:20 maya Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.