Browse Source
With Makefile build, generate_component_general.py was called twice during build, which did not happen with the ninja build. This created a race condition with the following error in rare cases: Traceback (most recent call last): File "/__w/PX4-Autopilot/PX4-Autopilot/src/lib/component_information/generate_component_general.py", line 79, in <module> save_compressed(filename) File "/__w/PX4-Autopilot/PX4-Autopilot/src/lib/component_information/generate_component_general.py", line 33, in save_compressed with open(filename, 'r') as content_file: FileNotFoundError: [Errno 2] No such file or directory: '/__w/PX4-Autopilot/PX4-Autopilot/build/px4_sitl_default/component_general.json' make[3]: *** [src/lib/component_information/CMakeFiles/component_information_header.dir/build.make:68: component_general.json] Error 1 Merging the targets avoids the duplicate execution.master
2 changed files with 8 additions and 15 deletions
Loading…
Reference in new issue