From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Massimiliano Gubinelli Newsgroups: gmane.lisp.guile.bugs Subject: bug#39999: make install fails on mac (Catilina, Guile-3.0.1) Date: Wed, 11 Mar 2020 12:20:19 +0100 Message-ID: References: <12F04DBA-35DF-49B3-B2BB-B07A95550151@gmail.com> <87a74nm9iq.fsf@gnu.org> Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) 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="92288"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 39999@debbugs.gnu.org To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-X-From: bug-guile-bounces+guile-bugs=m.gmane-mx.org@gnu.org Wed Mar 11 15:34:15 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 1jC2R4-000NqO-6N for guile-bugs@m.gmane-mx.org; Wed, 11 Mar 2020 15:34:14 +0100 Original-Received: from localhost ([::1]:53524 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jC2R3-0002LW-5r for guile-bugs@m.gmane-mx.org; Wed, 11 Mar 2020 10:34:13 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46151) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jC2Qu-0002Kv-Hx for bug-guile@gnu.org; Wed, 11 Mar 2020 10:34:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jC2Qt-0003WV-F7 for bug-guile@gnu.org; Wed, 11 Mar 2020 10:34:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:49333) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jC2Qt-0003WR-Cg for bug-guile@gnu.org; Wed, 11 Mar 2020 10:34:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jC2Qs-0000Ap-A6 for bug-guile@gnu.org; Wed, 11 Mar 2020 10:34:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Massimiliano Gubinelli Original-Sender: "Debbugs-submit" Resent-CC: bug-guile@gnu.org Resent-Date: Wed, 11 Mar 2020 14:34: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.1583937193606 (code B ref 39999); Wed, 11 Mar 2020 14:34:02 +0000 Original-Received: (at 39999) by debbugs.gnu.org; 11 Mar 2020 14:33:13 +0000 Original-Received: from localhost ([127.0.0.1]:55306 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jC2Q5-00009i-60 for submit@debbugs.gnu.org; Wed, 11 Mar 2020 10:33:13 -0400 Original-Received: from mail-wm1-f54.google.com ([209.85.128.54]:53152) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jBzPW-00085u-W1 for 39999@debbugs.gnu.org; Wed, 11 Mar 2020 07:20:27 -0400 Original-Received: by mail-wm1-f54.google.com with SMTP id 11so1642614wmo.2 for <39999@debbugs.gnu.org>; Wed, 11 Mar 2020 04:20:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=xWAbM8Nqm+pTRJRnU6JxP+T9YPPQZzCREwz3rIM/DSc=; b=qQa1PhSdF2Yq0NMqleEPvhgRvRaHJAMQmdkrBT9TiOTDuGb2Pqx7DULkf21USR4JGs K8N0K2wXyXHyY7P/E9J1EDS++Vhllr73EeKbAthrHaqVVLjDWPLg/Sn50E5vd9IQ1+MU IxxdXvyxOnjxC0mbvq42UT7DEekXtJ/j2sMcJBsG76qnQaiS2+AN2vrirP9xNKLQiSmr NTfR6nkcWtz8yKmCcWkR70elFPuuDgdDXpgUpL4kPl3395Fvr83mFZjXUyJgKEtbcBlZ WSBbl8wsg0BI3US9coUeoct529AFpKi0uZ7IaKVf7Qf5zEUoF5AqMbTuk7vhOQ49nsPM FMbQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=xWAbM8Nqm+pTRJRnU6JxP+T9YPPQZzCREwz3rIM/DSc=; b=qVpKoubCGkYDuyqEWLVxU1uCZQ7k2fXDDuHwRZU2us0lgQEBpT9aKwpiujJLQ4y18O fh+Dl55zutCXoomS8EBsnPd8dSjxoAbvXYUXkvWFHMxExLjjz4727Tj6y6tkfTY1tYbx oCFEWjtpPnHeQmDo3X+veGW6e1mT21POl9wE5qPZ/dqzVviB7C6vpVhVEYoY+jnz+2Me 0+S9CopsWaFDcjT2Qn2hB7xXI9l+JlCKPuViStlQ8KkoCisY+QML5qICIsetdvtX/olq FnruLg2m/fo1Eb95QVEZQ4YHLcNC5ZkE1H3Ag4RgxJT/Pf2D2GX0gjfwyNhusS4ZprLy 06xQ== X-Gm-Message-State: ANhLgQ1Z+6d8plXFOn2z0aJ7L6K3XHFPiT1hV4sd+TVJHBYFES9HdSKg 1ZKnIVEAZvgjg3eAu5/95p4L1psa X-Google-Smtp-Source: ADFU+vtpqq+TdZYbc8Ze/VGnhXvqixmaRGs7Qcw/PtoGQKMMjmJtCr7iS0pmWW7S1KdtUmQaOGmcCQ== X-Received: by 2002:a1c:26c4:: with SMTP id m187mr3326801wmm.43.1583925620998; Wed, 11 Mar 2020 04:20:20 -0700 (PDT) Original-Received: from [192.168.5.221] (ir-iam-vb1.rhrz.uni-bonn.de. [131.220.115.241]) by smtp.gmail.com with ESMTPSA id w81sm7894339wmg.19.2020.03.11.04.20.20 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 11 Mar 2020 04:20:20 -0700 (PDT) In-Reply-To: <87a74nm9iq.fsf@gnu.org> X-Mailer: Apple Mail (2.3445.104.11) X-Mailman-Approved-At: Wed, 11 Mar 2020 10:33:11 -0400 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:9650 Archived-At: Hi Ludovic,=20 the problem seems to be the multiple -e together with -i.=20 Example: Horst:clean mgubi$ cat - > test pippo Horst:clean mgubi$ sed -i -e 's,pippo,pluto,g' -e 's,pippo,pluto,g' -e = 's,pippo,pluto,g' test sed: -e: No such file or directory Horst:clean mgubi$ sed -e 's,pippo,pluto,g' -e 's,pippo,pluto,g' -e = 's,pippo,pluto,g' test pluto Horst:clean mgubi$ sed -i -e 's,pippo,pluto,g' test Horst:clean mgubi$=20 The first command give error while the other work. If I put -i at the = end I get Horst:clean mgubi$ sed -e 's,pippo,pluto,g' -e 's,pippo,pluto,g' -e = 's,pippo,pluto,g' -i test sed: -i may not be used with stdin Is ok to do Horst:clean mgubi$ sed -e 's,pippo,pluto,g' -e 's,pippo,pluto,g' -e = 's,pippo,pluto,g' -i =E2=80=98' test Best, Max > On 11. Mar 2020, at 12:11, Ludovic Court=C3=A8s wrote: >=20 > Hi, >=20 > Massimiliano Gubinelli skribis: >=20 >> make install on the last Guile 3.0.1 fails on my Mac (Catilina) with = the following message >>=20 >>=20 >> ../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 >=20 > 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. >=20 >> I found that the following change to libguile/Makefile go around the = problem >>=20 >> 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 >=20 > What if you move =E2=80=98-i=E2=80=99 last, and without ''? That = should expand to > something like: >=20 > sed -e =E2=80=A6 -e =E2=80=A6 -e =E2=80=A6 -i libguile-3.0-gdb.scm >=20 > Thanks, > Ludo=E2=80=99.