Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Jun 2008 12:47:10 -0400
From:      Mikhail Teterin <mi+mill@aldan.algebra.com>
To:        Sergey Matveychuk <sem@FreeBSD.org>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: .warning directives in Makefile
Message-ID:  <4863C80E.2010309@aldan.algebra.com>
In-Reply-To: <4863C0D2.1020804@FreeBSD.org>
References:  <4863C0D2.1020804@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help

> But I'd like remind .warning directive pollutes stderr
Warnings are NOT pollution...
> and discouraged portupgrade which was designed to catch messages from 
> stderr and rises errors.
I'd say, the portupgrade needs fixing, if it does, indeed, choke on 
non-empty stderr without actual non-zero exit code. stderr is for 
diagnostics, and is exactly the right place for warnings...
> Now there are a few ports (ImageMagic and GhostScript*) where the 
> directive was appeared. I think the ports should be fixed to use 
> ECHO_MSG to display the warnings.
IMO, "ECHO_MSG" is hideous...

    -mi




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4863C80E.2010309>