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 11.2.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-mipsel_mips32_gcc-11.2.0_musl/bin/mipsel-openwrt-linux-musl-g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found CURL: /builder/shared-workdir/build/sdk/staging_dir/target-mipsel_mips32_musl/usr/lib/libcurl.so (found version "7.88.1") -- Configuring done -- Generating done 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-mipsel_mips32_musl/ipfs-http-client-2021-03-01-27f64393 ninja: Entering directory `/builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_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-mipsel_mips32_gcc-11.2.0_musl/bin/mipsel-openwrt-linux-musl-g++ -Dipfs_http_client_EXPORTS -I/builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/ipfs-http-client-2021-03-01-27f64393/include -I/builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/ipfs-http-client-2021-03-01-27f64393/_deps/json-src/include -Os -pipe -mno-branch-likely -mips32 -mtune=mips32 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_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 -fPIC -std=gnu++11 -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-mipsel_mips32_musl/ipfs-http-client-2021-03-01-27f64393/src/http/transport-curl.cc /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/ipfs-http-client-2021-03-01-27f64393/src/http/transport-curl.cc: In member function 'virtual void ipfs::http::TransportCurl::Fetch(const string&, const std::vector&, std::iostream*)': /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_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-mipsel_mips32_musl/ipfs-http-client-2021-03-01-27f64393/src/http/transport-curl.cc:20: /builder/shared-workdir/build/sdk/staging_dir/target-mipsel_mips32_musl/usr/include/curl/curl.h:2500:3: note: declared here 2500 | CURLFORM_COPYNAME CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"), | ^~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_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(), | ^~~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/ipfs-http-client-2021-03-01-27f64393/src/http/transport-curl.cc:20: /builder/shared-workdir/build/sdk/staging_dir/target-mipsel_mips32_musl/usr/include/curl/curl.h:2511:3: note: declared here 2511 | CURLFORM_BUFFER CURL_DEPRECATED(7.56.0, "Use curl_mime_filename()"), | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_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(), | ^~~~~~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/ipfs-http-client-2021-03-01-27f64393/src/http/transport-curl.cc:20: /builder/shared-workdir/build/sdk/staging_dir/target-mipsel_mips32_musl/usr/include/curl/curl.h:2512:3: note: declared here 2512 | CURLFORM_BUFFERPTR CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"), | ^~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_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(), | ^~~~~~~~~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/ipfs-http-client-2021-03-01-27f64393/src/http/transport-curl.cc:20: /builder/shared-workdir/build/sdk/staging_dir/target-mipsel_mips32_musl/usr/include/curl/curl.h:2513:3: note: declared here 2513 | CURLFORM_BUFFERLENGTH CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"), | ^~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_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); | ^~~~~~~~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/ipfs-http-client-2021-03-01-27f64393/src/http/transport-curl.cc:20: /builder/shared-workdir/build/sdk/staging_dir/target-mipsel_mips32_musl/usr/include/curl/curl.h:2515:3: note: declared here 2515 | CURLFORM_CONTENTTYPE CURL_DEPRECATED(7.56.0, "Use curl_mime_type()"), | ^~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_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); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/ipfs-http-client-2021-03-01-27f64393/src/http/transport-curl.cc:20: /builder/shared-workdir/build/sdk/staging_dir/target-mipsel_mips32_musl/usr/include/curl/curl.h:2575:1: note: declared here 2575 | curl_formadd(struct curl_httppost **httppost, | ^~~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_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(), | ^~~~~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/ipfs-http-client-2021-03-01-27f64393/src/http/transport-curl.cc:20: /builder/shared-workdir/build/sdk/staging_dir/target-mipsel_mips32_musl/usr/include/curl/curl.h:2500:3: note: declared here 2500 | CURLFORM_COPYNAME CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"), | ^~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_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(), | ^~~~~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/ipfs-http-client-2021-03-01-27f64393/src/http/transport-curl.cc:20: /builder/shared-workdir/build/sdk/staging_dir/target-mipsel_mips32_musl/usr/include/curl/curl.h:2517:3: note: declared here 2517 | CURLFORM_FILENAME CURL_DEPRECATED(7.56.0, "Use curl_mime_filename()"), | ^~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_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(), | ^~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/ipfs-http-client-2021-03-01-27f64393/src/http/transport-curl.cc:20: /builder/shared-workdir/build/sdk/staging_dir/target-mipsel_mips32_musl/usr/include/curl/curl.h:2509:3: note: declared here 2509 | CURLFORM_FILE CURL_DEPRECATED(7.56.0, "Use curl_mime_filedata()"), | ^~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_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); | ^~~~~~~~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/ipfs-http-client-2021-03-01-27f64393/src/http/transport-curl.cc:20: /builder/shared-workdir/build/sdk/staging_dir/target-mipsel_mips32_musl/usr/include/curl/curl.h:2515:3: note: declared here 2515 | CURLFORM_CONTENTTYPE CURL_DEPRECATED(7.56.0, "Use curl_mime_type()"), | ^~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_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); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/ipfs-http-client-2021-03-01-27f64393/src/http/transport-curl.cc:20: /builder/shared-workdir/build/sdk/staging_dir/target-mipsel_mips32_musl/usr/include/curl/curl.h:2575:1: note: declared here 2575 | curl_formadd(struct curl_httppost **httppost, | ^~~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/ipfs-http-client-2021-03-01-27f64393/src/http/transport-curl.cc: In lambda function: /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_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); | ~~~~~~~~~~~~~^~~ In file included from /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/ipfs-http-client-2021-03-01-27f64393/src/http/transport-curl.cc:20: /builder/shared-workdir/build/sdk/staging_dir/target-mipsel_mips32_musl/usr/include/curl/curl.h:2611:1: note: declared here 2611 | curl_formfree(struct curl_httppost *form); | ^~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/ipfs-http-client-2021-03-01-27f64393/src/http/transport-curl.cc:20: /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/ipfs-http-client-2021-03-01-27f64393/src/http/transport-curl.cc: In member function 'virtual void ipfs::http::TransportCurl::Fetch(const string&, const std::vector&, std::iostream*)': /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_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); | ^~~~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/ipfs-http-client-2021-03-01-27f64393/src/http/transport-curl.cc:20: /builder/shared-workdir/build/sdk/staging_dir/target-mipsel_mips32_musl/usr/include/curl/curl.h:1195:3: note: declared here 1195 | 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-mipsel_mips32_musl/ipfs-http-client-2021-03-01-27f64393/.built] Error 1 time: package/feeds/packages/ipfs-http-client/compile#12.07#0.96#14.10