NetBSD Problem Report #25282

Received: (qmail 7803 invoked by uid 605); 22 Apr 2004 15:00:26 -0000
Message-Id: <>
Date: Thu, 22 Apr 2004 17:00:20 +0200 (CEST)
Subject: make update UPDATE_TARGET=bin-install not working
X-Send-Pr-Version: 3.95

>Number:         25282
>Notify-List:    <>
>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
System: NetBSD 2.0C NetBSD 2.0C (GENERIC) #0: Mon Apr 19 23:42:44 CEST 2004 i386
Architecture: i386
Machine: i386
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
- 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/, and so a/work/.DDIR is also removed.
call 'make update UPDATE_TARGET=bin-install' for a package which has
dependencies. Those dependencies are not installed after the update.
Not sure, but real-su-bin-install should definitely not call 'make clean'
right after 'make package'.
Responsible-Changed-From-To: pkg-manager->rillig
Responsible-Changed-When: Wed, 04 Oct 2006 16:29:19 +0000
Roland, you looked at the code already. Can you check this?

From: Jukka Salmi <>
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-When: Fri, 20 Nov 2009 11:33:13 +0000
I don't have time to fix this.

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


NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD:,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.