Re: Fink not installing imagemagick on macOS 10.15.4 (term-readkey-pm5184)
Hanspeter Niederstrasser <[email protected]>
| Newsgroups | gmane.os.apple.fink.beginners |
|---|---|
| Organization | Snaggled Works |
| Message-ID | <[email protected]> |
On 4/6/20 11:05 PM, Thomas Schneider wrote:
> I am running macOS Catalina version 10.15.4.
>
> My previous version of fink was in /sw and that is gone. So I did an
> install using the script
>
> https://github.com/fink/scripts/releases/tag/setup/0.45.1
>
> That seemed to go well and fink is running now.
>
> Next I want to install imagemagick and it's failed.
>
> toot 3% fink list imagemagick
> Information about 10199 packages read in 1 seconds.
> graphicsmagick- 1:1.3.29-1 ImageMagick compatible wrapper commands
> imagemagick 7.0.8.68-1 Image manipulation tools (q16)
> imagemagick-nox [virtual package]
> imagemagick6.9. 6.9.6.6-6 Infrastructure for ImageMagick (q16)
> imagemagick6.q1 6.9.6.6-6 ImageMagick documentation
> imagemagick7.q1 7.0.8.68-1 Infrastructure for ImageMagick (q16)
> imagemagick7.q1 7.0.8.68-1 ImageMagick documentation
> toot 4% fink install imagemagick
> ....
> Writing termio/termios section of cchars.h... Done.
> Checking for sgtty...
> Sgtty found.
> Checking sgtty...
> tchars structure found.
> ltchars structure found.
> Checking symbols
> t_brkc (EOL) found in tchars
> t_dsuspc (DSUSPEND) found in ltchars
> t_eofc (EOF) found in tchars
> t_flushc (DISCARD) found in ltchars
> t_intrc (INTERRUPT) found in tchars
> t_lnextc (QUOTENEXT) found in ltchars
> t_quitc (QUIT) found in tchars
> t_rprntc (REPRINT) found in ltchars
> t_startc (START) found in tchars
> t_stopc (STOP) found in tchars
> t_suspc (SUSPEND) found in ltchars
> t_werasc (ERASEWORD) found in ltchars
> Writing sgtty section of cchars.h... Done.
> /usr/bin/arch -x86_64 perl5.18 /opt/sw/lib/perl5/ExtUtils/xsubpp -noprototypes -typemap /System/Library/Perl/5.18/ExtUtils/typemap ReadKey.xs > ReadKey.xsc && mv ReadKey.xsc ReadKey.c
> gcc -c -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Perl/5.18/darwin-thread-multi-2level/CORE -g -pipe -fno-common -DPERL_DARWIN -fno-strict-aliasing -fstack-protector -Os -DVERSION=\"2.37\" -DXS_VERSION=\"2.37\" -iwithsysroot "/System/Library/Perl/5.18/darwin-thread-multi-2level/CORE" -MD ReadKey.c
> Running Mkbootstrap for Term::ReadKey ()
> chmod 644 ReadKey.bs
> rm -f blib/arch/auto/Term/ReadKey/ReadKey.bundle
> cc -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Perl/5.18/darwin-thread-multi-2level/CORE -bundle -undefined dynamic_lookup -fstack-protector ReadKey.o -o blib/arch/auto/Term/ReadKey/ReadKey.bundle \
> \
>
> chmod 755 blib/arch/auto/Term/ReadKey/ReadKey.bundle
> cp ReadKey.bs blib/arch/auto/Term/ReadKey/ReadKey.bs
> chmod 644 blib/arch/auto/Term/ReadKey/ReadKey.bs
> /usr/bin/arch -x86_64 perl5.18 "-Iblib/arch" "-Iblib/lib" ReadKey_pm.PL ReadKey.pm
> Creating ReadKey.pm
> Can't load 'blib/arch/auto/Term/ReadKey/ReadKey.bundle' for module Term::ReadKey: dlopen(blib/arch/auto/Term/ReadKey/ReadKey.bundle, 1): no suitable image found. Did find:
> file system relative paths not allowed in hardened programs at /System/Library/Perl/5.18/darwin-thread-multi-2level/DynaLoader.pm line 194.
> at /System/Library/Perl/5.18/darwin-thread-multi-2level/DynaLoader.pm line 98.
> DynaLoader::croak('Can\'t load \'blib/arch/auto/Term/ReadKey/ReadKey.bundle\' fo...') called at /System/Library/Perl/5.18/darwin-thread-multi-2level/DynaLoader.pm line 194
> DynaLoader::bootstrap('Term::ReadKey') called at ReadKey_pm.PL line 515
> Bootstrapping the XS for blockoptions: make: *** [ReadKey.pm] Error 255
> ### execution of /usr/bin/make failed, exit code 2
> ### execution of /tmp/fink.zTZ6g failed, exit code 2
> Removing runtime build-lock...
> Removing build-lock package...
> /opt/sw/bin/dpkg-lockwait -r fink-buildlock-term-readkey-pm5184-2.37-1
> (Reading database ... 12597 files and directories currently installed.)
> Removing fink-buildlock-term-readkey-pm5184-2.37-1 ...
> Updating the list of locally available binary packages.
> Scanning dists/stable/main/binary-darwin-x86_64
> New package: dists/stable/main/binary-darwin-x86_64/devel/cmake_3.16.2-1_darwin-x86_64.deb
> New package: dists/stable/main/binary-darwin-x86_64/libs/libxslt-bin_1.1.29-1_darwin-x86_64.deb
> New package: dists/stable/main/binary-darwin-x86_64/libs/libxml2-bin_2.9.4-1_darwin-x86_64.deb
> New package: dists/stable/main/binary-darwin-x86_64/libs/libxslt_1.1.29-1_darwin-x86_64.deb
> New package: dists/stable/main/binary-darwin-x86_64/libs/libxml2_2.9.4-1_darwin-x86_64.deb
> New package: dists/stable/main/binary-darwin-x86_64/libs/libxslt-shlibs_1.1.29-1_darwin-x86_64.deb
> New package: dists/stable/main/binary-darwin-x86_64/libs/libxml2-shlibs_2.9.4-1_darwin-x86_64.deb
> Failed: phase compiling: term-readkey-pm5184-2.37-1 failed
The problem is with term-readkey-pm5184 on 10.15, not imagemagick.
https://github.com/fink/fink-distributions/issues/461
Unfortunately, the Fink people that know Perl haven't been able to
figure out how to fix term-readkey-pm, or rather extutils-makemaker-pm
which term-readkey-pm is using to build and is failing due to new
security rules in Catalina.
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