Bug 195772

Summary: MOVEDlint is malfunctioning
Product: Ports & Packages Reporter: John Marino <marino>
Component: Ports FrameworkAssignee: Port Management Team <portmgr>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   

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.