From owner-freebsd-stable@freebsd.org Sun Oct 22 00:17:14 2017 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D253FE3E561 for ; Sun, 22 Oct 2017 00:17:14 +0000 (UTC) (envelope-from yasu@utahime.org) Received: from gate.utahime.jp (ipq210.utahime.jp [183.180.29.210]) by mx1.freebsd.org (Postfix) with ESMTP id A6BBD709F3 for ; Sun, 22 Oct 2017 00:17:14 +0000 (UTC) (envelope-from yasu@utahime.org) Received: from eastasia.home.utahime.org (eastasia.home.utahime.org [192.168.174.1]) by gate.utahime.jp (Postfix) with ESMTP id F234013917; Sun, 22 Oct 2017 09:17:11 +0900 (JST) Received: from eastasia.home.utahime.org (localhost [127.0.0.1]) by localhost-backdoor.home.utahime.org (Postfix) with ESMTP id 8579C8207; Sun, 22 Oct 2017 09:17:11 +0900 (JST) Received: from localhost (rolling.home.utahime.org [192.168.174.11]) by eastasia.home.utahime.org (Postfix) with ESMTPSA id 454438205; Sun, 22 Oct 2017 09:17:11 +0900 (JST) Date: Sun, 22 Oct 2017 09:16:11 +0900 (JST) Message-Id: <20171022.091611.1432980156690916756.yasu@utahime.org> To: freebsd-stable@freebsd.org Subject: Re: Freebsd 10 to 11 sendmail compile issues.. From: Yasuhiro KIMURA In-Reply-To: <7a4b5f15-1bab-9ab4-1ecf-8ffbf8546758@leadmon.net> References: <7a4b5f15-1bab-9ab4-1ecf-8ffbf8546758@leadmon.net> X-Mailer: Mew version 6.7 on Emacs 25.3 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: ClamAV using ClamSMTP X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Oct 2017 00:17:14 -0000 From: Howard Leadmon Subject: Freebsd 10 to 11 sendmail compile issues.. Date: Sat, 21 Oct 2017 19:22:40 -0400 > I have the following flags in /etc/make.conf: > = > SENDMAIL_CFLAGS=3D -I/usr/local/include -DSASL=3D2 -DDNSMAP -DSTARTTL= S > SENDMAIL_LDFLAGS=3D -L/usr/local/lib > SENDMAIL_LDADD=3D -lsasl2 -lssl -lcrypto > = > = > =A0So I trhought OK, simple enough looking at the error and changed t= his > over to the following: > = > SENDMAIL_CFLAGS=3D -I/usr/local/include -DSASL=3D2 -DDNSMAP -DSTARTTL= S > SENDMAIL_LDFLAGS=3D -L/usr/local/lib > SENDMAIL_LIBADD+=3D sasl2 ssl crypto It seems you intend to link base sendmail binary with library that is installed by security/cyrus-sasl2 port. If so I think following steps are required. 1. Temporarily comment out all sendmail related settings in /etc/make.conf 2. Rebuild operating system and upgrade from 10.3 to 11.1. 3. Rebuild all installed ports on 11.1. 4. Enable settings again that is disabled at step 1 and rebuild base sendmail. To be honest I'm not sure if step 4 succeed. But it is quite possible that linking binary for 11.1 with library built on 10.3 causes unpredictable trouble. So you should keep above steps anyway. --- Yasuhiro KIMURA