Determining if the function getexecname exists failed with the following output: Change Dir: /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/build/apitrace-9.0/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake cmTC_7aebf/fast && gmake[1]: Entering directory `/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/build/apitrace-9.0/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_7aebf.dir/build.make CMakeFiles/cmTC_7aebf.dir/build gmake[2]: Entering directory `/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/build/apitrace-9.0/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_7aebf.dir/CheckFunctionExists.c.o /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/host/bin/powerpc-linux-gcc --sysroot=/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/host/powerpc-buildroot-linux-uclibc/sysroot -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fvisibility=hidden -Wall -Wno-sign-compare -fno-strict-aliasing -fmessage-length=0 -fno-omit-frame-pointer -DCHECK_FUNCTION_EXISTS=getexecname -DNDEBUG -o CMakeFiles/cmTC_7aebf.dir/CheckFunctionExists.c.o -c /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/host/share/cmake-3.15/Modules/CheckFunctionExists.c Linking C executable cmTC_7aebf /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_7aebf.dir/link.txt --verbose=1 /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/host/bin/powerpc-linux-gcc --sysroot=/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/host/powerpc-buildroot-linux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fvisibility=hidden -Wall -Wno-sign-compare -fno-strict-aliasing -fmessage-length=0 -fno-omit-frame-pointer -DCHECK_FUNCTION_EXISTS=getexecname -DNDEBUG CMakeFiles/cmTC_7aebf.dir/CheckFunctionExists.c.o -o cmTC_7aebf /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/host/opt/ext-toolchain/bin/../lib/gcc/powerpc-buildroot-linux-uclibc/7.4.0/../../../../powerpc-buildroot-linux-uclibc/bin/ld: CMakeFiles/cmTC_7aebf.dir/CheckFunctionExists.c.o: in function `main': CheckFunctionExists.c:(.text.startup+0x1c): undefined reference to `getexecname' collect2: error: ld returned 1 exit status gmake[2]: *** [cmTC_7aebf] Error 1 gmake[2]: Leaving directory `/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/build/apitrace-9.0/CMakeFiles/CMakeTmp' gmake[1]: *** [cmTC_7aebf/fast] Error 2 gmake[1]: Leaving directory `/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/build/apitrace-9.0/CMakeFiles/CMakeTmp' Determining if the include file dwarf.h exists failed with the following output: Change Dir: /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/build/apitrace-9.0/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake cmTC_25b21/fast && gmake[1]: Entering directory `/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/build/apitrace-9.0/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_25b21.dir/build.make CMakeFiles/cmTC_25b21.dir/build gmake[2]: Entering directory `/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/build/apitrace-9.0/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_25b21.dir/CheckIncludeFile.c.o /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/host/bin/powerpc-linux-gcc --sysroot=/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/host/powerpc-buildroot-linux-uclibc/sysroot -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fvisibility=hidden -Wall -Wno-sign-compare -fno-strict-aliasing -fmessage-length=0 -fno-omit-frame-pointer -DNDEBUG -o CMakeFiles/cmTC_25b21.dir/CheckIncludeFile.c.o -c /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/build/apitrace-9.0/CMakeFiles/CMakeTmp/CheckIncludeFile.c /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/build/apitrace-9.0/CMakeFiles/CMakeTmp/CheckIncludeFile.c:1:10: fatal error: dwarf.h: No such file or directory #include ^~~~~~~~~ compilation terminated. gmake[2]: *** [CMakeFiles/cmTC_25b21.dir/CheckIncludeFile.c.o] Error 1 gmake[2]: Leaving directory `/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/build/apitrace-9.0/CMakeFiles/CMakeTmp' gmake[1]: *** [cmTC_25b21/fast] Error 2 gmake[1]: Leaving directory `/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/build/apitrace-9.0/CMakeFiles/CMakeTmp' Determining if the include file libdwarf/dwarf.h exists failed with the following output: Change Dir: /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/build/apitrace-9.0/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake cmTC_f9ba7/fast && gmake[1]: Entering directory `/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/build/apitrace-9.0/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_f9ba7.dir/build.make CMakeFiles/cmTC_f9ba7.dir/build gmake[2]: Entering directory `/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/build/apitrace-9.0/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_f9ba7.dir/CheckIncludeFile.c.o /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/host/bin/powerpc-linux-gcc --sysroot=/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/host/powerpc-buildroot-linux-uclibc/sysroot -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fvisibility=hidden -Wall -Wno-sign-compare -fno-strict-aliasing -fmessage-length=0 -fno-omit-frame-pointer -DNDEBUG -o CMakeFiles/cmTC_f9ba7.dir/CheckIncludeFile.c.o -c /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/build/apitrace-9.0/CMakeFiles/CMakeTmp/CheckIncludeFile.c /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/build/apitrace-9.0/CMakeFiles/CMakeTmp/CheckIncludeFile.c:1:10: fatal error: libdwarf/dwarf.h: No such file or directory #include ^~~~~~~~~~~~~~~~~~ compilation terminated. gmake[2]: *** [CMakeFiles/cmTC_f9ba7.dir/CheckIncludeFile.c.o] Error 1 gmake[2]: Leaving directory `/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/build/apitrace-9.0/CMakeFiles/CMakeTmp' gmake[1]: *** [cmTC_f9ba7/fast] Error 2 gmake[1]: Leaving directory `/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/build/apitrace-9.0/CMakeFiles/CMakeTmp'