kalle@debian:~$ cd ardupilot kalle@debian:~/ardupilot$ ./waf distclean 'distclean' finished successfully (0.069s) kalle@debian:~/ardupilot$ git checkout Plane-4.4.4 warning: unable to rmdir 'modules/Micro-CDR': Directory not empty warning: unable to rmdir 'modules/Micro-XRCE-DDS-Client': Directory not empty warning: unable to rmdir 'modules/lwip': Directory not empty M modules/ChibiOS M modules/DroneCAN/DSDL M modules/DroneCAN/dronecan_dsdlc M modules/DroneCAN/libcanard M modules/DroneCAN/pydronecan M modules/mavlink M modules/waf Note: switching to 'Plane-4.4.4'. You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by switching back to a branch. If you want to create a new branch to retain commits you create, you may do so (now or later) by using -c with the switch command. Example: git switch -c Or undo this operation with: git switch - Turn off this advice by setting config variable advice.detachedHead to false HEAD is now at 16b7838229 Plane: prepare for 4.4.4 release kalle@debian:~/ardupilot$ ./Tools/gittools/submodule-sync.sh Submodule 'modules/uavcan' (https://github.com/DroneCAN/libuavcan.git) registered for path 'modules/uavcan' Cloning into '/home/kalle/ardupilot/modules/uavcan'... Submodule path 'modules/ChibiOS': checked out '17a50e3ae44c90a505ce04579625012c20b2bd44' Submodule path 'modules/CrashDebug': checked out '599965086437137ec0fe66e185611f43f335f889' Submodule path 'modules/CrashDebug/CrashCatcher': checked out '4cf6e11df3a081b0f573a7834ed8e1e4000af73e' Submodule path 'modules/CrashDebug/CrashCatcher/CppUTest': checked out '011f371fdb5d7e441fb023be67295783e053df4a' Submodule path 'modules/CrashDebug/mri': checked out 'b35c89451b41a45b7f5b580acaff555315ac88e2' Submodule path 'modules/CrashDebug/mri/CppUTest': checked out '011f371fdb5d7e441fb023be67295783e053df4a' Submodule path 'modules/DroneCAN/DSDL': checked out 'f618adf88990829abd152b48a7bbdfd58881a5a6' Submodule path 'modules/DroneCAN/dronecan_dsdlc': checked out '01586259d5a8b11f9c4a034a976f886630ae4fb7' Submodule path 'modules/DroneCAN/libcanard': checked out 'aec8028798e8485851644e85093c50b1bd6e8ade' Submodule 'dsdl_compiler/pyuavcan' (https://github.com/DroneCAN/pydronecan) registered for path 'modules/DroneCAN/libcanard/dsdl_compiler/pyuavcan' Cloning into '/home/kalle/ardupilot/modules/DroneCAN/libcanard/dsdl_compiler/pyuavcan'... Submodule path 'modules/DroneCAN/libcanard/drivers/avr/avr-can-lib': checked out '9c6bc9118de66d6edaf1b8539e2b9717ba26d123' Submodule path 'modules/DroneCAN/libcanard/dsdl_compiler/pyuavcan': checked out '8fb1b18ab3250695d85fe2943dfc68e8b45024b7' Submodule path 'modules/DroneCAN/pydronecan': checked out '19fdf2e5b383243ccdb1094edae0603cf11469e8' Submodule path 'modules/gbenchmark': checked out 'd572f4777349d43653b21d6c2fc63020ab326db2' Submodule path 'modules/gsoap': checked out 'e1f690585d4803402584962bfaa8240ecaf1db30' Submodule path 'modules/gtest': checked out 'c5fed93f941865a0e912e9baf46ded713506590a' Submodule path 'modules/mavlink': checked out '806a3ba7499da677ded35226d6ff88e5a100c4c2' Submodule path 'modules/mavlink/pymavlink': checked out 'f6c873a68af0ff4023db4902e2d3ee95ca398de2' Submodule path 'modules/uavcan': checked out 'f845e02dcd2e97f6c4743c96f3b2380c4b03ab5f' Submodule 'dsdl' (https://github.com/dronecan/DSDL) registered for path 'modules/uavcan/dsdl' Submodule 'libuavcan/dsdl_compiler/pyuavcan' (https://github.com/dronecan/pydronecan) registered for path 'modules/uavcan/libuavcan/dsdl_compiler/pyuavcan' Cloning into '/home/kalle/ardupilot/modules/uavcan/dsdl'... Cloning into '/home/kalle/ardupilot/modules/uavcan/libuavcan/dsdl_compiler/pyuavcan'... Submodule path 'modules/uavcan/dsdl': checked out '4d111911c1c0f2e00d46e8a9a79ca5ba85d6ef4b' Submodule path 'modules/uavcan/libuavcan/dsdl_compiler/pyuavcan': checked out '19fdf2e5b383243ccdb1094edae0603cf11469e8' Submodule path 'modules/waf': checked out '51f1529bd20759642e9fd0a8db648da9ba380b18' Synchronizing submodule url for 'modules/ChibiOS' Synchronizing submodule url for 'modules/CrashDebug' Synchronizing submodule url for 'modules/CrashDebug/CrashCatcher' Synchronizing submodule url for 'modules/CrashDebug/CrashCatcher/CppUTest' Synchronizing submodule url for 'modules/CrashDebug/mri' Synchronizing submodule url for 'modules/CrashDebug/mri/CppUTest' Synchronizing submodule url for 'modules/DroneCAN/DSDL' Synchronizing submodule url for 'modules/DroneCAN/dronecan_dsdlc' Synchronizing submodule url for 'modules/DroneCAN/libcanard' Synchronizing submodule url for 'modules/DroneCAN/libcanard/drivers/avr/avr-can-lib' Synchronizing submodule url for 'modules/DroneCAN/libcanard/dsdl_compiler/pyuavcan' Synchronizing submodule url for 'modules/DroneCAN/pydronecan' Synchronizing submodule url for 'modules/gbenchmark' Synchronizing submodule url for 'modules/gsoap' Synchronizing submodule url for 'modules/gtest' Synchronizing submodule url for 'modules/mavlink' Synchronizing submodule url for 'modules/mavlink/pymavlink' Synchronizing submodule url for 'modules/uavcan' Synchronizing submodule url for 'modules/uavcan/dsdl' Synchronizing submodule url for 'modules/uavcan/libuavcan/dsdl_compiler/pyuavcan' Synchronizing submodule url for 'modules/waf' Submodule path 'modules/ChibiOS': checked out '17a50e3ae44c90a505ce04579625012c20b2bd44' Submodule path 'modules/CrashDebug': checked out '599965086437137ec0fe66e185611f43f335f889' Submodule path 'modules/CrashDebug/CrashCatcher': checked out '4cf6e11df3a081b0f573a7834ed8e1e4000af73e' Submodule path 'modules/CrashDebug/CrashCatcher/CppUTest': checked out '011f371fdb5d7e441fb023be67295783e053df4a' Submodule path 'modules/CrashDebug/mri': checked out 'b35c89451b41a45b7f5b580acaff555315ac88e2' Submodule path 'modules/CrashDebug/mri/CppUTest': checked out '011f371fdb5d7e441fb023be67295783e053df4a' Submodule path 'modules/DroneCAN/DSDL': checked out 'f618adf88990829abd152b48a7bbdfd58881a5a6' Submodule path 'modules/DroneCAN/dronecan_dsdlc': checked out '01586259d5a8b11f9c4a034a976f886630ae4fb7' Submodule path 'modules/DroneCAN/libcanard': checked out 'aec8028798e8485851644e85093c50b1bd6e8ade' Submodule path 'modules/DroneCAN/libcanard/drivers/avr/avr-can-lib': checked out '9c6bc9118de66d6edaf1b8539e2b9717ba26d123' Submodule path 'modules/DroneCAN/libcanard/dsdl_compiler/pyuavcan': checked out '8fb1b18ab3250695d85fe2943dfc68e8b45024b7' Submodule path 'modules/DroneCAN/pydronecan': checked out '19fdf2e5b383243ccdb1094edae0603cf11469e8' Submodule path 'modules/gbenchmark': checked out 'd572f4777349d43653b21d6c2fc63020ab326db2' Submodule path 'modules/gsoap': checked out 'e1f690585d4803402584962bfaa8240ecaf1db30' Submodule path 'modules/gtest': checked out 'c5fed93f941865a0e912e9baf46ded713506590a' Submodule path 'modules/mavlink': checked out '806a3ba7499da677ded35226d6ff88e5a100c4c2' Submodule path 'modules/mavlink/pymavlink': checked out 'f6c873a68af0ff4023db4902e2d3ee95ca398de2' Submodule path 'modules/uavcan': checked out 'f845e02dcd2e97f6c4743c96f3b2380c4b03ab5f' Submodule path 'modules/uavcan/dsdl': checked out '4d111911c1c0f2e00d46e8a9a79ca5ba85d6ef4b' Submodule path 'modules/uavcan/libuavcan/dsdl_compiler/pyuavcan': checked out '19fdf2e5b383243ccdb1094edae0603cf11469e8' Submodule path 'modules/waf': checked out '51f1529bd20759642e9fd0a8db648da9ba380b18' Synchronizing submodule url for 'modules/ChibiOS' Synchronizing submodule url for 'modules/CrashDebug' Synchronizing submodule url for 'modules/CrashDebug/CrashCatcher' Synchronizing submodule url for 'modules/CrashDebug/CrashCatcher/CppUTest' Synchronizing submodule url for 'modules/CrashDebug/mri' Synchronizing submodule url for 'modules/CrashDebug/mri/CppUTest' Synchronizing submodule url for 'modules/DroneCAN/DSDL' Synchronizing submodule url for 'modules/DroneCAN/dronecan_dsdlc' Synchronizing submodule url for 'modules/DroneCAN/libcanard' Synchronizing submodule url for 'modules/DroneCAN/libcanard/drivers/avr/avr-can-lib' Synchronizing submodule url for 'modules/DroneCAN/libcanard/dsdl_compiler/pyuavcan' Synchronizing submodule url for 'modules/DroneCAN/pydronecan' Synchronizing submodule url for 'modules/gbenchmark' Synchronizing submodule url for 'modules/gsoap' Synchronizing submodule url for 'modules/gtest' Synchronizing submodule url for 'modules/mavlink' Synchronizing submodule url for 'modules/mavlink/pymavlink' Synchronizing submodule url for 'modules/uavcan' Synchronizing submodule url for 'modules/uavcan/dsdl' Synchronizing submodule url for 'modules/uavcan/libuavcan/dsdl_compiler/pyuavcan' Synchronizing submodule url for 'modules/waf' Submodule path 'modules/ChibiOS': checked out '17a50e3ae44c90a505ce04579625012c20b2bd44' Submodule path 'modules/CrashDebug': checked out '599965086437137ec0fe66e185611f43f335f889' Submodule path 'modules/CrashDebug/CrashCatcher': checked out '4cf6e11df3a081b0f573a7834ed8e1e4000af73e' Submodule path 'modules/CrashDebug/CrashCatcher/CppUTest': checked out '011f371fdb5d7e441fb023be67295783e053df4a' Submodule path 'modules/CrashDebug/mri': checked out 'b35c89451b41a45b7f5b580acaff555315ac88e2' Submodule path 'modules/CrashDebug/mri/CppUTest': checked out '011f371fdb5d7e441fb023be67295783e053df4a' Submodule path 'modules/DroneCAN/DSDL': checked out 'f618adf88990829abd152b48a7bbdfd58881a5a6' Submodule path 'modules/DroneCAN/dronecan_dsdlc': checked out '01586259d5a8b11f9c4a034a976f886630ae4fb7' Submodule path 'modules/DroneCAN/libcanard': checked out 'aec8028798e8485851644e85093c50b1bd6e8ade' Submodule path 'modules/DroneCAN/libcanard/drivers/avr/avr-can-lib': checked out '9c6bc9118de66d6edaf1b8539e2b9717ba26d123' Submodule path 'modules/DroneCAN/libcanard/dsdl_compiler/pyuavcan': checked out '8fb1b18ab3250695d85fe2943dfc68e8b45024b7' Submodule path 'modules/DroneCAN/pydronecan': checked out '19fdf2e5b383243ccdb1094edae0603cf11469e8' Submodule path 'modules/gbenchmark': checked out 'd572f4777349d43653b21d6c2fc63020ab326db2' Submodule path 'modules/gsoap': checked out 'e1f690585d4803402584962bfaa8240ecaf1db30' Submodule path 'modules/gtest': checked out 'c5fed93f941865a0e912e9baf46ded713506590a' Submodule path 'modules/mavlink': checked out '806a3ba7499da677ded35226d6ff88e5a100c4c2' Submodule path 'modules/mavlink/pymavlink': checked out 'f6c873a68af0ff4023db4902e2d3ee95ca398de2' Submodule path 'modules/uavcan': checked out 'f845e02dcd2e97f6c4743c96f3b2380c4b03ab5f' Submodule path 'modules/uavcan/dsdl': checked out '4d111911c1c0f2e00d46e8a9a79ca5ba85d6ef4b' Submodule path 'modules/uavcan/libuavcan/dsdl_compiler/pyuavcan': checked out '19fdf2e5b383243ccdb1094edae0603cf11469e8' Submodule path 'modules/waf': checked out '51f1529bd20759642e9fd0a8db648da9ba380b18' Synchronizing submodule url for 'modules/ChibiOS' Synchronizing submodule url for 'modules/CrashDebug' Synchronizing submodule url for 'modules/CrashDebug/CrashCatcher' Synchronizing submodule url for 'modules/CrashDebug/CrashCatcher/CppUTest' Synchronizing submodule url for 'modules/CrashDebug/mri' Synchronizing submodule url for 'modules/CrashDebug/mri/CppUTest' Synchronizing submodule url for 'modules/DroneCAN/DSDL' Synchronizing submodule url for 'modules/DroneCAN/dronecan_dsdlc' Synchronizing submodule url for 'modules/DroneCAN/libcanard' Synchronizing submodule url for 'modules/DroneCAN/libcanard/drivers/avr/avr-can-lib' Synchronizing submodule url for 'modules/DroneCAN/libcanard/dsdl_compiler/pyuavcan' Synchronizing submodule url for 'modules/DroneCAN/pydronecan' Synchronizing submodule url for 'modules/gbenchmark' Synchronizing submodule url for 'modules/gsoap' Synchronizing submodule url for 'modules/gtest' Synchronizing submodule url for 'modules/mavlink' Synchronizing submodule url for 'modules/mavlink/pymavlink' Synchronizing submodule url for 'modules/uavcan' Synchronizing submodule url for 'modules/uavcan/dsdl' Synchronizing submodule url for 'modules/uavcan/libuavcan/dsdl_compiler/pyuavcan' Synchronizing submodule url for 'modules/waf' kalle@debian:~/ardupilot$ ./waf configure --board KakuteF7Mini Waf: The wscript in '/home/kalle/ardupilot' is unreadable Traceback (most recent call last): File "/home/kalle/ardupilot/modules/waf/waflib/Scripting.py", line 140, in waf_entry_point set_main_module(os.path.normpath(os.path.join(Context.run_dir, Context.WSCRIPT_FILE))) File "/home/kalle/ardupilot/modules/waf/waflib/Scripting.py", line 190, in set_main_module Context.g_module = Context.load_module(file_path) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/kalle/ardupilot/modules/waf/waflib/Context.py", line 665, in load_module code = Utils.readf(path, m='rU', encoding=encoding) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/kalle/ardupilot/modules/waf/waflib/Utils.py", line 231, in readf with open(fname, m) as f: ^^^^^^^^^^^^^^ ValueError: invalid mode: 'rUb'