NetBSD Problem Report #40156
From www@NetBSD.org Fri Dec 12 02:48:57 2008
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
by narn.NetBSD.org (Postfix) with ESMTP id 5504463B89C
for <gnats-bugs@gnats.netbsd.org>; Fri, 12 Dec 2008 02:48:57 +0000 (UTC)
Message-Id: <20081212024857.2122163B121@narn.NetBSD.org>
Date: Fri, 12 Dec 2008 02:48:57 +0000 (UTC)
From: lloyd@must-have-coffee.gen.nz
Reply-To: lloyd@must-have-coffee.gen.nz
To: gnats-bugs@NetBSD.org
Subject: sys/rump isn't cleaned by make cleandir
X-Send-Pr-Version: www-1.0
>Number: 40156
>Category: misc
>Synopsis: sys/rump isn't cleaned by make cleandir
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: misc-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Dec 12 02:50:01 +0000 2008
>Last-Modified: Mon Feb 22 04:55:00 +0000 2010
>Originator: Lloyd Parkes
>Release: NetBSD 5.0_BETA
>Organization:
Must Have Coffee
>Environment:
NetBSD netbsd.os.ird.govt.nz 5.0_BETA NetBSD 5.0_BETA (GENERIC) #0: Thu Nov 20 12:21:11 NZDT 2008 lloyd@netbsd.os.ird.govt.nz:/vol/build/obj/sys/arch/i386/compile/GENERIC i386
>Description:
"make cleandir" doesn't clean out OBJ/sys/rump.
>How-To-Repeat:
./build.sh -O /vol/build/obj -T /vol/build/tools -m macppc -U release
./build.sh -O /vol/build/obj -T /vol/build/tools -m i386 -U release
Watch the latter fail as it tries to link macppc objects into i386 libraries.
Also, run "./build.sh -O /vol/build/obj -T /vol/build/tools -m i386 -U cleandir" and then run "find /vol/build/obj/ -type f|less".
>Fix:
Maybe change ".if make(obj)" in sys/Makefile to ".if make(obj) || make(cleandir)".
>Audit-Trail:
From: Paul Goyette <paul@whooppee.com>
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: misc/40156
Date: Sun, 21 Feb 2010 20:53:01 -0800 (PST)
While trying to reproduce this on current code, I noticed that a
"build.sh cleandir" also does not properly clean $OBJDIR/external
{249} find /build/netbsd-local/obj/amd64 -type f | more
/build/netbsd-local/obj/amd64/external/bsd/libarchive/lib/archive_check_magic.d
/build/netbsd-local/obj/amd64/external/bsd/libarchive/lib/archive_entry.d
/build/netbsd-local/obj/amd64/external/bsd/libarchive/lib/archive_entry_copy_stat.d
(and lots lots lots more)
-------------------------------------------------------------------------
| Paul Goyette | PGP DSS Key fingerprint: | E-mail addresses: |
| Customer Service | FA29 0E3B 35AF E8AE 6651 | paul at whooppee.com |
| Network Engineer | 0786 F758 55DE 53BA 7731 | pgoyette at juniper.net |
| Kernel Developer | | pgoyette at netbsd.org |
-------------------------------------------------------------------------
(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.