Opened 8 weeks ago

#70823 new defect

py-wxpython needs to be fixed properly

Reported by: barracuda156 Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.10.1
Keywords: Cc:
Port: py-wxpython-4.0

Description

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@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.

Change History (0)

Note: See TracTickets for help on using tickets.