pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: lintpkgsrc -r returning a million Bogus: ruby${RUBY_VER_MAP.193:U193} messages



In message <op.wg6kccmkcmitfu%ponkan.lins.jp@localhost>
        on Mon, 09 Jul 2012 22:13:14 +0900,
        "OBATA Akio" <obache%netbsd.org@localhost> wrote:
> On Sat, 07 Jul 2012 01:50:48 +0900, David Shao <davshao%gmail.com@localhost>
> wrote:
> 
>> pkgrsrc current on NetBSD 6.99.8 (GENERIC) amd64, using lintpkgsrc -r
>> produces:
I couldn't produce the problem with -r option but -B (and could be others).
Anyway, I analyzed lintpkgsrc a little.

>> Bogus: ruby${RUBY_VER_MAP.193:U193}-thoth-flickr-0.1.0nb2 (from
>> /usr/pkgsrc/www/thoth-flickr/Makefile)
The root cause of problem is lintpkgsrc (and may be pkglint) can't
parse some conditional of makefiles.

At least, lintpkgsrc dosen't parse ${FOO:M/bar/}, ${BAZ:[\#]}.  So,
someone needs to improve parse of lintpkgsrc/pkglint to catch to
curret make(1)'s conditionals.

-- 
Takahiro Kambe <taca%back-street.net@localhost>


Home | Main Index | Thread Index | Old Index