NetBSD Problem Report #35773

From bad@atsec.com  Wed Feb 21 23:01:14 2007
Return-Path: <bad@atsec.com>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by narn.NetBSD.org (Postfix) with ESMTP id 1310E63B879
	for <gnats-bugs@gnats.netbsd.org>; Wed, 21 Feb 2007 23:01:14 +0000 (UTC)
Message-Id: <20070221230058.A0CEE13A7@nervous-energy.atsec.com>
Date: Thu, 22 Feb 2007 00:00:58 +0100 (MET)
From: bad@bsd.de
Reply-To: bad@bsd.de
To: gnats-bugs@NetBSD.org
Subject: bumping PKGREVISION fails to rebuild automagically
X-Send-Pr-Version: 3.95

>Number:         35773
>Category:       pkg
>Synopsis:       bumping PKGREVISION fails to rebuild automagically
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Feb 21 23:05:00 +0000 2007
>Originator:     Christoph Badura
>Release:        NetBSD 3.1_STABLE
>Organization:

>Environment:
pkgsrc as of 2007-02-19


System: NetBSD nervous-energy 3.1_STABLE NetBSD 3.1_STABLE (nervous-energy) #1: Sat Dec 9 18:29:31 MET 2006 root@nervous-energy:/m/obj/m/src/sys/arch/i386/compile/nervous-energy i386
Architecture: i386
Machine: i386
>Description:
the pkgsrc make magic detects when a WRKDIR has different version of the
package then what the pkg Makefile claims and tries to clean and rebuild
the WRKDIR.

It does the cleaning but forgets to do the rebuild:

WARNING: Package version argus3-clients-3.0.0rc39 in /m/pkgobj/local/argus3-clie
nts/work.i386
WARNING: Current version argus3-clients-3.0.0rc39nb1 in local/argus3-clients
WARNING: Cleaning and rebuilding argus3-clients-3.0.0rc39nb1...
===> Cleaning for argus3-clients-3.0.0rc39nb1
===> Installing for argus3-clients-3.0.0rc39nb1
=> Becoming ``root'' to make su-install-all (sudo)
cd: can't cd to /m/pkgobj/local/argus3-clients/work.i386/argus-clients-3.0.0.rc.
39
*** Error code 2

Stop.

>How-To-Repeat:
	cd to random pkg directory
	make
	bump PKGREVISION
	make install
>Fix:

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(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.