|
From: Zhu, J. <jx...@la...> - 2020-05-30 17:42:07
|
Derek,
Thanks a lot for the help.
Here is the log for the gcc part on my computer –
gcc -fno-strict-aliasing -Wno-nullability-completeness -DNDEBUG -g -fwrapv -fwrapv -O3 -Wall -Wstrict-prototypes -I. -IInclude -I./Include -I/sw/include -I/sw/include/ncursesw -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include -I/sw/src/fink.build/python27-2.7.18-2/Python-2.7.18/Include -I/sw/src/fink.build/python27-2.7.18-2/Python-2.7.18 -c ./Mac/Modules/_scproxy.c -o build/temp.macosx-10.14-x86_64-2.7/./Mac/Modules/_scproxy.o
In file included from ./Mac/Modules/_scproxy.c:6:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/SystemConfiguration.framework/Headers/SystemConfiguration.h:126:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/SystemConfiguration.framework/Headers/SCPreferences.h:35:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/Security.h:98:
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/CMSDecoder.h:130:5: error:
expected function body after function declarator
__OSX_AVAILABLE_BUT_DEPRECATED_MSG(__MAC_10_5, __MAC_10_13, __IPHONE_NA, __IPHONE_NA,
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include/Availability.h:291:57: note:
expanded from macro '__OSX_AVAILABLE_BUT_DEPRECATED_MSG'
__AVAILABILITY_INTERNAL##_osxIntro...
^
<scratch space>:73:1: note: expanded from here
__AVAILABILITY_INTERNAL__MAC_10_5_DEP__MAC_10_13_MSG
^
./Mac/Modules/_scproxy.c:67:10: warning: comparison of address of
'kSCPropNetProxiesExcludeSimpleHostnames' not equal to a null pointer is always true
[-Wtautological-pointer-compare]
if (&kSCPropNetProxiesExcludeSimpleHostnames != NULL) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/SystemConfiguration.framework/Headers/SCSchemaDefinitions.h:1989:49: note:
expanded from macro 'kSCPropNetProxiesExcludeSimpleHostnames'
#define kSCPropNetProxiesExcludeSimpleHostnames kSCPropNetProxiesExcludeSimpleHostnames
Please let me know if you have further instructions.
Best,
Jianxin
On 5/30/20, 11:27 AM, "Homeier, Derek" <dh...@gw...> wrote:
On 30 May 2020, at 6:00 pm, Zhu, Jianxin <jx...@la...> wrote:
>
> As Luigi, I am having the same problem.
> I have also followed your suggestion to save python27.info and python27.patch into a newly created subfolder /sw/fink/dists/local/main/finkinfo/languages.
> But the error remains. On my MacBook, the error info is as follows:
>
> Python build finished, but the necessary bits to build these modules were not found:
> bsddb185 dl imageop
> linuxaudiodev ossaudiodev spwd
> sunaudiodev
> To find the necessary bits, look in setup.py in detect_modules() for the module's name.
> (Fink package build should have 7 missing)
>
>
> Failed to build these modules:
> _scproxy
>
Jianxin,
your log shows that you have used the updated package description, so everything went
right on that part. The actual compile error is further up, can you check that you also see
something like
gcc -fno-strict-aliasing -Wno-nullability-completeness -DNDEBUG -g -fwrapv -fwrapv -O3 -Wall -Wstrict-prototypes -I. -IInclude -I./Include -I/opt/sw/include/ncu
rsesw -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include -I/opt/sw/include -I/opt/sw/src/fink.bui
ld/python27-2.7.18-1/Python-2.7.18/Include -I/opt/sw/src/fink.build/python27-2.7.18-1/Python-2.7.18 -c ./Mac/Modules/_scproxy.c -o build/temp.macosx-10.14-x86_6
4-2.7/./Mac/Modules/_scproxy.o
In file included from ./Mac/Modules/_scproxy.c:6:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/SystemConfiguration.framework/Headers/SystemConfigurati
on.h:126:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/SystemConfiguration.framework/Headers/SCPreferences.h:3
5:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Security.framework/Headers/Security.h:98:
/Library/Developer/CommandLineTools/SDKs//System/Library/Frameworks/Security.framework/Headers/CMSDecoder.h:130:5: error: expected function body
after function declarator
__OSX_AVAILABLE_BUT_DEPRECATED_MSG(__MAC_10_5, __MAC_10_13, __IPHONE_NA, __IPHONE_NA,
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs//usr/include/Availability.h:291:57: note: expanded from macro
'__OSX_AVAILABLE_BUT_DEPRECATED_MSG'
__AVAILABILITY_INTERNAL##_osxIntro##_DEP##_osxDep##_MSG(_msg)
^
<scratch space>:73:1: note: expanded from here
__AVAILABILITY_INTERNAL__MAC_10_5_DEP__MAC_10_13_MSG
^
./Mac/Modules/_scproxy.c:67:10: warning: comparison of address of 'kSCPropNetProxiesExcludeSimpleHostnames' not equal to a null pointer is always true [-Wtautol
ogical-pointer-compare]
if (&kSCPropNetProxiesExcludeSimpleHostnames != NULL) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~
/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/SystemConfiguration.framework/Headers/SCSchemaDefinitions.h:1989:49: note: ex
panded from macro 'kSCPropNetProxiesExcludeSimpleHostnames'
#define kSCPropNetProxiesExcludeSimpleHostnames kSCPropNetProxiesExcludeSimpleHostnames
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning and 1 error generated.
Unfortunately I could only specifically address the other error concerning the readline headers;
I only hoped that this one might be solved as well, but apparently there is more work to be done.
It looks a bit like a mismatch between the MacOSX10.15.sdk headers from Xcode and MacOSX10.14.sdk
from the system /Library, but if it is I cannot really reproduce why it is including the CMSDecoder.h
(or SystemConfiguration.h fwiw) from /Library rather than from /Applications/Xcode.app, since the latter is
explicitly included in CPPFLAGS…
Cheers,
Derek
|