NetBSD Problem Report #43011
From www@NetBSD.org Fri Mar 19 12:03:39 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 BFFFF63B86C
for <gnats-bugs@gnats.NetBSD.org>; Fri, 19 Mar 2010 12:03:38 +0000 (UTC)
Message-Id: <20100319120338.5BB5C63B11D@www.NetBSD.org>
Date: Fri, 19 Mar 2010 12:03:38 +0000 (UTC)
From: dennis.c.ferguson@gmail.com
Reply-To: dennis.c.ferguson@gmail.com
To: gnats-bugs@NetBSD.org
Subject: macppc64 prebuild cleanup fails in macppc/stand/ofwboot if macppc build done before
X-Send-Pr-Version: www-1.0
>Number: 43011
>Category: port-macppc
>Synopsis: macppc64 prebuild cleanup fails in macppc/stand/ofwboot if macppc build done before
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: port-macppc-maintainer
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Mar 19 12:05:00 +0000 2010
>Closed-Date: Mon Mar 22 02:28:23 +0000 2010
>Last-Modified: Mon Mar 22 02:28:23 +0000 2010
>Originator: Dennis Ferguson
>Release: very recent 5.99.24
>Organization:
>Environment:
NetBSD acer.hk.akit-ferguson.com 5.99.24 NetBSD 5.99.24 (GENERIC) #0: Sun Mar 14 17:25:30 HKT 2010 dennis@acer.hk.akit-ferguson.com:/usr/obj/sys/arch/amd64/compile/GENERIC amd64
>Description:
If you do a
MACHINE=macppc ./build.sh distribution
and then follow it with a
MACHINE=macppc64 ./build.sh distribution
then the second build will fail trying to clean out the
sys/arch/macppc/stand/ofwboot/obj (left over from the macppc
build) because the directory ofwboot/obj/powerpc64 doesn't
exist, e.g.
cleandir ===> sys/arch/macppc/stand/ofwboot
cleaning the kern library objects
no ARCHSUBDIR for powerpc64 nor powerpc64
*** Failed target: .BEGIN
*** Failed command: false
It may also fail if you reverse the order of the builds, though
I haven't tried that.
>How-To-Repeat:
See above.
>Fix:
Just manually doing a (cd sys/arch/macppc/stand/ofwboot/obj; rm -rf *)
prior to building makes the build happy. I'm embarrassed to
say I have no idea what to fix in the build makefiles to
make them do it themselves.
>Release-Note:
>Audit-Trail:
From: matthew green <mrg@eterna.com.au>
To: gnats-bugs@NetBSD.org
Cc: port-macppc-maintainer@netbsd.org, gnats-admin@netbsd.org,
netbsd-bugs@netbsd.org
Subject: re: port-macppc/43011: macppc64 prebuild cleanup fails in macppc/stand/ofwboot if macppc build done before
Date: Mon, 22 Mar 2010 10:45:13 +1100
this one is a common problem across any platform that supports multiple
MACHINE_ARCH's as the default. you can see it on evb* if you try to build
le and be at the same time.
the workaround is to point your OBJDIR somewhere else manually. i haven't
yet figured out a way to do this, but i'm probably going to replace my
simple environment of:
MAKEOBJDIRPREFIX='/varo/bj/${MACHINE}'
with an expression on that adds $MACHINE_ARCH there for certain $MACHINE's.
.mrg.
From: Dennis Ferguson <dennis.c.ferguson@gmail.com>
To: gnats-bugs@NetBSD.org
Cc: port-macppc-maintainer@netbsd.org,
gnats-admin@netbsd.org,
netbsd-bugs@netbsd.org
Subject: Re: port-macppc/43011: macppc64 prebuild cleanup fails in macppc/stand/ofwboot if macppc build done before
Date: Mon, 22 Mar 2010 09:28:52 +0800
You can close this one without action. Making MACHINE_CPU=powerpc
(the change to share/mk/bsd.own.mk) fixes this too. Thanks.
State-Changed-From-To: open->closed
State-Changed-By: mrg@NetBSD.org
State-Changed-When: Mon, 22 Mar 2010 02:28:23 +0000
State-Changed-Why:
closed at submitters request.
>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-2007
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.