Re: still can't compile term-readkey-pm5184 == it creates ReadKey.Bundle but then "no suitable image found" in ReadKey.bundle
Hanspeter Niederstrasser <[email protected]>
| Newsgroups | gmane.os.apple.fink.beginners |
|---|---|
| Organization | Snaggled Works |
| Message-ID | <[email protected]> |
On 11/19/19 3:24 PM, Tom Liehe via Fink-beginners wrote:
> The following package will be installed or updated:
> term-readkey-pm5184
> Setting runtime build-lock...
> dpkg-deb -b /opt/sw/src/fink.build/root-fink-buildlock-term-readkey-pm5184-2.37-1 /opt/sw/src/fink.build
> dpkg-deb: building package `fink-buildlock-term-readkey-pm5184-2.37-1' in `/opt/sw/src/fink.build/fink-buildlock-term-readkey-pm5184-2.37-1_2019.11.19-12.50.27_darwin-x86_64.deb'.
> Installing build-lock package...
> /opt/sw/bin/dpkg-lockwait -i /opt/sw/src/fink.build/fink-buildlock-term-readkey-pm5184-2.37-1_2019.11.19-12.50.27_darwin-x86_64.deb
> Selecting previously deselected package fink-buildlock-term-readkey-pm5184-2.37-1.
> (Reading database ... 200117 files and directories currently installed.)
> Unpacking fink-buildlock-term-readkey-pm5184-2.37-1 (from .../fink-buildlock-term-readkey-pm5184-2.37-1_2019.11.19-12.50.27_darwin-x86_64.deb) ...
> Setting up fink-buildlock-term-readkey-pm5184-2.37-1 (2019.11.19-12.50.27) ...
>
> sudo -u fink-bld [ENV] sh -c /tmp/fink.gNfYO
> env LANG=C LC_ALL=C /opt/sw/bin/tar --no-same-owner --no-same-permissions -xf /opt/sw/src/TermReadKey-2.37.tar.gz
> sudo -u fink-bld [ENV] sh -c /tmp/fink.iL8WS
> ARCHFLAGS="-I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Perl/5.18/darwin-thread-multi-2level/CORE" /usr/bin/arch -x86_64 perl5.18 Makefile.PL PERL="/usr/bin/arch -x86_64 perl5.18" PREFIX=/opt/sw INSTALLPRIVLIB=/opt/sw/lib/perl5/5.18.4 INSTALLARCHLIB=/opt/sw/lib/perl5/5.18.4/darwin-thread-multi-2level INSTALLSITELIB=/opt/sw/lib/perl5/5.18.4 INSTALLSITEARCH=/opt/sw/lib/perl5/5.18.4/darwin-thread-multi-2level INSTALLMAN1DIR=/opt/sw/share/man/man1 INSTALLMAN3DIR=/opt/sw/share/man/man3 INSTALLSITEMAN1DIR=/opt/sw/share/man/man1 INSTALLSITEMAN3DIR=/opt/sw/share/man/man3 INSTALLBIN=/opt/sw/bin INSTALLSITEBIN=/opt/sw/bin INSTALLSCRIPT=/opt/sw/bin DEFINE=-MD
> Checking if your kit is complete...
> Looks good
> Generating a Unix-style Makefile
> Writing Makefile for Term::ReadKey
> Writing MYMETA.yml and MYMETA.json
> /usr/bin/make CC=gcc CXX=g++
> Running Mkbootstrap for ReadKey ()
> chmod 644 "ReadKey.bs"
> "/usr/bin/arch" -x86_64 perl5.18 -MExtUtils::Command::MM -e 'cp_nonempty' -- ReadKey.bs blib/arch/auto/Term/ReadKey/ReadKey.bs 644
> "/usr/bin/arch" -x86_64 perl5.18 genchars.pl
>
> 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
> 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
> "/usr/bin/arch" -x86_64 perl5.18 "-Iblib/arch" "-Iblib/lib" ReadKey_pm.PL 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
> Creating ReadKey.pm
> Bootstrapping the XS for blockoptions: make: *** [ReadKey.pm] Error 255
This is https://github.com/fink/fink-distributions/issues/461
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