Subject: pkg/23201: Problems with dependency handling
To: None <gnats-bugs@gnats.netbsd.org>
From: None <kristerw@netbsd.org>
List: netbsd-bugs
Date: 10/19/2003 23:48:18
>Number:         23201
>Category:       pkg
>Synopsis:       Problems with dependency handling
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Oct 19 23:49:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     Krister Walfridsson
>Release:        NetBSD 1.6.1
>Organization:
	
>Environment:
	
	
>Description:
Something seems to be wrong in the dependency checking (when
ONLY_FOR_PLATFORM is involved?)

I see this when trying to build security/rc5des on my NetBSD/shark
1.6.1 (or on NetBSD/i386 after removing support for i386 from the
ONLY_FOR_PLATFORM line in emulators/compat14/Makefile):

   ===> Extracting for rc5des-0.4nb1
   ===> Required package compat14-[0-9]*: NOT found
   ===> Verifying reinstall for ../../emulators/compat14
   ===> compat14-1.4.3.1 is not available for NetBSD-1.6.1-arm
   ===> Returning to build of rc5des-0.4nb1
   ===> Required installed package compat13-[0-9]*: compat13-1.3.3 found
   ===> Required package compat12-[0-9]*: NOT found
   ===> Verifying reinstall for ../../emulators/compat12
   ===> compat12-1.2.1 is not available for NetBSD-1.6.1-arm
   ===> Returning to build of rc5des-0.4nb1
   ===> Patching for rc5des-0.4nb1
   ===> Applying pkgsrc patches for rc5des-0.4nb1
   ===> Overriding tools for rc5des-0.4nb1
   ===> Building for rc5des-0.4nb1
   [...]

Note that the required packages compat14-[0-9]* and compat12-[0-9]* are
not available for NetBSD-1.6.1-arm, but the build continues anyway.
And installing the package rc5des gives a bunch of 

   pkg_info: unable to open +CONTENTS file: No such file or directory

errors.

>How-To-Repeat:
	
>Fix:
	
>Release-Note:
>Audit-Trail:
>Unformatted:
 		pkgsrc as of 19 Oct 2003