Hi,
I am trying to build the git master branch on ubuntu 22, with python 3.10.1
I am following the instruction on the readme - I only had to add 'python3-sipbuild' to the list of dependencies (I installed it via apt-get) - unfortunately the build ends with the following error:
"/usr/bin/python" etg/propgridprops.py --sip --nodoc
"/usr/bin/python" etg/propgridadvprops.py --sip --nodoc
"/usr/bin/python" etg/propgridmanager.py --sip --nodoc
"/usr/bin/python" etg/auiframemanager.py --sip --nodoc
WARNING: Method wxAuiManagerEvent::Veto already exists in C++ class API, can not create a property.
"/usr/bin/python" etg/auidockart.py --sip --nodoc
"/usr/bin/python" etg/auibar.py --sip --nodoc
"/usr/bin/python" etg/auibook.py --sip --nodoc
"/usr/bin/python" etg/auitabmdi.py --sip --nodoc
"/usr/bin/python" etg/mediactrl.py --sip --nodoc
Finished command: etg (0m21.52s)
Running command: sip
Running SIP code generator on: sip/gen/_core.sip
build.py: An internal error occurred...
Traceback (most recent call last):
File "/home/epinux/dev/Phoenix/build.py", line 2321, in <module>
main(sys.argv[1:])
File "/home/epinux/dev/Phoenix/build.py", line 202, in main
function(options, args)
File "/home/epinux/dev/Phoenix/build.py", line 1287, in cmd_sip
sip_runner(src_name,
File "/home/epinux/dev/Phoenix/buildtools/wxpysip.py", line 98, in sip_runner
handle_exception(e)
File "/usr/lib/python3/dist-packages/sipbuild/exceptions.py", line 81, in handle_exception
raise e
File "/home/epinux/dev/Phoenix/buildtools/wxpysip.py", line 65, in sip_runner
set_globals(SIP_VERSION, SIP_VERSION_STR, int(abi_major), int(abi_minor),
TypeError: function takes exactly 7 arguments (6 given)
Finished command: sip (0.18s)
➜ Phoenix git:(master) which sip
/usr/bin/sip
➜ Phoenix git:(master) sip -V
4.19.25
Do you have any advice on how to fix this? Do I need a more recent version of sip and sipbuild? Any pointer on how to install/build them?