GNU bug report logs - #39999
make install fails on mac (Catilina, Guile-3.0.1)

Previous Next

Package: guile;

Reported by: Massimiliano Gubinelli <m.gubinelli <at> gmail.com>

Date: Mon, 9 Mar 2020 14:35:01 UTC

Severity: normal

Full log


View this message in rfc822 format

From: "W. Lincoln Harvey" <lincolnlaw <at> mac.com>
To: 39999 <at> debbugs.gnu.org
Subject: bug#39999: BSD sed vs Gnu sed
Date: Wed, 29 Apr 2020 12:30:22 -0700
Sorry; my explanation above is not correct.  
What I meant to say is that to edit a file in place WITHOUT CREATING a backup file, BSD sed’s -i option requires a zero-length string as a mandatory argument, while Gnu sed’s -i option does not take any argument.  If a backup file is wanted, then their option -i syntax is identical.

The INSTANTIATE macro as written is not including any argument to sed’s -i option, meaning that no backup file is wanted.  

Therefore, a very simply solution to this problem is to make a backup file, then delete it.  Both sed versions would work correctly.
A more complicated solution is to determine which version of sed is being used, and change the INSTANTIATE macro to use the correct syntax.

Gnu sed has a version option (—version), but BSD sed does not (it throws an error when either -v or —version are used).

wlh



This bug report was last modified 5 years and 44 days ago.

Previous Next


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