From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Jun 25 17:20:08 2011 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 621E51065679 for ; Sat, 25 Jun 2011 17:20:08 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 26A1A8FC0C for ; Sat, 25 Jun 2011 17:20:08 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p5PHK8PN000115 for ; Sat, 25 Jun 2011 17:20:08 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p5PHK89g000114; Sat, 25 Jun 2011 17:20:08 GMT (envelope-from gnats) Resent-Date: Sat, 25 Jun 2011 17:20:08 GMT Resent-Message-Id: <201106251720.p5PHK89g000114@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Dieter Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 99FD8106564A for ; 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 ; 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 ; 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 To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/158296: pkg_add does not search entire PKG_PATH for dependencies X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Jun 2011 17:20:08 -0000 >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: