From owner-freebsd-stable@FreeBSD.ORG Wed Aug 14 01:52:33 2013 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 19F4E751 for ; Wed, 14 Aug 2013 01:52:33 +0000 (UTC) (envelope-from bc979@lafn.org) Received: from zoom.lafn.org (zoom.lafn.org [108.92.93.123]) by mx1.freebsd.org (Postfix) with ESMTP id CB3C52526 for ; Wed, 14 Aug 2013 01:52:32 +0000 (UTC) Received: from [10.0.1.3] (static-71-177-216-148.lsanca.fios.verizon.net [71.177.216.148]) (authenticated bits=0) by zoom.lafn.org (8.14.3/8.14.2) with ESMTP id r7E1oLqP029869 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO) for ; Tue, 13 Aug 2013 18:50:21 -0700 (PDT) (envelope-from bc979@lafn.org) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 6.5 \(1508\)) Subject: Re: FreeBSD-Update + Sendmail From: Doug Hardie In-Reply-To: Date: Tue, 13 Aug 2013 18:50:20 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: References: <5200FE0E.8506.5CB69E@lausts.acm.org> To: "freebsd-stable@freebsd.org List" X-Mailer: Apple Mail (2.1508) X-Virus-Scanned: clamav-milter 0.97 at zoom.lafn.org X-Virus-Status: Clean X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Aug 2013 01:52:33 -0000 On 6 August 2013, at 09:18, Ted Hatfield wrote: > I too have been updating my systems by updating and building from = source. To recompile and install sendmail from the /usr/src tree you can = run these commands. >=20 > cd /usr/src/lib/libsm; make clean; make obj; make depend; make > cd /usr/src/lib/libsmutil; make clean; make obj; make depend; make > cd /usr/src/usr.sbin/sendmail; make clean; make obj; make depend; = make; make install >=20 > This procedure will follow all the /etc/make.conf arguments. FreeBSD zool.lafn.org 9.1-RELEASE-p1 FreeBSD 9.1-RELEASE-p1 #4: Wed Feb = 20 22:34:04 PST 2013 doug@zool.lafn.org:/usr/obj/usr/src/sys/LAFN = i386 make of sendmail yields: 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=3Dgnu99 = -fstack-protector -Wsystem-headers -Werror -Wno-pointer-sign -c = /usr/src/usr.sbin/sendmail/../../contrib/sendmail/src/sasl.c cc1: warnings being treated as errors /usr/src/usr.sbin/sendmail/../../contrib/sendmail/src/sasl.c: In = function 'sm_sasl_init': /usr/src/usr.sbin/sendmail/../../contrib/sendmail/src/sasl.c:141: = warning: passing argument 1 of 'sasl_set_alloc' from incompatible = pointer type /usr/src/usr.sbin/sendmail/../../contrib/sendmail/src/sasl.c:141: = warning: passing argument 2 of 'sasl_set_alloc' from incompatible = pointer type /usr/src/usr.sbin/sendmail/../../contrib/sendmail/src/sasl.c:141: = warning: passing argument 3 of 'sasl_set_alloc' from incompatible = pointer type *** [sasl.o] Error code 1 /etc/make.conf: SENDMAIL_CFLAGS=3D-I/usr/local/include/sasl -DSASL SENDMAIL_LDFLAGS=3D-L/usr/local/lib SENDMAIL_LDADD=3D-lsasl2 WITHOUT_X11=3Dyes # added by use.perl 2013-05-22 13:05:04 PERL_VERSION=3D5.12.4 I can't figure out where cc1 has been configured to treat warnings as = errors. This has not happened before to me.=