>>> paho-mqtt-c 1.3.2 Downloading --2020-04-28 22:58: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.113.3 Connecting to github.com (github.com)|140.82.113.3|: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-28 22:58:18-- 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-0/output-1/build/.paho-mqtt-c-1.3.2.tar.gz.5ai71l/output' 0K .......... .......... .......... .......... .......... 325K 50K .......... .......... .......... .......... .......... 650K 100K .......... .......... .......... .......... .......... 95.9M 150K .......... .......... .......... .......... .......... 653K 200K .......... .......... .......... .......... .......... 85.9M 250K .......... .......... .......... .......... .......... 90.7M 300K .......... .......... .......... .......... .......... 327K 350K .......... .......... .......... .......... .......... 184M 400K .......... .......... .......... .......... .......... 235M 450K .......... .......... .......... . 243M=0.5s 2020-04-28 22:58:19 (1.02 MB/s) - '/tmp/instance-0/output-1/build/.paho-mqtt-c-1.3.2.tar.gz.5ai71l/output' saved [493040] ERROR: paho-mqtt-c-1.3.2.tar.gz has wrong sha256 hash: ERROR: expected: c426334c2ffc9f7a230e3de5162bdbc1762f8f60ffe27460e553edb74c7e0681 ERROR: got : 57fc42077726165b5eb825e6abf37dd5b4699b03b147b1fd29c9be6c4f200226 ERROR: Incomplete download, or man-in-the-middle (MITM) attack --2020-04-28 22:58:19-- http://sources.buildroot.net/paho-mqtt-c/paho-mqtt-c-1.3.2.tar.gz Resolving sources.buildroot.net (sources.buildroot.net)... 104.26.0.37, 104.26.1.37, 2606:4700:20::681a:125, ... Connecting to sources.buildroot.net (sources.buildroot.net)|104.26.0.37|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 492498 (481K) [application/x-gtar-compressed] Saving to: '/tmp/instance-0/output-1/build/.paho-mqtt-c-1.3.2.tar.gz.IK9cYt/output' 0K .......... .......... .......... .......... .......... 10% 64.2M 0s 50K .......... .......... .......... .......... .......... 20% 2.72M 0s 100K .......... .......... .......... .......... .......... 31% 2.69M 0s 150K .......... .......... .......... .......... .......... 41% 86.4M 0s 200K .......... .......... .......... .......... .......... 51% 43.3M 0s 250K .......... .......... .......... .......... .......... 62% 3.03M 0s 300K .......... .......... .......... .......... .......... 72% 43.5M 0s 350K .......... .......... .......... .......... .......... 83% 64.8M 0s 400K .......... .......... .......... .......... .......... 93% 49.4M 0s 450K .......... .......... .......... 100% 33.0M=0.06s 2020-04-28 22:58:20 (8.04 MB/s) - '/tmp/instance-0/output-1/build/.paho-mqtt-c-1.3.2.tar.gz.IK9cYt/output' saved [492498/492498] paho-mqtt-c-1.3.2.tar.gz: OK (sha256: c426334c2ffc9f7a230e3de5162bdbc1762f8f60ffe27460e553edb74c7e0681) >>> paho-mqtt-c 1.3.2 Extracting gzip -d -c /tmp/instance-0/dl/paho-mqtt-c/paho-mqtt-c-1.3.2.tar.gz | /tmp/instance-0/output-1/host/bin/tar --strip-components=1 -C /tmp/instance-0/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-0/output-1/build/paho-mqtt-c-1.3.2/ && cd /tmp/instance-0/output-1/build/paho-mqtt-c-1.3.2/ && rm -f CMakeCache.txt && PATH="/tmp/instance-0/output-1/host/bin:/tmp/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" /usr/bin/cmake /tmp/instance-0/output-1/build/paho-mqtt-c-1.3.2/ -DCMAKE_TOOLCHAIN_FILE="/tmp/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.3.0 -- Check for working C compiler: /tmp/instance-0/output-1/host/bin/xtensa-linux-gcc -- Check for working C compiler: /tmp/instance-0/output-1/host/bin/xtensa-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-0/output-1/host/bin/xtensa-linux-g++ -- Check for working CXX compiler: /tmp/instance-0/output-1/host/bin/xtensa-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-29T04:58:21Z -- Found OpenSSL: /tmp/instance-0/output-1/host/xtensa-buildroot-linux-uclibc/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-0/output-1/build/paho-mqtt-c-1.3.2 >>> paho-mqtt-c 1.3.2 Building PATH="/tmp/instance-0/output-1/host/bin:/tmp/instance-0/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-0/output-1/build/paho-mqtt-c-1.3.2/ make[1]: Entering directory '/tmp/instance-0/output-1/build/paho-mqtt-c-1.3.2' make[2]: Entering directory '/tmp/instance-0/output-1/build/paho-mqtt-c-1.3.2' make[3]: Entering directory '/tmp/instance-0/output-1/build/paho-mqtt-c-1.3.2' make[3]: Entering directory '/tmp/instance-0/output-1/build/paho-mqtt-c-1.3.2' Scanning dependencies of target common_obj Scanning dependencies of target common_ssl_obj make[3]: Leaving directory '/tmp/instance-0/output-1/build/paho-mqtt-c-1.3.2' make[3]: Leaving directory '/tmp/instance-0/output-1/build/paho-mqtt-c-1.3.2' make[3]: Entering directory '/tmp/instance-0/output-1/build/paho-mqtt-c-1.3.2' make[3]: Entering directory '/tmp/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/Clients.c.o [ 8%] Building C object src/CMakeFiles/common_ssl_obj.dir/utf-8.c.o [ 8%] Building C object src/CMakeFiles/common_obj.dir/MQTTProtocolClient.c.o [ 8%] Building C object src/CMakeFiles/common_ssl_obj.dir/MQTTProtocolClient.c.o [ 12%] Building C object src/CMakeFiles/common_ssl_obj.dir/Messages.c.o [ 12%] Building C object src/CMakeFiles/common_obj.dir/Clients.c.o [ 13%] 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 [ 17%] Building C object src/CMakeFiles/common_obj.dir/utf-8.c.o [ 18%] Building C object src/CMakeFiles/common_obj.dir/MQTTTime.c.o [ 20%] Building C object src/CMakeFiles/common_ssl_obj.dir/MQTTPacketOut.c.o [ 22%] Building C object src/CMakeFiles/common_ssl_obj.dir/MQTTPacket.c.o [ 24%] Building C object src/CMakeFiles/common_obj.dir/MQTTPacket.c.o [ 25%] Building C object src/CMakeFiles/common_obj.dir/MQTTPacketOut.c.o [ 31%] Building C object src/CMakeFiles/common_obj.dir/Messages.c.o [ 31%] Building C object src/CMakeFiles/common_ssl_obj.dir/MQTTPersistence.c.o [ 31%] Building C object src/CMakeFiles/common_ssl_obj.dir/Log.c.o [ 32%] Building C object src/CMakeFiles/common_obj.dir/Tree.c.o [ 34%] Building C object src/CMakeFiles/common_obj.dir/Socket.c.o [ 36%] Building C object src/CMakeFiles/common_obj.dir/Log.c.o [ 37%] Building C object src/CMakeFiles/common_obj.dir/MQTTPersistence.c.o [ 39%] Building C object src/CMakeFiles/common_ssl_obj.dir/Thread.c.o [ 41%] Building C object src/CMakeFiles/common_ssl_obj.dir/SocketBuffer.c.o [ 43%] Building C object src/CMakeFiles/common_ssl_obj.dir/MQTTProtocolOut.c.o [ 44%] Building C object src/CMakeFiles/common_ssl_obj.dir/MQTTPersistenceDefault.c.o [ 46%] Building C object src/CMakeFiles/common_ssl_obj.dir/LinkedList.c.o [ 48%] Building C object src/CMakeFiles/common_obj.dir/Thread.c.o [ 50%] Building C object src/CMakeFiles/common_obj.dir/MQTTProtocolOut.c.o [ 51%] Building C object src/CMakeFiles/common_obj.dir/MQTTPersistenceDefault.c.o [ 53%] Building C object src/CMakeFiles/common_obj.dir/SocketBuffer.c.o [ 55%] Building C object src/CMakeFiles/common_ssl_obj.dir/MQTTProperties.c.o [ 56%] Building C object src/CMakeFiles/common_ssl_obj.dir/MQTTReasonCodes.c.o [ 58%] Building C object src/CMakeFiles/common_ssl_obj.dir/Base64.c.o [ 60%] Building C object src/CMakeFiles/common_ssl_obj.dir/SHA1.c.o [ 62%] Building C object src/CMakeFiles/common_ssl_obj.dir/WebSocket.c.o [ 63%] Building C object src/CMakeFiles/common_obj.dir/MQTTProperties.c.o [ 65%] Building C object src/CMakeFiles/common_obj.dir/MQTTReasonCodes.c.o [ 67%] Building C object src/CMakeFiles/common_obj.dir/LinkedList.c.o [ 68%] Building C object src/CMakeFiles/common_ssl_obj.dir/StackTrace.c.o [ 70%] Building C object src/CMakeFiles/common_obj.dir/Base64.c.o [ 72%] Building C object src/CMakeFiles/common_obj.dir/SHA1.c.o [ 74%] Building C object src/CMakeFiles/common_ssl_obj.dir/Heap.c.o [ 75%] Building C object src/CMakeFiles/common_obj.dir/WebSocket.c.o [ 77%] Building C object src/CMakeFiles/common_obj.dir/StackTrace.c.o [ 79%] Building C object src/CMakeFiles/common_obj.dir/Heap.c.o make[3]: Leaving directory '/tmp/instance-0/output-1/build/paho-mqtt-c-1.3.2' [ 79%] Built target common_obj make[3]: Entering directory '/tmp/instance-0/output-1/build/paho-mqtt-c-1.3.2' make[3]: Entering directory '/tmp/instance-0/output-1/build/paho-mqtt-c-1.3.2' Scanning dependencies of target paho-mqtt3a make[3]: Leaving directory '/tmp/instance-0/output-1/build/paho-mqtt-c-1.3.2' Scanning dependencies of target paho-mqtt3c make[3]: Entering directory '/tmp/instance-0/output-1/build/paho-mqtt-c-1.3.2' make[3]: Leaving directory '/tmp/instance-0/output-1/build/paho-mqtt-c-1.3.2' make[3]: Entering directory '/tmp/instance-0/output-1/build/paho-mqtt-c-1.3.2' [ 81%] Building C object src/CMakeFiles/paho-mqtt3c.dir/MQTTClient.c.o [ 82%] Building C object src/CMakeFiles/paho-mqtt3a.dir/MQTTAsync.c.o make[3]: Leaving directory '/tmp/instance-0/output-1/build/paho-mqtt-c-1.3.2' [ 82%] Built target common_ssl_obj make[3]: Entering directory '/tmp/instance-0/output-1/build/paho-mqtt-c-1.3.2' make[3]: Entering directory '/tmp/instance-0/output-1/build/paho-mqtt-c-1.3.2' Scanning dependencies of target paho-mqtt3as make[3]: Leaving directory '/tmp/instance-0/output-1/build/paho-mqtt-c-1.3.2' Scanning dependencies of target paho-mqtt3cs make[3]: Entering directory '/tmp/instance-0/output-1/build/paho-mqtt-c-1.3.2' make[3]: Leaving directory '/tmp/instance-0/output-1/build/paho-mqtt-c-1.3.2' make[3]: Entering directory '/tmp/instance-0/output-1/build/paho-mqtt-c-1.3.2' [ 86%] Building C object src/CMakeFiles/paho-mqtt3as.dir/SSLSocket.c.o [ 84%] Building C object src/CMakeFiles/paho-mqtt3cs.dir/SSLSocket.c.o [ 87%] Building C object src/CMakeFiles/paho-mqtt3cs.dir/MQTTClient.c.o [ 89%] Building C object src/CMakeFiles/paho-mqtt3as.dir/MQTTAsync.c.o [ 91%] Linking C shared library libpaho-mqtt3c.so /tmp/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/xtensa-buildroot-linux-uclibc/8.3.0/../../../../xtensa-buildroot-linux-uclibc/bin/ld: cannot find -lanl collect2: error: ld returned 1 exit status make[3]: *** [src/CMakeFiles/paho-mqtt3c.dir/build.make:130: src/libpaho-mqtt3c.so.1.3.2] Error 1 make[3]: Leaving directory '/tmp/instance-0/output-1/build/paho-mqtt-c-1.3.2' make[2]: *** [CMakeFiles/Makefile2:144: src/CMakeFiles/paho-mqtt3c.dir/all] Error 2 make[2]: *** Waiting for unfinished jobs.... [ 93%] Linking C shared library libpaho-mqtt3cs.so /tmp/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/xtensa-buildroot-linux-uclibc/8.3.0/../../../../xtensa-buildroot-linux-uclibc/bin/ld: cannot find -lanl collect2: error: ld returned 1 exit status make[3]: *** [src/CMakeFiles/paho-mqtt3cs.dir/build.make:147: src/libpaho-mqtt3cs.so.1.3.2] Error 1 make[3]: Leaving directory '/tmp/instance-0/output-1/build/paho-mqtt-c-1.3.2' make[2]: *** [CMakeFiles/Makefile2:181: src/CMakeFiles/paho-mqtt3cs.dir/all] Error 2 [ 94%] Linking C shared library libpaho-mqtt3a.so /tmp/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/xtensa-buildroot-linux-uclibc/8.3.0/../../../../xtensa-buildroot-linux-uclibc/bin/ld: cannot find -lanl collect2: error: ld returned 1 exit status make[3]: *** [src/CMakeFiles/paho-mqtt3a.dir/build.make:130: src/libpaho-mqtt3a.so.1.3.2] Error 1 make[3]: Leaving directory '/tmp/instance-0/output-1/build/paho-mqtt-c-1.3.2' make[2]: *** [CMakeFiles/Makefile2:218: src/CMakeFiles/paho-mqtt3a.dir/all] Error 2 [ 96%] Linking C shared library libpaho-mqtt3as.so /tmp/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/xtensa-buildroot-linux-uclibc/8.3.0/../../../../xtensa-buildroot-linux-uclibc/bin/ld: cannot find -lanl collect2: error: ld returned 1 exit status make[3]: *** [src/CMakeFiles/paho-mqtt3as.dir/build.make:147: src/libpaho-mqtt3as.so.1.3.2] Error 1 make[3]: Leaving directory '/tmp/instance-0/output-1/build/paho-mqtt-c-1.3.2' make[2]: *** [CMakeFiles/Makefile2:255: src/CMakeFiles/paho-mqtt3as.dir/all] Error 2 make[2]: Leaving directory '/tmp/instance-0/output-1/build/paho-mqtt-c-1.3.2' make[1]: *** [Makefile:152: all] Error 2 make[1]: Leaving directory '/tmp/instance-0/output-1/build/paho-mqtt-c-1.3.2' make: *** [package/pkg-generic.mk:269: /tmp/instance-0/output-1/build/paho-mqtt-c-1.3.2/.stamp_built] Error 2 make: Leaving directory '/tmp/instance-0/buildroot'