From nobody@FreeBSD.org  Sat Jun 25 17:15:54 2011
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 99FD8106564A
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 25 Jun 2011 17:15:54 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id 8A3548FC0C
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 25 Jun 2011 17:15:54 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.4/8.14.4) with ESMTP id p5PHFsk3069946
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 25 Jun 2011 17:15:54 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id p5PHFsVg069945;
	Sat, 25 Jun 2011 17:15:54 GMT
	(envelope-from nobody)
Message-Id: <201106251715.p5PHFsVg069945@red.freebsd.org>
Date: Sat, 25 Jun 2011 17:15:54 GMT
From: Dieter <freebsd@sopwith.solgatos.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: pkg_add does not search entire PKG_PATH for dependencies
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         158296
>Category:       bin
>Synopsis:       pkg_add(1) does not search entire PKG_PATH for dependencies
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    portmgr
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jun 25 17:20:07 UTC 2011
>Closed-Date:    Wed May 28 15:02:01 UTC 2014
>Last-Modified:  Wed May 28 15:02:01 UTC 2014
>Originator:     Dieter
>Release:        8.2
>Organization:
>Environment:
8.2 amd64
>Description:
Problem 1:
"pkg_add foo" does not try foo.tbz foo.tgz or foo.tar in the current directory.
(It does try the suffixes when searching PKG_PATH.)  Workaround: supply
the complete filename on the command line.

Problem 2:
"pkg_add foo" searches PKG_PATH for foo, but if foo depends on bar,
pkg_add only searches the 1st component of PKG_PATH for bar.

Problem 3:
pkg_add searches ../All/  but this is not documented in the man page,
and there should probably be a way to turn it off if desired.

>How-To-Repeat:
Set PKG_PATH so that a dependency is in the 2nd or later component.
Run pkg_add under truss and watch it not search 2nd or later components
for the dependency.


>Fix:


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->portmgr 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Thu Jun 30 02:46:50 UTC 2011 
Responsible-Changed-Why:  
reclassify and assign. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=158296 
State-Changed-From-To: open->closed 
State-Changed-By: bapt 
State-Changed-When: Wed May 28 15:02:00 UTC 2014 
State-Changed-Why:  
pkg_install is not being worked on anymore 

http://www.freebsd.org/cgi/query-pr.cgi?pr=158296 
>Unformatted:
