misc/175052: base sendmail fails to build with security/cyrus-sasl2
Paranoid Ted
paranoidted at yopmial.com
Sat Jan 5 20:50:00 UTC 2013
>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 at 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:
More information about the freebsd-bugs
mailing list