Andrey Chernov
2011-Sep-26 12:12 UTC
System sendmail build fails with updated cyrus-sasl2 port
This is for 9 BETA2 or 10-CURRENT. Please fix it on either side. Apparently minor types mismatch within sasl_callback_t type. cc -O2 -pipe -march=pentium4 -I/usr/src/usr.sbin/sendmail/../../contrib/sendmail/src -I/usr/src/usr.sbin/sendmail/../../contrib/sendmail/include -I. -DNEWDB -DTCPWRAPPERS -DMAP_REGEX -DDNSMAP -DNETINET6 -DSTARTTLS -D_FFR_TLS_1 -I/usr/local/include -DSASL=2 -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wno-pointer-sign -c /usr/src/usr.sbin/sendmail/../../contrib/sendmail/src/main.c cc1: warnings being treated as errors /usr/src/usr.sbin/sendmail/../../contrib/sendmail/src/main.c:112: warning: initialization from incompatible pointer type /usr/src/usr.sbin/sendmail/../../contrib/sendmail/src/main.c:113: warning: initialization from incompatible pointer type *** Error code 1 -- http://ache.vniz.net/
Hajimu UMEMOTO
2011-Sep-26 16:24 UTC
System sendmail build fails with updated cyrus-sasl2 port
Hi,>>>>> On Mon, 26 Sep 2011 15:58:03 +0400 >>>>> Andrey Chernov <ache@FreeBSD.org> said:ache> This is for 9 BETA2 or 10-CURRENT. ache> Please fix it on either side. Apparently minor types mismatch within ache> sasl_callback_t type. ache> cc -O2 -pipe -march=pentium4 ache> -I/usr/src/usr.sbin/sendmail/../../contrib/sendmail/src ache> -I/usr/src/usr.sbin/sendmail/../../contrib/sendmail/include -I. -DNEWDB ache> -DTCPWRAPPERS -DMAP_REGEX -DDNSMAP -DNETINET6 -DSTARTTLS -D_FFR_TLS_1 ache> -I/usr/local/include -DSASL=2 -std=gnu99 -fstack-protector ache> -Wsystem-headers -Werror -Wno-pointer-sign -c ache> /usr/src/usr.sbin/sendmail/../../contrib/sendmail/src/main.c ache> cc1: warnings being treated as errors ache> /usr/src/usr.sbin/sendmail/../../contrib/sendmail/src/main.c:112: warning: ache> initialization from incompatible pointer type ache> /usr/src/usr.sbin/sendmail/../../contrib/sendmail/src/main.c:113: warning: ache> initialization from incompatible pointer type ache> *** Error code 1 It seems 2.1.25 requires to cast to sasl_callback_ft. How about the attached patch? -------------- next part -------------- A non-text attachment was scrubbed... Name: sendmail-sasl-2.1.25.diff Type: text/x-patch Size: 2562 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20110926/573d201c/sendmail-sasl-2.1.25.bin -------------- next part -------------- -- Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, Japan ume@mahoroba.org ume@{,jp.}FreeBSD.org http://www.imasy.org/~ume/
Andrey Chernov
2011-Sep-26 19:55 UTC
System sendmail build fails with updated cyrus-sasl2 port
On Tue, Sep 27, 2011 at 01:23:32AM +0900, Hajimu UMEMOTO wrote:> It seems 2.1.25 requires to cast to sasl_callback_ft. How about the > attached patch?Thanx, it works now. IMHO it should be MFCed to stable-9 ASAP (and to sendmail trunk too). -- http://ache.vniz.net/