>>> libuhttpd 3.14.1 Downloading wget --passive-ftp -nd -t 3 -O '/home/buildroot/autobuild/instance-1/output-1/build/.libuhttpd-3.14.1.tar.gz.7qIapw/output' 'https://github.com/zhaojh329/libuhttpd/releases/download/v3.14.1/libuhttpd-3.14.1.tar.gz' --2023-02-06 15:21:28-- https://github.com/zhaojh329/libuhttpd/releases/download/v3.14.1/libuhttpd-3.14.1.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://objects.githubusercontent.com/github-production-release-asset-2e65be/109482449/256090dd-c2de-424b-a48a-0cf3bf068073?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20230206%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20230206T232129Z&X-Amz-Expires=300&X-Amz-Signature=1fdcc27af71064b290ed3bb1c27887cdc0e8dac5b2e2b7bfe62c02d35f1ea0d9&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=109482449&response-content-disposition=attachment%3B%20filename%3Dlibuhttpd-3.14.1.tar.gz&response-content-type=application%2Foctet-stream [following] --2023-02-06 15:21:29-- https://objects.githubusercontent.com/github-production-release-asset-2e65be/109482449/256090dd-c2de-424b-a48a-0cf3bf068073?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20230206%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20230206T232129Z&X-Amz-Expires=300&X-Amz-Signature=1fdcc27af71064b290ed3bb1c27887cdc0e8dac5b2e2b7bfe62c02d35f1ea0d9&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=109482449&response-content-disposition=attachment%3B%20filename%3Dlibuhttpd-3.14.1.tar.gz&response-content-type=application%2Foctet-stream Resolving objects.githubusercontent.com (objects.githubusercontent.com)... 185.199.109.133, 185.199.108.133, 185.199.110.133, ... Connecting to objects.githubusercontent.com (objects.githubusercontent.com)|185.199.109.133|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 96205 (94K) [application/octet-stream] Saving to: '/home/buildroot/autobuild/instance-1/output-1/build/.libuhttpd-3.14.1.tar.gz.7qIapw/output' 0K .......... .......... .......... .......... .......... 53% 13.8M 0s 50K .......... .......... .......... .......... ... 100% 18.7M=0.006s 2023-02-06 15:21:29 (15.7 MB/s) - '/home/buildroot/autobuild/instance-1/output-1/build/.libuhttpd-3.14.1.tar.gz.7qIapw/output' saved [96205/96205] libuhttpd-3.14.1.tar.gz: OK (sha256: 512d4abfced0ec916d985d3d1eac7528e6676eecae6aca27fdaf313374e29f16) >>> libuhttpd 3.14.1 Extracting gzip -d -c /home/buildroot/autobuild/instance-1/dl/libuhttpd/libuhttpd-3.14.1.tar.gz | tar --strip-components=1 -C /home/buildroot/autobuild/instance-1/output-1/build/libuhttpd-3.14.1 -xf - >>> libuhttpd 3.14.1 Patching Applying 0001-add-compatibility-for-wolfssl-5-0.patch using patch: patching file src/ssl/openssl.c >>> libuhttpd 3.14.1 Configuring (mkdir -p /home/buildroot/autobuild/instance-1/output-1/build/libuhttpd-3.14.1/ && cd /home/buildroot/autobuild/instance-1/output-1/build/libuhttpd-3.14.1/ && rm -f CMakeCache.txt && PATH="/home/buildroot/autobuild/instance-1/output-1/host/bin:/home/buildroot/autobuild/instance-1/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin" /home/buildroot/autobuild/instance-1/output-1/host/bin/cmake /home/buildroot/autobuild/instance-1/output-1/build/libuhttpd-3.14.1/ -G"Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/home/buildroot/autobuild/instance-1/output-1/host/share/buildroot/toolchainfile.cmake" -DCMAKE_INSTALL_PREFIX="/usr" -DCMAKE_INSTALL_RUNSTATEDIR="/run" -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 -DSSL_SUPPORT=ON -DUSE_MBEDTLS=OFF -DUSE_OPENSSL=ON -DUSE_WOLFSSL=OFF -DBUILD_STATIC=OFF ) -- The C compiler identification is GNU 11.3.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /home/buildroot/autobuild/instance-1/output-1/host/bin/mips64-buildroot-linux-uclibc-gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Found Libev: /home/buildroot/autobuild/instance-1/output-1/host/mips64-buildroot-linux-uclibc/sysroot/usr/lib/libev.so (found version "4.33") -- Found OpenSSL: /home/buildroot/autobuild/instance-1/output-1/host/mips64-buildroot-linux-uclibc/sysroot/usr/lib/libcrypto.so (found version "1.1.1q") -- Could NOT find WolfSSL (missing: WOLFSSL_LIBRARY WOLFSSL_INCLUDE_DIR) -- Could NOT find MbedTLS (missing: MBEDTLS_LIBRARY MBEDX509_LIBRARY MBEDCRYPTO_LIBRARY MBEDTLS_INCLUDE_DIR) -- Found ZLIB: /home/buildroot/autobuild/instance-1/output-1/host/mips64-buildroot-linux-uclibc/sysroot/usr/lib/libz.so (found version "1.2.13") -- Select OpenSSL as the SSL backend -- Looking for dlopen in dl -- Looking for dlopen in dl - found -- UHTTPD_VERSION: 3.14.1 -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: BUILD_DOC BUILD_DOCS BUILD_EXAMPLES BUILD_TEST BUILD_TESTING BUILD_TESTS CMAKE_INSTALL_RUNSTATEDIR -- Build files have been written to: /home/buildroot/autobuild/instance-1/output-1/build/libuhttpd-3.14.1 >>> libuhttpd 3.14.1 Building PATH="/home/buildroot/autobuild/instance-1/output-1/host/bin:/home/buildroot/autobuild/instance-1/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin" /usr/bin/make -j4 -C /home/buildroot/autobuild/instance-1/output-1/build/libuhttpd-3.14.1/ make[1]: Entering directory '/home/buildroot/autobuild/instance-1/output-1/build/libuhttpd-3.14.1' make[2]: Entering directory '/home/buildroot/autobuild/instance-1/output-1/build/libuhttpd-3.14.1' make[3]: Entering directory '/home/buildroot/autobuild/instance-1/output-1/build/libuhttpd-3.14.1' make[3]: Leaving directory '/home/buildroot/autobuild/instance-1/output-1/build/libuhttpd-3.14.1' make[3]: Entering directory '/home/buildroot/autobuild/instance-1/output-1/build/libuhttpd-3.14.1' [ 8%] Building C object src/ssl/CMakeFiles/xssl.dir/openssl.c.o [ 16%] Linking C static library libxssl.a make[3]: Leaving directory '/home/buildroot/autobuild/instance-1/output-1/build/libuhttpd-3.14.1' [ 16%] Built target xssl make[3]: Entering directory '/home/buildroot/autobuild/instance-1/output-1/build/libuhttpd-3.14.1' make[3]: Leaving directory '/home/buildroot/autobuild/instance-1/output-1/build/libuhttpd-3.14.1' make[3]: Entering directory '/home/buildroot/autobuild/instance-1/output-1/build/libuhttpd-3.14.1' [ 25%] Building C object src/CMakeFiles/uhttpd.dir/cgi.c.o [ 33%] Building C object src/CMakeFiles/uhttpd.dir/connection.c.o [ 41%] Building C object src/CMakeFiles/uhttpd.dir/file.c.o [ 50%] Building C object src/CMakeFiles/uhttpd.dir/mimetypes.c.o [ 58%] Building C object src/CMakeFiles/uhttpd.dir/uhttpd.c.o /home/buildroot/autobuild/instance-1/output-1/build/libuhttpd-3.14.1/src/file.c: In function '__serve_file': /home/buildroot/autobuild/instance-1/output-1/build/libuhttpd-3.14.1/src/file.c:322:50: error: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type '__off_t' {aka 'long int'} [-Werror=format=] 322 | conn->send_header(conn, "Content-Range", "bytes */%" PRIu64, st->st_size); | ^~~~~~~~~~~ ~~~~~~~~~~~ | | | __off_t {aka long int} In file included from /home/buildroot/autobuild/instance-1/output-1/build/libuhttpd-3.14.1/src/file.c:36: /home/buildroot/autobuild/instance-1/output-1/host/mips64-buildroot-linux-uclibc/sysroot/usr/include/inttypes.h:91:41: note: format string is defined here 91 | # define PRIu64 __PRI64_PREFIX "u" cc1: all warnings being treated as errors make[3]: *** [src/CMakeFiles/uhttpd.dir/build.make:104: src/CMakeFiles/uhttpd.dir/file.c.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: Leaving directory '/home/buildroot/autobuild/instance-1/output-1/build/libuhttpd-3.14.1' make[2]: *** [CMakeFiles/Makefile2:142: src/CMakeFiles/uhttpd.dir/all] Error 2 make[2]: Leaving directory '/home/buildroot/autobuild/instance-1/output-1/build/libuhttpd-3.14.1' make[1]: *** [Makefile:136: all] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/instance-1/output-1/build/libuhttpd-3.14.1' make: *** [package/pkg-generic.mk:293: /home/buildroot/autobuild/instance-1/output-1/build/libuhttpd-3.14.1/.stamp_built] Error 2 make: Leaving directory '/home/buildroot/autobuild/instance-1/buildroot'