[Bug 218672] ports-mgmt/portlint: false positive "possible direct use of command "python" found" for OPTION_USES statements

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Apr 15 05:58:29 UTC 2017


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

            Bug ID: 218672
           Summary: ports-mgmt/portlint: false positive "possible direct
                    use of command "python" found" for OPTION_USES
                    statements
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: marcus at FreeBSD.org
          Reporter: gerald at FreeBSD.org
             Flags: maintainer-feedback?(marcus at FreeBSD.org)
          Assignee: marcus at FreeBSD.org

After recent changes to lang/gcc6 and other ports by miwi (which fixed
an actually problem) I am now seeing

~/ports/lang/gcc6> portlint
WARN: Makefile: [48]: possible direct use of command "python" found.
use ${PYTHON_CMD} instead.

This complains about 
  JAVA_USES=              python shebangfix
where JAVA is one of the OPTIONS of this port and USES=python is one
of the common uses of USES= and in general the OPTION_USES helper.

To fix this, probably best ignore "[[:letter:]]_USES=.*python" for this
warning?

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list