Performing C++ SOURCE FILE Test ICONV_SECOND_ARGUMENT_IS_CONST failed with the following output: Change Dir: /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output/build/gerbera-1.3.2/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake cmTC_7c4dc/fast && gmake[1]: Entering directory `/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output/build/gerbera-1.3.2/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_7c4dc.dir/build.make CMakeFiles/cmTC_7c4dc.dir/build gmake[2]: Entering directory `/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output/build/gerbera-1.3.2/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_7c4dc.dir/src.cxx.o /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output/host/bin/i586-linux-g++ --sysroot=/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output/host/i586-buildroot-linux-musl/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -latomic -Wall -DICONV_SECOND_ARGUMENT_IS_CONST -DNDEBUG -std=c++1z -o CMakeFiles/cmTC_7c4dc.dir/src.cxx.o -c /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output/build/gerbera-1.3.2/CMakeFiles/CMakeTmp/src.cxx /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output/build/gerbera-1.3.2/CMakeFiles/CMakeTmp/src.cxx: In function 'int main()': /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output/build/gerbera-1.3.2/CMakeFiles/CMakeTmp/src.cxx:9:17: error: invalid conversion from 'const char**' to 'char**' [-fpermissive] iconv(conv, &in, &ilen, &out, &olen); ^~~ In file included from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output/build/gerbera-1.3.2/CMakeFiles/CMakeTmp/src.cxx:2:0: /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output/host/i586-buildroot-linux-musl/sysroot/usr/include/iconv.h:17:8: note: initializing argument 2 of 'size_t iconv(iconv_t, char**, size_t*, char**, size_t*)' size_t iconv(iconv_t, char **__restrict, size_t *__restrict, char **__restrict, size_t *__restrict); ^~~~~ gmake[2]: *** [CMakeFiles/cmTC_7c4dc.dir/src.cxx.o] Error 1 gmake[2]: Leaving directory `/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output/build/gerbera-1.3.2/CMakeFiles/CMakeTmp' gmake[1]: *** [cmTC_7c4dc/fast] Error 2 gmake[1]: Leaving directory `/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output/build/gerbera-1.3.2/CMakeFiles/CMakeTmp' Source file was: #include int main(){ iconv_t conv = 0; const char* in = 0; size_t ilen = 0; char* out = 0; size_t olen = 0; iconv(conv, &in, &ilen, &out, &olen); return 0; } Performing C++ SOURCE FILE Test FOUND_BSD_UUID failed with the following output: Change Dir: /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output/build/gerbera-1.3.2/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake cmTC_70d7c/fast && gmake[1]: Entering directory `/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output/build/gerbera-1.3.2/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_70d7c.dir/build.make CMakeFiles/cmTC_70d7c.dir/build gmake[2]: Entering directory `/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output/build/gerbera-1.3.2/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_70d7c.dir/src.cxx.o /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output/host/bin/i586-linux-g++ --sysroot=/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output/host/i586-buildroot-linux-musl/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -latomic -Wall -DFOUND_BSD_UUID -DNDEBUG -std=c++1z -o CMakeFiles/cmTC_70d7c.dir/src.cxx.o -c /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output/build/gerbera-1.3.2/CMakeFiles/CMakeTmp/src.cxx /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output/build/gerbera-1.3.2/CMakeFiles/CMakeTmp/src.cxx:2:13: fatal error: uuid.h: No such file or directory #include ^~~~~~~~ compilation terminated. gmake[2]: *** [CMakeFiles/cmTC_70d7c.dir/src.cxx.o] Error 1 gmake[2]: Leaving directory `/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output/build/gerbera-1.3.2/CMakeFiles/CMakeTmp' gmake[1]: *** [cmTC_70d7c/fast] Error 2 gmake[1]: Leaving directory `/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output/build/gerbera-1.3.2/CMakeFiles/CMakeTmp' ...and run output: Return value: 1 Source file was: #include int main(void) { uuid_t uuid; uint32_t status; uuid_create(&uuid, &status); return 0; }