fprime: generate error: `fpp-depend appears corrupt` on WSL1 with v3.4.0

F´ Version v3.4.0
Affected Component

Problem Description

See Error after running fprime-util generate:

fprime-util generate
[INFO] Generating build directory at: /home/ethan/work/fprime-projects/fprime-community/fprime-tutorial-hello-world/build-fprime-automatic-native
[INFO] Using toolchain file None for platform default
-- The C compiler identification is GNU 11.4.0
-- The CXX compiler identification is GNU 11.4.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
/home/ethan/venv/fprime-new/bin/fpp-depend: 1: Syntax error: "(" unexpected
-- [fpp-tools] fpp-depend appears corrupt.
CMake Error at fprime/cmake/required.cmake:26 (message):
-- Configuring incomplete, errors occurred!
   fpp tools not found. Install with:
    'pip install -r "/home/ethan/work/fprime-projects/fprime-community/fprime-tutorial-hello-world/fprime/requirements.txt"'
Call Stack (most recent call first):
  fprime/cmake/FPrime.cmake:13 (include)
  CMakeLists.txt:13 (include)

How to Reproduce

The following commands were executed in order:

pip install fprime-tools
pip install -r "fprime/requirements.txt"
fprime-util generate

About this issue

  • Original URL
  • State: closed
  • Created 7 months ago
  • Comments: 36 (14 by maintainers)

Most upvoted comments

For WSL2, Ubuntu 22.04

Python 3.10.12
pip 22.0.2 from /usr/lib/python3/dist-packages/pip (python 3.10)
Collecting fprime-fpp-depend==2.0.1
  Using cached fprime_fpp_depend-2.0.1-py3-none-manylinux_2_28_x86_64.whl (9.2 MB)