Bug 195772 - MOVEDlint is malfunctioning
Summary: MOVEDlint is malfunctioning
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Ports Framework (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Port Management Team
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-12-07 10:40 UTC by John Marino
Modified: 2014-12-07 10:58 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John Marino freebsd_committer freebsd_triage 2014-12-07 10:40:34 UTC
MOVEDlint is currently providing bad information

> Tools/Scripts/MOVEDlint.awk
7233: Final character is a dot: (Port renamed to align with upstream.)

The problem is that this line number is 7230, not 7233, and it doesn't end in a dot.
Comment 1 Mathieu Arnold freebsd_committer freebsd_triage 2014-12-07 10:47:22 UTC
(In reply to John Marino from comment #0)
> > Tools/Scripts/MOVEDlint.awk

what is on line 7233 of /usr/ports/MOVED ?
Comment 2 John Marino freebsd_committer freebsd_triage 2014-12-07 10:49:30 UTC
the www/chimera entry.  This is on svn repo.  ah, maybe that's the issue, maybe I should have set PORTSDIR, let me check that.
Comment 3 John Marino freebsd_committer freebsd_triage 2014-12-07 10:55:37 UTC
Okay, this is user error.

I needed to pass PORTSDIR value through an environment variable and I failed to do that.  The script was reading whatever was in /usr/ports I guess.

It would be nice if MOVEDlint worked on a relative path basis (e.g. PORTSDIR defaults to script location + ../../)

I'm closing the PR as invalid.
Comment 4 Mathieu Arnold freebsd_committer freebsd_triage 2014-12-07 10:57:32 UTC
BTW, why did you add me on the CC of this PR ?
Comment 5 John Marino freebsd_committer freebsd_triage 2014-12-07 10:58:26 UTC
I thought you were MOVEDlint champion.