Bug 246881 - ports-mgmt/portlint: Modification of a read-only value attempted at portlint line 1977.
Summary: ports-mgmt/portlint: Modification of a read-only value attempted at portlint ...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Joe Marcus Clarke
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-05-30 21:34 UTC by Gerald Pfeifer
Modified: 2020-05-30 23:16 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (marcus)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gerald Pfeifer freebsd_committer 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 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 2020-05-30 23:16:45 UTC
Fixed in 2.19.1.