Date: Sat, 25 Jun 2011 17:15:54 GMT From: Dieter <freebsd@sopwith.solgatos.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/158296: pkg_add does not search entire PKG_PATH for dependencies Message-ID: <201106251715.p5PHFsVg069945@red.freebsd.org> Resent-Message-ID: <201106251720.p5PHK89g000114@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201106251715.p5PHFsVg069945>