[Bug 200164] bsd.openssl.mk uses a call to pkg(8) without a full path.

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed May 13 07:32:45 UTC 2015


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200164

            Bug ID: 200164
           Summary: bsd.openssl.mk uses a call to pkg(8) without a full
                    path.
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Ports Framework
          Assignee: portmgr at FreeBSD.org
          Reporter: kpaasial at gmail.com
                CC: freebsd-ports-bugs at FreeBSD.org

Ports tree head at 386194. Running a 'make all-depends-list' in an 'env -i'
environment produces errors from bsd.openssl.mk from line 102 (This was run on
net/mtr):

pkg: not found
make[2]: "/poudriere/ports/default/Mk/bsd.openssl.mk" line 102: warning:
"/usr/local/sbin/pkg-static info -g -ql security/openssl | grep "^`pkg query
"%p" security/openssl`/lib/libcrypto.so.[0-9]*$"" returned non-zero status

This is clearly caused by the 'pkg query' command because with 'env -i'
/usr/local/sbin is not in $PATH and the command is not found.

The 'pkg query' command needs to be changed to '/usr/local/sbin/pkg query'.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-ports-bugs mailing list