[Bug 255520] ports-mgmt/portlint: portlint-2.19.5 report FATAL of comment section

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Apr 30 21:33:08 UTC 2021


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

            Bug ID: 255520
           Summary: ports-mgmt/portlint: portlint-2.19.5 report FATAL of
                    comment section
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: marcus at FreeBSD.org
          Reporter: tatsuki_makino at hotmail.com
             Flags: maintainer-feedback?(marcus at FreeBSD.org)
          Assignee: marcus at FreeBSD.org

After $FreeBSD$ is removed, the Makefile with PORTNAME on the 1st line will
have FATAL about the section.

Example from multimedia/libopenshot
> portlint /usr/ports/multimedia/libopenshot/
FATAL: Makefile: non-comment line in comment section.
FATAL: Makefile: extra item "MAINTAINER" placed in the PORTNAME section.
FATAL: Makefile: extra item "COMMENT" placed in the PORTNAME section.
FATAL: Makefile: PORTNAME has to be there.
WARN: Makefile: PORTVERSION/DISTVERSION is set externally to this port's
Makefile, but this port is not configured as a slave port.
WARN: Makefile: CATEGORIES is set externally to this port's Makefile, but this
port is not configured as a slave port.
FATAL: Makefile: extra item "LICENSE" placed in the MAINTAINER section.
FATAL: Makefile: extra item "LICENSE_FILE" placed in the MAINTAINER section.
WARN: Makefile: COMMENT is set externally to this port's Makefile, but this
port is not configured as a slave port.
FATAL: Makefile: extra item "BUILD_DEPENDS" placed in the LICENSE section.
FATAL: Makefile: extra item "LIB_DEPENDS" placed in the LICENSE section.
8 fatal errors and 3 warnings found.

Makefiles with the comment "created by" do not cause problems.

Example from astro/geographiclib
> portlint /usr/ports/astro/geographiclib/
looks fine.

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


More information about the freebsd-ports-bugs mailing list