Open bdshenker opened 1 day ago
The error is above " User must define environment variable WIND_CC_SYSROOT". This implies that the environment is not set up correctly. Check with your project to ensure your environment is correct.
Even though “fprime_util impl” runs with no errors when FPP file is valid in the same environment? Thanks,
From: M Starch @.> Sent: Tuesday, December 3, 2024 12:42 PM To: nasa/fprime @.> Cc: Shenker, Boris D (US 348C) @.>; Author @.> Subject: [EXTERNAL] Re: [nasa/fprime] fprime-util impl generates erroneous error when .fpp is invalid (Issue #3055)
The error is above " User must define environment variable WIND_CC_SYSROOT". This implies that the environment is not set up correctly. Check with your project to ensure your environment is correct.
— Reply to this email directly, view it on GitHubhttps://urldefense.us/v3/__https:/github.com/nasa/fprime/issues/3055*issuecomment-2515510439__;Iw!!PvBDto6Hs4WbVuu7!KNMppb3k2Kv45YoweX4Sd3hXoNtPcwehCbf3d8B1fKHAD7GfTJJpP_ZDLaY8WOLsJrCS2GIRFB64605Jx9rl-UW-Ga-zuz2Eyw$, or unsubscribehttps://urldefense.us/v3/__https:/github.com/notifications/unsubscribe-auth/AW762GK4F7W64DK6GL3KOTL2DYJRXAVCNFSM6AAAAABS6JS5YKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMJVGUYTANBTHE__;!!PvBDto6Hs4WbVuu7!KNMppb3k2Kv45YoweX4Sd3hXoNtPcwehCbf3d8B1fKHAD7GfTJJpP_ZDLaY8WOLsJrCS2GIRFB64605Jx9rl-UW-Ga-ISzSixw$. You are receiving this because you authored the thread.Message ID: @.**@.>>
I am told that this is perhaps a real issue. @kevin-f-ortega this is a problem in fprime-vxworks.
[like] Shenker, Boris D (US 348C) reacted to your message:
From: M Starch @.> Sent: Tuesday, December 3, 2024 9:10:25 PM To: nasa/fprime @.> Cc: Shenker, Boris D (US 348C) @.>; Author @.> Subject: [EXTERNAL] Re: [nasa/fprime] fprime-util impl generates erroneous error when .fpp is invalid (Issue #3055)
I am told that this is perhaps a real issue. @kevin-f-ortegahttps://urldefense.us/v3/__https://github.com/kevin-f-ortega__;!!PvBDto6Hs4WbVuu7!IqwDlLdbM9yh90lLgujjuWYnux-lHyd0bpt0Iv0xwgSCgvLZrYOac4chvN6Rs6rEzYqyFLxogWmyN2YdLn0TLPmPi54BCfK_9w$ this is a problem in fprime-vxworks.
— Reply to this email directly, view it on GitHubhttps://urldefense.us/v3/__https://github.com/nasa/fprime/issues/3055*issuecomment-2515556711__;Iw!!PvBDto6Hs4WbVuu7!IqwDlLdbM9yh90lLgujjuWYnux-lHyd0bpt0Iv0xwgSCgvLZrYOac4chvN6Rs6rEzYqyFLxogWmyN2YdLn0TLPmPi56XnNevDQ$, or unsubscribehttps://urldefense.us/v3/__https://github.com/notifications/unsubscribe-auth/AW762GPBWFW62DHH52W7BZ32DYM4DAVCNFSM6AAAAABS6JS5YKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMJVGU2TMNZRGE__;!!PvBDto6Hs4WbVuu7!IqwDlLdbM9yh90lLgujjuWYnux-lHyd0bpt0Iv0xwgSCgvLZrYOac4chvN6Rs6rEzYqyFLxogWmyN2YdLn0TLPmPi57JxfeO-w$. You are receiving this because you authored the thread.Message ID: @.***>
This bug affects all cases where fprime-util
refreshes the cache itself, rather than letting a build target check and rerun it. This most commonly affects FPP code.
Also note: work around is to run fprime-util build
to restore the cache state itself before running a command which might regenerate the cache.
Problem Description
When the user runs
fprime-util impl
on an ungenerated repo, the CMake regenerate step does not receive the environment specified insettings.ini
.To reproduce:
settings.ini: [environment]
cd <some component>
touch *.fpp
fprime-util impl --verbose
Old Description
When .fpp file in Components/ directory has a syntax error and I try to run fprime-util impl, I am getting the following error:
There is no reference to the actual .fpp file which has a syntax error.
Context / Environment
Execute
fprime-util version-check
and share the output.How to Reproduce
Expected Behavior
We expect error message to point to the invalid .fpp file as a source of error.