[MacPorts] #62506: python39: '_ctypes' module missing on 10.5
MacPorts
noreply at macports.org
Wed Mar 31 02:26:42 UTC 2021
#62506: python39: '_ctypes' module missing on 10.5
-----------------------+---------------------
Reporter: rmottola | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords: leopard
Port: python39 |
-----------------------+---------------------
Comment (by kencu):
simple error in the end:
{{{
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_python39/python39/work/Python-3.9.2/Modules/_ctypes/callbacks.c:
In function ‘_ctypes_alloc_callback’:
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_python39/python39/work/Python-3.9.2/Modules/_ctypes/callbacks.c:430:
warning: ignoring #pragma clang diagnostic
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_python39/python39/work/Python-3.9.2/Modules/_ctypes/callbacks.c:431:
warning: ignoring #pragma clang diagnostic
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_python39/python39/work/Python-3.9.2/Modules/_ctypes/callbacks.c:434:
error: #pragma GCC diagnostic not allowed inside functions
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_python39/python39/work/Python-3.9.2/Modules/_ctypes/callbacks.c:435:
error: #pragma GCC diagnostic not allowed inside functions
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_python39/python39/work/Python-3.9.2/Modules/_ctypes/callbacks.c:437:
warning: ‘ffi_prep_closure’ is deprecated (declared at
/opt/local/include/ffi.h:343)
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_python39/python39/work/Python-3.9.2/Modules/_ctypes/callbacks.c:440:
warning: ignoring #pragma clang diagnostic
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_python39/python39/work/Python-3.9.2/Modules/_ctypes/callbacks.c:443:
error: #pragma GCC diagnostic not allowed inside functions
/usr/bin/gcc-4.2 -fno-strict-aliasing -Wsign-compare -fno-common -dynamic
-DNDEBUG -g -fwrapv -O3 -Wall -pipe -Os -arch ppc -std=c99 -Wextra -Wno-
unused-parameter -Wno-missing-field-initializers -Werror=implicit-
function-declaration -fvisibility=hidden -I./Include/internal
-DUNIVERSAL=1
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_python39/python39/work/Python-3.
}}}
10 second fix. I'll put a patch up here.
--
Ticket URL: <https://trac.macports.org/ticket/62506#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list