From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "Walter H. Yang" Newsgroups: gmane.lisp.guile.bugs Subject: bug#43607: Failed to install guile 3 in Mac OS Date: Fri, 25 Sep 2020 11:31:54 +0800 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000e9880905b01af521" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37741"; mail-complaints-to="usenet@ciao.gmane.io" To: 43607@debbugs.gnu.org Original-X-From: bug-guile-bounces+guile-bugs=m.gmane-mx.org@gnu.org Fri Sep 25 08:23: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 1kLh8N-0009ij-UO for guile-bugs@m.gmane-mx.org; Fri, 25 Sep 2020 08:23:08 +0200 Original-Received: from localhost ([::1]:57970 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kLh8N-0008V2-0O for guile-bugs@m.gmane-mx.org; Fri, 25 Sep 2020 02:23:07 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49284) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kLh8I-0008SS-UK for bug-guile@gnu.org; Fri, 25 Sep 2020 02:23:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:59075) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kLh8I-0004XV-Kn for bug-guile@gnu.org; Fri, 25 Sep 2020 02:23:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kLh8I-0002BL-HY for bug-guile@gnu.org; Fri, 25 Sep 2020 02:23:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "Walter H. Yang" Original-Sender: "Debbugs-submit" Resent-CC: bug-guile@gnu.org Resent-Date: Fri, 25 Sep 2020 06:23:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 43607 X-GNU-PR-Package: guile X-Debbugs-Original-To: bug-guile@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.16010149518331 (code B ref -1); Fri, 25 Sep 2020 06:23:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 25 Sep 2020 06:22:31 +0000 Original-Received: from localhost ([127.0.0.1]:42388 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kLh7m-0002AI-DQ for submit@debbugs.gnu.org; Fri, 25 Sep 2020 02:22:30 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:33964) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kLeSu-0006NG-UI for submit@debbugs.gnu.org; Thu, 24 Sep 2020 23:32:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52122) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kLeSu-0002o0-O9 for bug-guile@gnu.org; Thu, 24 Sep 2020 23:32:08 -0400 Original-Received: from mail-ot1-x32e.google.com ([2607:f8b0:4864:20::32e]:34287) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kLeSs-0002R6-So for bug-guile@gnu.org; Thu, 24 Sep 2020 23:32:08 -0400 Original-Received: by mail-ot1-x32e.google.com with SMTP id h17so1036886otr.1 for ; Thu, 24 Sep 2020 20:32:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=k9rKGYKyGMQr+DbnEUK3l6pxpxUOPPo3LxFrOeFpT3Q=; b=IZ7igZ83QK4iA28V2s2j2UIPUR1W8wIM97VsCb/Vt/t5FxcjkC1xXQYr+I13OdOjbf h3JBErCqFIqhslVZn9wN712gpOopXHOQ05uJ5KzOiKmpxSe9gIqJtju7BwH40AiHb7Pq yLolIVKBA/649e3Irjn5DXw8YluWwQhd+s9k0BZjZ/LVNMhFx6GdibxvJTI2Ikg2Uu8l 0rcqk3yFrCFoBlvTPi+qXpC4LQc62JR9hbbwiQ9B5J4NjKnsxiBMEh4t+37nwb530FBB /8gP6wuCHsxMutOw2h9R21E6c1y4aCxkyjIU9I7Mp/HqPKw39xYS/yF5+gAcayefhSk5 AJ7g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=k9rKGYKyGMQr+DbnEUK3l6pxpxUOPPo3LxFrOeFpT3Q=; b=P+v1ypIZyvFThePc4ALdgdrmCW5pv8rHLQ5sz0f4BjO+NGiXhjpFKoNsB/ChMwDAmR v4YnwedftJGJL6IYcvs29uufsH2M8WzrR9lJEeKW9W7N72kd0/YaZ6SdNNXI009eEaSx /YLDg3SfIuMug5FR7v1UQ4Sb9K6HvR2IFANCj+GX2k4EAGNABbOx6RLDMDXF1axdxUwK QfN9gZUjHnXFJRRwRwWO/1dYdL+E+vORjZ01X8HQCsyeqrb6tlt63zX7RoLjxwx46muF drnM4RiP6NnxJ0MhGuLmAo1jiVEVLuGuP6Ov8c6AR3VWqpjRVP+uzu+TIzWtV2H7f301 Hxbw== X-Gm-Message-State: AOAM530aYP0uSoXBleHf+c1WQWBUna81ztiTPHwozq75V+CPR5+BJuR9 QBd/lb1OhVs05ysM3Y4haBejt64M1r8OwSQqArCH7wKQy5c= X-Google-Smtp-Source: ABdhPJzgRPIr1Dca70mUhUsRw0LCpFqdMTetI8kog3b6vP9SuzMpM/OMAfcCL8tydbPANuafHtIHIyVQ4DrBZrcUT84= X-Received: by 2002:a9d:65cc:: with SMTP id z12mr1476249oth.301.1601004724913; Thu, 24 Sep 2020 20:32:04 -0700 (PDT) Received-SPF: pass client-ip=2607:f8b0:4864:20::32e; envelope-from=yangh.cn@gmail.com; helo=mail-ot1-x32e.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Fri, 25 Sep 2020 02:22:29 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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:9890 Archived-At: --000000000000e9880905b01af521 Content-Type: text/plain; charset="UTF-8" Hi Guile I'm trying to compile guile 3 from source code under Mac OS 10.15 with macports, because the 3.0 version is not available in macports. after compiled bdwgc from the source code, I can compile guile 3 successfully, but it failed at 'make install' with the following error: Must remake target `install-data-hook'. Putting child 0x7f8549f04450 (install-data-hook) PID 98725 on the chain. Live child 0x7f8549f04450 (install-data-hook) PID 98725 Reaping winning child 0x7f8549f04450 PID 98725 Live child 0x7f8549f04450 (install-data-hook) PID 98726 /usr/bin/install -c -m 644 libguile-3.0-gdb.scm /opt/local/lib/libguile-3.0.a-gdb.scm *sed: -e: No such file or directory* Reaping losing child 0x7f8549f04450 PID 98726 make[3]: *** [install-data-hook] Error 1 Removing child 0x7f8549f04450 PID 98726 from chain. Reaping losing child 0x7f9c9e723fb0 PID 98724 make[2]: *** [install-data-am] Error 2 Removing child 0x7f9c9e723fb0 PID 98724 from chain. Reaping losing child 0x7f89e501d110 PID 98618 make[1]: *** [install-am] Error 2 After a while of digging into the Makefile, I found out it caused by the 'sed -i -e ..." for: libguile/Makefile.am: ## Instantiate a template. INSTANTIATE = \ * $(SED) -i -e 's,[@]pkgdatadir[@],$(pkgdatadir),g' \* -e 's,[@]pkglibdir[@],$(pkglibdir),g' \ -e 's,[@]GUILE_EFFECTIVE_VERSION[@],$(GUILE_EFFECTIVE_VERSION),g' ... install-data-hook: libguile-@GUILE_EFFECTIVE_VERSION@-gdb.scm ... echo " $(INSTALL_DATA) $< \ $(DESTDIR)$(libdir)/$$libname-gdb.scm"; \ $(INSTALL_DATA) "$<" \ "$(DESTDIR)$(libdir)/$$libname-gdb.scm"; \ $(INSTANTIATE) "$(DESTDIR)$(libdir)/$$libname-gdb.scm" The /usr/bin/sed on Mac OS 10.15, the BSD sed, it's a bit different from the sed on Linux, the "-i" option must be followed a SUFFIX option. Simply, change it to sed -i "" -e ... works for me, there would be a better solution for it. Thanks Hong --000000000000e9880905b01af521 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Guile

I'm trying to co= mpile guile 3 from source code under Mac OS 10.15 with macports, because th= e=C2=A03.0 version is not available in macports. after compiled bdwgc from = the source code, I can compile guile 3 successfully, but it failed at '= make install' with the following error:

Must remake target `install-data-hook'.

Putting child 0x7f8549f04450 (install-data-hook) PID = 98725 on the chain.

Live child 0x7f8549f04450 (install-data-hook) PID 987= 25=C2=A0

Reaping winning child 0x7f8549f04450 PID 98725=C2=A0<= /span>

Live child 0x7f8549f04450 (install-data-hook) PID 987= 26=C2=A0

=C2=A0/usr/bin/install -c -m 644 libguile-3.0-gdb.scm= /= opt/local/lib/libguile-3.0.a-gdb.scm

sed: -e: No such file or directory

Reaping losing child 0x7f8549f04450 PID 98726=C2=A0

make[3]: *** [install-data-hook] Error 1

Removing child 0x7f8549f04450 PID 98726 from chain.

Reaping losing child 0x7f9c9e723fb0 PID 98724=C2=A0

make[2]: *** [install-data-am] Error 2

Removing child 0x7f9c9e723fb0 PID 98724 from chain.

Reaping losing child 0x7f89e501d110 PID 98618=C2=A0

make[1]: *** [install-am] Error 2


After a = while of digging into the Makefile, I found out it caused by the 'sed -= i -e ..." for:

libguile/Makefile.am:


## Instant= iate a template.

INSTANTIATE =3D =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 \=

=C2=A0 $(SED) -i -e 's,[@]pkgdatadi= r[@],$(pkgdatadir),g' =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 \

=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 -e 's,[@]pkglib= dir[@],$(pkglibdir),g' =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 \

=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = -e 's,[@]GUILE_EFFECTIVE_VERSION[@],$(GUILE_EFFECTIVE_VERSION),g'

..= .

install-data-hook: libguile-@GUILE_EFFECTIVE= _VERSION@-gdb.scm

...

=C2=A0 =C2=A0 =C2=A0 =C2=A0=C2= =A0echo " $(INSTALL_DATA) $< =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 \=

$(DESTDIR)$(libdir)/$$libname-gdb.scm"; =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 \

=C2=A0 =C2=A0 =C2=A0 =C2=A0 $(INSTALL_DATA) "$&l= t;"=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 \

=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 "$(DES= TDIR)$(libdir)/$$libname-gdb.scm";=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 \

=C2=A0 =C2=A0 =C2=A0 =C2=A0 $(INSTANTIATE) "$(DE= STDIR)$(libdir)/$$libname-gdb.scm"

The /usr/bin/sed on Mac OS 10.15, the=C2= =A0BSD sed, it's a bit different from the sed on Linux, the "-i&qu= ot; option must be followed a SUFFIX option.


Simply, change it to sed -i "&q= uot; -e ... works for me, there would be a better solution for it.


Thanks<= /p>

Hong


=


<= /span>
--000000000000e9880905b01af521--