Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 06 Sep 2019 07:11:51 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 240359] ports-mgmt/portlint: Comments in sections (eg: USES/LICENSE) throws FATAL false positives
Message-ID:  <bug-240359-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D240359

            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@FreeBSD.org
          Reporter: koobs@FreeBSD.org
          Assignee: marcus@FreeBSD.org
             Flags: maintainer-feedback?(marcus@FreeBSD.org)

The following block:

LICENSE=3D        MIT
#LICENSE_FILE=3D  Not yet packaged in sdist

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


Results in the following portlint output:

=3D=3D=3D> 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

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



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