term-readkey-pm5184-2.37-1 build error

thhsieh <[email protected]> Fri, 15 Nov 2019 22:43:55 +0800
Newsgroups gmane.os.apple.fink.devel,gmane.os.apple.fink.general
Message-ID <[email protected]>
Dear Fink Developer,

Today when I tried to install fink package: term-readkey-pm5184-2.37-1
in my Macbook Pro, which is required by installing xfig, I encountered
the following error:

===========================================================================
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
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.ge8Y7 failed, exit code 2
Removing runtime build-lock...
Removing build-lock package...
/Users/thhsieh/sw/bin/dpkg-lockwait -r fink-buildlock-term-readkey-pm5184-2.37-1
(Reading database ... 51410 files and directories currently installed.)
Removing fink-buildlock-term-readkey-pm5184-2.37-1 ...
Failed: phase compiling: term-readkey-pm5184-2.37-1 failed
===========================================================================

It seems that using dlopen() to load the image should use the full path
instead of the relative path. My system configuration is the following:

===========================================================================
$ sw_vers
ProductName:	Mac OS X
ProductVersion:	10.15.1
BuildVersion:	19B88

$ fink -V | head -n 2
Package manager version: 0.45.0
Distribution version: selfupdate-rsync Fri Nov 15 21:43:06 2019, 10.15, x86_64

$ xcodebuild -version | head -n 1
Xcode 11.2.1
===========================================================================

Please help me to fix this problem.

Thank you very much,


T.H.Hsieh


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