Bug 246881

Summary: ports-mgmt/portlint: Modification of a read-only value attempted at portlint line 1977.
Product: Ports & Packages Reporter: Gerald Pfeifer <gerald>
Component: Individual Port(s)Assignee: Joe Marcus Clarke <marcus>
Status: Closed FIXED    
Severity: Affects Some People Flags: bugzilla: maintainer-feedback? (marcus)
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   

Description Gerald Pfeifer freebsd_committer freebsd_triage 2020-05-30 21:34:16 UTC
I'm afraid the new 2.19.0 portlint brought some regressions.

For example, running `portlint -C` in lang/gcc10-devel or
emulators/wine-devel results in (and seems to abort early):

  Modification of a read-only value attempted at portlint line 1977.

The line in question reads

  my $srex = chomp($1);

This is with Perl 5.26.3, for example on ref11-i386.
Comment 1 commit-hook freebsd_committer freebsd_triage 2020-05-30 23:16:13 UTC
A commit references this bug:

Author: marcus
Date: Sat May 30 23:15:59 UTC 2020
New revision: 537110
URL: https://svnweb.freebsd.org/changeset/ports/537110

Log:
  Update to 2.19.1.

  Fix typos introduced in previous commits.

  PR:		246881
  		246882

Changes:
  head/ports-mgmt/portlint/Makefile
  head/ports-mgmt/portlint/src/portlint.pl
Comment 2 Joe Marcus Clarke freebsd_committer freebsd_triage 2020-05-30 23:16:45 UTC
Fixed in 2.19.1.