🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: muc.lists.freebsd.current
Article #230

Re: fatal error: 'sasl.h' file not found

#230
From: bob prohaska
Date: Mon, 23 Nov 2026 22:34
82 lines
5281 bytes
On Mon, Nov 23, 2026 at 10:52:22AM -0800, Mark Millard wrote:
> On 11/23/26 07:51, bob prohaska wrote:
> > 
> > A new armv7 host is trying to build -current but stops with:
> > 
> > ......
> > In file included from /usr/src/contrib/sendmail/libmilter/libmilter.h:33:
> > /usr/src/contrib/sendmail/src/sendmail.h:281:12: fatal error: 'sasl.h' file not found
> >   281 | #  include <sasl.h>
> >       |            ^~~~~~~~
> > 1 error generated.
> > *** [main.o] Error code 1
> > 
> > .....
> > Sources were reset --hard this morning, so up-to-date, but no change.
> > 
> > A web search finds reports for similar errors, but none seem recent. 
> > 
> > Thanks for reading and any suggestions!
> > 
> > bob prohaska
> >  
> > 
> > 
> 
> The code in question has looked like:
> ( /usr/src/contrib/sendmail/src/sendmail.h )
> 
> #if SASL
> /* include the sasl include files if we have them */
> # if SASL == 2 || SASL >= 20000
> #  include <sasl/sasl.h>
> #  include <sasl/saslplug.h>
> #  include <sasl/saslutil.h>
> #  if SASL_VERSION_FULL < 0x020119
> typedef int (*sasl_callback_ft)(void);
> #  endif
> # else /* SASL == 2 || SASL >= 20000 */
> #  include <sasl.h>
> #  include <saslutil.h>
> typedef int (*sasl_callback_ft)(void);
> # endif /* SASL == 2 || SASL >= 20000 */
> 
> The code line :281 is the line after the else.
> 
> contrib/sendmail/ has not changed after 2025-10-09 .
> 
> My guess is that previously SASL was 0 or undefined in your context.
> 
> For reference in the context I looked at:
> 
> # find -s / -name sasl.h -print
> #
> 
> My understanding is that such has always or long been the case.
> 
> I've no clue how your build ended up with SASL defined, much less with a
> value for which the else clause was used.

The image used to set the system up was 
FreeBSD-16.0-CURRENT-arm-armv7-GENERICSD-20261102-cfbf11308b58-290542.img

Might this be a preliminary step toward configuring sendmail to operate
in a secure mode? There's a section in the sendmail README directory
headed
+------------------------------------+
| SASL COMPILATION AND CONFIGURATION |
+------------------------------------+
but no guidance on how to turn the feature off.

Might something along the lines of -DSASL=0 on the buildworld
line be a workaround?

Apologies for getting in waaaay over my head,

bob prohaska
 


--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de
Technical Details
Message-ID: <awS_YhKba3LjAEej@www.zefox.net>
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.mb-net.net!open-news-network.org!2.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!news.muc.de!.POSTED.news.muc.de!not-for-mail
References: <3fb69acd-e2ac-4df6-9861-4c0e6a17cfd2@yahoo.com> <>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.mb-net.net!open-news-network.org!2.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!news.muc.de!.POSTED.news.muc.de!not-for-mail
From: bob prohaska <fbsd@www.zefox.net>
Newsgroups: muc.lists.freebsd.current
Subject: Re: fatal error: 'sasl.h' file not found
Date: Mon, 23 Nov 2026 14:34:10 -0800
Organization: Newsgate at muc.de e.V.
Approved: news-admin@muc.de
Distribution: world
Message-ID: <awS_YhKba3LjAEej@www.zefox.net>
References: <3fb69acd-e2ac-4df6-9861-4c0e6a17cfd2@yahoo.com> <>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Injection-Info: news.muc.de; posting-host="news.muc.de:193.149.48.2";
	logging-data="52529"; mail-complaints-to="news-admin@muc.de"
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim;
	t=1795473083;
	h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
	 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
	 in-reply-to:in-reply-to:references:references:list-id:list-help:
	 list-owner:list-unsubscribe:list-subscribe:list-post;
	bh=wHe0iyv3X8arTF5VVKPm5LretppKAkdx5WsZyCIgdOs=;
	b=j9LrXCgKnc5jfHeQvM/nq15C5xggCyZ8gGDkDXs4mS0yES8cCa3hdV/RYCpfLvxVWBsIMN
	7wQ9OEP/KW6ThmfRR4RKFNlW7nb2391tooIwCDHx8nXnJ8jDZpXALJsU/CDfGqUTSjGy3L
	tYPhqC43TxgmUPFRDHoBtnmK+4jHIyXVCt5iM5iifrGrwcoKfdd7pn/oexNd25txqWquTB
	J0nwP4tjLGdDXcsxgYE7PlL6ZTNExbOacL/qScXQti9pV5ORw/3RnQVeIr4WvkFdnCofTb
	VWtsF3vxA5bDsw3tTy/Hw4vZMn23V+B4GaKhDx5WXxWrAaN+MOaNzFK2EHpXxg==
X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org
Authentication-Results: mx1.freebsd.org;
	dkim=none;
	dmarc=none;
	spf=none (mx1.freebsd.org: domain of fbsd@www.zefox.net has no SPF policy when checking 50.1.20.27) smtp.mailfrom=fbsd@www.zefox.net
Precedence: list
Content-Disposition: inline
In-Reply-To: <3fb69acd-e2ac-4df6-9861-4c0e6a17cfd2@yahoo.com>
X-Rspamd-Queue-Id: 4jYLJ61FKgz3PQm
X-Spamd-Bar: +
X-Spamd-Result: default: False [1.90 / 15.00];
	AUTH_NA(1.00)[];
	MID_RHS_WWW(0.50)[];
	WWW_DOT_DOMAIN(0.50)[];
	MIME_GOOD(-0.10)[text/plain];
	MID_RHS_MATCH_FROM(0.00)[];
	FREEMAIL_TO(0.00)[yahoo.com];
	RCVD_TLS_LAST(0.00)[];
	ASN(0.00)[asn:7065, ipnet:50.1.16.0/20, country:US];
	ARC_NA(0.00)[];
	MIME_TRACE(0.00)[0:+];
	MISSING_XM_UA(0.00)[];
	R_DKIM_NA(0.00)[];
	RCPT_COUNT_TWO(0.00)[2];
	TO_DN_SOME(0.00)[];
	FROM_EQ_ENVFROM(0.00)[];
	FROM_HAS_DN(0.00)[];
	MLMMJ_DEST(0.00)[freebsd-current@freebsd.org];
	RCVD_COUNT_TWO(0.00)[2];
	DNSWL_BLOCKED(0.00)[50.1.20.27:from];
	TO_MATCH_ENVRCPT_SOME(0.00)[];
	DMARC_NA(0.00)[zefox.net];
	R_SPF_NA(0.00)[no SPF record]
X-Newsgate-Id: f02c70b8849f+
X-No-Archive: Yes