>>> paho-mqtt-c 1.3.2 Downloading --2020-04-24 00:24:18-- https://github.com/eclipse/paho.mqtt.c/archive/v1.3.2/paho-mqtt-c-1.3.2.tar.gz Resolving github.com (github.com)... 140.82.114.4 Connecting to github.com (github.com)|140.82.114.4|: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 00:24:19-- https://codeload.github.com/eclipse/paho.mqtt.c/tar.gz/v1.3.2 Resolving codeload.github.com (codeload.github.com)... 140.82.113.9 Connecting to codeload.github.com (codeload.github.com)|140.82.113.9|:443... connected. HTTP request sent, awaiting response... 200 OK Length: unspecified [application/x-gzip] Saving to: '/tmp/instance-1/output-1/build/.paho-mqtt-c-1.3.2.tar.gz.w3LAT6/output' 0K .......... .......... .......... .......... .......... 326K 50K .......... .......... .......... .......... .......... 648K 100K .......... .......... .......... .......... .......... 89.2M 150K .......... .......... .......... .......... .......... 121M 200K .......... .......... .......... .......... .......... 655K 250K .......... .......... .......... .......... .......... 106M 300K .......... .......... .......... .......... .......... 648K 350K .......... .......... .......... .......... .......... 86.2M 400K .......... .......... .......... .......... .......... 665K 450K .......... .......... .......... 271M=0.5s 2020-04-24 00:24:20 (1.02 MB/s) - '/tmp/instance-1/output-1/build/.paho-mqtt-c-1.3.2.tar.gz.w3LAT6/output' saved [492498] paho-mqtt-c-1.3.2.tar.gz: OK (sha256: c426334c2ffc9f7a230e3de5162bdbc1762f8f60ffe27460e553edb74c7e0681) >>> paho-mqtt-c 1.3.2 Extracting gzip -d -c /tmp/instance-1/dl/paho-mqtt-c/paho-mqtt-c-1.3.2.tar.gz | /tmp/instance-1/output-1/host/bin/tar --strip-components=1 -C /tmp/instance-1/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 /tmp/instance-1/output-1/build/paho-mqtt-c-1.3.2/ && cd /tmp/instance-1/output-1/build/paho-mqtt-c-1.3.2/ && rm -f CMakeCache.txt && PATH="/tmp/instance-1/output-1/host/bin:/tmp/instance-1/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" /usr/bin/cmake /tmp/instance-1/output-1/build/paho-mqtt-c-1.3.2/ -DCMAKE_TOOLCHAIN_FILE="/tmp/instance-1/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.3.0 -- Check for working C compiler: /tmp/instance-1/output-1/host/bin/x86_64-linux-gcc -- Check for working C compiler: /tmp/instance-1/output-1/host/bin/x86_64-linux-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.13.4 -- CMake system name: Linux -- The CXX compiler identification is GNU 8.3.0 -- Check for working CXX compiler: /tmp/instance-1/output-1/host/bin/x86_64-linux-g++ -- Check for working CXX compiler: /tmp/instance-1/output-1/host/bin/x86_64-linux-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-24T06:24:21Z -- Found OpenSSL: /tmp/instance-1/output-1/host/x86_64-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: /tmp/instance-1/output-1/build/paho-mqtt-c-1.3.2 >>> paho-mqtt-c 1.3.2 Building PATH="/tmp/instance-1/output-1/host/bin:/tmp/instance-1/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" /usr/bin/make -j32 -C /tmp/instance-1/output-1/build/paho-mqtt-c-1.3.2/ make[1]: Entering directory '/tmp/instance-1/output-1/build/paho-mqtt-c-1.3.2' make[2]: Entering directory '/tmp/instance-1/output-1/build/paho-mqtt-c-1.3.2' make[3]: Entering directory '/tmp/instance-1/output-1/build/paho-mqtt-c-1.3.2' make[3]: Entering directory '/tmp/instance-1/output-1/build/paho-mqtt-c-1.3.2' make[3]: Entering directory '/tmp/instance-1/output-1/build/paho-mqtt-c-1.3.2' Scanning dependencies of target thread make[3]: Leaving directory '/tmp/instance-1/output-1/build/paho-mqtt-c-1.3.2' make[3]: Entering directory '/tmp/instance-1/output-1/build/paho-mqtt-c-1.3.2' Scanning dependencies of target common_ssl_obj Scanning dependencies of target common_obj make[3]: Leaving directory '/tmp/instance-1/output-1/build/paho-mqtt-c-1.3.2' make[3]: Leaving directory '/tmp/instance-1/output-1/build/paho-mqtt-c-1.3.2' make[3]: Entering directory '/tmp/instance-1/output-1/build/paho-mqtt-c-1.3.2' make[3]: Entering directory '/tmp/instance-1/output-1/build/paho-mqtt-c-1.3.2' [ 1%] Building C object test/CMakeFiles/thread.dir/thread.c.o [ 2%] Building C object test/CMakeFiles/thread.dir/__/src/Thread.c.o [ 3%] Building C object src/CMakeFiles/common_obj.dir/MQTTProtocolClient.c.o [ 4%] Building C object src/CMakeFiles/common_obj.dir/Socket.c.o [ 5%] Building C object src/CMakeFiles/common_obj.dir/Clients.c.o [ 6%] Building C object src/CMakeFiles/common_obj.dir/Tree.c.o [ 10%] Building C object src/CMakeFiles/common_obj.dir/MQTTTime.c.o [ 11%] Building C object src/CMakeFiles/common_ssl_obj.dir/MQTTTime.c.o [ 10%] Building C object src/CMakeFiles/common_obj.dir/MQTTProtocolOut.c.o [ 10%] Building C object src/CMakeFiles/common_obj.dir/MQTTPacketOut.c.o [ 13%] Building C object src/CMakeFiles/common_obj.dir/MQTTPersistence.c.o [ 13%] Building C object src/CMakeFiles/common_obj.dir/utf-8.c.o [ 16%] Building C object src/CMakeFiles/common_obj.dir/MQTTPacket.c.o [ 16%] Building C object src/CMakeFiles/common_ssl_obj.dir/MQTTProtocolClient.c.o [ 17%] Building C object src/CMakeFiles/common_ssl_obj.dir/utf-8.c.o [ 11%] Building C object src/CMakeFiles/common_ssl_obj.dir/Clients.c.o [ 18%] Building C object src/CMakeFiles/common_obj.dir/Messages.c.o [ 19%] Building C object src/CMakeFiles/common_obj.dir/Log.c.o [ 20%] Building C object src/CMakeFiles/common_obj.dir/SocketBuffer.c.o [ 21%] Building C object src/CMakeFiles/common_obj.dir/MQTTPersistenceDefault.c.o [ 22%] Building C object src/CMakeFiles/common_obj.dir/Thread.c.o [ 24%] Building C object src/CMakeFiles/common_ssl_obj.dir/Socket.c.o [ 24%] Building C object src/CMakeFiles/common_obj.dir/LinkedList.c.o [ 25%] Building C object src/CMakeFiles/common_ssl_obj.dir/MQTTPacket.c.o [ 26%] Building C object src/CMakeFiles/common_ssl_obj.dir/MQTTPacketOut.c.o [ 27%] Building C object src/CMakeFiles/common_obj.dir/MQTTProperties.c.o [ 30%] Building C object src/CMakeFiles/common_ssl_obj.dir/Tree.c.o [ 30%] Building C object src/CMakeFiles/common_obj.dir/MQTTReasonCodes.c.o [ 31%] Building C object src/CMakeFiles/common_ssl_obj.dir/Log.c.o [ 32%] Building C object src/CMakeFiles/common_ssl_obj.dir/Messages.c.o [ 33%] Building C object src/CMakeFiles/common_obj.dir/Base64.c.o [ 34%] Building C object src/CMakeFiles/common_ssl_obj.dir/MQTTPersistence.c.o /tmp/instance-1/output-1/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sched.h:80:17: error: expected declaration specifiers or '...' before string constant void free(void *); ^ /tmp/instance-1/output-1/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sched.h:80:17: error: expected declaration specifiers or '...' before numeric constant void free(void *); ^ make[3]: *** [src/CMakeFiles/common_obj.dir/build.make:284: src/CMakeFiles/common_obj.dir/MQTTReasonCodes.c.o] Error 1 make[3]: *** Waiting for unfinished jobs.... [ 35%] Building C object src/CMakeFiles/common_ssl_obj.dir/Thread.c.o [ 36%] Building C object src/CMakeFiles/common_ssl_obj.dir/MQTTProtocolOut.c.o [ 37%] Building C object src/CMakeFiles/common_ssl_obj.dir/MQTTPersistenceDefault.c.o [ 38%] Building C object src/CMakeFiles/common_ssl_obj.dir/SocketBuffer.c.o [ 39%] Building C object src/CMakeFiles/common_ssl_obj.dir/LinkedList.c.o [ 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 [ 43%] Building C object src/CMakeFiles/common_ssl_obj.dir/Base64.c.o /tmp/instance-1/output-1/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sched.h:80:17: error: expected declaration specifiers or '...' before string constant void free(void *); ^ /tmp/instance-1/output-1/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sched.h:80:17: error: expected declaration specifiers or '...' before numeric constant void free(void *); ^ [ 44%] Building C object src/CMakeFiles/common_ssl_obj.dir/SHA1.c.o make[3]: *** [src/CMakeFiles/common_ssl_obj.dir/build.make:284: src/CMakeFiles/common_ssl_obj.dir/MQTTReasonCodes.c.o] Error 1 make[3]: *** Waiting for unfinished jobs.... [ 45%] Building C object src/CMakeFiles/common_ssl_obj.dir/Heap.c.o [ 46%] Building C object src/CMakeFiles/common_ssl_obj.dir/WebSocket.c.o [ 47%] Building C object src/CMakeFiles/common_ssl_obj.dir/StackTrace.c.o [ 48%] Linking C executable thread make[3]: Leaving directory '/tmp/instance-1/output-1/build/paho-mqtt-c-1.3.2' [ 48%] Built target thread /tmp/instance-1/output-1/build/paho-mqtt-c-1.3.2/src/StackTrace.c: In function 'StackTrace_entry': /tmp/instance-1/output-1/build/paho-mqtt-c-1.3.2/src/StackTrace.c:112:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] Log_stackTrace(trace_level, 9, (int)my_thread->id, my_thread->current_depth, name, line, NULL); ^ /tmp/instance-1/output-1/build/paho-mqtt-c-1.3.2/src/StackTrace.c: In function 'StackTrace_exit': /tmp/instance-1/output-1/build/paho-mqtt-c-1.3.2/src/StackTrace.c:136:36: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] Log_stackTrace(trace_level, 10, (int)my_thread->id, my_thread->current_depth, name, line, NULL); ^ /tmp/instance-1/output-1/build/paho-mqtt-c-1.3.2/src/StackTrace.c:138:36: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] Log_stackTrace(trace_level, 11, (int)my_thread->id, my_thread->current_depth, name, line, (int*)rc); ^ make[3]: Leaving directory '/tmp/instance-1/output-1/build/paho-mqtt-c-1.3.2' make[2]: *** [CMakeFiles/Makefile2:292: src/CMakeFiles/common_obj.dir/all] Error 2 make[2]: *** Waiting for unfinished jobs.... make[3]: Leaving directory '/tmp/instance-1/output-1/build/paho-mqtt-c-1.3.2' make[2]: *** [CMakeFiles/Makefile2:107: src/CMakeFiles/common_ssl_obj.dir/all] Error 2 make[2]: Leaving directory '/tmp/instance-1/output-1/build/paho-mqtt-c-1.3.2' make[1]: *** [Makefile:163: all] Error 2 make[1]: Leaving directory '/tmp/instance-1/output-1/build/paho-mqtt-c-1.3.2' make: *** [package/pkg-generic.mk:269: /tmp/instance-1/output-1/build/paho-mqtt-c-1.3.2/.stamp_built] Error 2 make: Leaving directory '/tmp/instance-1/buildroot'