NetBSD Problem Report #25282

Received: (qmail 7803 invoked by uid 605); 22 Apr 2004 15:00:26 -0000
Message-Id: <20040422150020.56213122F5@himo.salmi.ch>
Date: Thu, 22 Apr 2004 17:00:20 +0200 (CEST)
From: jukka-netbsd@2009.salmi.ch
Sender: gnats-bugs-owner@NetBSD.org
Reply-To: jukka-netbsd@2009.salmi.ch
To: gnats-bugs@gnats.NetBSD.org
Subject: make update UPDATE_TARGET=bin-install not working
X-Send-Pr-Version: 3.95

>Number:         25282
>Notify-List:    <j+nbsd@2006.salmi.ch>
>Category:       pkg
>Synopsis:       make update UPDATE_TARGET=bin-install not working
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Apr 22 15:01:00 +0000 2004
>Closed-Date:    Tue Mar 26 13:18:17 +0000 2013
>Last-Modified:  Tue Mar 26 13:18:17 +0000 2013
>Originator:     Jukka Salmi
>Release:        NetBSD 2.0C
>Organization:
>Environment:
System: NetBSD himo.salmi.ch 2.0C NetBSD 2.0C (GENERIC) #0: Mon Apr 19 23:42:44 CEST 2004 build@himo.salmi.ch:/build/nbsdc/usr/src/sys/arch/i386/compile/GENERIC i386
Architecture: i386
Machine: i386
>Description:
When setting UPDATE_TARGET=bin-install, make update doesn't work. Given three
packages a, b and c where b depends on a, c depends on b. If a is updated
and UPDATE_TARGET is set to bin-install, the following happens:
- all packages are removed (pkg_delete -f)
- package a is rebuilt from source (or a binary packages is installed if
  available)
- packages b and c are not reinstalled because real-su-bin-install calls
  'make clean' if 'make package' successfully returns (see line 4051 in
  pkgsrc/mk/bsd.pkg.mk), and so a/work/.DDIR is also removed.
>How-To-Repeat:
call 'make update UPDATE_TARGET=bin-install' for a package which has
dependencies. Those dependencies are not installed after the update.
>Fix:
Not sure, but real-su-bin-install should definitely not call 'make clean'
right after 'make package'.
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: pkg-manager->rillig
Responsible-Changed-By: joerg@netbsd.org
Responsible-Changed-When: Wed, 04 Oct 2006 16:29:19 +0000
Responsible-Changed-Why:
Roland, you looked at the code already. Can you check this?


From: Jukka Salmi <j+nbsd@2006.salmi.ch>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/25282 (make update UPDATE_TARGET=bin-install not working)
Date: Wed, 4 Oct 2006 18:45:44 +0200

 FYI: I havent tried to reproduce the problem for a long time. I'll do
 so ASAP.

 The mail address I used when I sent the PR is no longer valid. Pleas
 use this address instead.


 Regards, Jukka

 -- 
 If fifty million people say a foolish thing,
 it is still a foolish thing.

 	Anatole France

Responsible-Changed-From-To: rillig->pkg-manager
Responsible-Changed-By: rillig@NetBSD.org
Responsible-Changed-When: Fri, 20 Nov 2009 11:33:13 +0000
Responsible-Changed-Why:
I don't have time to fix this.


State-Changed-From-To: open->closed
State-Changed-By: bsiegert@NetBSD.org
State-Changed-When: Tue, 26 Mar 2013 13:18:17 +0000
State-Changed-Why:
AFAICS, this is obsolete since the switch to "make package-install"
and destdir installs.


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