When installing F', I was originally missing the default-jre dependency. This was difficult to determine since the only error message in response to missing default-jre was -- [fpp-tools] fpp-depend appears corrupt as shown below:
(fprime-venv) [root@dfkd83f:~/MyProject]
# fprime-util generate
[INFO] Generating build directory at: /root/MyProject/build-fprime-automatic-native
[INFO] Using toolchain file None for platform default
-- The C compiler identification is GNU 12.2.0
-- The CXX compiler identification is GNU 12.2.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
-- [fpp-tools] fpp-depend appears corrupt.
CMake Error at fprime/cmake/required.cmake:26 (message):
fpp tools not found. Install with:
'pip install -r "/root/MyProject/fprime/requirements.txt"'
Call Stack (most recent call first):
fprime/cmake/FPrime.cmake:13 (include)
CMakeLists.txt:13 (include)
Context / Environment
Execute fprime-util version-check and share the output.
fprime-util generate
Problem Description
When installing F', I was originally missing the
default-jre
dependency. This was difficult to determine since the only error message in response to missingdefault-jre
was-- [fpp-tools] fpp-depend appears corrupt
as shown below:Context / Environment
Execute
fprime-util version-check
and share the output.How to Reproduce
default-jre
(I imagine this could happen with other dependencies as well)Expected Behavior
Instead of having "is corrupt" mask dependency errors, print which dependencies are missing or propagate the error upwards to the user.