From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Newsgroups: gmane.lisp.guile.bugs Subject: bug#39999: make install fails on mac (Catilina, Guile-3.0.1) Date: Wed, 11 Mar 2020 12:11:09 +0100 Message-ID: <87a74nm9iq.fsf@gnu.org> References: <12F04DBA-35DF-49B3-B2BB-B07A95550151@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="11991"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) Cc: 39999@debbugs.gnu.org To: Massimiliano Gubinelli Original-X-From: bug-guile-bounces+guile-bugs=m.gmane-mx.org@gnu.org Wed Mar 11 12:12:08 2020 Return-path: Envelope-to: guile-bugs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jBzHU-0002wq-GR for guile-bugs@m.gmane-mx.org; Wed, 11 Mar 2020 12:12:08 +0100 Original-Received: from localhost ([::1]:49672 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jBzHT-0000uU-5c for guile-bugs@m.gmane-mx.org; Wed, 11 Mar 2020 07:12:07 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54081) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jBzHP-0000uO-Fs for bug-guile@gnu.org; Wed, 11 Mar 2020 07:12:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jBzHO-00037c-HL for bug-guile@gnu.org; Wed, 11 Mar 2020 07:12:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:47694) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jBzHO-00037O-EB for bug-guile@gnu.org; Wed, 11 Mar 2020 07:12:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jBzHO-0007sD-Ad for bug-guile@gnu.org; Wed, 11 Mar 2020 07:12:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guile@gnu.org Resent-Date: Wed, 11 Mar 2020 11:12:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 39999 X-GNU-PR-Package: guile Original-Received: via spool by 39999-submit@debbugs.gnu.org id=B39999.158392507830210 (code B ref 39999); Wed, 11 Mar 2020 11:12:02 +0000 Original-Received: (at 39999) by debbugs.gnu.org; 11 Mar 2020 11:11:18 +0000 Original-Received: from localhost ([127.0.0.1]:53667 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jBzGg-0007rA-Aa for submit@debbugs.gnu.org; Wed, 11 Mar 2020 07:11:18 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:38774) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jBzGf-0007qy-3j for 39999@debbugs.gnu.org; Wed, 11 Mar 2020 07:11:17 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:58125) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1jBzGZ-0002Ez-N5; Wed, 11 Mar 2020 07:11:11 -0400 Original-Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=37818 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jBzGY-0006Rh-Sk; Wed, 11 Mar 2020 07:11:11 -0400 In-Reply-To: <12F04DBA-35DF-49B3-B2BB-B07A95550151@gmail.com> (Massimiliano Gubinelli's message of "Mon, 9 Mar 2020 14:29:06 +0100") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-guile@gnu.org List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guile-bounces+guile-bugs=m.gmane-mx.org@gnu.org Original-Sender: "bug-guile" Xref: news.gmane.io gmane.lisp.guile.bugs:9641 Archived-At: Hi, Massimiliano Gubinelli skribis: > make install on the last Guile 3.0.1 fails on my Mac (Catilina) with the= following message > > > ../build-aux/install-sh -c -d '/Users/mgubi/t/guile3-usr/include/guile/3= .0/libguile' > /usr/bin/install -c -m 644 version.h scmconfig.h '/Users/mgubi/t/guile3-= usr/include/guile/3.0/libguile' > /Library/Developer/CommandLineTools/usr/bin/make install-data-hook > /usr/bin/install -c -m 644 libguile-3.0-gdb.scm /Users/mgubi/t/guile3= -usr/lib/libguile-3.0.a-gdb.scm > sed: -e: No such file or directory > make[5]: *** [install-data-hook] Error 1 > make[4]: *** [install-data-am] Error 2 > make[3]: *** [install-am] Error 2 > make[2]: *** [install] Error 2 > make[1]: *** [install-recursive] Error 1 > make: *** [install] Error 2 I suppose the =E2=80=98sed=E2=80=99 invocation in the INSTANTIATE variable = in Makefile assumes we=E2=80=99re using GNU sed, which is probably not the case on your machine. > I found that the following change to libguile/Makefile go around the prob= lem > > INSTANTIATE =3D \ > $(SED) -i '' -e 's,[@]pkgdatadir[@],$(pkgdatadir),g' = \ > -e 's,[@]pkglibdir[@],$(pkglibdir),g' = \ > -e 's,[@]GUILE_EFFECTIVE_VERSION[@],$(GUILE_EFFECTIVE_VERSION= ),g=E2=80=99 What if you move =E2=80=98-i=E2=80=99 last, and without ''? That should ex= pand to something like: sed -e =E2=80=A6 -e =E2=80=A6 -e =E2=80=A6 -i libguile-3.0-gdb.scm Thanks, Ludo=E2=80=99.