Bug 209808

Summary: ports-mgmt/portlint: Fails at new TIMESTAMP lines in distinfo files added by make makesum
Product: Ports & Packages Reporter: VK <vlad-fbsd>
Component: Individual Port(s)Assignee: Joe Marcus Clarke <marcus>
Status: Closed Not A Bug    
Severity: Affects Some People Keywords: needs-qa
Priority: --- Flags: bugzilla: maintainer-feedback? (marcus)
Version: Latest   
Hardware: Any   
OS: Any   
See Also: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=209796

Description VK 2016-05-28 12:23:44 UTC
For example:

# portlint
Use of uninitialized value $2 in string ne at /usr/local/bin/portlint line 397, <IN> line 1.
FATAL: /usr/ports/security/py-pyotp/distinfo: [1]: line format error.
1 fatal error and 0 warnings found.


Removing the TIMESTAMP line from distinfo passes the portlint test. I'm setting "affects some people" because I saw another PR earlier today complaining about the same issue. Will try to locate it and link here.


# pkg -j portsvn info portlint
portlint-2.16.8
Name           : portlint
Version        : 2.16.8
Installed on   : Sat May 28 12:01:28 2016 CEST
Origin         : ports-mgmt/portlint
Architecture   : freebsd:10:x86:64
Prefix         : /usr/local
Categories     : ports-mgmt
Licenses       : ITOJUN
Maintainer     : marcus@FreeBSD.org
WWW            : UNKNOWN
Comment        : Verifier for FreeBSD port directory
Options        :
        EXAMPLES       : on
Annotations    :
        repo_type      : binary
        repository     : FreeBSD
Flat size      : 106KiB
Description    :
portlint makes a small set of sanity checks for port directory. Check out
portlint(1) for more details.
Comment 1 VK 2016-05-28 12:27:59 UTC
Found it.
Comment 2 Joe Marcus Clarke freebsd_committer freebsd_triage 2016-05-28 18:50:05 UTC
The current version of portlint is 2.17.2, which has a fix for this.  Please report bugs against the LATEST version of a port.
Comment 3 VK 2016-05-28 19:02:18 UTC
My apologies, that particular jail was on quarterly instead of latest. My bad. I confirm latest portlint works fine.