[Bug 240359] ports-mgmt/portlint: Comments in sections (eg: USES/LICENSE) throws FATAL false positives

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Sep 6 07:11:53 UTC 2019


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

            Bug ID: 240359
           Summary: ports-mgmt/portlint: Comments in sections (eg:
                    USES/LICENSE) throws FATAL false positives
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Keywords: needs-patch, needs-qa
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: marcus at FreeBSD.org
          Reporter: koobs at FreeBSD.org
          Assignee: marcus at FreeBSD.org
             Flags: maintainer-feedback?(marcus at FreeBSD.org)

The following block:

LICENSE=        MIT
#LICENSE_FILE=  Not yet packaged in sdist

# Actually 2.7, 3.4+
USES=           python
USE_PYTHON=     autoplist distutils


Results in the following portlint output:

===> Validating port with portlint
FATAL: Makefile: extra item "USES" placed in the LICENSE section.
FATAL: Makefile: extra item "USE_PYTHON" placed in the LICENSE section.
2 fatal errors and 0 warnings found.

Expected outcome:

looks fine.

This issue may be more generic in nature, and exhibit itself in other rules
relating to block/section identification or order

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


More information about the freebsd-ports-bugs mailing list