[Bug 283047] ports-mgmt/portlint: "contiguous blank lines (> 1 lines) found" points to wrong line

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 30 Nov 2024 12:24:45 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=283047

            Bug ID: 283047
           Summary: ports-mgmt/portlint: "contiguous blank lines (> 1
                    lines) found" points to wrong line
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: marcus@FreeBSD.org
          Reporter: gerald@FreeBSD.org
          Assignee: marcus@FreeBSD.org
             Flags: maintainer-feedback?(marcus@FreeBSD.org)

Created attachment 255542
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=255542&action=edit
Sample Makefile (reduced from devel/raknet, beyond what I did for bug #283046)

Running portlint -C on the sample Makefile provided results in

  FATAL: Makefile: [18]: contiguous blank lines (> 1 lines) found.

whereas the two contiguous blank lines are lines 20 and 21.


(I believe this may be partly related to the MASTER_SITES entry which
has is two lines combined with \ at the end of the first. Even removing
that points to line 18 instead of 19 and 20, though.)

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