-
Notifications
You must be signed in to change notification settings - Fork 556
Open
Description
Operating system: macOS 14.7.1
wxPython version & source: 4.2.4
Python version & source: 3.13.9
Description of the problem:
Looks like the build fails to pick gtk headers location:
[272/939] Compiling sip/cpp/sip_corewxPyApp.cpp
15:57:26 runner ['/usr/bin/clang++', '-UNDEBUG', '-O3', '-fPIC', '-UNDEBUG', '-g', '-fno-strict-overflow', '-fno-common', '-dynamic', '-g', '-O3', '-Os', '-isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk', '-ldl', '-fPIC', '-I../../../../../../../../../Library/Frameworks/wxWidgets.framework/Versions/wxGTK/3.2/lib/wx/include/gtk3-unicode-3.2', '-I../../../../../../../../../Library/Frameworks/wxWidgets.framework/Versions/wxGTK/3.2/include/wx-3.2', '-Isip/siplib', '-I../../../sip/siplib', '-Iwx/include', '-I../../../wx/include', '-Isrc', '-I../../../src', '-I../../../../../../../../../Library/Frameworks/Python.framework/Versions/3.13/include/python3.13', '-DPYTHONDIR="/usr/local/lib/python/site-packages"', '-DPYTHONARCHDIR="/usr/local/lib/python/site-packages"', '-DHAVE_PYEXT=1', '-DHAVE_PYTHON_H=1', '-DHAVE_WX=1', '-DHAVE_WXADV=1', '-DHAVE_WXSTC=1', '-DHAVE_WXHTML=1', '-DHAVE_WXGL=1', '-DHAVE_WXWEBVIEW=1', '-DHAVE_WXXML=1', '-DHAVE_WXXRC=1', '-DHAVE_WXRICHTEXT=1', '-DHAVE_WXMEDIA=1', '-DHAVE_WXRIBBON=1', '-DHAVE_WXPROPGRID=1', '-DHAVE_WXAUI=1', '-DWXUSINGDLL', '-D__WXGTK3__', '-D__WXGTK__', '-D_FILE_OFFSET_BITS=64', '../../../sip/cpp/sip_corewxPyApp.cpp', '-c', '-o/opt/local/var/macports/build/py313-wxpython-4.0-b10ae09f/work/wxPython-4.2.4/build/waf/3.1/sip/cpp/sip_corewxPyApp.cpp.3.o']
clang: warning: -ldl: 'linker' input unused [-Wunused-command-line-argument]
[273/939] Compiling sip/cpp/sip_corewxGDIObject.cpp
15:57:26 runner ['/usr/bin/clang++', '-UNDEBUG', '-O3', '-fPIC', '-UNDEBUG', '-g', '-fno-strict-overflow', '-fno-common', '-dynamic', '-g', '-O3', '-Os', '-isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk', '-ldl', '-fPIC', '-I../../../../../../../../../Library/Frameworks/wxWidgets.framework/Versions/wxGTK/3.2/lib/wx/include/gtk3-unicode-3.2', '-I../../../../../../../../../Library/Frameworks/wxWidgets.framework/Versions/wxGTK/3.2/include/wx-3.2', '-Isip/siplib', '-I../../../sip/siplib', '-Iwx/include', '-I../../../wx/include', '-Isrc', '-I../../../src', '-I../../../../../../../../../Library/Frameworks/Python.framework/Versions/3.13/include/python3.13', '-DPYTHONDIR="/usr/local/lib/python/site-packages"', '-DPYTHONARCHDIR="/usr/local/lib/python/site-packages"', '-DHAVE_PYEXT=1', '-DHAVE_PYTHON_H=1', '-DHAVE_WX=1', '-DHAVE_WXADV=1', '-DHAVE_WXSTC=1', '-DHAVE_WXHTML=1', '-DHAVE_WXGL=1', '-DHAVE_WXWEBVIEW=1', '-DHAVE_WXXML=1', '-DHAVE_WXXRC=1', '-DHAVE_WXRICHTEXT=1', '-DHAVE_WXMEDIA=1', '-DHAVE_WXRIBBON=1', '-DHAVE_WXPROPGRID=1', '-DHAVE_WXAUI=1', '-DWXUSINGDLL', '-D__WXGTK3__', '-D__WXGTK__', '-D_FILE_OFFSET_BITS=64', '../../../sip/cpp/sip_corewxGDIObject.cpp', '-c', '-o/opt/local/var/macports/build/py313-wxpython-4.0-b10ae09f/work/wxPython-4.2.4/build/waf/3.1/sip/cpp/sip_corewxGDIObject.cpp.3.o']
clang: warning: -ldl: 'linker' input unused [-Wunused-command-line-argument]
[274/939] Compiling sip/cpp/sip_corewxPropagationDisabler.cpp
15:57:26 runner ['/usr/bin/clang++', '-UNDEBUG', '-O3', '-fPIC', '-UNDEBUG', '-g', '-fno-strict-overflow', '-fno-common', '-dynamic', '-g', '-O3', '-Os', '-isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk', '-ldl', '-fPIC', '-I../../../../../../../../../Library/Frameworks/wxWidgets.framework/Versions/wxGTK/3.2/lib/wx/include/gtk3-unicode-3.2', '-I../../../../../../../../../Library/Frameworks/wxWidgets.framework/Versions/wxGTK/3.2/include/wx-3.2', '-Isip/siplib', '-I../../../sip/siplib', '-Iwx/include', '-I../../../wx/include', '-Isrc', '-I../../../src', '-I../../../../../../../../../Library/Frameworks/Python.framework/Versions/3.13/include/python3.13', '-DPYTHONDIR="/usr/local/lib/python/site-packages"', '-DPYTHONARCHDIR="/usr/local/lib/python/site-packages"', '-DHAVE_PYEXT=1', '-DHAVE_PYTHON_H=1', '-DHAVE_WX=1', '-DHAVE_WXADV=1', '-DHAVE_WXSTC=1', '-DHAVE_WXHTML=1', '-DHAVE_WXGL=1', '-DHAVE_WXWEBVIEW=1', '-DHAVE_WXXML=1', '-DHAVE_WXXRC=1', '-DHAVE_WXRICHTEXT=1', '-DHAVE_WXMEDIA=1', '-DHAVE_WXRIBBON=1', '-DHAVE_WXPROPGRID=1', '-DHAVE_WXAUI=1', '-DWXUSINGDLL', '-D__WXGTK3__', '-D__WXGTK__', '-D_FILE_OFFSET_BITS=64', '../../../sip/cpp/sip_corewxPropagationDisabler.cpp', '-c', '-o/opt/local/var/macports/build/py313-wxpython-4.0-b10ae09f/work/wxPython-4.2.4/build/waf/3.1/sip/cpp/sip_corewxPropagationDisabler.cpp.3.o']
clang: warning: -ldl: 'linker' input unused [-Wunused-command-line-argument]
[275/939] Compiling sip/cpp/sip_corewxPropagateOnce.cpp
15:57:26 runner ['/usr/bin/clang++', '-UNDEBUG', '-O3', '-fPIC', '-UNDEBUG', '-g', '-fno-strict-overflow', '-fno-common', '-dynamic', '-g', '-O3', '-Os', '-isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk', '-ldl', '-fPIC', '-I../../../../../../../../../Library/Frameworks/wxWidgets.framework/Versions/wxGTK/3.2/lib/wx/include/gtk3-unicode-3.2', '-I../../../../../../../../../Library/Frameworks/wxWidgets.framework/Versions/wxGTK/3.2/include/wx-3.2', '-Isip/siplib', '-I../../../sip/siplib', '-Iwx/include', '-I../../../wx/include', '-Isrc', '-I../../../src', '-I../../../../../../../../../Library/Frameworks/Python.framework/Versions/3.13/include/python3.13', '-DPYTHONDIR="/usr/local/lib/python/site-packages"', '-DPYTHONARCHDIR="/usr/local/lib/python/site-packages"', '-DHAVE_PYEXT=1', '-DHAVE_PYTHON_H=1', '-DHAVE_WX=1', '-DHAVE_WXADV=1', '-DHAVE_WXSTC=1', '-DHAVE_WXHTML=1', '-DHAVE_WXGL=1', '-DHAVE_WXWEBVIEW=1', '-DHAVE_WXXML=1', '-DHAVE_WXXRC=1', '-DHAVE_WXRICHTEXT=1', '-DHAVE_WXMEDIA=1', '-DHAVE_WXRIBBON=1', '-DHAVE_WXPROPGRID=1', '-DHAVE_WXAUI=1', '-DWXUSINGDLL', '-D__WXGTK3__', '-D__WXGTK__', '-D_FILE_OFFSET_BITS=64', '../../../sip/cpp/sip_corewxPropagateOnce.cpp', '-c', '-o/opt/local/var/macports/build/py313-wxpython-4.0-b10ae09f/work/wxPython-4.2.4/build/waf/3.1/sip/cpp/sip_corewxPropagateOnce.cpp.3.o']
clang: warning: -ldl: 'linker' input unused [-Wunused-command-line-argument]
[276/939] Compiling sip/cpp/sip_corewxProgressDialog.cpp
15:57:26 runner ['/usr/bin/clang++', '-UNDEBUG', '-O3', '-fPIC', '-UNDEBUG', '-g', '-fno-strict-overflow', '-fno-common', '-dynamic', '-g', '-O3', '-Os', '-isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk', '-ldl', '-fPIC', '-I../../../../../../../../../Library/Frameworks/wxWidgets.framework/Versions/wxGTK/3.2/lib/wx/include/gtk3-unicode-3.2', '-I../../../../../../../../../Library/Frameworks/wxWidgets.framework/Versions/wxGTK/3.2/include/wx-3.2', '-Isip/siplib', '-I../../../sip/siplib', '-Iwx/include', '-I../../../wx/include', '-Isrc', '-I../../../src', '-I../../../../../../../../../Library/Frameworks/Python.framework/Versions/3.13/include/python3.13', '-DPYTHONDIR="/usr/local/lib/python/site-packages"', '-DPYTHONARCHDIR="/usr/local/lib/python/site-packages"', '-DHAVE_PYEXT=1', '-DHAVE_PYTHON_H=1', '-DHAVE_WX=1', '-DHAVE_WXADV=1', '-DHAVE_WXSTC=1', '-DHAVE_WXHTML=1', '-DHAVE_WXGL=1', '-DHAVE_WXWEBVIEW=1', '-DHAVE_WXXML=1', '-DHAVE_WXXRC=1', '-DHAVE_WXRICHTEXT=1', '-DHAVE_WXMEDIA=1', '-DHAVE_WXRIBBON=1', '-DHAVE_WXPROPGRID=1', '-DHAVE_WXAUI=1', '-DWXUSINGDLL', '-D__WXGTK3__', '-D__WXGTK__', '-D_FILE_OFFSET_BITS=64', '../../../sip/cpp/sip_corewxProgressDialog.cpp', '-c', '-o/opt/local/var/macports/build/py313-wxpython-4.0-b10ae09f/work/wxPython-4.2.4/build/waf/3.1/sip/cpp/sip_corewxProgressDialog.cpp.3.o']
clang: warning: -ldl: 'linker' input unused [-Wunused-command-line-argument]
[277/939] Compiling sip/cpp/sip_corewxGCDC.cpp
15:57:26 runner ['/usr/bin/clang++', '-UNDEBUG', '-O3', '-fPIC', '-UNDEBUG', '-g', '-fno-strict-overflow', '-fno-common', '-dynamic', '-g', '-O3', '-Os', '-isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk', '-ldl', '-fPIC', '-I../../../../../../../../../Library/Frameworks/wxWidgets.framework/Versions/wxGTK/3.2/lib/wx/include/gtk3-unicode-3.2', '-I../../../../../../../../../Library/Frameworks/wxWidgets.framework/Versions/wxGTK/3.2/include/wx-3.2', '-Isip/siplib', '-I../../../sip/siplib', '-Iwx/include', '-I../../../wx/include', '-Isrc', '-I../../../src', '-I../../../../../../../../../Library/Frameworks/Python.framework/Versions/3.13/include/python3.13', '-DPYTHONDIR="/usr/local/lib/python/site-packages"', '-DPYTHONARCHDIR="/usr/local/lib/python/site-packages"', '-DHAVE_PYEXT=1', '-DHAVE_PYTHON_H=1', '-DHAVE_WX=1', '-DHAVE_WXADV=1', '-DHAVE_WXSTC=1', '-DHAVE_WXHTML=1', '-DHAVE_WXGL=1', '-DHAVE_WXWEBVIEW=1', '-DHAVE_WXXML=1', '-DHAVE_WXXRC=1', '-DHAVE_WXRICHTEXT=1', '-DHAVE_WXMEDIA=1', '-DHAVE_WXRIBBON=1', '-DHAVE_WXPROPGRID=1', '-DHAVE_WXAUI=1', '-DWXUSINGDLL', '-D__WXGTK3__', '-D__WXGTK__', '-D_FILE_OFFSET_BITS=64', '../../../sip/cpp/sip_corewxGCDC.cpp', '-c', '-o/opt/local/var/macports/build/py313-wxpython-4.0-b10ae09f/work/wxPython-4.2.4/build/waf/3.1/sip/cpp/sip_corewxGCDC.cpp.3.o']
clang: warning: -ldl: 'linker' input unused [-Wunused-command-line-argument]
[278/939] Compiling sip/cpp/sip_corewxCustomDataObject.cpp
15:57:27 runner ['/usr/bin/clang++', '-UNDEBUG', '-O3', '-fPIC', '-UNDEBUG', '-g', '-fno-strict-overflow', '-fno-common', '-dynamic', '-g', '-O3', '-Os', '-isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk', '-ldl', '-fPIC', '-I../../../../../../../../../Library/Frameworks/wxWidgets.framework/Versions/wxGTK/3.2/lib/wx/include/gtk3-unicode-3.2', '-I../../../../../../../../../Library/Frameworks/wxWidgets.framework/Versions/wxGTK/3.2/include/wx-3.2', '-Isip/siplib', '-I../../../sip/siplib', '-Iwx/include', '-I../../../wx/include', '-Isrc', '-I../../../src', '-I../../../../../../../../../Library/Frameworks/Python.framework/Versions/3.13/include/python3.13', '-DPYTHONDIR="/usr/local/lib/python/site-packages"', '-DPYTHONARCHDIR="/usr/local/lib/python/site-packages"', '-DHAVE_PYEXT=1', '-DHAVE_PYTHON_H=1', '-DHAVE_WX=1', '-DHAVE_WXADV=1', '-DHAVE_WXSTC=1', '-DHAVE_WXHTML=1', '-DHAVE_WXGL=1', '-DHAVE_WXWEBVIEW=1', '-DHAVE_WXXML=1', '-DHAVE_WXXRC=1', '-DHAVE_WXRICHTEXT=1', '-DHAVE_WXMEDIA=1', '-DHAVE_WXRIBBON=1', '-DHAVE_WXPROPGRID=1', '-DHAVE_WXAUI=1', '-DWXUSINGDLL', '-D__WXGTK3__', '-D__WXGTK__', '-D_FILE_OFFSET_BITS=64', '../../../sip/cpp/sip_corewxCustomDataObject.cpp', '-c', '-o/opt/local/var/macports/build/py313-wxpython-4.0-b10ae09f/work/wxPython-4.2.4/build/waf/3.1/sip/cpp/sip_corewxCustomDataObject.cpp.3.o']
clang: warning: -ldl: 'linker' input unused [-Wunused-command-line-argument]
../../../sip/cpp/sip_corewxPyApp.cpp:25:18: fatal error: 'gtk/gtk.h' file not found
#include <gtk/gtk.h>
^~~~~~~~~~~
1 error generated.
clang: warning: -ldl: 'linker' input unused [-Wunused-command-line-argument]
clang: warning: -ldl: 'linker' input unused [-Wunused-command-line-argument]
clang: warning: -ldl: 'linker' input unused [-Wunused-command-line-argument]
clang: warning: -ldl: 'linker' input unused [-Wunused-command-line-argument]
clang: warning: -ldl: 'linker' input unused [-Wunused-command-line-argument]
clang: warning: -ldl: 'linker' input unused [-Wunused-command-line-argument]
clang: warning: -ldl: 'linker' input unused [-Wunused-command-line-argument]
Waf: Leaving directory `/opt/local/var/macports/build/py313-wxpython-4.0-b10ae09f/work/wxPython-4.2.4/build/waf/3.1'
Build failed
-> task in '_core' failed with exit status 1:
{task 4403007728: cxx sip_corewxPyApp.cpp -> sip_corewxPyApp.cpp.3.o}
['/usr/bin/clang++', '-UNDEBUG', '-O3', '-fPIC', '-UNDEBUG', '-g', '-fno-strict-overflow', '-fno-common', '-dynamic', '-g', '-O3', '-Os', '-isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk', '-ldl', '-fPIC', '-I../../../../../../../../../Library/Frameworks/wxWidgets.framework/Versions/wxGTK/3.2/lib/wx/include/gtk3-unicode-3.2', '-I../../../../../../../../../Library/Frameworks/wxWidgets.framework/Versions/wxGTK/3.2/include/wx-3.2', '-Isip/siplib', '-I../../../sip/siplib', '-Iwx/include', '-I../../../wx/include', '-Isrc', '-I../../../src', '-I../../../../../../../../../Library/Frameworks/Python.framework/Versions/3.13/include/python3.13', '-DPYTHONDIR="/usr/local/lib/python/site-packages"', '-DPYTHONARCHDIR="/usr/local/lib/python/site-packages"', '-DHAVE_PYEXT=1', '-DHAVE_PYTHON_H=1', '-DHAVE_WX=1', '-DHAVE_WXADV=1', '-DHAVE_WXSTC=1', '-DHAVE_WXHTML=1', '-DHAVE_WXGL=1', '-DHAVE_WXWEBVIEW=1', '-DHAVE_WXXML=1', '-DHAVE_WXXRC=1', '-DHAVE_WXRICHTEXT=1', '-DHAVE_WXMEDIA=1', '-DHAVE_WXRIBBON=1', '-DHAVE_WXPROPGRID=1', '-DHAVE_WXAUI=1', '-DWXUSINGDLL', '-D__WXGTK3__', '-D__WXGTK__', '-D_FILE_OFFSET_BITS=64', '../../../sip/cpp/sip_corewxPyApp.cpp', '-c', '-o/opt/local/var/macports/build/py313-wxpython-4.0-b10ae09f/work/wxPython-4.2.4/build/waf/3.1/sip/cpp/sip_corewxPyApp.cpp.3.o']
Will build using: "/opt/local/Library/Frameworks/Python.framework/Versions/3.13/bin/python3.13"
3.13.9 (main, Oct 18 2025, 13:09:20) [Clang 15.0.0 (clang-1500.3.9.4)]
Python's architecture is 64bit
cfg.VERSION: 4.2.4
Running command: build_py
Checking for /opt/local/var/macports/build/py313-wxpython-4.0-b10ae09f/work/wxPython-4.2.4/bin/waf-2.1.5...
"/opt/local/Library/Frameworks/Python.framework/Versions/3.13/bin/python3.13" /opt/local/var/macports/build/py313-wxpython-4.0-b10ae09f/work/wxPython-4.2.4/bin/waf-2.1.5 --verbose --wx_config=/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxGTK/3.2/bin/wx-config --python="/opt/local/Library/Frameworks/Python.framework/Versions/3.13/bin/python3.13" --out=build/waf/3.1 configure build
Command '"/opt/local/Library/Frameworks/Python.framework/Versions/3.13/bin/python3.13" /opt/local/var/macports/build/py313-wxpython-4.0-b10ae09f/work/wxPython-4.2.4/bin/waf-2.1.5 --verbose --wx_config=/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxGTK/3.2/bin/wx-config --python="/opt/local/Library/Frameworks/Python.framework/Versions/3.13/bin/python3.13" --out=build/waf/3.1 configure build ' failed with exit code 1.
Finished command: build_py (0m51.133s)
The headers exists at /opt/local/include/gtk-3.0/gtk/gtk.h.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels