>>> paho-mqtt-c 1.3.2 Downloading --2020-04-24 15:41:31-- https://github.com/eclipse/paho.mqtt.c/archive/v1.3.2/paho-mqtt-c-1.3.2.tar.gz Resolving github.com (github.com)... 192.30.255.113 Connecting to github.com (github.com)|192.30.255.113|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://codeload.github.com/eclipse/paho.mqtt.c/tar.gz/v1.3.2 [following] --2020-04-24 15:41:32-- https://codeload.github.com/eclipse/paho.mqtt.c/tar.gz/v1.3.2 Resolving codeload.github.com (codeload.github.com)... 192.30.255.121 Connecting to codeload.github.com (codeload.github.com)|192.30.255.121|:443... connected. HTTP request sent, awaiting response... 200 OK Length: unspecified [application/x-gzip] Saving to: '/home/buildroot/autobuild/instance-2/output-1/build/.paho-mqtt-c-1.3.2.tar.gz.ohYfCT/output' 0K .......... .......... .......... .......... .......... 3.12M 50K .......... .......... .......... .......... .......... 6.37M 100K .......... .......... .......... .......... .......... 5.28M 150K .......... .......... .......... .......... .......... 4.85M 200K .......... .......... .......... .......... .......... 62.6M 250K .......... .......... .......... .......... .......... 5.70M 300K .......... .......... .......... .......... .......... 8.60M 350K .......... .......... .......... .......... .......... 4.05M 400K .......... .......... .......... .......... .......... 7.80M 450K .......... .......... .......... 22.4M=0.08s 2020-04-24 15:41:32 (6.08 MB/s) - '/home/buildroot/autobuild/instance-2/output-1/build/.paho-mqtt-c-1.3.2.tar.gz.ohYfCT/output' saved [492498] paho-mqtt-c-1.3.2.tar.gz: OK (sha256: c426334c2ffc9f7a230e3de5162bdbc1762f8f60ffe27460e553edb74c7e0681) >>> paho-mqtt-c 1.3.2 Extracting gzip -d -c /home/buildroot/autobuild/instance-2/dl/paho-mqtt-c/paho-mqtt-c-1.3.2.tar.gz | tar --strip-components=1 -C /home/buildroot/autobuild/instance-2/output-1/build/paho-mqtt-c-1.3.2 -xf - >>> paho-mqtt-c 1.3.2 Patching >>> paho-mqtt-c 1.3.2 Configuring (mkdir -p /home/buildroot/autobuild/instance-2/output-1/build/paho-mqtt-c-1.3.2/ && cd /home/buildroot/autobuild/instance-2/output-1/build/paho-mqtt-c-1.3.2/ && rm -f CMakeCache.txt && PATH="/home/buildroot/autobuild/instance-2/output-1/host/bin:/home/buildroot/autobuild/instance-2/output-1/host/sbin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/home/buildroot/.local/bin:/home/buildroot/.local/bin" /home/buildroot/autobuild/instance-2/output-1/host/bin/cmake /home/buildroot/autobuild/instance-2/output-1/build/paho-mqtt-c-1.3.2/ -DCMAKE_TOOLCHAIN_FILE="/home/buildroot/autobuild/instance-2/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_WITH_SSL=TRUE ) -- The C compiler identification is GNU 8.4.0 -- Check for working C compiler: /home/buildroot/autobuild/instance-2/output-1/host/bin/riscv64-buildroot-linux-musl-gcc -- Check for working C compiler: /home/buildroot/autobuild/instance-2/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 -- The CXX compiler identification is GNU 8.4.0 -- Check for working CXX compiler: /home/buildroot/autobuild/instance-2/output-1/host/bin/riscv64-buildroot-linux-musl-g++ -- Check for working CXX compiler: /home/buildroot/autobuild/instance-2/output-1/host/bin/riscv64-buildroot-linux-musl-g++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Timestamp is 2020-04-24T15:41:33Z -- Found OpenSSL: /home/buildroot/autobuild/instance-2/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: /home/buildroot/autobuild/instance-2/output-1/build/paho-mqtt-c-1.3.2 >>> paho-mqtt-c 1.3.2 Building PATH="/home/buildroot/autobuild/instance-2/output-1/host/bin:/home/buildroot/autobuild/instance-2/output-1/host/sbin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/home/buildroot/.local/bin:/home/buildroot/.local/bin" /usr/bin/make -j4 -C /home/buildroot/autobuild/instance-2/output-1/build/paho-mqtt-c-1.3.2/ make[1]: Entering directory '/home/buildroot/autobuild/instance-2/output-1/build/paho-mqtt-c-1.3.2' make[2]: Entering directory '/home/buildroot/autobuild/instance-2/output-1/build/paho-mqtt-c-1.3.2' make[3]: Entering directory '/home/buildroot/autobuild/instance-2/output-1/build/paho-mqtt-c-1.3.2' make[3]: Entering directory '/home/buildroot/autobuild/instance-2/output-1/build/paho-mqtt-c-1.3.2' make[3]: Entering directory '/home/buildroot/autobuild/instance-2/output-1/build/paho-mqtt-c-1.3.2' Scanning dependencies of target thread make[3]: Leaving directory '/home/buildroot/autobuild/instance-2/output-1/build/paho-mqtt-c-1.3.2' make[3]: Entering directory '/home/buildroot/autobuild/instance-2/output-1/build/paho-mqtt-c-1.3.2' [ 2%] Building C object test/CMakeFiles/thread.dir/__/src/Thread.c.o [ 2%] Building C object test/CMakeFiles/thread.dir/thread.c.o Scanning dependencies of target common_obj make[3]: Leaving directory '/home/buildroot/autobuild/instance-2/output-1/build/paho-mqtt-c-1.3.2' Scanning dependencies of target common_ssl_obj make[3]: Leaving directory '/home/buildroot/autobuild/instance-2/output-1/build/paho-mqtt-c-1.3.2' make[3]: Entering directory '/home/buildroot/autobuild/instance-2/output-1/build/paho-mqtt-c-1.3.2' make[3]: Entering directory '/home/buildroot/autobuild/instance-2/output-1/build/paho-mqtt-c-1.3.2' [ 4%] Building C object src/CMakeFiles/common_obj.dir/MQTTTime.c.o [ 4%] Building C object src/CMakeFiles/common_ssl_obj.dir/MQTTTime.c.o [ 5%] Building C object src/CMakeFiles/common_ssl_obj.dir/MQTTProtocolClient.c.o [ 6%] Building C object src/CMakeFiles/common_obj.dir/MQTTProtocolClient.c.o [ 7%] Building C object src/CMakeFiles/common_ssl_obj.dir/Clients.c.o [ 8%] Linking C executable thread make[3]: Leaving directory '/home/buildroot/autobuild/instance-2/output-1/build/paho-mqtt-c-1.3.2' [ 8%] Built target thread [ 9%] Building C object src/CMakeFiles/common_obj.dir/Clients.c.o [ 10%] Building C object src/CMakeFiles/common_obj.dir/utf-8.c.o [ 11%] Building C object src/CMakeFiles/common_obj.dir/MQTTPacket.c.o [ 12%] Building C object src/CMakeFiles/common_ssl_obj.dir/utf-8.c.o [ 13%] Building C object src/CMakeFiles/common_obj.dir/MQTTPacketOut.c.o [ 15%] Building C object src/CMakeFiles/common_obj.dir/Messages.c.o [ 16%] Building C object src/CMakeFiles/common_obj.dir/Tree.c.o [ 17%] Building C object src/CMakeFiles/common_ssl_obj.dir/MQTTPacket.c.o [ 18%] Building C object src/CMakeFiles/common_obj.dir/Socket.c.o [ 19%] Building C object src/CMakeFiles/common_obj.dir/Log.c.o [ 20%] Building C object src/CMakeFiles/common_obj.dir/MQTTPersistence.c.o [ 21%] Building C object src/CMakeFiles/common_ssl_obj.dir/MQTTPacketOut.c.o [ 22%] Building C object src/CMakeFiles/common_ssl_obj.dir/Messages.c.o [ 23%] Building C object src/CMakeFiles/common_obj.dir/Thread.c.o [ 24%] Building C object src/CMakeFiles/common_ssl_obj.dir/Tree.c.o [ 25%] Building C object src/CMakeFiles/common_ssl_obj.dir/Socket.c.o [ 26%] Building C object src/CMakeFiles/common_obj.dir/MQTTProtocolOut.c.o [ 27%] Building C object src/CMakeFiles/common_ssl_obj.dir/Log.c.o [ 29%] Building C object src/CMakeFiles/common_ssl_obj.dir/MQTTPersistence.c.o [ 30%] Building C object src/CMakeFiles/common_obj.dir/MQTTPersistenceDefault.c.o [ 31%] Building C object src/CMakeFiles/common_obj.dir/SocketBuffer.c.o [ 32%] Building C object src/CMakeFiles/common_obj.dir/LinkedList.c.o [ 33%] Building C object src/CMakeFiles/common_ssl_obj.dir/Thread.c.o [ 34%] Building C object src/CMakeFiles/common_ssl_obj.dir/MQTTProtocolOut.c.o [ 35%] Building C object src/CMakeFiles/common_obj.dir/MQTTProperties.c.o [ 36%] Building C object src/CMakeFiles/common_ssl_obj.dir/MQTTPersistenceDefault.c.o [ 37%] Building C object src/CMakeFiles/common_ssl_obj.dir/SocketBuffer.c.o [ 38%] Building C object src/CMakeFiles/common_obj.dir/MQTTReasonCodes.c.o [ 39%] Building C object src/CMakeFiles/common_ssl_obj.dir/LinkedList.c.o /home/buildroot/autobuild/instance-2/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 *); ^ /home/buildroot/autobuild/instance-2/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 *); ^ src/CMakeFiles/common_obj.dir/build.make:283: recipe for target 'src/CMakeFiles/common_obj.dir/MQTTReasonCodes.c.o' failed make[3]: *** [src/CMakeFiles/common_obj.dir/MQTTReasonCodes.c.o] Error 1 make[3]: Leaving directory '/home/buildroot/autobuild/instance-2/output-1/build/paho-mqtt-c-1.3.2' CMakeFiles/Makefile2:357: recipe for target 'src/CMakeFiles/common_obj.dir/all' failed make[2]: *** [src/CMakeFiles/common_obj.dir/all] Error 2 make[2]: *** Waiting for unfinished jobs.... [ 40%] Building C object src/CMakeFiles/common_ssl_obj.dir/MQTTProperties.c.o [ 41%] Building C object src/CMakeFiles/common_ssl_obj.dir/MQTTReasonCodes.c.o /home/buildroot/autobuild/instance-2/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 *); ^ /home/buildroot/autobuild/instance-2/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 *); ^ src/CMakeFiles/common_ssl_obj.dir/build.make:283: recipe for target 'src/CMakeFiles/common_ssl_obj.dir/MQTTReasonCodes.c.o' failed make[3]: *** [src/CMakeFiles/common_ssl_obj.dir/MQTTReasonCodes.c.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: Leaving directory '/home/buildroot/autobuild/instance-2/output-1/build/paho-mqtt-c-1.3.2' CMakeFiles/Makefile2:137: recipe for target 'src/CMakeFiles/common_ssl_obj.dir/all' failed make[2]: *** [src/CMakeFiles/common_ssl_obj.dir/all] Error 2 make[2]: Leaving directory '/home/buildroot/autobuild/instance-2/output-1/build/paho-mqtt-c-1.3.2' Makefile:162: recipe for target 'all' failed make[1]: *** [all] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/instance-2/output-1/build/paho-mqtt-c-1.3.2' package/pkg-generic.mk:266: recipe for target '/home/buildroot/autobuild/instance-2/output-1/build/paho-mqtt-c-1.3.2/.stamp_built' failed make: *** [/home/buildroot/autobuild/instance-2/output-1/build/paho-mqtt-c-1.3.2/.stamp_built] Error 2 make: Leaving directory '/home/buildroot/autobuild/instance-2/buildroot'