From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Kaloyan Ivanov Newsgroups: gmane.emacs.devel Subject: Build is broken on macOS Date: Thu, 5 Jan 2017 12:16:43 +0200 Message-ID: <7994F8F9-FB70-42A0-B17A-FB2957A65FC6@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 (Mac OS X Mail 10.2 \(3259\)) Content-Type: multipart/alternative; boundary="Apple-Mail=_74D34BE7-F8BB-4879-81B0-44C6D5A2060C" X-Trace: blaine.gmane.org 1483629890 20209 195.159.176.226 (5 Jan 2017 15:24:50 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 5 Jan 2017 15:24:50 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jan 05 16:24:45 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cP9uA-0003tZ-A8 for ged-emacs-devel@m.gmane.org; Thu, 05 Jan 2017 16:24:38 +0100 Original-Received: from localhost ([::1]:46956 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cP9uE-0007gw-EE for ged-emacs-devel@m.gmane.org; Thu, 05 Jan 2017 10:24:42 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52946) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cP56L-0004vy-P1 for emacs-devel@gnu.org; Thu, 05 Jan 2017 05:16:54 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cP56H-0004rG-He for emacs-devel@gnu.org; Thu, 05 Jan 2017 05:16:53 -0500 Original-Received: from mail-wj0-x244.google.com ([2a00:1450:400c:c01::244]:36755) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cP56H-0004pX-8A for emacs-devel@gnu.org; Thu, 05 Jan 2017 05:16:49 -0500 Original-Received: by mail-wj0-x244.google.com with SMTP id j10so78706129wjb.3 for ; Thu, 05 Jan 2017 02:16:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:mime-version:subject:message-id:date:to; bh=n25FjurPtm65zKFmEJFusI/eUM5zvaCXR0UMXsjTHK0=; b=U/UzF5vu3okm9IG9Hm3HbfG9uYs0/qklwGjBk2C4CgEtXxCr6LGHKZRrhliODnBBHm oTvlo9yjzzeruanQpMS+YzqxyA3wCMtjN8xb0WdmptMORlnNMhuu1jBXoVawe9PCcEgq nop9jU2MURWzF0qSBe0VenTZhnDD4SGNdxZdjjIOmA9yhNqIE9ueJXopAwPJ1D9hqobn nhIItJazO2Zu+7x3YSeml5vz4SvJU39e3E3jEGv4P6VxcwNkDLryWnAfUPcxDGR2ahKJ RTYLCUrnf7JZNrJVaa9XRBZLGDSNrzZtFNnjcFSx8CNY7NKEes5nS1WV3Z9wsvlGjhxv /CCw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:mime-version:subject:message-id:date:to; bh=n25FjurPtm65zKFmEJFusI/eUM5zvaCXR0UMXsjTHK0=; b=nF4HFpbfXRf7ObG13DZKyF/3VFcBgjc5TaAhbjEVxwBW/7Rt98E5eyjWzCbuDhfcso Id0pvqapTx1USTR816lutv99ZAe30UG9djSxG29TNT5clTCh59UaWzRnlpsoUKGPChxD JSFSzxCKFdzdzy6kOwqErOu2spGrWog07J87sw8TlSJmgkTdU8AY7fYcl/Z2//0oDoHw hEUfXuYMq9H2FvmMRa/uaIyfGGTTrRELUi3mmtYvpeDKYbR43LCMsr0AsxEp72x7Z/Pc ZHwgQ2cjsUSKP4BXnMhGN49/tcECTfw0WmLcJqYRoH3f4WeumulVOE1LzHM6cWGmy9l6 9FAQ== X-Gm-Message-State: AIkVDXJiWbTFmgNe1/sMpN/wq8LiR9U5n5N+hzE7CUaS4dC9m2DSspisE2G5mtpNjU5Q3w== X-Received: by 10.194.66.101 with SMTP id e5mr58193993wjt.172.1483611406445; Thu, 05 Jan 2017 02:16:46 -0800 (PST) Original-Received: from [192.168.1.3] ([62.73.83.227]) by smtp.gmail.com with ESMTPSA id js10sm102909861wjb.19.2017.01.05.02.16.45 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 05 Jan 2017 02:16:45 -0800 (PST) X-Mailer: Apple Mail (2.3259) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:400c:c01::244 X-Mailman-Approved-At: Thu, 05 Jan 2017 10:23:39 -0500 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:211122 Archived-At: --Apple-Mail=_74D34BE7-F8BB-4879-81B0-44C6D5A2060C Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Commit d88cdad2847726438c7d1de9fd2651c4be9243aa doesn=E2=80=99t build on = macOS The sed on El Capitan balks at the script constructed in autopen.sh. This patch fixes that on macOS, can someone please test it on other = platforms - don=E2=80=99t know if it works there as it should. =E2=80=9C diff --git a/autogen.sh b/autogen.sh index f6bfde6..e6d7ef4 100755 --- a/autogen.sh +++ b/autogen.sh @@ -224,7 +224,8 @@ do_git=3D ## Create nt/gnulib.mk if it doesn't exist, as autoreconf will need = it. if test ! -f nt/gnulib.mk; then echo 'Inferring nt/gnulib.mk from lib/gnulib.mk ...' - metascript=3D'/^[^#]/s|^.*$|/^## begin *gnulib module &/,/^## = end *gnulib module &/c ## gnulib module & removed|' + metascript=3D'/^[^#]/s|^.*$|/^## begin *gnulib module &/,/^## = end *gnulib module &/c\ + ## gnulib module & removed|' script=3D`sed "$metascript" nt/gnulib-modules-to-delete.cfg` || = exit sed "$script" lib/gnulib.mk > nt/gnulib.mk || exit fi =E2=80=9C to ./configure it quicker, you need to add --without-makeinfo (default = makeinfo is 4.8, >4.13 is required) and --with-gnutls=3Dno if you = don=E2=80=99t have gnutls installed See also: https://lists.gnu.org/archive/html/emacs-devel/2017-01/msg00048.html=20= --Apple-Mail=_74D34BE7-F8BB-4879-81B0-44C6D5A2060C Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 Commit d88cdad2847726438c7d1de9fd2651c4be9243aa doesn=E2=80=99t = build on macOS

The sed on El Capitan balks at the = script constructed in autopen.sh.
This patch fixes that on macOS, = can someone please test it on other platforms - don=E2=80=99t know = if it works there as it should.
=E2=80=9C
diff --git a/autogen.sh b/autogen.sh
index f6bfde6..e6d7ef4 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ = -224,7 +224,8 @@ = do_git=3D
   ## Create nt/gnulib.mk if = it doesn't exist, as autoreconf will need it.
   if test ! -f nt/gnulib.mk; then
       echo 'Inferring nt/gnulib.mk from = lib/gnulib.mk ...'
-  =     metascript=3D'/^[^#]/s|^.*$|/^## begin  *gnulib = module &/,/^## end  *gnulib module &/c ## gnulib module = & removed|'
+  =     metascript=3D'/^[^#]/s|^.*$|/^## begin  *gnulib = module &/,/^## end  *gnulib module &/c\
+ ## gnulib module & removed|'
       script=3D`sed "$metascript" = nt/gnulib-modules-to-delete.cfg` || exit
       sed "$script" lib/gnulib.mk > = nt/gnulib.mk || exit
   fi
=E2=80=9C

to ./configure it quicker, you need to = add --without-makeinfo (default = makeinfo is 4.8, >4.13 is required) = and --with-gnutls=3Dno if you don=E2=80=99= t have gnutls installed

See also:
= --Apple-Mail=_74D34BE7-F8BB-4879-81B0-44C6D5A2060C--