>>> qjson 0.9.0 Extracting gzip -d -c /home/naourr/work/instance-0/dl/qjson/qjson-0.9.0.tar.gz | /home/naourr/work/instance-0/output/host/bin/tar --strip-components=1 -C /home/naourr/work/instance-0/output/build/qjson-0.9.0 -xf - >>> qjson 0.9.0 Patching Applying 0001-fix-Qt4-package-error-in-CMakeLists.txt.patch using patch: patching file CMakeLists.txt >>> qjson 0.9.0 Configuring (mkdir -p /home/naourr/work/instance-0/output/build/qjson-0.9.0/ && cd /home/naourr/work/instance-0/output/build/qjson-0.9.0/ && rm -f CMakeCache.txt && PATH="/home/naourr/work/instance-0/output/host/bin:/home/naourr/work/instance-0/output/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-0/output/build/qjson-0.9.0/ -DCMAKE_TOOLCHAIN_FILE="/home/naourr/work/instance-0/output/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 ) -- The C compiler identification is GNU 7.4.0 -- The CXX compiler identification is GNU 7.4.0 -- Check for working C compiler: /home/naourr/work/instance-0/output/host/bin/i586-linux-gcc -- Check for working C compiler: /home/naourr/work/instance-0/output/host/bin/i586-linux-gcc -- 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: /home/naourr/work/instance-0/output/host/bin/i586-linux-g++ -- Check for working CXX compiler: /home/naourr/work/instance-0/output/host/bin/i586-linux-g++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done CMake Deprecation Warning at CMakeLists.txt:11 (cmake_policy): The OLD behavior for policy CMP0020 will be removed from a future version of CMake. The cmake-policies(7) manual explains that the OLD behaviors of all policies are deprecated and that a policy should be set to OLD only under specific short-term circumstances. Projects should be ported to the NEW behavior and not rely on setting a policy to OLD. Qt5 found Enable QStringBuilder -- 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_TESTING BUILD_TESTS -- Build files have been written to: /home/naourr/work/instance-0/output/build/qjson-0.9.0 >>> qjson 0.9.0 Building PATH="/home/naourr/work/instance-0/output/host/bin:/home/naourr/work/instance-0/output/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-0/output/build/qjson-0.9.0/ make[1]: Entering directory '/home/naourr/work/instance-0/output/build/qjson-0.9.0' make[2]: Entering directory '/home/naourr/work/instance-0/output/build/qjson-0.9.0' make[3]: Entering directory '/home/naourr/work/instance-0/output/build/qjson-0.9.0' Scanning dependencies of target qjson-qt5_autogen make[3]: Leaving directory '/home/naourr/work/instance-0/output/build/qjson-0.9.0' make[3]: Entering directory '/home/naourr/work/instance-0/output/build/qjson-0.9.0' [ 10%] Automatic MOC for target qjson-qt5 AutoMoc subprocess error ------------------------ The content generation command for "moc_predefs.h" failed. Command ------- /home/naourr/work/instance-0/output/host/bin/i586-linux-g++ -dM -E -c /usr/share/cmake/Modules/CMakeCXXCompilerABI.cpp -I/home/naourr/work/instance-0/output/build/qjson-0.9.0/src -I/home/naourr/work/instance-0/output/build/qjson-0.9.0/src/. -I/home/naourr/work/instance-0/output/host/i586-buildroot-linux-musl/sysroot/usr/include/qt5 -I/home/naourr/work/instance-0/output/host/i586-buildroot-linux-musl/sysroot/usr/include/qt5/QtCore -I/home/naourr/work/instance-0/output/host/i586-buildroot-linux-musl/sysroot/usr/../../../mkspecs/devices/linux-buildroot-g++ -I/home/naourr/work/instance-0/output/host/opt/ext-toolchain/bin/../lib/gcc/i586-buildroot-linux-musl/7.4.0/../../../../i586-buildroot-linux-musl/include/c++/7.4.0 -I/home/naourr/work/instance-0/output/host/opt/ext-toolchain/bin/../lib/gcc/i586-buildroot-linux-musl/7.4.0/../../../../i586-buildroot-linux-musl/include/c++/7.4.0/i586-buildroot-linux-musl -I/home/naourr/work/instance-0/output/host/opt/ext-toolchain/bin/../lib/gcc/i586-buildroot-linux-musl/7.4.0/../../../../i586-buildroot-linux-musl/include/c++/7.4.0/backward -I/home/naourr/work/instance-0/output/host/opt/ext-toolchain/bin/../lib/gcc/i586-buildroot-linux-musl/7.4.0/../../../../i586-buildroot-linux-musl/include -I/home/naourr/work/instance-0/output/host/opt/ext-toolchain/bin/../lib/gcc/i586-buildroot-linux-musl/7.4.0/include -I/home/naourr/work/instance-0/output/host/i586-buildroot-linux-musl/sysroot/usr/include -I/usr/include -DQJSON_MAKEDLL -DQT_CORE_LIB -DQT_NO_DEBUG -DQT_NO_DEBUG_OUTPUT Output ------ i586-linux-g++: ERROR: unsafe header/library path used in cross-compilation: '-I/usr/include' make[3]: *** [src/CMakeFiles/qjson-qt5_autogen.dir/build.make:58: src/CMakeFiles/qjson-qt5_autogen] Error 1 make[3]: Leaving directory '/home/naourr/work/instance-0/output/build/qjson-0.9.0' make[2]: *** [CMakeFiles/Makefile2:161: src/CMakeFiles/qjson-qt5_autogen.dir/all] Error 2 make[2]: Leaving directory '/home/naourr/work/instance-0/output/build/qjson-0.9.0' make[1]: *** [Makefile:130: all] Error 2 make[1]: Leaving directory '/home/naourr/work/instance-0/output/build/qjson-0.9.0' make: *** [package/pkg-generic.mk:241: /home/naourr/work/instance-0/output/build/qjson-0.9.0/.stamp_built] Error 2 make: Leaving directory '/home/naourr/work/instance-0/buildroot'