BUILDING 4.2.2: source not found: 'sip/siplib/sip_array.c'

using this:

pip install sip
git clone https://github.com/wxWidgets/Phoenix.git
cd Phoenix
git checkout wxPython-4.2.2
git submodule update --init --recursive
python build.py --gtk2 dox etg --nodoc sip build

I get this error after a while:

'configure' finished successfully (1.130s)
Waf: Entering directory `/mydisk/Software/install/wx_compile/Phoenix/build/waf/3.11/gtk2'
**** Compiler: /usr/pkgs/gcc/12.2.0/bin/gcc --version
     gcc (GCC) 12.2.0
     Copyright (C) 2022 Free Software Foundation, Inc.
     This is free software; see the source for copying conditions.  There is NO
     warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Waf: Leaving directory `/mydisk/Software/install/wx_compile/Phoenix/build/waf/3.11/gtk2'
source not found: 'sip/siplib/sip_array.c' in bld(source=['sip/siplib/apiversions.c', 'sip/siplib/descriptors.c', 'sip/siplib/int_convertors.c', 'sip/siplib/objmap.c', 'sip/siplib/qtlib.c', 'sip/siplib/sip_array.c', 'sip/siplib/siplib.c', 'sip/siplib/threads.c', 'sip/siplib/voidptr.c'], target='siplib', meths=['process_rule', 'process_source', 'set_bundle', 'apply_bundle', 'init_pyext', 'apply_link', 'apply_implib', 'process_use', 'propagate_uselib_vars', 'apply_incpaths', 'apply_vnum', 'set_macosx_deployment_target'], features=['c', 'cxx', 'cshlib', 'cxxshlib', 'pyext'], path=/mydisk/Software/install/wx_compile/Phoenix, idx=1, tg_idx_count=1, uselib='siplib WX WXPY', posted=True) in /mydisk/Software/install/wx_compile/Phoenix

google didn’t show anything obvious.

> ls sip/siplib/
LICENSE       LICENSE-GPL3  PKG-INFO  apiversions.c  array.h   descriptors.c     objmap.c        qtlib.c    setup.py  sipint.h  threads.c  wx_siplib.egg-info
LICENSE-GPL2  MANIFEST.in   README    array.c        bool.cpp  int_convertors.c  pyproject.toml  setup.cfg  sip.h     siplib.c  voidptr.c

using python 3.11.1, gcc 12.2.0

Please try sip 6.8.5.

that fixed it, thanks! I didn’t see that in the git repo’s root README… is it buried somewhere else? Should I file a github issue to get that added to the README?

It’s documented in requirements/devel.txt. If/when we get our PEP-517 build system working properly, it would just be installed automatically.