Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 May 2015 07:32:45 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 200164] bsd.openssl.mk uses a call to pkg(8) without a full path.
Message-ID:  <bug-200164-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
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@FreeBSD.org
          Reporter: kpaasial@gmail.com
                CC: freebsd-ports-bugs@FreeBSD.org

Ports tree head@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-200164-13>