Re: Failed: phase compiling: python27-2.7.17-1 failed
Alexander Hansen <[email protected]>
| Newsgroups | gmane.os.apple.fink.beginners |
|---|---|
| Message-ID | <[email protected]> |
It’s not really the version of Fink, as such. It would be a modification just to the python27 build process. --akh Sent from Mail for Windows 10 From: Albert Kumar Sent: Tuesday, December 10, 2019 1:32 PM To: Alexander Hansen Cc: [email protected] ; [email protected] Subject: Re: [Fink-beginners] Failed: phase compiling: python27-2.7.17-1 failed Hi Alexander, Thank you for the explanation. So, this issue needs to be fixed in Fink. There is nothing that I can or should do on my end. Let me know if my understanding is incorrect. Will the next version of Fink fix this? Albert From: Alexander Hansen <[email protected]> Sent: Sunday, December 8, 2019 10:11 PM To: Albert Kumar <[email protected]> Cc: [email protected] <[email protected]>; [email protected] <[email protected]> Subject: Re: [Fink-beginners] Failed: phase compiling: python27-2.7.17-1 failed On Dec 8, 2019, at 17:16, Albert Kumar <[email protected] > wrote: Hi, I installed fink and tried to install geda-gaf (fink install geda-gaf). But, it seems to fail with the message "Failed: phase compiling: python27-2.7.17-1 failed". I've attached the output from the terminal. I'm using Mac OS Mojave 10.14.5, Xcode 11.2.1 and Xcode Tools 11.2. Not sure if it helps, but I'm using python3 from miniConda. I believe python2.7 comes from Xcode. Fink tries _not_ to use third-party stuff. geed-gaf wants Fink’s python27. How can I fix this error? Thanks, Albert <fink_geda-gaf.txt>_______________________________________________ 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 This problem seems to show up every so often. I’ll strip away the unnecessary stuff from your successful package builds and display the error below: ... gcc -fno-strict-aliasing -Wno-nullability-completeness -DNDEBUG -g -fwrapv -fwrapv -O3 -Wall -Wstrict-prototypes -I. -IInclude -I./Include -I/opt/sw/include/ncursesw -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.build/python27-2.7.17-1/Python-2.7.17/Include -I/opt/sw/src/fink.build/python27-2.7.17-1/Python-2.7.17 -c /opt/sw/src/fink.build/python27-2.7.17-1/Python-2.7.17/Modules/readline.c -o build/temp.macosx-10.14-x86_64-2.7/opt/sw/src/fink.build/python27-2.7.17-1/Python-2.7.17/Modules/readline.o /opt/sw/src/fink.build/python27-2.7.17-1/Python-2.7.17/Modules/readline.c:891:5: error: use of undeclared identifier 'rl_completion_suppress_append' rl_completion_suppress_append = 0; ^ /opt/sw/src/fink.build/python27-2.7.17-1/Python-2.7.17/Modules/readline.c:1016:5: error: use of undeclared identifier 'rl_catch_signals' rl_catch_signals = 0; ^ … gcc -L/opt/sw/lib -bundle /opt/sw/src/fink.build/python27-2.7.17-1/Python-2.7.17/libpython2.7.dylib -L/opt/sw/lib -L/opt/sw/lib -fno-strict-aliasing -Wno-nullability-completeness -DNDEBUG -g -fwrapv -fwrapv -O3 -Wall -Wstrict-prototypes -I. -IInclude -I./Include -I/opt/sw/include -I/opt/sw/include/ncursesw -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include build/temp.macosx-10.14-x86_64-2.7/opt/sw/src/fink.build/python27-2.7.17-1/Python-2.7.17/Modules/_ctypes/_ctypes.o build/temp.macosx-10.14-x86_64-2.7/opt/sw/src/fink.build/python27-2.7.17-1/Python-2.7.17/Modules/_ctypes/callbacks.o build/temp.macosx-10.14-x86_64-2.7/opt/sw/src/fink.build/python27-2.7.17-1/Python-2.7.17/Modules/_ctypes/callproc.o build/temp.macosx-10.14-x86_64-2.7/opt/sw/src/fink.build/python27-2.7.17-1/Python-2.7.17/Modules/_ctypes/stgdict.o build/temp.macosx-10.14-x86_64-2.7/opt/sw/src/fink.build/python27-2.7.17-1/Python-2.7.17/Modules/_ctypes/cfield.o build/temp.macosx-10.14-x86_64-2.7/opt/sw/src/fink.build/python27-2.7.17-1/Python-2.7.17/Modules/_ctypes/malloc_closure.o build/temp.macosx-10.14-x86_64-2.7/opt/sw/src/fink.build/python27-2.7.17-1/Python-2.7.17/Modules/_ctypes/darwin/dlfcn_simple.o -L/opt/sw/lib -L. -lffi -ldl -o build/lib.macosx-10.14-x86_64-2.7/_ctypes.so 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 readline … Package manager version: 0.45.0 Distribution version: selfupdate-rsync Sat Dec 7 22:42:39 2019, 10.14.5, x86_64 Trees: local/main stable/main Xcode.app: 11.2.1 Xcode command-line tools: 11.2.0.0.1.1571444319 Max. Fink build jobs: 1 The issue appears to be that Fink’s readline library package is being shadowed by the system’s non-identical version. We’ll need to fix this. -- Alexander Hansen, Ph.D. Fink User Liaison _______________________________________________ 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
657CC7B7F19E4819B472C7D4C792B41C.png
(image/png, 135 B) - not displayed