>>> cmocka 1.1.5 Downloading --2019-08-29 05:16:33-- https://cmocka.org/files/1.1/cmocka-1.1.5.tar.xz Resolving cmocka.org (cmocka.org)... 78.46.80.163 Connecting to cmocka.org (cmocka.org)|78.46.80.163|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 81004 (79K) [application/x-xz] Saving to: '/home/naourr/work/instance-1/output-1/build/.cmocka-1.1.5.tar.xz.hyYhWV/output' 0K .......... .......... .......... .......... .......... 63% 1.04M 0s 50K .......... .......... ......... 100% 209M=0.05s 2019-08-29 05:16:33 (1.65 MB/s) - '/home/naourr/work/instance-1/output-1/build/.cmocka-1.1.5.tar.xz.hyYhWV/output' saved [81004/81004] cmocka-1.1.5.tar.xz: OK (sha256: f0ccd8242d55e2fd74b16ba518359151f6f8383ff8aef4976e48393f77bba8b6) >>> cmocka 1.1.5 Extracting xzcat /home/naourr/work/instance-1/buildroot/instance-1/dl/cmocka/cmocka-1.1.5.tar.xz | /home/naourr/work/instance-1/output-1/host/bin/tar --strip-components=1 -C /home/naourr/work/instance-1/output-1/build/cmocka-1.1.5 -xf - >>> cmocka 1.1.5 Patching >>> cmocka 1.1.5 Configuring (mkdir -p /home/naourr/work/instance-1/output-1/build/cmocka-1.1.5//buildroot-build && cd /home/naourr/work/instance-1/output-1/build/cmocka-1.1.5//buildroot-build && rm -f CMakeCache.txt && PATH="/home/naourr/work/instance-1/output-1/host/bin:/home/naourr/work/instance-1/output-1/host/sbin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/naourr/bin:/home/naourr/git/git-wrappers:/home/naourr/.local/bin:/home/naourr/bin" /usr/bin/cmake /home/naourr/work/instance-1/output-1/build/cmocka-1.1.5/ -DCMAKE_TOOLCHAIN_FILE="/home/naourr/work/instance-1/output-1/host/share/buildroot/toolchainfile.cmake" -DCMAKE_INSTALL_PREFIX="/usr" -DCMAKE_COLOR_MAKEFILE=OFF -DBUILD_DOC=OFF -DBUILD_DOCS=OFF -DBUILD_EXAMPLE=OFF -DBUILD_EXAMPLES=OFF -DBUILD_TEST=OFF -DBUILD_TESTS=OFF -DBUILD_TESTING=OFF -DBUILD_SHARED_LIBS=ON -DWITH_EXAMPLES=OFF ) -- The C compiler identification is GNU 8.3.0 -- Check for working C compiler: /home/naourr/work/instance-1/output-1/host/bin/riscv64-buildroot-linux-musl-gcc -- Check for working C compiler: /home/naourr/work/instance-1/output-1/host/bin/riscv64-buildroot-linux-musl-gcc -- 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 CMake Warning: Manually-specified variables were not used by the project: BUILD_DOC BUILD_DOCS BUILD_EXAMPLE BUILD_EXAMPLES BUILD_TEST BUILD_TESTS -- Build files have been written to: /home/naourr/work/instance-1/output-1/build/cmocka-1.1.5/buildroot-build >>> cmocka 1.1.5 Building PATH="/home/naourr/work/instance-1/output-1/host/bin:/home/naourr/work/instance-1/output-1/host/sbin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/naourr/bin:/home/naourr/git/git-wrappers:/home/naourr/.local/bin:/home/naourr/bin" /usr/bin/make -j4 -C /home/naourr/work/instance-1/output-1/build/cmocka-1.1.5//buildroot-build make[1]: Entering directory '/home/naourr/work/instance-1/output-1/build/cmocka-1.1.5/buildroot-build' make[2]: Entering directory '/home/naourr/work/instance-1/output-1/build/cmocka-1.1.5/buildroot-build' make[3]: Entering directory '/home/naourr/work/instance-1/output-1/build/cmocka-1.1.5/buildroot-build' Scanning dependencies of target cmocka make[3]: Leaving directory '/home/naourr/work/instance-1/output-1/build/cmocka-1.1.5/buildroot-build' make[3]: Entering directory '/home/naourr/work/instance-1/output-1/build/cmocka-1.1.5/buildroot-build' [ 50%] Building C object src/CMakeFiles/cmocka.dir/cmocka.c.o In file included from /home/naourr/work/instance-1/output-1/build/cmocka-1.1.5/src/cmocka.c:62: /home/naourr/work/instance-1/output-1/build/cmocka-1.1.5/include/cmocka.h:132:28: error: conflicting types for 'uintptr_t' typedef unsigned int uintptr_t; ^~~~~~~~~ In file included from /home/naourr/work/instance-1/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/stdint.h:20, from /home/naourr/work/instance-1/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/inttypes.h:9, from /home/naourr/work/instance-1/output-1/build/cmocka-1.1.5/src/cmocka.c:27: /home/naourr/work/instance-1/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/bits/alltypes.h:104:24: note: previous declaration of 'uintptr_t' was here typedef unsigned _Addr uintptr_t; ^~~~~~~~~ /home/naourr/work/instance-1/output-1/build/cmocka-1.1.5/src/cmocka.c: In function 'free_symbol_map_value': /home/naourr/work/instance-1/output-1/build/cmocka-1.1.5/src/cmocka.c:725:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (void *) ((uintptr_t)children - 1)); ^ /home/naourr/work/instance-1/output-1/build/cmocka-1.1.5/src/cmocka.c: In function '_expect_string': /home/naourr/work/instance-1/output-1/build/cmocka-1.1.5/include/cmocka_private.h:156:38: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define discard_const(ptr) ((void *)((uintptr_t)(ptr))) ^ /home/naourr/work/instance-1/output-1/build/cmocka-1.1.5/src/cmocka.c:117:30: note: in definition of macro 'declare_initialize_value_pointer_pointer' name.x.pointer = (void*)(ptr) ^~~ /home/naourr/work/instance-1/output-1/build/cmocka-1.1.5/src/cmocka.c:1553:46: note: in expansion of macro 'discard_const' discard_const(string)); ^~~~~~~~~~~~~ /home/naourr/work/instance-1/output-1/build/cmocka-1.1.5/include/cmocka_private.h:156:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define discard_const(ptr) ((void *)((uintptr_t)(ptr))) ^ /home/naourr/work/instance-1/output-1/build/cmocka-1.1.5/src/cmocka.c:117:30: note: in definition of macro 'declare_initialize_value_pointer_pointer' name.x.pointer = (void*)(ptr) ^~~ /home/naourr/work/instance-1/output-1/build/cmocka-1.1.5/src/cmocka.c:1553:46: note: in expansion of macro 'discard_const' discard_const(string)); ^~~~~~~~~~~~~ /home/naourr/work/instance-1/output-1/build/cmocka-1.1.5/src/cmocka.c: In function '_expect_not_string': /home/naourr/work/instance-1/output-1/build/cmocka-1.1.5/include/cmocka_private.h:156:38: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define discard_const(ptr) ((void *)((uintptr_t)(ptr))) ^ /home/naourr/work/instance-1/output-1/build/cmocka-1.1.5/src/cmocka.c:117:30: note: in definition of macro 'declare_initialize_value_pointer_pointer' name.x.pointer = (void*)(ptr) ^~~ /home/naourr/work/instance-1/output-1/build/cmocka-1.1.5/src/cmocka.c:1575:46: note: in expansion of macro 'discard_const' discard_const(string)); ^~~~~~~~~~~~~ /home/naourr/work/instance-1/output-1/build/cmocka-1.1.5/include/cmocka_private.h:156:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define discard_const(ptr) ((void *)((uintptr_t)(ptr))) ^ /home/naourr/work/instance-1/output-1/build/cmocka-1.1.5/src/cmocka.c:117:30: note: in definition of macro 'declare_initialize_value_pointer_pointer' name.x.pointer = (void*)(ptr) ^~~ /home/naourr/work/instance-1/output-1/build/cmocka-1.1.5/src/cmocka.c:1575:46: note: in expansion of macro 'discard_const' discard_const(string)); ^~~~~~~~~~~~~ In file included from /home/naourr/work/instance-1/output-1/build/cmocka-1.1.5/src/cmocka.c:63: /home/naourr/work/instance-1/output-1/build/cmocka-1.1.5/src/cmocka.c: In function '_test_free': /home/naourr/work/instance-1/output-1/build/cmocka-1.1.5/include/cmocka_private.h:156:38: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define discard_const(ptr) ((void *)((uintptr_t)(ptr))) ^ /home/naourr/work/instance-1/output-1/build/cmocka-1.1.5/include/cmocka_private.h:161:45: note: in expansion of macro 'discard_const' #define discard_const_p(type, ptr) ((type *)discard_const(ptr)) ^~~~~~~~~~~~~ /home/naourr/work/instance-1/output-1/build/cmocka-1.1.5/src/cmocka.c:2033:19: note: in expansion of macro 'discard_const_p' char *block = discard_const_p(char, ptr); ^~~~~~~~~~~~~~~ /home/naourr/work/instance-1/output-1/build/cmocka-1.1.5/include/cmocka_private.h:156:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define discard_const(ptr) ((void *)((uintptr_t)(ptr))) ^ /home/naourr/work/instance-1/output-1/build/cmocka-1.1.5/include/cmocka_private.h:161:45: note: in expansion of macro 'discard_const' #define discard_const_p(type, ptr) ((type *)discard_const(ptr)) ^~~~~~~~~~~~~ /home/naourr/work/instance-1/output-1/build/cmocka-1.1.5/src/cmocka.c:2033:19: note: in expansion of macro 'discard_const_p' char *block = discard_const_p(char, ptr); ^~~~~~~~~~~~~~~ /home/naourr/work/instance-1/output-1/build/cmocka-1.1.5/include/cmocka_private.h:156:38: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define discard_const(ptr) ((void *)((uintptr_t)(ptr))) ^ /home/naourr/work/instance-1/output-1/build/cmocka-1.1.5/include/cmocka_private.h:161:45: note: in expansion of macro 'discard_const' #define discard_const_p(type, ptr) ((type *)discard_const(ptr)) ^~~~~~~~~~~~~ /home/naourr/work/instance-1/output-1/build/cmocka-1.1.5/src/cmocka.c:2070:13: note: in expansion of macro 'discard_const_p' block = discard_const_p(char, block_info.data->block); ^~~~~~~~~~~~~~~ /home/naourr/work/instance-1/output-1/build/cmocka-1.1.5/include/cmocka_private.h:156:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define discard_const(ptr) ((void *)((uintptr_t)(ptr))) ^ /home/naourr/work/instance-1/output-1/build/cmocka-1.1.5/include/cmocka_private.h:161:45: note: in expansion of macro 'discard_const' #define discard_const_p(type, ptr) ((type *)discard_const(ptr)) ^~~~~~~~~~~~~ /home/naourr/work/instance-1/output-1/build/cmocka-1.1.5/src/cmocka.c:2070:13: note: in expansion of macro 'discard_const_p' block = discard_const_p(char, block_info.data->block); ^~~~~~~~~~~~~~~ /home/naourr/work/instance-1/output-1/build/cmocka-1.1.5/src/cmocka.c: In function 'display_allocated_blocks': /home/naourr/work/instance-1/output-1/build/cmocka-1.1.5/include/cmocka_private.h:156:38: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define discard_const(ptr) ((void *)((uintptr_t)(ptr))) ^ /home/naourr/work/instance-1/output-1/build/cmocka-1.1.5/src/cmocka.c:2134:20: note: in expansion of macro 'discard_const' .ptr = discard_const(node->value), ^~~~~~~~~~~~~ /home/naourr/work/instance-1/output-1/build/cmocka-1.1.5/include/cmocka_private.h:156:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define discard_const(ptr) ((void *)((uintptr_t)(ptr))) ^ /home/naourr/work/instance-1/output-1/build/cmocka-1.1.5/src/cmocka.c:2134:20: note: in expansion of macro 'discard_const' .ptr = discard_const(node->value), ^~~~~~~~~~~~~ /home/naourr/work/instance-1/output-1/build/cmocka-1.1.5/src/cmocka.c: In function 'free_allocated_blocks': /home/naourr/work/instance-1/output-1/build/cmocka-1.1.5/include/cmocka_private.h:156:38: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define discard_const(ptr) ((void *)((uintptr_t)(ptr))) ^ /home/naourr/work/instance-1/output-1/build/cmocka-1.1.5/src/cmocka.c:2162:20: note: in expansion of macro 'discard_const' .ptr = discard_const(node->value), ^~~~~~~~~~~~~ /home/naourr/work/instance-1/output-1/build/cmocka-1.1.5/include/cmocka_private.h:156:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define discard_const(ptr) ((void *)((uintptr_t)(ptr))) ^ /home/naourr/work/instance-1/output-1/build/cmocka-1.1.5/src/cmocka.c:2162:20: note: in expansion of macro 'discard_const' .ptr = discard_const(node->value), ^~~~~~~~~~~~~ In file included from /home/naourr/work/instance-1/output-1/build/cmocka-1.1.5/src/cmocka.c:62: /home/naourr/work/instance-1/output-1/build/cmocka-1.1.5/include/cmocka_private.h:156:38: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define discard_const(ptr) ((void *)((uintptr_t)(ptr))) ^ /home/naourr/work/instance-1/output-1/build/cmocka-1.1.5/include/cmocka.h:2005:35: note: in definition of macro 'test_free' #define test_free(ptr) _test_free(ptr, __FILE__, __LINE__) ^~~ /home/naourr/work/instance-1/output-1/build/cmocka-1.1.5/include/cmocka_private.h:161:45: note: in expansion of macro 'discard_const' #define discard_const_p(type, ptr) ((type *)discard_const(ptr)) ^~~~~~~~~~~~~ /home/naourr/work/instance-1/output-1/build/cmocka-1.1.5/src/cmocka.c:2165:14: note: in expansion of macro 'discard_const_p' free(discard_const_p(char, block_info.data) + ^~~~~~~~~~~~~~~ /home/naourr/work/instance-1/output-1/build/cmocka-1.1.5/include/cmocka_private.h:156:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define discard_const(ptr) ((void *)((uintptr_t)(ptr))) ^ /home/naourr/work/instance-1/output-1/build/cmocka-1.1.5/include/cmocka.h:2005:35: note: in definition of macro 'test_free' #define test_free(ptr) _test_free(ptr, __FILE__, __LINE__) ^~~ /home/naourr/work/instance-1/output-1/build/cmocka-1.1.5/include/cmocka_private.h:161:45: note: in expansion of macro 'discard_const' #define discard_const_p(type, ptr) ((type *)discard_const(ptr)) ^~~~~~~~~~~~~ /home/naourr/work/instance-1/output-1/build/cmocka-1.1.5/src/cmocka.c:2165:14: note: in expansion of macro 'discard_const_p' free(discard_const_p(char, block_info.data) + ^~~~~~~~~~~~~~~ In file included from /home/naourr/work/instance-1/output-1/build/cmocka-1.1.5/src/cmocka.c:63: /home/naourr/work/instance-1/output-1/build/cmocka-1.1.5/src/cmocka.c: In function '_cmocka_run_group_tests': /home/naourr/work/instance-1/output-1/build/cmocka-1.1.5/include/cmocka_private.h:156:38: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define discard_const(ptr) ((void *)((uintptr_t)(ptr))) ^ /home/naourr/work/instance-1/output-1/build/cmocka-1.1.5/include/cmocka_private.h:161:45: note: in expansion of macro 'discard_const' #define discard_const_p(type, ptr) ((type *)discard_const(ptr)) ^~~~~~~~~~~~~ /home/naourr/work/instance-1/output-1/build/cmocka-1.1.5/src/cmocka.c:3127:24: note: in expansion of macro 'discard_const_p' vcm_free_error(discard_const_p(char, cm_tests[i].error_message)); ^~~~~~~~~~~~~~~ /home/naourr/work/instance-1/output-1/build/cmocka-1.1.5/include/cmocka_private.h:156:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define discard_const(ptr) ((void *)((uintptr_t)(ptr))) ^ /home/naourr/work/instance-1/output-1/build/cmocka-1.1.5/include/cmocka_private.h:161:45: note: in expansion of macro 'discard_const' #define discard_const_p(type, ptr) ((type *)discard_const(ptr)) ^~~~~~~~~~~~~ /home/naourr/work/instance-1/output-1/build/cmocka-1.1.5/src/cmocka.c:3127:24: note: in expansion of macro 'discard_const_p' vcm_free_error(discard_const_p(char, cm_tests[i].error_message)); ^~~~~~~~~~~~~~~ make[3]: *** [src/CMakeFiles/cmocka.dir/build.make:63: src/CMakeFiles/cmocka.dir/cmocka.c.o] Error 1 make[3]: Leaving directory '/home/naourr/work/instance-1/output-1/build/cmocka-1.1.5/buildroot-build' make[2]: *** [CMakeFiles/Makefile2:141: src/CMakeFiles/cmocka.dir/all] Error 2 make[2]: Leaving directory '/home/naourr/work/instance-1/output-1/build/cmocka-1.1.5/buildroot-build' make[1]: *** [Makefile:163: all] Error 2 make[1]: Leaving directory '/home/naourr/work/instance-1/output-1/build/cmocka-1.1.5/buildroot-build' make: *** [package/pkg-generic.mk:241: /home/naourr/work/instance-1/output-1/build/cmocka-1.1.5/.stamp_built] Error 2 make: Leaving directory '/home/naourr/work/instance-1/buildroot'