>>> paho-mqtt-c 1.3.2 Extracting gzip -d -c /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/dl/paho-mqtt-c/paho-mqtt-c-1.3.2.tar.gz | /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/bin/tar --strip-components=1 -C /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/build/paho-mqtt-c-1.3.2 -xf - >>> paho-mqtt-c 1.3.2 Patching Applying 0001-src-CMakeLists.txt-fix-build-on-uclibc-or-musl.patch using patch: patching file src/CMakeLists.txt Applying 0002-Revert-Enable-CXX-language-to-support-using-Generate.patch using patch: patching file CMakeLists.txt >>> paho-mqtt-c 1.3.2 Configuring (mkdir -p /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/build/paho-mqtt-c-1.3.2/ && cd /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/build/paho-mqtt-c-1.3.2/ && rm -f CMakeCache.txt && PATH="/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/bin:/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/sbin:/accts/mlweber1/bin:/accts/mlweber1/libexec/git-core:/accts/mlweber1/usr/bin:/accts/mlweber1/usr/local/bin:/accts/mlweber1/bin:/accts/mlweber1/libexec/git-core:/accts/mlweber1/usr/bin:/accts/mlweber1/usr/local/bin:/accts/mlweber1/bin:/accts/mlweber1/libexec/git-core:/accts/mlweber1/usr/bin:/accts/mlweber1/usr/local/bin:/accts/mlweber1/bin:/accts/mlweber1/libexec/git-core:/accts/mlweber1/usr/bin:/accts/mlweber1/usr/local/bin:/accts/mlweber1/bin:/accts/mlweber1/libexec/git-core:/accts/mlweber1/usr/bin:/accts/mlweber1/usr/local/bin:/accts/mlweber1/bin:/accts/mlweber1/libexec/git-core:/accts/mlweber1/usr/bin:/accts/mlweber1/usr/local/bin:/accts/mlweber1/bin:/accts/mlweber1/libexec/git-core:/accts/mlweber1/usr/bin:/accts/mlweber1/usr/local/bin:/accts/mlweber1/bin:/accts/mlweber1/libexec/git-core:/accts/mlweber1/usr/bin:/accts/mlweber1/usr/local/bin:/usr/lib64/qt-3.3/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin" /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/bin/cmake /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/build/paho-mqtt-c-1.3.2/ -DCMAKE_TOOLCHAIN_FILE="/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/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 -DPAHO_ENABLE_TESTING=FALSE -DPAHO_ENABLE_CPACK=FALSE -DPAHO_WITH_SSL=TRUE ) -- The C compiler identification is GNU 8.4.0 -- Check for working C compiler: /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/bin/riscv64-buildroot-linux-musl-gcc -- Check for working C compiler: /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/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 -- CMake version: 3.15.5 -- CMake system name: Linux -- Timestamp is 2020-05-06T17:06:40Z -- Found OpenSSL: /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/lib/libcrypto.so (found version "1.1.1g") -- 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: /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/build/paho-mqtt-c-1.3.2 >>> paho-mqtt-c 1.3.2 Building PATH="/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/bin:/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/sbin:/accts/mlweber1/bin:/accts/mlweber1/libexec/git-core:/accts/mlweber1/usr/bin:/accts/mlweber1/usr/local/bin:/accts/mlweber1/bin:/accts/mlweber1/libexec/git-core:/accts/mlweber1/usr/bin:/accts/mlweber1/usr/local/bin:/accts/mlweber1/bin:/accts/mlweber1/libexec/git-core:/accts/mlweber1/usr/bin:/accts/mlweber1/usr/local/bin:/accts/mlweber1/bin:/accts/mlweber1/libexec/git-core:/accts/mlweber1/usr/bin:/accts/mlweber1/usr/local/bin:/accts/mlweber1/bin:/accts/mlweber1/libexec/git-core:/accts/mlweber1/usr/bin:/accts/mlweber1/usr/local/bin:/accts/mlweber1/bin:/accts/mlweber1/libexec/git-core:/accts/mlweber1/usr/bin:/accts/mlweber1/usr/local/bin:/accts/mlweber1/bin:/accts/mlweber1/libexec/git-core:/accts/mlweber1/usr/bin:/accts/mlweber1/usr/local/bin:/accts/mlweber1/bin:/accts/mlweber1/libexec/git-core:/accts/mlweber1/usr/bin:/accts/mlweber1/usr/local/bin:/usr/lib64/qt-3.3/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin" /usr/bin/make -j8 -C /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/build/paho-mqtt-c-1.3.2/ make[1]: Entering directory `/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/build/paho-mqtt-c-1.3.2' make[2]: Entering directory `/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/build/paho-mqtt-c-1.3.2' make[3]: Entering directory `/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/build/paho-mqtt-c-1.3.2' make[3]: Entering directory `/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/build/paho-mqtt-c-1.3.2' Scanning dependencies of target common_ssl_obj make[3]: Leaving directory `/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/build/paho-mqtt-c-1.3.2' make[3]: Entering directory `/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/build/paho-mqtt-c-1.3.2' Scanning dependencies of target common_obj make[3]: Leaving directory `/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/build/paho-mqtt-c-1.3.2' [ 1%] Building C object src/CMakeFiles/common_ssl_obj.dir/MQTTTime.c.o [ 3%] Building C object src/CMakeFiles/common_ssl_obj.dir/MQTTPacket.c.o [ 5%] Building C object src/CMakeFiles/common_ssl_obj.dir/utf-8.c.o [ 6%] Building C object src/CMakeFiles/common_ssl_obj.dir/Clients.c.o make[3]: Entering directory `/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/build/paho-mqtt-c-1.3.2' [ 8%] Building C object src/CMakeFiles/common_ssl_obj.dir/MQTTProtocolClient.c.o [ 10%] Building C object src/CMakeFiles/common_ssl_obj.dir/Messages.c.o [ 12%] Building C object src/CMakeFiles/common_ssl_obj.dir/MQTTPacketOut.c.o [ 13%] Building C object src/CMakeFiles/common_obj.dir/MQTTTime.c.o [ 15%] Building C object src/CMakeFiles/common_ssl_obj.dir/Tree.c.o [ 17%] Building C object src/CMakeFiles/common_ssl_obj.dir/Socket.c.o [ 18%] Building C object src/CMakeFiles/common_obj.dir/MQTTProtocolClient.c.o [ 20%] Building C object src/CMakeFiles/common_obj.dir/Clients.c.o [ 22%] Building C object src/CMakeFiles/common_ssl_obj.dir/Log.c.o [ 24%] Building C object src/CMakeFiles/common_obj.dir/utf-8.c.o [ 25%] Building C object src/CMakeFiles/common_obj.dir/MQTTPacket.c.o [ 27%] Building C object src/CMakeFiles/common_ssl_obj.dir/MQTTPersistence.c.o [ 29%] Building C object src/CMakeFiles/common_ssl_obj.dir/Thread.c.o [ 31%] Building C object src/CMakeFiles/common_obj.dir/MQTTPacketOut.c.o [ 32%] Building C object src/CMakeFiles/common_ssl_obj.dir/MQTTProtocolOut.c.o [ 34%] Building C object src/CMakeFiles/common_ssl_obj.dir/MQTTPersistenceDefault.c.o [ 36%] Building C object src/CMakeFiles/common_ssl_obj.dir/SocketBuffer.c.o [ 37%] Building C object src/CMakeFiles/common_ssl_obj.dir/LinkedList.c.o [ 39%] Building C object src/CMakeFiles/common_ssl_obj.dir/MQTTProperties.c.o [ 41%] Building C object src/CMakeFiles/common_obj.dir/Messages.c.o [ 43%] Building C object src/CMakeFiles/common_obj.dir/Tree.c.o [ 44%] Building C object src/CMakeFiles/common_ssl_obj.dir/MQTTReasonCodes.c.o [ 46%] Building C object src/CMakeFiles/common_ssl_obj.dir/Base64.c.o /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sched.h:84:17: error: expected declaration specifiers or '...' before string constant void free(void *); ^ /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sched.h:84:17: error: expected declaration specifiers or '...' before numeric constant void free(void *); ^ [ 48%] Building C object src/CMakeFiles/common_obj.dir/Socket.c.o make[3]: *** [src/CMakeFiles/common_ssl_obj.dir/MQTTReasonCodes.c.o] Error 1 make[3]: *** Waiting for unfinished jobs.... [ 50%] Building C object src/CMakeFiles/common_obj.dir/MQTTPersistence.c.o [ 51%] Building C object src/CMakeFiles/common_obj.dir/Log.c.o [ 53%] Building C object src/CMakeFiles/common_obj.dir/Thread.c.o [ 55%] Building C object src/CMakeFiles/common_obj.dir/MQTTProtocolOut.c.o [ 56%] Building C object src/CMakeFiles/common_obj.dir/MQTTPersistenceDefault.c.o make[3]: Leaving directory `/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/build/paho-mqtt-c-1.3.2' make[2]: *** [src/CMakeFiles/common_ssl_obj.dir/all] Error 2 make[2]: *** Waiting for unfinished jobs.... [ 58%] Building C object src/CMakeFiles/common_obj.dir/SocketBuffer.c.o [ 60%] Building C object src/CMakeFiles/common_obj.dir/LinkedList.c.o [ 62%] Building C object src/CMakeFiles/common_obj.dir/MQTTProperties.c.o [ 63%] Building C object src/CMakeFiles/common_obj.dir/MQTTReasonCodes.c.o /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sched.h:84:17: error: expected declaration specifiers or '...' before string constant void free(void *); ^ /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sched.h:84:17: error: expected declaration specifiers or '...' before numeric constant void free(void *); ^ make[3]: *** [src/CMakeFiles/common_obj.dir/MQTTReasonCodes.c.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: Leaving directory `/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/build/paho-mqtt-c-1.3.2' make[2]: *** [src/CMakeFiles/common_obj.dir/all] Error 2 make[2]: Leaving directory `/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/build/paho-mqtt-c-1.3.2' make[1]: *** [all] Error 2 make[1]: Leaving directory `/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/build/paho-mqtt-c-1.3.2' make: *** [/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/build/paho-mqtt-c-1.3.2/.stamp_built] Error 2 make: Leaving directory `/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/buildroot'