Subject: pkg/35773: bumping PKGREVISION fails to rebuild automagically
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <bad@bsd.de>
List: pkgsrc-bugs
Date: 02/21/2007 23:05:00
>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: