ports/158296: pkg_add does not search entire PKG_PATH for dependencies

Dieter freebsd at sopwith.solgatos.com
Sat Jun 25 17:20:08 UTC 2011


>Number:         158296
>Category:       ports
>Synopsis:       pkg_add does not search entire PKG_PATH for dependencies
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jun 25 17:20:07 UTC 2011
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:



More information about the freebsd-ports-bugs mailing list