On Wed, Jul 29, 2015 at 11:16:58PM +0100, Luis wrote:
> Hi,
> 
> I've cloned the opensmtpd git repository and after checking out the
> portable branch, I've got a build error (Debian system):
> 
> ../../openbsd-compat/err.h:25:19: note: in definition of macro b
>    fprintf(stderr, format "\n", ## args)
>                    ^
> ../../openbsd-compat/err.h:16:3: note: in expansion of macro b
>    errx(exitcode, format ": %s", ## args, strerror(errno))
>    ^
> ../../smtpd/delivery_lmtp.c:207:8: note: in expansion of macro b
>         err(1, NULL);
>         ^
> ../../openbsd-compat/err.h:16:25: warning: null argument where non-null 
> required (argument 2) [-Wnonnull]
>    errx(exitcode, format ": %s", ## args, strerror(errno))
>                          ^
> ../../openbsd-compat/err.h:25:19: note: in definition of macro b
>    fprintf(stderr, format "\n", ## args)
>                    ^
> ../../openbsd-compat/err.h:16:3: note: in expansion of macro b
>    errx(exitcode, format ": %s", ## args, strerror(errno))
>    ^
> ../../smtpd/delivery_lmtp.c:207:8: note: in expansion of macro b
>         err(1, NULL);
>         ^
> 
> 
> If i revert the following commits I am able to build again:
> 
> 5401ab7332ae include err.h if there's no err.h on the system
> 178e3f54f58d add openbsd-compat/err.h from 
> https://raw.githubusercontent.com/libressl-portable/portable/master/include/err.h
> 
> Are these commits really necessary?
> 

Hi,

I'll have a look at this regression.
Can you open a ticket on our tracker at github ?

-- 
Gilles Chehade

https://www.poolp.org                                          @poolpOrg

-- 
You received this mail because you are subscribed to [email protected]
To unsubscribe, send a mail to: [email protected]

Reply via email to