Comments (8)
I got the change ready, I'll tag you on it :)
from cfs.
It's not finding testcfs_perfids.h
. If you prep with VERBOSE=1
it'll print valid names/locations for this file.
from cfs.
Note the setup steps fail as written (cd example_defs, but you copy it as testcfs_defs). It doesn't look like your build output is from what's described, since testcfs_perfids.h should be a valid name in this case. Can you recreate and confirm there's a real issue, and/or provide setup steps that can recreate the issue? The handful of lines output with VERBOSE=1
where it searches for the perfids.h file would also help if there's still an issue.
from cfs.
The reason why the original instructions didn't work is because I'm using a cfs project generation tool for my purposes, and I tried to change the instructions from what I was using for that project to match with what you would expect. I've confirmed the instructions below should work for anyone.
I've fixed the instructions for reproducing:
NOTE: This is using the rename utility provided by the util-linux package, not the rename package. The original instructions were using the rename package.
git clone https://github.com/nasa/cFS.git testcfs
cd testcfs
git submodule init
git submodule update --recursive
cp -r cfe/cmake/sample_defs testcfs_defs
cp cfe/cmake/Makefile.sample Makefile
cd testcfs_defs; rename example testcfs example_*; mv sample_perfids.h testcfs_perfids.h; cd ..
# sanity purge
make distclean
VERBOSE=1 make SIMULATION=native prep
See the attached log for the failing output (hit github max character limit)
badoutput.txt
Immediately after that output, I can bandaid fix the project to prep properly via the following instructions:
cd ..
# rename to anything other than testcfs
mv testcfs testcfszzz
cd testcfszzz
make distclean
make SIMULATION=native prep
The above bandaid results in a successful prep:
mkdir -p "build"
(cd "build" && cmake -DCMAKE_INSTALL_PREFIX=/exe -DCMAKE_BUILD_TYPE=debug "/home/user/Projects/testcfszzz/cfe")
-- The C compiler identification is GNU 13.2.1
-- 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
-- Mission configuration testcfs automatically selected
-- OMIT_DEPRECATED=false: Deprecated elements included in build
-- Search path for modules: apps;libs;psp/fsw/modules;cfe/modules
-- Module 'core_api' found at /home/user/Projects/testcfszzz/cfe/modules/core_api
-- Module 'core_private' found at /home/user/Projects/testcfszzz/cfe/modules/core_private
-- Module 'ci_lab' found at /home/user/Projects/testcfszzz/apps/ci_lab
-- Module 'to_lab' found at /home/user/Projects/testcfszzz/apps/to_lab
-- Module 'sch_lab' found at /home/user/Projects/testcfszzz/apps/sch_lab
-- Module 'cfe_assert' found at /home/user/Projects/testcfszzz/cfe/modules/cfe_assert
-- Module 'sample_app' found at /home/user/Projects/testcfszzz/apps/sample_app
-- Module 'sample_lib' found at /home/user/Projects/testcfszzz/libs/sample_lib
-- Module 'es' found at /home/user/Projects/testcfszzz/cfe/modules/es
-- Module 'evs' found at /home/user/Projects/testcfszzz/cfe/modules/evs
-- Module 'fs' found at /home/user/Projects/testcfszzz/cfe/modules/fs
-- Module 'sb' found at /home/user/Projects/testcfszzz/cfe/modules/sb
-- Module 'tbl' found at /home/user/Projects/testcfszzz/cfe/modules/tbl
-- Module 'time' found at /home/user/Projects/testcfszzz/cfe/modules/time
-- Module 'osal' found at /home/user/Projects/testcfszzz/osal
-- Module 'psp' found at /home/user/Projects/testcfszzz/psp
-- Module 'msg' found at /home/user/Projects/testcfszzz/cfe/modules/msg
-- Module 'sbr' found at /home/user/Projects/testcfszzz/cfe/modules/sbr
-- Module 'resourceid' found at /home/user/Projects/testcfszzz/cfe/modules/resourceid
-- Module 'config' found at /home/user/Projects/testcfszzz/cfe/modules/config
-- OSAL_SYSTEM_BSPTYPE not defined, no OSAL implementation will be compiled
-- Using file: /home/user/Projects/testcfszzz/cfe/modules/core_api/config/default_cfe_core_api_interface_cfg.h for core_api_interface_cfg.h
-- Using file: /home/user/Projects/testcfszzz/testcfs_defs/testcfs_mission_cfg.h for mission_cfg.h
-- Using file: /home/user/Projects/testcfszzz/testcfs_defs/testcfs_perfids.h for perfids.h
-- Using file: /home/user/Projects/testcfszzz/apps/ci_lab/config/default_ci_lab_fcncodes.h for ci_lab_fcncodes.h
-- Using file: /home/user/Projects/testcfszzz/apps/ci_lab/config/default_ci_lab_interface_cfg.h for ci_lab_interface_cfg.h
-- Using file: /home/user/Projects/testcfszzz/apps/ci_lab/config/default_ci_lab_mission_cfg.h for ci_lab_mission_cfg.h
-- Using file: /home/user/Projects/testcfszzz/apps/ci_lab/config/default_ci_lab_perfids.h for ci_lab_perfids.h
-- Using file: /home/user/Projects/testcfszzz/apps/ci_lab/config/default_ci_lab_msgdefs.h for ci_lab_msgdefs.h
-- Using file: /home/user/Projects/testcfszzz/apps/ci_lab/config/default_ci_lab_msg.h for ci_lab_msg.h
-- Using file: /home/user/Projects/testcfszzz/apps/ci_lab/config/default_ci_lab_msgstruct.h for ci_lab_msgstruct.h
-- Using file: /home/user/Projects/testcfszzz/apps/ci_lab/config/default_ci_lab_topicids.h for ci_lab_topicids.h
-- Using file: /home/user/Projects/testcfszzz/apps/to_lab/config/default_to_lab_fcncodes.h for to_lab_fcncodes.h
-- Using file: /home/user/Projects/testcfszzz/apps/to_lab/config/default_to_lab_interface_cfg.h for to_lab_interface_cfg.h
-- Using file: /home/user/Projects/testcfszzz/apps/to_lab/config/default_to_lab_mission_cfg.h for to_lab_mission_cfg.h
-- Using file: /home/user/Projects/testcfszzz/apps/to_lab/config/default_to_lab_perfids.h for to_lab_perfids.h
-- Using file: /home/user/Projects/testcfszzz/apps/to_lab/config/default_to_lab_msg.h for to_lab_msg.h
-- Using file: /home/user/Projects/testcfszzz/apps/to_lab/config/default_to_lab_msgdefs.h for to_lab_msgdefs.h
-- Using file: /home/user/Projects/testcfszzz/apps/to_lab/config/default_to_lab_msgstruct.h for to_lab_msgstruct.h
-- Using file: /home/user/Projects/testcfszzz/apps/to_lab/config/default_to_lab_tbl.h for to_lab_tbl.h
-- Using file: /home/user/Projects/testcfszzz/apps/to_lab/config/default_to_lab_tbldefs.h for to_lab_tbldefs.h
-- Using file: /home/user/Projects/testcfszzz/apps/to_lab/config/default_to_lab_tblstruct.h for to_lab_tblstruct.h
-- Using file: /home/user/Projects/testcfszzz/apps/to_lab/config/default_to_lab_topicids.h for to_lab_topicids.h
-- Using file: /home/user/Projects/testcfszzz/apps/sch_lab/config/default_sch_lab_interface_cfg.h for sch_lab_interface_cfg.h
-- Using file: /home/user/Projects/testcfszzz/apps/sch_lab/config/default_sch_lab_mission_cfg.h for sch_lab_mission_cfg.h
-- Using file: /home/user/Projects/testcfszzz/apps/sch_lab/config/default_sch_lab_perfids.h for sch_lab_perfids.h
-- Using file: /home/user/Projects/testcfszzz/apps/sch_lab/config/default_sch_lab_tbldefs.h for sch_lab_tbldefs.h
-- Using file: /home/user/Projects/testcfszzz/apps/sch_lab/config/default_sch_lab_tbl.h for sch_lab_tbl.h
-- Using file: /home/user/Projects/testcfszzz/apps/sch_lab/config/default_sch_lab_tblstruct.h for sch_lab_tblstruct.h
-- Using file: /home/user/Projects/testcfszzz/apps/sample_app/config/default_sample_app_fcncodes.h for sample_app_fcncodes.h
-- Using file: /home/user/Projects/testcfszzz/apps/sample_app/config/default_sample_app_interface_cfg.h for sample_app_interface_cfg.h
-- Using file: /home/user/Projects/testcfszzz/apps/sample_app/config/default_sample_app_mission_cfg.h for sample_app_mission_cfg.h
-- Using file: /home/user/Projects/testcfszzz/apps/sample_app/config/default_sample_app_perfids.h for sample_app_perfids.h
-- Using file: /home/user/Projects/testcfszzz/apps/sample_app/config/default_sample_app_msg.h for sample_app_msg.h
-- Using file: /home/user/Projects/testcfszzz/apps/sample_app/config/default_sample_app_msgdefs.h for sample_app_msgdefs.h
-- Using file: /home/user/Projects/testcfszzz/apps/sample_app/config/default_sample_app_msgstruct.h for sample_app_msgstruct.h
-- Using file: /home/user/Projects/testcfszzz/apps/sample_app/config/default_sample_app_tbl.h for sample_app_tbl.h
-- Using file: /home/user/Projects/testcfszzz/apps/sample_app/config/default_sample_app_tbldefs.h for sample_app_tbldefs.h
-- Using file: /home/user/Projects/testcfszzz/apps/sample_app/config/default_sample_app_tblstruct.h for sample_app_tblstruct.h
-- Using file: /home/user/Projects/testcfszzz/apps/sample_app/config/default_sample_app_topicids.h for sample_app_topicids.h
-- Using file: /home/user/Projects/testcfszzz/cfe/modules/es/config/default_cfe_es_mission_cfg.h for cfe_es_mission_cfg.h
-- Using file: /home/user/Projects/testcfszzz/cfe/modules/es/config/default_cfe_es_interface_cfg.h for cfe_es_interface_cfg.h
-- Using file: /home/user/Projects/testcfszzz/cfe/modules/es/config/default_cfe_es_extern_typedefs.h for cfe_es_extern_typedefs.h
-- Using file: /home/user/Projects/testcfszzz/cfe/modules/es/config/default_cfe_es_fcncodes.h for cfe_es_fcncodes.h
-- Using file: /home/user/Projects/testcfszzz/cfe/modules/es/config/default_cfe_es_msgdefs.h for cfe_es_msgdefs.h
-- Using file: /home/user/Projects/testcfszzz/cfe/modules/es/config/default_cfe_es_msg.h for cfe_es_msg.h
-- Using file: /home/user/Projects/testcfszzz/cfe/modules/es/config/default_cfe_es_msgstruct.h for cfe_es_msgstruct.h
-- Using file: /home/user/Projects/testcfszzz/cfe/modules/es/config/default_cfe_es_topicids.h for cfe_es_topicids.h
-- Using file: /home/user/Projects/testcfszzz/cfe/modules/evs/config/default_cfe_evs_mission_cfg.h for cfe_evs_mission_cfg.h
-- Using file: /home/user/Projects/testcfszzz/cfe/modules/evs/config/default_cfe_evs_interface_cfg.h for cfe_evs_interface_cfg.h
-- Using file: /home/user/Projects/testcfszzz/cfe/modules/evs/config/default_cfe_evs_extern_typedefs.h for cfe_evs_extern_typedefs.h
-- Using file: /home/user/Projects/testcfszzz/cfe/modules/evs/config/default_cfe_evs_fcncodes.h for cfe_evs_fcncodes.h
-- Using file: /home/user/Projects/testcfszzz/cfe/modules/evs/config/default_cfe_evs_msgdefs.h for cfe_evs_msgdefs.h
-- Using file: /home/user/Projects/testcfszzz/cfe/modules/evs/config/default_cfe_evs_msg.h for cfe_evs_msg.h
-- Using file: /home/user/Projects/testcfszzz/cfe/modules/evs/config/default_cfe_evs_msgstruct.h for cfe_evs_msgstruct.h
-- Using file: /home/user/Projects/testcfszzz/cfe/modules/evs/config/default_cfe_evs_topicids.h for cfe_evs_topicids.h
-- Using file: /home/user/Projects/testcfszzz/cfe/modules/fs/config/default_cfe_fs_mission_cfg.h for cfe_fs_mission_cfg.h
-- Using file: /home/user/Projects/testcfszzz/cfe/modules/fs/config/default_cfe_fs_interface_cfg.h for cfe_fs_interface_cfg.h
-- Using file: /home/user/Projects/testcfszzz/cfe/modules/fs/config/default_cfe_fs_filedef.h for cfe_fs_filedef.h
-- Using file: /home/user/Projects/testcfszzz/cfe/modules/fs/config/default_cfe_fs_extern_typedefs.h for cfe_fs_extern_typedefs.h
-- Using file: /home/user/Projects/testcfszzz/cfe/modules/sb/config/default_cfe_sb_mission_cfg.h for cfe_sb_mission_cfg.h
-- Using file: /home/user/Projects/testcfszzz/cfe/modules/sb/config/default_cfe_sb_interface_cfg.h for cfe_sb_interface_cfg.h
-- Using file: /home/user/Projects/testcfszzz/cfe/modules/sb/config/default_cfe_sb_extern_typedefs.h for cfe_sb_extern_typedefs.h
-- Using file: /home/user/Projects/testcfszzz/cfe/modules/sb/config/default_cfe_sb_fcncodes.h for cfe_sb_fcncodes.h
-- Using file: /home/user/Projects/testcfszzz/cfe/modules/sb/config/default_cfe_sb_msgdefs.h for cfe_sb_msgdefs.h
-- Using file: /home/user/Projects/testcfszzz/cfe/modules/sb/config/default_cfe_sb_msg.h for cfe_sb_msg.h
-- Using file: /home/user/Projects/testcfszzz/cfe/modules/sb/config/default_cfe_sb_msgstruct.h for cfe_sb_msgstruct.h
-- Using file: /home/user/Projects/testcfszzz/cfe/modules/sb/config/default_cfe_sb_topicids.h for cfe_sb_topicids.h
-- Using file: /home/user/Projects/testcfszzz/cfe/modules/tbl/config/default_cfe_tbl_mission_cfg.h for cfe_tbl_mission_cfg.h
-- Using file: /home/user/Projects/testcfszzz/cfe/modules/tbl/config/default_cfe_tbl_interface_cfg.h for cfe_tbl_interface_cfg.h
-- Using file: /home/user/Projects/testcfszzz/cfe/modules/tbl/config/default_cfe_tbl_extern_typedefs.h for cfe_tbl_extern_typedefs.h
-- Using file: /home/user/Projects/testcfszzz/cfe/modules/tbl/config/default_cfe_tbl_fcncodes.h for cfe_tbl_fcncodes.h
-- Using file: /home/user/Projects/testcfszzz/cfe/modules/tbl/config/default_cfe_tbl_msgdefs.h for cfe_tbl_msgdefs.h
-- Using file: /home/user/Projects/testcfszzz/cfe/modules/tbl/config/default_cfe_tbl_msg.h for cfe_tbl_msg.h
-- Using file: /home/user/Projects/testcfszzz/cfe/modules/tbl/config/default_cfe_tbl_msgstruct.h for cfe_tbl_msgstruct.h
-- Using file: /home/user/Projects/testcfszzz/cfe/modules/tbl/config/default_cfe_tbl_topicids.h for cfe_tbl_topicids.h
-- Using file: /home/user/Projects/testcfszzz/cfe/modules/time/config/default_cfe_time_mission_cfg.h for cfe_time_mission_cfg.h
-- Using file: /home/user/Projects/testcfszzz/cfe/modules/time/config/default_cfe_time_interface_cfg.h for cfe_time_interface_cfg.h
-- Using file: /home/user/Projects/testcfszzz/cfe/modules/time/config/default_cfe_time_extern_typedefs.h for cfe_time_extern_typedefs.h
-- Using file: /home/user/Projects/testcfszzz/cfe/modules/time/config/default_cfe_time_fcncodes.h for cfe_time_fcncodes.h
-- Using file: /home/user/Projects/testcfszzz/cfe/modules/time/config/default_cfe_time_msgdefs.h for cfe_time_msgdefs.h
-- Using file: /home/user/Projects/testcfszzz/cfe/modules/time/config/default_cfe_time_msg.h for cfe_time_msg.h
-- Using file: /home/user/Projects/testcfszzz/cfe/modules/time/config/default_cfe_time_msgstruct.h for cfe_time_msgstruct.h
-- Using file: /home/user/Projects/testcfszzz/cfe/modules/time/config/default_cfe_time_topicids.h for cfe_time_topicids.h
-- Using file: /home/user/Projects/testcfszzz/cfe/modules/msg/option_inc/default_cfe_msg_hdr_pri.h for cfe_msg_hdr.h
-- Using file: /home/user/Projects/testcfszzz/cfe/modules/msg/option_inc/default_cfe_msg_sechdr.h for cfe_msg_sechdr.h
-- Using file: /home/user/Projects/testcfszzz/cfe/modules/resourceid/option_inc/cfe_resourceid_simple.h for cfe_resourceid_typedef.h
-- Configuring for system arch: native/default_cpu1
-- The C compiler identification is GNU 13.2.1
-- 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
-- OMIT_DEPRECATED=false: Deprecated elements included in build
-- Using file: /home/user/Projects/testcfszzz/cfe/modules/core_api/config/default_cfe_core_api_base_msgids.h for cfe_core_api_base_msgids.h
-- Using file: /home/user/Projects/testcfszzz/cfe/modules/core_api/config/default_cfe_msgids.h for cfe_msgids.h
-- Using file: /home/user/Projects/testcfszzz/cfe/modules/core_private/config/default_cfe_platform_cfg.h for platform_cfg.h
-- Using file: /home/user/Projects/testcfszzz/cfe/modules/core_private/config/default_cfe_core_private_internal_cfg.h for cfe_core_private_internal_cfg.h
-- Using file: /home/user/Projects/testcfszzz/apps/ci_lab/config/default_ci_lab_internal_cfg.h for ci_lab_internal_cfg.h
-- Using file: /home/user/Projects/testcfszzz/apps/ci_lab/config/default_ci_lab_platform_cfg.h for ci_lab_platform_cfg.h
-- Using file: /home/user/Projects/testcfszzz/apps/ci_lab/config/default_ci_lab_perfids.h for ci_lab_perfids.h
-- Using file: /home/user/Projects/testcfszzz/apps/ci_lab/config/default_ci_lab_msgids.h for ci_lab_msgids.h
-- Using file: /home/user/Projects/testcfszzz/apps/to_lab/config/default_to_lab_internal_cfg.h for to_lab_internal_cfg.h
-- Using file: /home/user/Projects/testcfszzz/apps/to_lab/config/default_to_lab_platform_cfg.h for to_lab_platform_cfg.h
-- Using file: /home/user/Projects/testcfszzz/apps/to_lab/config/default_to_lab_perfids.h for to_lab_perfids.h
-- Using file: /home/user/Projects/testcfszzz/apps/to_lab/config/default_to_lab_msgids.h for to_lab_msgids.h
-- Using file: /home/user/Projects/testcfszzz/apps/sch_lab/config/default_sch_lab_perfids.h for sch_lab_perfids.h
-- Using file: /home/user/Projects/testcfszzz/apps/sample_app/config/default_sample_app_internal_cfg.h for sample_app_internal_cfg.h
-- Using file: /home/user/Projects/testcfszzz/apps/sample_app/config/default_sample_app_platform_cfg.h for sample_app_platform_cfg.h
-- Using file: /home/user/Projects/testcfszzz/apps/sample_app/config/default_sample_app_perfids.h for sample_app_perfids.h
-- Using file: /home/user/Projects/testcfszzz/apps/sample_app/config/default_sample_app_msgids.h for sample_app_msgids.h
ES_CFGFILE_SRC_cfe_es_msgids =
-- Using file: /home/user/Projects/testcfszzz/cfe/modules/es/config/default_cfe_es_internal_cfg.h for cfe_es_internal_cfg.h
-- Using file: /home/user/Projects/testcfszzz/cfe/modules/es/config/default_cfe_es_msgids.h for cfe_es_msgids.h
-- Using file: /home/user/Projects/testcfszzz/cfe/modules/es/config/default_cfe_es_platform_cfg.h for cfe_es_platform_cfg.h
-- Using file: /home/user/Projects/testcfszzz/cfe/modules/evs/config/default_cfe_evs_internal_cfg.h for cfe_evs_internal_cfg.h
-- Using file: /home/user/Projects/testcfszzz/cfe/modules/evs/config/default_cfe_evs_msgids.h for cfe_evs_msgids.h
-- Using file: /home/user/Projects/testcfszzz/cfe/modules/evs/config/default_cfe_evs_platform_cfg.h for cfe_evs_platform_cfg.h
-- Using file: /home/user/Projects/testcfszzz/cfe/modules/sb/config/default_cfe_sb_internal_cfg.h for cfe_sb_internal_cfg.h
-- Using file: /home/user/Projects/testcfszzz/cfe/modules/sb/config/default_cfe_sb_msgids.h for cfe_sb_msgids.h
-- Using file: /home/user/Projects/testcfszzz/cfe/modules/sb/config/default_cfe_sb_platform_cfg.h for cfe_sb_platform_cfg.h
-- Using file: /home/user/Projects/testcfszzz/cfe/modules/tbl/config/default_cfe_tbl_internal_cfg.h for cfe_tbl_internal_cfg.h
-- Using file: /home/user/Projects/testcfszzz/cfe/modules/tbl/config/default_cfe_tbl_msgids.h for cfe_tbl_msgids.h
-- Using file: /home/user/Projects/testcfszzz/cfe/modules/tbl/config/default_cfe_tbl_platform_cfg.h for cfe_tbl_platform_cfg.h
-- Using file: /home/user/Projects/testcfszzz/cfe/modules/time/config/default_cfe_time_internal_cfg.h for cfe_time_internal_cfg.h
-- Using file: /home/user/Projects/testcfszzz/cfe/modules/time/config/default_cfe_time_msgids.h for cfe_time_msgids.h
-- Using file: /home/user/Projects/testcfszzz/cfe/modules/time/config/default_cfe_time_platform_cfg.h for cfe_time_platform_cfg.h
-- BSP Selection: generic-linux at /home/user/Projects/testcfszzz/osal/src/bsp/generic-linux
-- OSAL Selection: posix at /home/user/Projects/testcfszzz/osal/src/os/posix
-- OSAL Compile Definitions: _XOPEN_SOURCE=600;_POSIX_OS_
-- PSP Selection: pc-linux
-- Building Core Module: core_api
-- Building Core Module: core_private
-- Building Core Module: es
-- Building Core Module: evs
-- Building Core Module: fs
-- Building Core Module: sb
-- Building Core Module: tbl
-- Building Core Module: time
-- Building Core Module: psp
-- Building Core Module: msg
-- CCSDS primary header included in message header (not including CCSDS extended header)
-- Message Id version 1 in use (MsgId V1)
-- Building Core Module: sbr
-- Using direct map software bus routing implementation
-- Building Core Module: resourceid
-- Building Core Module: config
-- Building Dynamic App: ci_lab targets=cpu1
-- Building Dynamic App: to_lab targets=cpu1
-- Using file: /home/user/Projects/testcfszzz/apps/to_lab/fsw/tables/to_lab_sub.c for to_lab_sub.c
-- Using /home/user/Projects/testcfszzz/apps/to_lab/fsw/tables/to_lab_sub.c as table definition for to_lab_sub on cpu1
-- Building Dynamic App: sch_lab targets=cpu1
-- Using file: /home/user/Projects/testcfszzz/apps/sch_lab/fsw/tables/sch_lab_table.c for sch_lab_table.c
-- Using /home/user/Projects/testcfszzz/apps/sch_lab/fsw/tables/sch_lab_table.c as table definition for sch_lab_table on cpu1
-- Building Dynamic App: cfe_assert targets=cpu1
-- Building Dynamic App: sample_app targets=cpu1
-- Using file: /home/user/Projects/testcfszzz/apps/sample_app/fsw/tables/sample_app_tbl.c for sample_app_tbl.c
-- Using /home/user/Projects/testcfszzz/apps/sample_app/fsw/tables/sample_app_tbl.c as table definition for sample_app_tbl on cpu1
-- Building Dynamic App: sample_lib targets=cpu1
NOTE: Selected /home/user/Projects/testcfszzz/testcfs_defs/cpu1_cfe_es_startup.scr as source for cfe_es_startup.scr on cpu1
-- Configuring done (0.1s)
-- Generating done (0.1s)
-- Build files have been written to: /home/user/Projects/testcfszzz/build/native/default_cpu1
-- Configuring done (0.3s)
-- Generating done (0.0s)
-- Build files have been written to: /home/user/Projects/testcfszzz/build
echo "-DCMAKE_INSTALL_PREFIX=/exe -DCMAKE_BUILD_TYPE=debug" > "build/.prep"
from cfs.
I'll try to find some time this weekend to look into it, but the starting point is
from failing output:
CMake Error at cmake/global_functions.cmake:83 (message):
No implementation for perfids.h found
vs the successful output:
-- Using file: /home/user/Projects/testcfszzz/testcfs_defs/testcfs_perfids.h for perfids.h
Doesn't seem like cmake is filling ______perfids.h with testcfs when the parent directory is named testcfs.
from cfs.
I was able to recreate, although not exactly following your example since I'm still a bit confused wrt your setup. It doesn't look like util-linux provides rename on Ubuntu 22.04. Anyways, it comes down to this logic:
https://github.com/nasa/cFE/blob/7f5ebcd15032fe31e7ef0e5ff4ef624d51d66e16/cmake/global_functions.cmake#L57-L63
It should probably only check for a match relative to MISSION_DEFS directory instead of the full path. Or just remove the test, I'm not sure why it needs to be that strict (could still test for something w/ a prefix that matches the relative dir).
from cfs.
I was able to recreate, although not exactly following your example since I'm still a bit confused wrt your setup. It doesn't look like util-linux provides rename on Ubuntu 22.04. Anyways, it comes down to this logic: https://github.com/nasa/cFE/blob/7f5ebcd15032fe31e7ef0e5ff4ef624d51d66e16/cmake/global_functions.cmake#L57-L63
It should probably only check for a match relative to MISSION_DEFS directory instead of the full path. Or just remove the test, I'm not sure why it needs to be that strict (could still test for something w/ a prefix that matches the relative dir).
Yeah I'm sorry about the confusion. This issue report was made using ubuntu 22.04, but I no longer have an ubuntu install because I've moved to gentoo. This is why I switched instructions up for rename. I will work on a PR this week. Thanks for helping narrow it down!
from cfs.
Fixed via nasa/cFE#2494
from cfs.
Related Issues (20)
- Create unit test for vxworks_sysmon HOT 1
- Large object pushed on stack by function UT_CallTaskPipe()
- TOC links not working in CONTRIBUTING.md
- Consider analyzing conditionals for mc/dc coverage HOT 2
- Remove format check on PR title
- Shared workflow scripts need updates for node.js version
- 79 - coverage-es-ALL (SEGFAULT) HOT 2
- Update CodeQL to v3
- Rename unit-test-coverage.yml
- Update platform defined values to be more 'flight like'/work with BVT tests
- How hardware components are integrated with cFS applications? HOT 6
- Training guide apps and current cFS version compatibility. HOT 1
- cFS releases HOT 3
- cFS start guide
- cFS Documentation and Guides workflow fail
- python3 GroundSystem.py depends on PyQt5 and PyQt5 won't install in linux 20.04.06 HOT 1
- documentation about the pieces HOT 1
- pyqt5 woes HOT 1
- draco does not build HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cfs.