Update to nettle7 dying with a syntax error

Merle Reinhart <[email protected]>
Newsgroups gmane.os.apple.fink.general
Message-ID <[email protected]>
I was updating nettle7 on my Intel machines and the script is dying with a syntax error:

[...]
sudo -u fink-bld [ENV] sh -c /tmp/fink.C0kSZ
[ -r /opt/sw/fink/dists/stable/main/finkinfo/crypto/nettle7-shlibs.patch ]
sudo -u fink-bld [ENV] sh -c /tmp/fink.B2knz
/tmp/fink.oZrXQ
#!/bin/sh -ev
	/usr/bin/patch -p1 < /opt/sw/fink/dists/stable/main/finkinfo/crypto/nettle7-shlibs.patch
patching file configure
	#for patch in `ls -1 ../debian/patches/*.patch`; do
	#	patch -p1 < $patch
	#done
	perl -pi -e 's,-L\.\.,,g' */Makefile.in
	perl -pi -e 's,-l(hogweed|nettle),../lib\1.dylib,g' */Makefile.in
	perl -pi -e 's|SEXP\\-CONV|NETTLE\\-HASH|g' ../debian/nettle-hash.1
	#perl -pi -e 's|July 2011|September 2019|g; s|2.2|%v|g' ../debian/nettle-hash.1
	#perl -pi -e 's|June 2007|September 2019|g; s|1.15|%v|g' ../debian/{nettle-lfib-stream,pkcs1-conv,sexp-conv}.1
	#perl -pi -e 's|June 2014|September 2019|g; s|3.0|%v|g' ../debian/{nettle-pbkdf2}.1
	perl -pi -e 's|libnettle.so|libnettle.dylib|g' testsuite/dlopen-test.c
sudo -u fink-bld [ENV] sh -c /tmp/fink.J1gWV
./configure --prefix=/opt/sw -r` --enable-shared --disable-openssl
sh: -c: line 0: unexpected EOF while looking for matching ``'
sh: -c: line 1: syntax error: unexpected end of file
### execution of ./configure failed, exit code 2
### execution of /tmp/fink.J1gWV failed, exit code 2
Removing runtime build-lock...
Removing build-lock package...
/opt/sw/bin/dpkg-lockwait -r fink-buildlock-nettle7-shlibs-3.5.1-3
(Reading database ... 465547 files and directories currently installed.)
Removing fink-buildlock-nettle7-shlibs-3.5.1-3 (2023.01.31-09.16.39) ...
Failed: phase compiling: nettle7-shlibs-3.5.1-3 failed





The script, fink.J1gWV, that it is executing is:
 
#!/usr/bin/perl
                use Fink::Services qw(execute);
                {
                        local $/;
                        $script = <DATA>;
                }
exit &execute($script);
__DATA__
        ./configure --prefix=/opt/sw -r` \
        --enable-shared \
        --disable-openssl
/usr/bin/make
        fink-package-precedence --depfile-ext='\.d' .



Looking at the nettle7-shlibs.info file I see the changes that were added in the ConfigureParams section, but they don't appear to be completely represented /tmp script at least when executed on an Intel Mac.

Thanks,

Merle




_______________________________________________
Fink-users mailing list
[email protected]
List archive:
https://sourceforge.net/p/fink/mailman/fink-users/
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.