Applying ./patches/001-add-srv-addr.patch using plaintext: patching file test/test_block.cc patching file test/test_config.cc patching file test/test_dht.cc patching file test/test_error.cc patching file test/test_files.cc patching file test/test_generic.cc patching file test/test_key.cc patching file test/test_name.cc patching file test/test_object.cc patching file test/test_pin.cc patching file test/test_swarm.cc -- The CXX compiler identification is GNU 12.3.0 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/bin/i486-openwrt-linux-musl-g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found CURL: /builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/lib/libcurl.so (found version "8.0.1") -- Configuring done (1.3s) -- Generating done (0.0s) CMake Warning: Manually-specified variables were not used by the project: CMAKE_ASM_COMPILER CMAKE_ASM_COMPILER_LAUNCHER CMAKE_C_COMPILER CMAKE_C_FLAGS_RELEASE CMAKE_EXPORT_NO_PACKAGE_REGISTRY CMAKE_EXPORT_PACKAGE_REGISTRY CMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY CMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY CMAKE_MODULE_LINKER_FLAGS DL_LIBRARY -- Build files have been written to: /builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/ipfs-http-client-2021-03-01-27f64393 ninja: Entering directory `/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/ipfs-http-client-2021-03-01-27f64393' [1/24] Building CXX object CMakeFiles/ipfs-http-client.dir/src/client.cc.o [2/24] Building CXX object CMakeFiles/ipfs-http-client.dir/src/http/transport-curl.cc.o FAILED: CMakeFiles/ipfs-http-client.dir/src/http/transport-curl.cc.o /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/bin/i486-openwrt-linux-musl-g++ -Dipfs_http_client_EXPORTS -I/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/ipfs-http-client-2021-03-01-27f64393/include -I/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/ipfs-http-client-2021-03-01-27f64393/_deps/json-src/include -Os -pipe -march=pentium4 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/ipfs-http-client-2021-03-01-27f64393=ipfs-http-client-2021-03-01-27f64393 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -Wall -Wpedantic -Wextra -Werror -DNDEBUG -std=gnu++11 -fPIC -MD -MT CMakeFiles/ipfs-http-client.dir/src/http/transport-curl.cc.o -MF CMakeFiles/ipfs-http-client.dir/src/http/transport-curl.cc.o.d -o CMakeFiles/ipfs-http-client.dir/src/http/transport-curl.cc.o -c /builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/ipfs-http-client-2021-03-01-27f64393/src/http/transport-curl.cc /builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/ipfs-http-client-2021-03-01-27f64393/src/http/transport-curl.cc: In member function 'virtual void ipfs::http::TransportCurl::Fetch(const std::string&, const std::vector&, std::iostream*)': /builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/ipfs-http-client-2021-03-01-27f64393/src/http/transport-curl.cc:121:22: error: 'CURLFORM_COPYNAME' is deprecated: since 7.56.0. Use curl_mime_name() [-Werror=deprecated-declarations] 121 | CURLFORM_COPYNAME, name.c_str(), | ^~~~~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/ipfs-http-client-2021-03-01-27f64393/src/http/transport-curl.cc:20: /builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include/curl/curl.h:2501:3: note: declared here 2501 | CURLFORM_COPYNAME CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"), | ^~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/ipfs-http-client-2021-03-01-27f64393/src/http/transport-curl.cc:123:22: error: 'CURLFORM_BUFFER' is deprecated: since 7.56.0. Use curl_mime_filename() [-Werror=deprecated-declarations] 123 | CURLFORM_BUFFER, file.path.c_str(), | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include/curl/curl.h:2512:3: note: declared here 2512 | CURLFORM_BUFFER CURL_DEPRECATED(7.56.0, "Use curl_mime_filename()"), | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/ipfs-http-client-2021-03-01-27f64393/src/http/transport-curl.cc:125:22: error: 'CURLFORM_BUFFERPTR' is deprecated: since 7.56.0. Use curl_mime_data() [-Werror=deprecated-declarations] 125 | CURLFORM_BUFFERPTR, file.data.c_str(), | ^~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include/curl/curl.h:2513:3: note: declared here 2513 | CURLFORM_BUFFERPTR CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"), | ^~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/ipfs-http-client-2021-03-01-27f64393/src/http/transport-curl.cc:127:22: error: 'CURLFORM_BUFFERLENGTH' is deprecated: since 7.56.0. Use curl_mime_data() [-Werror=deprecated-declarations] 127 | CURLFORM_BUFFERLENGTH, file.data.length(), | ^~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include/curl/curl.h:2514:3: note: declared here 2514 | CURLFORM_BUFFERLENGTH CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"), | ^~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/ipfs-http-client-2021-03-01-27f64393/src/http/transport-curl.cc:129:22: error: 'CURLFORM_CONTENTTYPE' is deprecated: since 7.56.0. Use curl_mime_type() [-Werror=deprecated-declarations] 129 | CURLFORM_CONTENTTYPE, content_type, CURLFORM_END); | ^~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include/curl/curl.h:2516:3: note: declared here 2516 | CURLFORM_CONTENTTYPE CURL_DEPRECATED(7.56.0, "Use curl_mime_type()"), | ^~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/ipfs-http-client-2021-03-01-27f64393/src/http/transport-curl.cc:119:21: error: 'CURLFORMcode curl_formadd(curl_httppost**, curl_httppost**, ...)' is deprecated: since 7.56.0. Use curl_mime_init() [-Werror=deprecated-declarations] 119 | curl_formadd(&form_parts, &form_parts_end, | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 120 | /* name="..."; */ | ~~~~~~~~~~~~~~~~~ 121 | CURLFORM_COPYNAME, name.c_str(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 122 | /* filename="..."; */ | ~~~~~~~~~~~~~~~~~~~~~ 123 | CURLFORM_BUFFER, file.path.c_str(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 124 | /* File contents. */ | ~~~~~~~~~~~~~~~~~~~~ 125 | CURLFORM_BUFFERPTR, file.data.c_str(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 126 | /* File contents length. */ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 127 | CURLFORM_BUFFERLENGTH, file.data.length(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 128 | /* Content-Type: */ | ~~~~~~~~~~~~~~~~~~~ 129 | CURLFORM_CONTENTTYPE, content_type, CURLFORM_END); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include/curl/curl.h:2576:1: note: declared here 2576 | curl_formadd(struct curl_httppost **httppost, | ^~~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/ipfs-http-client-2021-03-01-27f64393/src/http/transport-curl.cc:135:22: error: 'CURLFORM_COPYNAME' is deprecated: since 7.56.0. Use curl_mime_name() [-Werror=deprecated-declarations] 135 | CURLFORM_COPYNAME, name.c_str(), | ^~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include/curl/curl.h:2501:3: note: declared here 2501 | CURLFORM_COPYNAME CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"), | ^~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/ipfs-http-client-2021-03-01-27f64393/src/http/transport-curl.cc:137:22: error: 'CURLFORM_FILENAME' is deprecated: since 7.56.0. Use curl_mime_filename() [-Werror=deprecated-declarations] 137 | CURLFORM_FILENAME, file.path.c_str(), | ^~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include/curl/curl.h:2518:3: note: declared here 2518 | CURLFORM_FILENAME CURL_DEPRECATED(7.56.0, "Use curl_mime_filename()"), | ^~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/ipfs-http-client-2021-03-01-27f64393/src/http/transport-curl.cc:139:22: error: 'CURLFORM_FILE' is deprecated: since 7.56.0. Use curl_mime_filedata() [-Werror=deprecated-declarations] 139 | CURLFORM_FILE, file.data.c_str(), | ^~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include/curl/curl.h:2510:3: note: declared here 2510 | CURLFORM_FILE CURL_DEPRECATED(7.56.0, "Use curl_mime_filedata()"), | ^~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/ipfs-http-client-2021-03-01-27f64393/src/http/transport-curl.cc:141:22: error: 'CURLFORM_CONTENTTYPE' is deprecated: since 7.56.0. Use curl_mime_type() [-Werror=deprecated-declarations] 141 | CURLFORM_CONTENTTYPE, content_type, CURLFORM_END); | ^~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include/curl/curl.h:2516:3: note: declared here 2516 | CURLFORM_CONTENTTYPE CURL_DEPRECATED(7.56.0, "Use curl_mime_type()"), | ^~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/ipfs-http-client-2021-03-01-27f64393/src/http/transport-curl.cc:133:21: error: 'CURLFORMcode curl_formadd(curl_httppost**, curl_httppost**, ...)' is deprecated: since 7.56.0. Use curl_mime_init() [-Werror=deprecated-declarations] 133 | curl_formadd(&form_parts, &form_parts_end, | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 134 | /* name="..."; */ | ~~~~~~~~~~~~~~~~~ 135 | CURLFORM_COPYNAME, name.c_str(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 136 | /* filename="..."; */ | ~~~~~~~~~~~~~~~~~~~~~ 137 | CURLFORM_FILENAME, file.path.c_str(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 138 | /* Read the data from this file. */ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 139 | CURLFORM_FILE, file.data.c_str(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 140 | /* Content-Type: */ | ~~~~~~~~~~~~~~~~~~~ 141 | CURLFORM_CONTENTTYPE, content_type, CURLFORM_END); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include/curl/curl.h:2576:1: note: declared here 2576 | curl_formadd(struct curl_httppost **httppost, | ^~~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/ipfs-http-client-2021-03-01-27f64393/src/http/transport-curl.cc: In lambda function: /builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/ipfs-http-client-2021-03-01-27f64393/src/http/transport-curl.cc:150:22: error: 'void curl_formfree(curl_httppost*)' is deprecated: since 7.56.0. Use curl_mime_free() [-Werror=deprecated-declarations] 150 | curl_formfree(d); | ~~~~~~~~~~~~~^~~ /builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include/curl/curl.h:2612:1: note: declared here 2612 | curl_formfree(struct curl_httppost *form); | ^~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/ipfs-http-client-2021-03-01-27f64393/src/http/transport-curl.cc: In member function 'virtual void ipfs::http::TransportCurl::Fetch(const std::string&, const std::vector&, std::iostream*)': /builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/ipfs-http-client-2021-03-01-27f64393/src/http/transport-curl.cc:154:27: error: 'CURLOPT_HTTPPOST' is deprecated: since 7.56.0. Use CURLOPT_MIMEPOST [-Werror=deprecated-declarations] 154 | curl_easy_setopt(curl_, CURLOPT_HTTPPOST, form_parts); | ^~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include/curl/curl.h:1196:3: note: declared here 1196 | CURLOPTDEPRECATED(CURLOPT_HTTPPOST, CURLOPTTYPE_OBJECTPOINT, 24, | ^~~~~~~~~~~~~~~~~ cc1plus: all warnings being treated as errors ninja: build stopped: subcommand failed. make[3]: *** [Makefile:83: /builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/ipfs-http-client-2021-03-01-27f64393/.built] Error 1 time: package/feeds/packages/ipfs-http-client/compile#5.86#0.65#7.20