FreeBSD-Update + Sendmail
Hajimu UMEMOTO
ume at FreeBSD.org
Thu Aug 15 08:23:08 UTC 2013
Hi,
>>>>> On Tue, 13 Aug 2013 18:50:20 -0700
>>>>> Doug Hardie <bc979 at lafn.org> said:
bc979> FreeBSD zool.lafn.org 9.1-RELEASE-p1 FreeBSD 9.1-RELEASE-p1 #4: Wed Feb 20 22:34:04 PST 2013 doug at zool.lafn.org:/usr/obj/usr/src/sys/LAFN i386
bc979> make of sendmail yields:
bc979> cc -O2 -pipe -I/usr/src/usr.sbin/sendmail/../../contrib/sendmail/src -I/usr/src/usr.sbin/sendmail/../../contrib/sendmail/include -I. -DNEWDB -DNIS -DTCPWRAPPERS -DMAP_REGEX -DDNSMAP -DNETINET6 -DSTARTTLS -D_FFR_TLS_1 -I/usr/local/include/sasl -DSASL -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wno-pointer-sign -c /usr/src/usr.sbin/sendmail/../../contrib/sendmail/src/sasl.c
bc979> cc1: warnings being treated as errors
bc979> /usr/src/usr.sbin/sendmail/../../contrib/sendmail/src/sasl.c: In function 'sm_sasl_init':
bc979> /usr/src/usr.sbin/sendmail/../../contrib/sendmail/src/sasl.c:141: warning: passing argument 1 of 'sasl_set_alloc' from incompatible pointer type
bc979> /usr/src/usr.sbin/sendmail/../../contrib/sendmail/src/sasl.c:141: warning: passing argument 2 of 'sasl_set_alloc' from incompatible pointer type
bc979> /usr/src/usr.sbin/sendmail/../../contrib/sendmail/src/sasl.c:141: warning: passing argument 3 of 'sasl_set_alloc' from incompatible pointer type
bc979> *** [sasl.o] Error code 1
bc979> /etc/make.conf:
bc979> SENDMAIL_CFLAGS=-I/usr/local/include/sasl -DSASL
bc979> SENDMAIL_LDFLAGS=-L/usr/local/lib
bc979> SENDMAIL_LDADD=-lsasl2
bc979> WITHOUT_X11=yes
bc979> # added by use.perl 2013-05-22 13:05:04
bc979> PERL_VERSION=5.12.4
bc979> I can't figure out where cc1 has been configured to treat warnings as errors. This has not happened before to me.
In cyrus-sasl 2.1.26, the type of callback functions was changed from
"unsigned long" to "size_t", after 9.1-RELEASE was released.
It seems you are using 9.1-RELEASE. You need to apply the following
patch:
http://svnweb.freebsd.org/base/stable/9/contrib/sendmail/src/sasl.c?r1=225736&r2=243747&view=patch
Sincerely,
--
Hajimu UMEMOTO
ume at mahoroba.org ume@{,jp.}FreeBSD.org
http://www.mahoroba.org/~ume/
More information about the freebsd-stable
mailing list