pkgsrc-Users archive

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

Re: [PATCH] lintpkgsrc cannot locate certain include files



On Sat, Jan 10, 2015 at 09:53:51AM +0100, Thomas Klausner wrote:
> I've tried lintpkgsrc from pkgsrc of a couple days ago and lintpkgsrc
> with your patch applied, and I didn't see a difference.
> 
> # lintpkgsrc -i  > ~/lps.i.before 2> ~/lps.i.before.err
> # ./pkgtools/lintpkgsrc/work/lintpkgsrc.pl -i > lps.i.after 2> ~/lps.i.after.err
> # diff ~/lps.i.before /usr/pkgsrc/lps.i.after
> #
> 
> Do I need particular packages installed to see this, or what does it
> depend on?

Hi, Thomas.

The verbose subroutine that gets called to display the output has a "-t
STDERR" guard around printing to the standard error stream, so it won't
print the message unless the standard error stream is opened to a tty.
So, in your invocation, if you remove the redirection of the standard
error stream to a file, you should see the behavior difference.

Thank you!

Lewis


Home | Main Index | Thread Index | Old Index