Changes between Initial Version and Version 4 of Ticket #61299
- Timestamp:
- Oct 10, 2020, 8:04:22 AM (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #61299
- Property Port python39 py-cchardet py-pycryptodome py-fann2 added; python36 py-chardet removed
-
Ticket #61299 – Description
initial v4 1 Python 3.xports build using `-Wno-unused-result`; this argument gets saved in `CFLAGS` and other variables in _sysconfigdata!__darwin_darwin.py, and is used again when building ports for Python modules. On macOS 10.6, Python itself is built using an alternative compiler (e.g. MacPorts' clang 3.7 or clang 9.0) which recognizes `-Wno-unused-result`, but modules (e.g. `py3x-cchardet`) might try to build using a system compiler (e.g. gcc 4.2) which doesn't recognize the option:1 `python37`, `python38`, and `python39` ports build using `-Wno-unused-result`; this argument gets saved in `CFLAGS` and other variables in _sysconfigdata!__darwin_darwin.py, and is used again when building ports for Python modules. On macOS 10.6, Python itself is built using an alternative compiler (e.g. MacPorts' clang 3.7 or clang 9.0) which recognizes `-Wno-unused-result`, but modules (e.g. `py3x-cchardet`) might try to build using a system compiler (e.g. gcc 4.2) which doesn't recognize the option: 2 2 {{{ 3 3 /usr/bin/gcc-4.2 -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -pipe -Os -isysroot/ -Isrc/ext/uchardet/src -I/opt/local/Library/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c src/cchardet/_cchardet.cpp -o build/temp.macosx-10.6-x86_64-3.9/src/cchardet/_cchardet.o 4 4 cc1plus: error: unrecognized command line option "-Wno-unused-result" 5 5 }}} 6 Possibly related to #56458. Possibly present in `python35` or earlier but haven't checked.(I personally am not using macOS 10.6.)6 Possibly related to #56458. (I personally am not using macOS 10.6.)