Subject: pkg/29857: building mail/sendmail fails if configured to use sasl
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <taya@ba2.so-net.ne.jp>
List: pkgsrc-bugs
Date: 04/01/2005 14:38:00
>Number: 29857
>Category: pkg
>Synopsis: building mail/sendmail fails if configured to use sasl
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Apr 01 14:38:00 +0000 2005
>Originator: Shin'ichiro TAYA
>Release: NetBSD 3.99.2
>Organization:
--
Shin'ichiro TAYA <taya@ba2.so-net.ne.jp>
>Environment:
System: NetBSD mmgserv.m2g.org 3.99.2 NetBSD 3.99.2 (MMGSERV) #25: Tue Mar 29 08:07:53 JST 2005 taya@mmgserv.m2g.org:/export/NetBSD/NetBSD-current/src/sys/arch/i386/compile/MMGSERV i386
Architecture: i386
Machine: i386
>Description:
building mail/sendmail/fails like follows if configured to use sasl.
Making all in:
/export/NetBSD/NetBSD-current/work/pkgsrc/mail/sendmail/work.mmgserv/sendmail-8.13.3/libsmutil
Configuration: pfx=, os=NetBSD, rel=3.99.2, rbase=3, rroot=3.99, arch=i386, sfx=, variant=optimized
Making in /export/NetBSD/NetBSD-current/work/pkgsrc/mail/sendmail/work.mmgserv/sendmail-8.13.3/obj.NetBSD.3.99.2.i386/libsmutil
cc -O -I. -I../../sendmail -I../../include -DNEWDB -DNIS -DMAP_REGEX -DNETISO -I/usr/pkg/include -DNETINET6 -DNEEDSGETIPNODE -DTCPWRAPPERS -DSASL -DNOT_SENDMAIL -I/usr/pkg/include -I/usr/include -c debug.c
In file included from debug.c:11:
../../sendmail/sendmail.h:137:20: sasl.h: No such file or directory
../../sendmail/sendmail.h:138:24: saslutil.h: No such file or directory
In file included from debug.c:11:
../../sendmail/sendmail.h:153: error: parse error before "README"
../../sendmail/sendmail.h:211: warning: data definition has no type or storage class
../../sendmail/sendmail.h:591: error: parse error before ':' token
../../sendmail/sendmail.h:675: error: parse error before "sasl_conn_t"
../../sendmail/sendmail.h:675: warning: no semicolon at end of struct or union
../../sendmail/sendmail.h:681: error: parse error before '}' token
../../sendmail/sendmail.h:1073: error: parse error before "ARGCLASS_T"
../../sendmail/sendmail.h:1426: error: field `sv_mci' has incomplete type
*** Error code 1
Stop.
make: stopped in /export/NetBSD/NetBSD-current/work/pkgsrc/mail/sendmail/work.mmgserv/sendmail-8.13.3/obj.NetBSD.3.99.2.i386/libsmutil
>How-To-Repeat:
add "PKG_OPTIONS.sendmail=sasl inet6 tcpwrappers" to /etc/mk.conf
& build mail/sendmail
>Fix:
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/mail/sendmail/Makefile,v
retrieving revision 1.74
diff -u -u -r1.74 Makefile
--- Makefile 10 Feb 2005 22:17:24 -0000 1.74
+++ Makefile 1 Apr 2005 14:28:53 -0000
@@ -37,9 +37,6 @@
@${CAT} ${FILESDIR}/site.config.m4-starttls >>${SITECONFIG}
.endif
.if !empty(PKG_OPTIONS:Msasl)
- @${CAT} ${FILESDIR}/site.config.m4-sasl >>${SITECONFIG}
-.endif
-.if !empty(PKG_OPTIONS:Msasl2)
@${CAT} ${FILESDIR}/site.config.m4-sasl2 >>${SITECONFIG}
.endif
.if !empty(PKG_OPTIONS:Msocketmap)
>Unformatted: