Hello,
Currently I am building ardupilot/arducopter source on Debian Bookworm. My set up entails using…
- Python3-venv
- Not allowing user on my venv for building
I am receiving an error for building:
When building with venv sourced, I get:
Traceback (most recent call last):
File "/home/gar/ardupilot/modules/waf/waf-light", line 167, in <module>
Scripting.waf_entry_point(cwd, VERSION, wafdir)
File "/home/gar/ardupilot/modules/waf/waflib/Scripting.py", line 80, in waf_entry_point
env.load(os.path.join(cur, Options.lockfile))
File "/home/gar/ardupilot/modules/waf/waflib/ConfigSet.py", line 315, in load
code = Utils.readf(filename, m='rU')
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/gar/ardupilot/modules/waf/waflib/Utils.py", line 231, in readf
with open(fname, m) as f:
^^^^^^^^^^^^^^
ValueError: invalid mode: 'rUb'
The value error is understood on my part but I do not know how to get around it without changing source within ardupilot C/C++ ware.
and...
When building without the venv sourced, I get:
+ pip3 install --user -U future lxml pymavlink MAVProxy pexpect flake8 geocoder empy==3.3.4 dronecan pygame intelhex
Those amounts of repos do not play nice with Bookworm for now because they do not like externally managed packages.
I know I have had trouble in the past with building and making it work. I am trying now to update the build.
Seth