From owner-freebsd-bugs@FreeBSD.ORG Sat Jan 5 20:50:00 2013 Return-Path: Delivered-To: freebsd-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id C86D468C for ; Sat, 5 Jan 2013 20:50:00 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id AC977253 for ; Sat, 5 Jan 2013 20:50:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id r05Ko0Pd031032 for ; Sat, 5 Jan 2013 20:50:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id r05Ko0MC031031; Sat, 5 Jan 2013 20:50:00 GMT (envelope-from gnats) Resent-Date: Sat, 5 Jan 2013 20:50:00 GMT Resent-Message-Id: <201301052050.r05Ko0MC031031@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Paranoid Ted Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 5F2994A8 for ; Sat, 5 Jan 2013 20:44:29 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 4CB3C1D0 for ; Sat, 5 Jan 2013 20:44:29 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.5/8.14.5) with ESMTP id r05KiSVS015476 for ; Sat, 5 Jan 2013 20:44:28 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.5/8.14.5/Submit) id r05KiS39015475; Sat, 5 Jan 2013 20:44:28 GMT (envelope-from nobody) Message-Id: <201301052044.r05KiS39015475@red.freebsd.org> Date: Sat, 5 Jan 2013 20:44:28 GMT From: Paranoid Ted To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: misc/175052: base sendmail fails to build with security/cyrus-sasl2 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Jan 2013 20:50:00 -0000 >Number: 175052 >Category: misc >Synopsis: base sendmail fails to build with security/cyrus-sasl2 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Jan 05 20:50:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Paranoid Ted >Release: 9.1-RELEASE >Organization: none >Environment: FreeBSD testbox.paranoidted.info 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243826: Tue Dec 4 06:55:39 UTC 2012 root@obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 >Description: When trying to rebuild sendmail with SASLv2 according to http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/smtp-auth.html the build process stops with the following error: 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 in the following step: #cd /usr/src/usr.sbin/sendmail # make cleandir && make obj && make && make install >How-To-Repeat: Follow steps 1-5 from http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/smtp-auth.html The error happens on step 5. >Fix: There is a proposed fix here: http://forums.freebsd.org/showthread.php?p=203528 "changed line 141 in /usr/src/contrib/sendmail/src/sasl.c to: sasl_set_alloc((sasl_malloc_t *)sm_sasl_malloc, (sasl_calloc_t *)sm_sasl_calloc, (sasl_realloc_t *)sm_sasl_realloc, (sasl_free_t *)sm_sasl_free);" N.B. The error manifests itself on i386 but it may not happen on amd64. >Release-Note: >Audit-Trail: >Unformatted: