|
From: Luigi E. Z. <Lui...@mi...> - 2020-05-31 10:09:58
|
On 30/05/2020 19:41, Zhu, Jianxin wrote:
> 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
>
>
As Jianxin, I followed the procedure suggested by Hanspeter, with the
same - negative - result. The only difference with the original outcome
is the disappearance of 'readline' from the 'Failed to build these
modules: 'list.
I assume that the list of the log file provided by Jianxin to Derek will
be the same (if required, I'll go for it).
There is also another point that I don't understand; the issue under
examination is going on on my iMac, that I couldn't use for a couple of
months (lock-down effect); on the contrary, on my MacbookAir, which has
a Fink installation that should be 'almost' the same as on iMac, the
update to python27_2.7.18-1 went smoothly on May 6, with quite different
.info and .patch files; so what changed going to python27_2.7.18-2? As
for now, I didn't get any notification for an update to
python27_2.7.18-2 on my MacbookAir.
Waiting for any suggestion, yours,
Luigi Zanotti
--
Prof. Luigi Ernesto Zanotti (retired)
Physics Department "G. Occhialini"
University of Milano Bicocca
Piazza della Scienza 3. 20126 Milano Italy
E-Mail: lui...@mi...
|