NetBSD Problem Report #8396

Received: (qmail 8618 invoked from network); 13 Sep 1999 11:46:48 -0000
Message-Id: <199909131134.NAA14392@labitzke.isdn.cs.tu-berlin.de>
Date: Mon, 13 Sep 1999 13:34:45 +0200 (CEST)
From: Bjoern Labitzke <hermit@cs.tu-berlin.de>
Reply-To: Bjoern Labitzke <hermit@cs.tu-berlin.de>
To: gnats-bugs@gnats.netbsd.org
Subject: USE-MOTIF vs DEPENDS for updating packages
X-Send-Pr-Version: 3.95

>Number:         8396
>Category:       pkg
>Synopsis:       USE_MOTIF vs DEPENDS for updating packages
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    rh
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Sep 13 04:50:00 +0000 1999
>Closed-Date:    Wed Sep 15 05:41:04 +0000 1999
>Last-Modified:  Wed Sep 15 05:42:43 +0000 1999
>Originator:     Bjoern Labitzke
>Release:        -current 12.9.1999 <NetBSD-current source date>
>Organization:
Bjoern Labitzke  <hermit@cs.tu-berlin.de>
   Use PGP! (Don't you use envelopes for your letters?)
>Environment:

System: NetBSD labitzke.isdn.cs.tu-berlin.de 1.4K NetBSD 1.4K (LABITZKE) #2: Mon Sep 13 03:02:58 CEST 1999 hermit@labitzke.isdn.cs.tu-berlin.de:/usr/src/sys/arch/i386/compile/LABITZKE i386


>Description:
I just tried a make update in pkgsrc/x11/lesstif. It seemed to work with one
exception: nedit was not deleted prior to the update, xmcd was. Therefor I
assume that there is a difference between a dependency of a package on
MOTIF/Lesstif to a real dependency declared by a DEPENDS line. The package
system could figure out that nedit depends on the lesstif package and is
affected by the update, but probably the necessary information for the
recursive pkg_delete was not in the pkg-db.

This problem resulted in the error that the system tried to install nedit
without deleting it first.

>How-To-Repeat:
Install lesstif and nedit. Update lesstif.

>Fix:
Perhaps packages depending on MOTIF have to add some data to the pkg-db as
a DEPENDS line seems to do?

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: tron 
State-Changed-When: Mon Sep 13 09:34:03 PDT 1999 
State-Changed-Why:  
"USE_MOTIF" definitily register a dependence on a "lesstiff" package installed 
at build time: 
Information for nedit-5.0.2: 
[...] 
Requires: 
lesstif-0.88.9 
[...] 
At the time when you built "nedit" there was probably no properly installed 
"lesstif" package. Please check if the registration worked after you 
recompiled "nedit". 
Responsible-Changed-From-To: pkg-manager->rh 
Responsible-Changed-By: tron 
Responsible-Changed-When: Mon Sep 13 23:19:47 PDT 1999 
Responsible-Changed-Why:  
"USE_MOTIF" works as expected. This is a problem with the "update" target. 
State-Changed-From-To: feedback->closed 
State-Changed-By: rh 
State-Changed-When: Tue Sep 14 22:41:04 PDT 1999 
State-Changed-Why:  
This problem has been fixed.  An updated version of bsd.pkg.mk 
should be available via ftp, sup, and cvs soon. 
>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.