[MacPorts] #70823: py-wxpython needs to be fixed properly
MacPorts
noreply at macports.org
Fri Sep 20 05:36:27 UTC 2024
#70823: py-wxpython needs to be fixed properly
--------------------------+-----------------------------
Reporter: barracuda156 | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.10.1
Keywords: | Port: py-wxpython-4.0
--------------------------+-----------------------------
This is broken on a number of OS due to configure forcing that:
{{{
configure:23362: checking if C++ compiler (/opt/local/bin/g++-mp-14
-mmacosx-version-min=10.6) works with SDK/version options
configure:23388: /opt/local/bin/g++-mp-14 -mmacosx-version-min=10.6 -o
conftest -arch ppc -D_GLIBCXX_USE_CXX11_ABI=0 -isysroot/ -arch ppc
conftest.cpp >&5
conftest.cpp:21:14: error: #error macOS versions < 10.10 are not
supported.
21 | #error macOS versions < 10.10 are not supported.
| ^~~~~
conftest.cpp:24:14: error: #error macOS SDK version is too low, 10.11 or
later is required.
24 | #error macOS SDK version is too low, 10.11 or later is
required.
| ^~~~~
configure:23388: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "wxWidgets"
| #define PACKAGE_TARNAME "wxwidgets"
| #define PACKAGE_VERSION "3.2.2.1"
| #define PACKAGE_STRING "wxWidgets 3.2.2.1"
| #define PACKAGE_BUGREPORT "wx-dev at googlegroups.com"
| #define PACKAGE_URL ""
| #define __BSD__ 1
| #define __DARWIN__ 1
| #define HAVE_CXX11 1
| /* end confdefs.h. */
|
| #include <Availability.h>
|
| int
| main ()
| {
|
| #if defined(__MAC_OS_X_VERSION_MIN_REQUIRED)
| #if __MAC_OS_X_VERSION_MIN_REQUIRED < 101000
| #error macOS versions < 10.10 are not supported.
| #endif
| #if __MAC_OS_X_VERSION_MAX_ALLOWED < 101100
| #error macOS SDK version is too low, 10.11 or later is
required.
| #endif
| #elif !defined(__IPHONE_OS_VERSION_MIN_REQUIRED)
| #error unrecognized platform
| #endif
|
| ;
| return 0;
| }
configure:23392: error: in
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_python_py-
wxpython-4.0/py39-wxpython-4.0/work/wxPython-4.2.1/build/wxbld':
configure:23394: error: building C++ programs doesn't work, try using
--with-macosx-version-min with a different OS version or omitting it
entirely.
See `config.log' for more details
}}}
Perhaps at least this version should _not_ be picked on systems in
question, otherwise this also breaks all dependents.
--
Ticket URL: <https://trac.macports.org/ticket/70823>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list