Re: xfig install failure

[email protected] Sat, 21 Oct 2023 04:34:15 -0500
Newsgroups gmane.os.apple.fink.beginners
Message-ID <[email protected]>
On 2023-10-20 10:35, Edward R Kinney wrote:
> Hi Hanspeter,
> 
> Xfig is one of the packages that fail to install since I reloaded
> fink. Below is the error. OS is 12.7
> Package manager version: 0.45.99.git
> Distribution version: selfupdate-rsync Fri Oct 20 09:27:21 2023, 12.0,
> x86_64
> Trees: local/main stable/main
> Xcode.app: 14.2
> Xcode command-line tools: 14.2.0.0.1.1668646533
> Max. Fink build jobs:  1
> 
> echo "/* generated by make from ../app-defaults/Fig */" >fallback.c
> echo "#include <stddef.h>" >>fallback.c
> echo "#include <X11/Intrinsic.h>" >>fallback.c
> echo "String     fallback_resources[] = {" >>fallback.c
> /usr/bin/sed -e ' /^[ \t]*\(!\|$\)/ d; s/[ \t][ \t]*/ /g; s/^ \| $//g;
> /:/ {    s/[ ]*:/:/; s/:[ ]*\($\|\\n\|\\\)/:\1/; s/: /:\t/ }; / *\\n/
> s//\\\\n/; /\\$/,/[^\]$/ { H; /\\$/ d; z; x; s/^\n//          };
> /\\\n/ { s/ *\\\n/"\n\t\t"/g; /#\(augment\|override\|replace\)"/
> s//#\1 "/  }; s/^/\t"/; s/$/",/               ' ../app-defaults/Fig
>>> fallback.c
> 
> sed: 1: " /^[ \t]*\(!\|$\)/ d; s ...": bad flag in substitute command:
> '}'
> make[2]: *** [fallback.c] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
> ### execution of /usr/bin/make failed, exit code 2
> ### execution of /tmp/fink.TXauH failed, exit code 2
> Let me know if you need more context.

It's a bug in their code expecting a certain version of the sed program. 
For now, install the 'sed' package and try rebuilding xfig.

Hanspeter


_______________________________________________
Fink-beginners mailing list
[email protected]
List archive:
https://sourceforge.net/p/fink/mailman/fink-users/
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-beginners