tim-balloon / TIMflight

Flight MCP repo
0 stars 0 forks source link

Add git submodules for libphenom and cmocka #68

Closed evanmayer closed 1 year ago

evanmayer commented 1 year ago

This PR helps with compiling the flight software in situations where the Internet is not available. It does this by converting dependencies that are currently downloaded by CMake ExternalProject_Add at build time into git submodules, which are downloaded at git clone time, assuming the option --recurse-submodules is supplied.

This PR requires users perform some steps to update their checkouts of the repo. From root,

git submodule init

git submodule update

should cover it. If not, blowing away the repo and git clone --recurse-submodules <repo ssh or URL> is another option.

Thanks @shubhagrawal30 for bringing up this issue again.

NOTE: Other cmake projects in the TIMflight repo that rely on libphenom or cmocka should replicate these steps.

Output with network adapter on VM host computer turned off ```bash vagrant@fc1:/media/sf_TIMflight/mcp$ mkdir build vagrant@fc1:/media/sf_TIMflight/mcp$ cd build vagrant@fc1:/media/sf_TIMflight/mcp/build$ cmake .. -- The C compiler identification is GNU 9.4.0 -- The CXX compiler identification is GNU 9.4.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1") -- Looking for pthread.h -- Looking for pthread.h - found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE -- Found OpenSSL: /usr/lib/x86_64-linux-gnu/libcrypto.so (found version "1.1.1f") -- Checking for module 'glib-2.0' -- Found glib-2.0, version 2.64.6 -- Could NOT find cmocka (missing: cmocka_DIR) -- Could NOT find cmocka (missing: cmocka_DIR) -- Could NOT find cmocka (missing: cmocka_DIR) -- Could NOT find cmocka (missing: cmocka_DIR) -- Configuring done -- Generating done -- Build files have been written to: /media/sf_TIMflight/mcp/build vagrant@fc1:/media/sf_TIMflight/mcp/build$ cmake --build . Scanning dependencies of target phenomproj [ 1%] Creating directories for 'phenomproj' [ 2%] Performing download step (git clone) for 'phenomproj' Cloning into 'phenomproj'... done. Already on 'master' Your branch is up to date with 'origin/master'. [ 3%] Performing patch step for 'phenomproj' libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, '.acaux'. libtoolize: linking file '.acaux/config.guess' libtoolize: linking file '.acaux/config.sub' libtoolize: linking file '.acaux/install-sh' libtoolize: linking file '.acaux/ltmain.sh' libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.ac, libtoolize: and rerunning libtoolize and aclocal. libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am. configure.ac:31: installing '.acaux/compile' configure.ac:30: installing '.acaux/missing' Makefile.am: installing '.acaux/depcomp' parallel-tests: installing '.acaux/test-driver' [ 3%] Performing update step for 'phenomproj' Already up to date. [ 4%] Performing configure step for 'phenomproj' [ 5%] Performing build step for 'phenomproj' make[3]: Warning: File 'thirdparty/tap/.deps/libtap_a-tap.Po' has modification time 0.65 s in the future CC corelib/libphenom_la-init.lo CC corelib/libphenom_la-buf.lo CC corelib/libphenom_la-config.lo CC corelib/libphenom_la-counter.lo CC corelib/libphenom_la-debug_console.lo CC corelib/dns/libphenom_la-addrinfo.lo CC corelib/libphenom_la-dtoa.lo corelib/dtoa.c: In function ‘ph_strtod’: corelib/dtoa.c:2542:12: warning: this statement may fall through [-Wimplicit-fallthrough=] 2542 | sign = 1; | ~~~~~^~~ corelib/dtoa.c:2544:5: note: here 2544 | case '+': | ^~~~ corelib/dtoa.c:2654:15: warning: this statement may fall through [-Wimplicit-fallthrough=] 2654 | esign = 1; | ~~~~~~^~~ corelib/dtoa.c:2655:7: note: here 2655 | case '+': | ^~~~ corelib/dtoa.c: In function ‘gethex’: corelib/dtoa.c:1876:13: warning: this statement may fall through [-Wimplicit-fallthrough=] 1876 | esign = 1; | ~~~~~~^~~ corelib/dtoa.c:1878:7: note: here 1878 | case '+': | ^~~~ corelib/dtoa.c: In function ‘ph_dtoa’: corelib/dtoa.c:3910:17: warning: this statement may fall through [-Wimplicit-fallthrough=] 3910 | leftright = 0; | ~~~~~~~~~~^~~ corelib/dtoa.c:3912:5: note: here 3912 | case 4: | ^~~~ corelib/dtoa.c:3918:17: warning: this statement may fall through [-Wimplicit-fallthrough=] 3918 | leftright = 0; | ~~~~~~~~~~^~~ corelib/dtoa.c:3920:5: note: here 3920 | case 5: | ^~~~ CC corelib/libphenom_la-error.lo CC corelib/libphenom_la-hook.lo CC corelib/libphenom_la-log.lo CC corelib/libphenom_la-memory.lo CC corelib/openssl/libphenom_la-bio_stream.lo CC corelib/openssl/libphenom_la-bio_bufq.lo CC corelib/openssl/libphenom_la-init.lo CC corelib/openssl/libphenom_la-ssl_stream.lo CC corelib/libphenom_la-pingfd.lo CC corelib/libphenom_la-pipe2.lo CC corelib/libphenom_la-pprintf.lo CC corelib/nbio/libphenom_la-common.lo CC corelib/nbio/libphenom_la-epoll.lo CC corelib/nbio/libphenom_la-kqueue.lo CC corelib/nbio/libphenom_la-portfs.lo CC corelib/libphenom_la-job.lo CC corelib/libphenom_la-string.lo CC corelib/libphenom_la-serial.lo In file included from /usr/include/string.h:495, from include/phenom/defs.h:104, from include/phenom/serial.h:21, from corelib/serial.c:17: In function ‘strncpy’, inlined from ‘ph_serial_open’ at corelib/serial.c:299:3: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ specified bound 4096 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC corelib/net/libphenom_la-listener.lo CC corelib/net/libphenom_la-sockaddr.lo CC corelib/net/libphenom_la-socket.lo CC corelib/libphenom_la-thread.lo CC corelib/libphenom_la-timerwheel.lo CC corelib/libphenom_la-vprintf.lo CC corelib/variant/libphenom_la-variant.lo CC corelib/variant/libphenom_la-json-dump.lo CC corelib/variant/libphenom_la-json-load.lo CC corelib/variant/libphenom_la-pack.lo CC corelib/variant/libphenom_la-path.lo CC corelib/hash/libphenom_la-murmur.lo corelib/hash/murmur.c: In function ‘ph_hash_bytes_murmur’: corelib/hash/murmur.c:65:17: warning: this statement may fall through [-Wimplicit-fallthrough=] 65 | case 15: k2 ^= (uint64_t)(tail[14]) << 48; | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ corelib/hash/murmur.c:66:5: note: here 66 | case 14: k2 ^= (uint64_t)(tail[13]) << 40; | ^~~~ corelib/hash/murmur.c:66:17: warning: this statement may fall through [-Wimplicit-fallthrough=] 66 | case 14: k2 ^= (uint64_t)(tail[13]) << 40; | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ corelib/hash/murmur.c:67:5: note: here 67 | case 13: k2 ^= (uint64_t)(tail[12]) << 32; | ^~~~ corelib/hash/murmur.c:67:17: warning: this statement may fall through [-Wimplicit-fallthrough=] 67 | case 13: k2 ^= (uint64_t)(tail[12]) << 32; | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ corelib/hash/murmur.c:68:5: note: here 68 | case 12: k2 ^= (uint64_t)(tail[11]) << 24; | ^~~~ corelib/hash/murmur.c:68:17: warning: this statement may fall through [-Wimplicit-fallthrough=] 68 | case 12: k2 ^= (uint64_t)(tail[11]) << 24; | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ corelib/hash/murmur.c:69:5: note: here 69 | case 11: k2 ^= (uint64_t)(tail[10]) << 16; | ^~~~ corelib/hash/murmur.c:69:17: warning: this statement may fall through [-Wimplicit-fallthrough=] 69 | case 11: k2 ^= (uint64_t)(tail[10]) << 16; | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ corelib/hash/murmur.c:70:5: note: here 70 | case 10: k2 ^= (uint64_t)(tail[ 9]) << 8; | ^~~~ corelib/hash/murmur.c:70:17: warning: this statement may fall through [-Wimplicit-fallthrough=] 70 | case 10: k2 ^= (uint64_t)(tail[ 9]) << 8; | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ corelib/hash/murmur.c:71:5: note: here 71 | case 9: k2 ^= (uint64_t)(tail[ 8]) << 0; | ^~~~ corelib/hash/murmur.c:72:59: warning: this statement may fall through [-Wimplicit-fallthrough=] 72 | k2 *= c2; k2 = rotl64(k2, 33); k2 *= c1; h2 ^= k2; | ~~~^~~~~ corelib/hash/murmur.c:74:5: note: here 74 | case 8: k1 ^= (uint64_t)(tail[ 7]) << 56; | ^~~~ corelib/hash/murmur.c:74:17: warning: this statement may fall through [-Wimplicit-fallthrough=] 74 | case 8: k1 ^= (uint64_t)(tail[ 7]) << 56; | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ corelib/hash/murmur.c:75:5: note: here 75 | case 7: k1 ^= (uint64_t)(tail[ 6]) << 48; | ^~~~ corelib/hash/murmur.c:75:17: warning: this statement may fall through [-Wimplicit-fallthrough=] 75 | case 7: k1 ^= (uint64_t)(tail[ 6]) << 48; | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ corelib/hash/murmur.c:76:5: note: here 76 | case 6: k1 ^= (uint64_t)(tail[ 5]) << 40; | ^~~~ corelib/hash/murmur.c:76:17: warning: this statement may fall through [-Wimplicit-fallthrough=] 76 | case 6: k1 ^= (uint64_t)(tail[ 5]) << 40; | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ corelib/hash/murmur.c:77:5: note: here 77 | case 5: k1 ^= (uint64_t)(tail[ 4]) << 32; | ^~~~ corelib/hash/murmur.c:77:17: warning: this statement may fall through [-Wimplicit-fallthrough=] 77 | case 5: k1 ^= (uint64_t)(tail[ 4]) << 32; | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ corelib/hash/murmur.c:78:5: note: here 78 | case 4: k1 ^= (uint64_t)(tail[ 3]) << 24; | ^~~~ corelib/hash/murmur.c:78:17: warning: this statement may fall through [-Wimplicit-fallthrough=] 78 | case 4: k1 ^= (uint64_t)(tail[ 3]) << 24; | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ corelib/hash/murmur.c:79:5: note: here 79 | case 3: k1 ^= (uint64_t)(tail[ 2]) << 16; | ^~~~ corelib/hash/murmur.c:79:17: warning: this statement may fall through [-Wimplicit-fallthrough=] 79 | case 3: k1 ^= (uint64_t)(tail[ 2]) << 16; | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ corelib/hash/murmur.c:80:5: note: here 80 | case 2: k1 ^= (uint64_t)(tail[ 1]) << 8; | ^~~~ corelib/hash/murmur.c:80:17: warning: this statement may fall through [-Wimplicit-fallthrough=] 80 | case 2: k1 ^= (uint64_t)(tail[ 1]) << 8; | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ corelib/hash/murmur.c:81:5: note: here 81 | case 1: k1 ^= (uint64_t)(tail[ 0]) << 0; | ^~~~ CC corelib/hash/libphenom_la-table.lo CC corelib/streams/libphenom_la-copy.lo CC corelib/streams/libphenom_la-make.lo CC corelib/streams/libphenom_la-read.lo CC corelib/streams/libphenom_la-write.lo CC corelib/streams/libphenom_la-fd.lo CC corelib/streams/libphenom_la-string.lo CC corelib/streams/libphenom_la-temp.lo CCLD libphenom.la copying selected object files to avoid basename conflicts... ln: failed to create hard link '.libs/libphenom.lax/lt1-libphenom_la-init.o' => 'corelib/openssl/libphenom_la-init.o': Operation not permitted ln: failed to create hard link '.libs/libphenom.lax/lt2-libphenom_la-string.o' => 'corelib/streams/libphenom_la-string.o': Operation not permitted make[3]: warning: Clock skew detected. Your build may be incomplete. [ 6%] No install step for 'phenomproj' [ 6%] Completed 'phenomproj' [ 6%] Built target phenomproj Scanning dependencies of target soem [...] [ 85%] Built target mcp Scanning dependencies of target libcmocka [ 85%] Creating directories for 'libcmocka' [ 86%] Performing download step (git clone) for 'libcmocka' Cloning into 'libcmocka'... done. Note: switching to 'cmocka-1.1.5'. You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by switching back to a branch. If you want to create a new branch to retain commits you create, you may do so (now or later) by using -c with the switch command. Example: git switch -c Or undo this operation with: git switch - Turn off this advice by setting config variable advice.detachedHead to false HEAD is now at f5e2cd7 Bump version to 1.1.5 [ 86%] No patch step for 'libcmocka' [ 87%] Performing update step for 'libcmocka' [ 88%] Performing configure step for 'libcmocka' -- The C compiler identification is GNU 9.4.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Performing Test REQUIRED_FLAGS_WERROR -- Performing Test REQUIRED_FLAGS_WERROR - Success -- Performing Test WITH_STD_GNU99_FLAG -- Performing Test WITH_STD_GNU99_FLAG - Success -- Performing Test WITH_WPEDANTIC_FLAG -- Performing Test WITH_WPEDANTIC_FLAG - Success -- Performing Test WITH_WALL_FLAG -- Performing Test WITH_WALL_FLAG - Success -- Performing Test WITH_WSHADOW_FLAG -- Performing Test WITH_WSHADOW_FLAG - Success -- Performing Test WITH_WMISSING_PROTOTYPES_FLAG -- Performing Test WITH_WMISSING_PROTOTYPES_FLAG - Success -- Performing Test WITH_WCAST_ALIGN_FLAG -- Performing Test WITH_WCAST_ALIGN_FLAG - Success -- Performing Test WITH_WERROR_ADDRESS_FLAG -- Performing Test WITH_WERROR_ADDRESS_FLAG - Success -- Performing Test WITH_WSTRICT_PROTOTYPES_FLAG -- Performing Test WITH_WSTRICT_PROTOTYPES_FLAG - Success -- Performing Test WITH_WERROR_STRICT_PROTOTYPES_FLAG -- Performing Test WITH_WERROR_STRICT_PROTOTYPES_FLAG - Success -- Performing Test WITH_WWRITE_STRINGS_FLAG -- Performing Test WITH_WWRITE_STRINGS_FLAG - Success -- Performing Test WITH_WERROR_WRITE_STRINGS_FLAG -- Performing Test WITH_WERROR_WRITE_STRINGS_FLAG - Success -- Performing Test WITH_WERROR_IMPLICIT_FUNCTION_DECLARATION_FLAG -- Performing Test WITH_WERROR_IMPLICIT_FUNCTION_DECLARATION_FLAG - Success -- Performing Test WITH_WPOINTER_ARITH_FLAG -- Performing Test WITH_WPOINTER_ARITH_FLAG - Success -- Performing Test WITH_WERROR_POINTER_ARITH_FLAG -- Performing Test WITH_WERROR_POINTER_ARITH_FLAG - Success -- Performing Test WITH_WDECLARATION_AFTER_STATEMENT_FLAG -- Performing Test WITH_WDECLARATION_AFTER_STATEMENT_FLAG - Success -- Performing Test WITH_WERROR_DECLARATION_AFTER_STATEMENT_FLAG -- Performing Test WITH_WERROR_DECLARATION_AFTER_STATEMENT_FLAG - Success -- Performing Test WITH_WRETURN_TYPE_FLAG -- Performing Test WITH_WRETURN_TYPE_FLAG - Success -- Performing Test WITH_WERROR_RETURN_TYPE_FLAG -- Performing Test WITH_WERROR_RETURN_TYPE_FLAG - Success -- Performing Test WITH_WUNINITIALIZED_FLAG -- Performing Test WITH_WUNINITIALIZED_FLAG - Success -- Performing Test WITH_WERROR_UNINITIALIZED_FLAG -- Performing Test WITH_WERROR_UNINITIALIZED_FLAG - Success -- Performing Test WITH_WIMPLICIT_FALLTHROUGH_FLAG -- Performing Test WITH_WIMPLICIT_FALLTHROUGH_FLAG - Success -- Performing Test WITH_WERROR_STRICT_OVERFLOW_FLAG -- Performing Test WITH_WERROR_STRICT_OVERFLOW_FLAG - Success -- Performing Test WITH_WSTRICT_OVERFLOW_2_FLAG -- Performing Test WITH_WSTRICT_OVERFLOW_2_FLAG - Success -- Performing Test WITH_WNO_FORMAT_ZERO_LENGTH_FLAG -- Performing Test WITH_WNO_FORMAT_ZERO_LENGTH_FLAG - Success -- Performing Test WITH_WMISSING_FIELD_INITIALIZERS_FLAG -- Performing Test WITH_WMISSING_FIELD_INITIALIZERS_FLAG - Success -- Performing Test REQUIRED_FLAGS_WFORMAT -- Performing Test REQUIRED_FLAGS_WFORMAT - Success -- Performing Test WITH_WFORMAT_SECURITY_FLAG -- Performing Test WITH_WFORMAT_SECURITY_FLAG - Success -- Performing Test WITH_WERROR_FORMAT_SECURITY_FLAG -- Performing Test WITH_WERROR_FORMAT_SECURITY_FLAG - Success -- Performing Test WITH_FNO_COMMON_FLAG -- Performing Test WITH_FNO_COMMON_FLAG - Success -- Performing Test WITH_STACK_PROTECTOR_STRONG -- Performing Test WITH_STACK_PROTECTOR_STRONG - Success -- Performing Test WITH_STACK_CLASH_PROTECTION -- Performing Test WITH_STACK_CLASH_PROTECTION - Success -- Performing Test WITH_VISIBILITY_HIDDEN -- Performing Test WITH_VISIBILITY_HIDDEN - Success -- Looking for assert.h -- Looking for assert.h - found -- Looking for inttypes.h -- Looking for inttypes.h - found -- Looking for io.h -- Looking for io.h - not found -- Looking for malloc.h -- Looking for malloc.h - found -- Looking for memory.h -- Looking for memory.h - found -- Looking for setjmp.h -- Looking for setjmp.h - found -- Looking for signal.h -- Looking for signal.h - found -- Looking for stdarg.h -- Looking for stdarg.h - found -- Looking for stddef.h -- Looking for stddef.h - found -- Looking for stdint.h -- Looking for stdint.h - found -- Looking for stdio.h -- Looking for stdio.h - found -- Looking for stdlib.h -- Looking for stdlib.h - found -- Looking for string.h -- Looking for string.h - found -- Looking for strings.h -- Looking for strings.h - found -- Looking for sys/stat.h -- Looking for sys/stat.h - found -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for time.h -- Looking for time.h - found -- Looking for unistd.h -- Looking for unistd.h - found -- Performing Test HAVE_STRUCT_TIMESPEC -- Performing Test HAVE_STRUCT_TIMESPEC - Success -- Looking for calloc -- Looking for calloc - found -- Looking for exit -- Looking for exit - found -- Looking for fprintf -- Looking for fprintf - found -- Looking for free -- Looking for free - found -- Looking for longjmp -- Looking for longjmp - found -- Looking for siglongjmp -- Looking for siglongjmp - found -- Looking for malloc -- Looking for malloc - found -- Looking for memcpy -- Looking for memcpy - found -- Looking for memset -- Looking for memset - found -- Looking for printf -- Looking for printf - found -- Looking for setjmp -- Looking for setjmp - found -- Looking for signal -- Looking for signal - found -- Looking for strsignal -- Looking for strsignal - found -- Looking for strcmp -- Looking for strcmp - found -- Looking for clock_gettime -- Looking for clock_gettime - found -- Looking for sprintf -- Looking for sprintf - found -- Looking for vsnprintf -- Looking for vsnprintf - found -- Performing Test HAVE_GCC_THREAD_LOCAL_STORAGE -- Performing Test HAVE_GCC_THREAD_LOCAL_STORAGE - Success -- Performing Test HAVE_CLOCK_REALTIME -- Performing Test HAVE_CLOCK_REALTIME - Success -- Check if the system is big endian -- Searching 16 bit integer -- Check size of unsigned short -- Check size of unsigned short - done -- Using unsigned short -- Check if the system is big endian - little endian -- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) -- Configuring done -- Generating done -- Build files have been written to: /media/sf_TIMflight/mcp/build/libcmocka-prefix/src/libcmocka-build [ 89%] Performing build step for 'libcmocka' make[3]: Warning: File 'Makefile' has modification time 0.65 s in the future make[4]: Warning: File 'CMakeFiles/Makefile2' has modification time 0.67 s in the future make[5]: Warning: File 'src/CMakeFiles/cmocka.dir/flags.make' has modification time 0.63 s in the future Scanning dependencies of target cmocka make[5]: warning: Clock skew detected. Your build may be incomplete. make[5]: Warning: File 'src/CMakeFiles/cmocka.dir/flags.make' has modification time 0.62 s in the future [ 4%] Building C object src/CMakeFiles/cmocka.dir/cmocka.c.o [ 9%] Linking C shared library libcmocka.so make[5]: warning: Clock skew detected. Your build may be incomplete. [ 9%] Built target cmocka make[5]: Warning: File 'example/CMakeFiles/assert_macro_test.dir/flags.make' has modification time 0.17 s in the future Scanning dependencies of target assert_macro_test make[5]: warning: Clock skew detected. Your build may be incomplete. make[5]: Warning: File 'example/CMakeFiles/assert_macro_test.dir/flags.make' has modification time 0.16 s in the future [ 13%] Building C object example/CMakeFiles/assert_macro_test.dir/assert_macro.c.o [ 18%] Building C object example/CMakeFiles/assert_macro_test.dir/assert_macro_test.c.o [ 22%] Linking C executable assert_macro_test make[5]: warning: Clock skew detected. Your build may be incomplete. [ 22%] Built target assert_macro_test make[5]: Warning: File 'example/CMakeFiles/allocate_module_test.dir/flags.make' has modification time 0.055 s in the future Scanning dependencies of target allocate_module_test make[5]: warning: Clock skew detected. Your build may be incomplete. make[5]: Warning: File 'example/CMakeFiles/allocate_module_test.dir/flags.make' has modification time 0.043 s in the future [ 27%] Building C object example/CMakeFiles/allocate_module_test.dir/allocate_module.c.o [ 31%] Building C object example/CMakeFiles/allocate_module_test.dir/allocate_module_test.c.o [ 36%] Linking C executable allocate_module_test make[5]: warning: Clock skew detected. Your build may be incomplete. [ 36%] Built target allocate_module_test Scanning dependencies of target assert_module_test make[5]: Warning: File 'example/CMakeFiles/assert_module_test.dir/depend.make' has modification time 0.71 s in the future [ 40%] Building C object example/CMakeFiles/assert_module_test.dir/assert_module.c.o [ 45%] Building C object example/CMakeFiles/assert_module_test.dir/assert_module_test.c.o [ 50%] Linking C executable assert_module_test make[5]: warning: Clock skew detected. Your build may be incomplete. [ 50%] Built target assert_module_test Scanning dependencies of target simple_test make[5]: Warning: File 'example/CMakeFiles/simple_test.dir/depend.make' has modification time 0.71 s in the future [ 54%] Building C object example/CMakeFiles/simple_test.dir/simple_test.c.o [ 59%] Linking C executable simple_test make[5]: warning: Clock skew detected. Your build may be incomplete. [ 59%] Built target simple_test Scanning dependencies of target waiter_test_wrap make[5]: Warning: File 'example/mock/chef_wrap/CMakeFiles/waiter_test_wrap.dir/depend.make' has modification time 0.7 s in the future [ 63%] Building C object example/mock/chef_wrap/CMakeFiles/waiter_test_wrap.dir/waiter_test_wrap.c.o [ 68%] Building C object example/mock/chef_wrap/CMakeFiles/waiter_test_wrap.dir/chef.c.o [ 72%] Linking C executable waiter_test_wrap make[5]: warning: Clock skew detected. Your build may be incomplete. [ 72%] Built target waiter_test_wrap Scanning dependencies of target test_uptime make[5]: Warning: File 'example/mock/uptime/CMakeFiles/test_uptime.dir/depend.make' has modification time 0.7 s in the future [ 77%] Building C object example/mock/uptime/CMakeFiles/test_uptime.dir/test_uptime.c.o [ 81%] Linking C executable test_uptime make[5]: warning: Clock skew detected. Your build may be incomplete. [ 81%] Built target test_uptime Scanning dependencies of target proc_uptime make[5]: Warning: File 'example/mock/uptime/CMakeFiles/proc_uptime.dir/depend.make' has modification time 0.71 s in the future [ 86%] Building C object example/mock/uptime/CMakeFiles/proc_uptime.dir/proc_uptime.c.o [ 90%] Linking C static library libproc_uptime.a make[5]: warning: Clock skew detected. Your build may be incomplete. [ 90%] Built target proc_uptime Scanning dependencies of target uptime make[5]: Warning: File 'example/mock/uptime/CMakeFiles/uptime.dir/depend.make' has modification time 0.7 s in the future [ 95%] Building C object example/mock/uptime/CMakeFiles/uptime.dir/uptime.c.o [100%] Linking C executable uptime make[5]: warning: Clock skew detected. Your build may be incomplete. [100%] Built target uptime make[4]: warning: Clock skew detected. Your build may be incomplete. make[3]: warning: Clock skew detected. Your build may be incomplete. [ 90%] Performing install step for 'libcmocka' [ 4%] Linking C shared library libcmocka.so [ 9%] Built target cmocka [ 13%] Linking C executable assert_macro_test [ 22%] Built target assert_macro_test [ 36%] Built target allocate_module_test make[5]: Warning: File 'example/assert_module_test' has modification time 0.017 s in the future make[5]: warning: Clock skew detected. Your build may be incomplete. [ 50%] Built target assert_module_test make[5]: Warning: File 'example/CMakeFiles/simple_test.dir/depend.make' has modification time 0.027 s in the future make[5]: warning: Clock skew detected. Your build may be incomplete. make[5]: Warning: File 'example/CMakeFiles/simple_test.dir/depend.make' has modification time 0.019 s in the future make[5]: warning: Clock skew detected. Your build may be incomplete. [ 59%] Built target simple_test make[5]: Warning: File 'example/mock/chef_wrap/CMakeFiles/waiter_test_wrap.dir/depend.make' has modification time 0.093 s in the future make[5]: warning: Clock skew detected. Your build may be incomplete. make[5]: Warning: File 'example/mock/chef_wrap/CMakeFiles/waiter_test_wrap.dir/depend.make' has modification time 0.085 s in the future make[5]: warning: Clock skew detected. Your build may be incomplete. [ 72%] Built target waiter_test_wrap make[5]: Warning: File 'example/mock/uptime/CMakeFiles/test_uptime.dir/depend.make' has modification time 0.2 s in the future make[5]: warning: Clock skew detected. Your build may be incomplete. make[5]: Warning: File 'example/mock/uptime/CMakeFiles/test_uptime.dir/depend.make' has modification time 0.19 s in the future make[5]: warning: Clock skew detected. Your build may be incomplete. [ 81%] Built target test_uptime make[5]: Warning: File 'example/mock/uptime/CMakeFiles/proc_uptime.dir/depend.make' has modification time 0.3 s in the future make[5]: warning: Clock skew detected. Your build may be incomplete. make[5]: Warning: File 'example/mock/uptime/CMakeFiles/proc_uptime.dir/depend.make' has modification time 0.29 s in the future make[5]: warning: Clock skew detected. Your build may be incomplete. [ 90%] Built target proc_uptime make[5]: Warning: File 'example/mock/uptime/CMakeFiles/uptime.dir/depend.make' has modification time 0.36 s in the future make[5]: warning: Clock skew detected. Your build may be incomplete. make[5]: Warning: File 'example/mock/uptime/CMakeFiles/uptime.dir/depend.make' has modification time 0.36 s in the future make[5]: warning: Clock skew detected. Your build may be incomplete. [100%] Built target uptime Install the project... -- Install configuration: "Release" -- Installing: /media/sf_TIMflight/mcp/build/libcmocka-prefix/lib/pkgconfig/cmocka.pc -- Installing: /media/sf_TIMflight/mcp/build/libcmocka-prefix/lib/cmake/cmocka/cmocka-config.cmake -- Installing: /media/sf_TIMflight/mcp/build/libcmocka-prefix/lib/cmake/cmocka/cmocka-config-version.cmake -- Installing: /media/sf_TIMflight/mcp/build/libcmocka-prefix/include/cmocka.h -- Installing: /media/sf_TIMflight/mcp/build/libcmocka-prefix/include/cmocka_pbc.h -- Installing: /media/sf_TIMflight/mcp/build/libcmocka-prefix/lib/libcmocka.so.0.7.0 -- Installing: /media/sf_TIMflight/mcp/build/libcmocka-prefix/lib/libcmocka.so.0 -- Installing: /media/sf_TIMflight/mcp/build/libcmocka-prefix/lib/libcmocka.so [ 91%] Completed 'libcmocka' [ 91%] Built target libcmocka Scanning dependencies of target test_evtm [...] [ PASSED ] 14 test(s). make[2]: warning: Clock skew detected. Your build may be incomplete. [100%] Built target test_utils ```
evanmayer commented 1 year ago

Instructions for setting up GitHub actions for a repo that needs to check out a private submodule:

https://rgoswami.me/posts/priv-gh-actions/

evanmayer commented 1 year ago

Closes #67

evanmayer commented 1 year ago

@shubhagrawal30 it looks like you are a reviewer but I think your findings have been resolved. Can you approve or let me know if you need more time?