GNU bug report logs - #30011
BSD sed incompatibility as of guile 2.2.3

Previous Next

Package: guile;

Reported by: ilove zfs <ilovezfs <at> icloud.com>

Date: Sun, 7 Jan 2018 10:36:02 UTC

Severity: normal

Done: ludo <at> gnu.org (Ludovic Courtès)

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 30011 in the body.
You can then email your comments to 30011 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guile <at> gnu.org:
bug#30011; Package guile. (Sun, 07 Jan 2018 10:36:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to ilove zfs <ilovezfs <at> icloud.com>:
New bug report received and forwarded. Copy sent to bug-guile <at> gnu.org. (Sun, 07 Jan 2018 10:36:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: ilove zfs <ilovezfs <at> icloud.com>
To: bug-guile <at> gnu.org
Subject: BSD sed incompatibility as of guile 2.2.3
Date: Sun, 07 Jan 2018 10:35:08 +0000 (GMT)
[Message part 1 (text/plain, inline)]
The following commit broke compatibility with BSD/macOS's version of sed:

http://git.savannah.gnu.org/gitweb/?p=guile.git;a=commit;h=81d2e352663bc5f80734312fec90f250b1fbe2e4


The error is "sed: -i may not be used with stdin" as described in https://stackoverflow.com/questions/21242932/sed-i-may-not-be-used-with-stdin-on-mac-os-x



As a workaround I can replace the "         -i" in INSTANTIATE in libguile/Makefile.am with "         -i ''"



The incompatibility still exists in guile master as of http://git.savannah.gnu.org/gitweb/?p=guile.git;a=blob;f=libguile/Makefile.am;h=a9646d88319c50853388268416f4d0773162969e;hb=HEAD#l476


Ref: https://github.com/Homebrew/homebrew-core/pull/21635
[Message part 2 (text/html, inline)]

Information forwarded to bug-guile <at> gnu.org:
bug#30011; Package guile. (Sun, 07 Jan 2018 19:42:01 GMT) Full text and rfc822 format available.

Message #8 received at 30011 <at> debbugs.gnu.org (full text, mbox):

From: Dan Kegel <dank <at> kegel.com>
To: ilove zfs <ilovezfs <at> icloud.com>
Cc: 30011 <at> debbugs.gnu.org
Subject: Re: bug#30011: BSD sed incompatibility as of guile 2.2.3
Date: Sun, 7 Jan 2018 11:41:51 -0800
Builds from release tarball might not run into this,
as the tarball already includes the file that rule creates;
at any rate, I don't run into that in my build of 2.2.3 on macosx.




Information forwarded to bug-guile <at> gnu.org:
bug#30011; Package guile. (Sun, 07 Jan 2018 20:13:02 GMT) Full text and rfc822 format available.

Message #11 received at 30011 <at> debbugs.gnu.org (full text, mbox):

From: ilove zfs <ilovezfs <at> icloud.com>
To: Dan Kegel <dank <at> kegel.com>
Cc: 30011 <at> debbugs.gnu.org
Subject: Re: bug#30011: BSD sed incompatibility as of guile 2.2.3
Date: Sun, 07 Jan 2018 20:12:44 +0000 (GMT)
[Message part 1 (text/plain, inline)]
The build is indeed using https://ftp.gnu.org/gnu/guile/guile-2.2.3.tar.xz



> I don't run into that in my build of 2.2.3 on macosx.



You may have gnu-sed installed then.


On Jan 07, 2018, at 11:41 AM, Dan Kegel <dank <at> kegel.com> wrote:


Builds from release tarball might not run into this,
as the tarball already includes the file that rule creates;
at any rate, I don't run into that in my build of 2.2.3 on macosx.
[Message part 2 (text/html, inline)]

Information forwarded to bug-guile <at> gnu.org:
bug#30011; Package guile. (Sun, 07 Jan 2018 21:06:01 GMT) Full text and rfc822 format available.

Message #14 received at 30011 <at> debbugs.gnu.org (full text, mbox):

From: ilove zfs <ilovezfs <at> icloud.com>
To: Dan Kegel <dank <at> kegel.com>
Cc: 30011 <at> debbugs.gnu.org
Subject: Re: bug#30011: BSD sed incompatibility as of guile 2.2.3
Date: Sun, 07 Jan 2018 21:05:34 +0000 (GMT)
[Message part 1 (text/plain, inline)]
In case it helps, here are full build logs:

https://github.com/Homebrew/homebrew-core/pull/22542

https://jenkins.brew.sh/job/Homebrew%20Core%20Pull%20Requests/16097/version=high_sierra/console
https://jenkins.brew.sh/job/Homebrew%20Core%20Pull%20Requests/16097/version=sierra/console

https://jenkins.brew.sh/job/Homebrew%20Core%20Pull%20Requests/16097/version=el_capitan/console



I can reproduce it locally, outside of Homebrew, with the release tarball, and the problem occurs during `make install` not `make`.


On Jan 07, 2018, at 12:12 PM, ilove zfs <ilovezfs <at> icloud.com> wrote:


The build is indeed using https://ftp.gnu.org/gnu/guile/guile-2.2.3.tar.xz



> I don't run into that in my build of 2.2.3 on macosx.



You may have gnu-sed installed then.


On Jan 07, 2018, at 11:41 AM, Dan Kegel <dank <at> kegel.com> wrote:


Builds from release tarball might not run into this,
as the tarball already includes the file that rule creates;
at any rate, I don't run into that in my build of 2.2.3 on macosx.
[Message part 2 (text/html, inline)]

Reply sent to ludo <at> gnu.org (Ludovic Courtès):
You have taken responsibility. (Fri, 16 Feb 2018 14:32:03 GMT) Full text and rfc822 format available.

Notification sent to ilove zfs <ilovezfs <at> icloud.com>:
bug acknowledged by developer. (Fri, 16 Feb 2018 14:32:03 GMT) Full text and rfc822 format available.

Message #19 received at 30011-done <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: ilove zfs <ilovezfs <at> icloud.com>
Cc: 30011-done <at> debbugs.gnu.org
Subject: Re: bug#30011: BSD sed incompatibility as of guile 2.2.3
Date: Fri, 16 Feb 2018 15:31:51 +0100
ilove zfs <ilovezfs <at> icloud.com> skribis:

> The following commit broke compatibility with BSD/macOS's version of sed:
> http://git.savannah.gnu.org/gitweb/?p=guile.git;a=commit;h=81d2e352663bc5f80734312fec90f250b1fbe2e4
>
> The error is "sed: -i may not be used with stdin" as described in
> https://stackoverflow.com/questions/21242932/sed-i-may-not-be-used-with-stdin-on-mac-os-x

I believe this is fixed with
<https://git.savannah.gnu.org/cgit/guile.git/commit/?h=stable-2.2&id=7ade0485af40fef38ae666331031b733530a95bc>.

Thanks,
Ludo'.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 17 Mar 2018 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 6 years and 40 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.