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-arm_cortex-a7+vfpv4_gcc-11.2.0_musl_eabi/bin/arm-openwrt-linux-muslgnueabi-g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found CURL: /builder/shared-workdir/build/sdk/staging_dir/target-arm_cortex-a7+vfpv4_musl_eabi/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-arm_cortex-a7+vfpv4_musl_eabi/ipfs-http-client-2021-03-01-27f64393 ninja: Entering directory `/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a7+vfpv4_musl_eabi/ipfs-http-client-2021-03-01-27f64393' [1/24] Building CXX object CMakeFiles/ipfs-http-client.dir/src/client.cc.o In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a7+vfpv4_gcc-11.2.0_musl_eabi/arm-openwrt-linux-muslgnueabi/include/c++/11.2.0/map:60, from /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a7+vfpv4_musl_eabi/ipfs-http-client-2021-03-01-27f64393/_deps/json-src/include/nlohmann/json.hpp:61, from /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a7+vfpv4_musl_eabi/ipfs-http-client-2021-03-01-27f64393/include/ipfs/client.h:26, from /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a7+vfpv4_musl_eabi/ipfs-http-client-2021-03-01-27f64393/src/client.cc:20: /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a7+vfpv4_gcc-11.2.0_musl_eabi/arm-openwrt-linux-muslgnueabi/include/c++/11.2.0/bits/stl_tree.h: In member function 'std::pair std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_get_insert_hint_unique_pos(std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::const_iterator, const key_type&) [with _Key = std::basic_string; _Val = std::pair, nlohmann::basic_json<> >; _KeyOfValue = std::_Select1st, nlohmann::basic_json<> > >; _Compare = std::less >; _Alloc = std::allocator, nlohmann::basic_json<> > >]': /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a7+vfpv4_gcc-11.2.0_musl_eabi/arm-openwrt-linux-muslgnueabi/include/c++/11.2.0/bits/stl_tree.h:2161:5: note: parameter passing for argument of type 'std::_Rb_tree, std::pair, nlohmann::basic_json<> >, std::_Select1st, nlohmann::basic_json<> > >, std::less >, std::allocator, nlohmann::basic_json<> > > >::const_iterator' changed in GCC 7.1 2161 | _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>:: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a7+vfpv4_musl_eabi/ipfs-http-client-2021-03-01-27f64393/include/ipfs/client.h:26, from /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a7+vfpv4_musl_eabi/ipfs-http-client-2021-03-01-27f64393/src/client.cc:20: /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a7+vfpv4_musl_eabi/ipfs-http-client-2021-03-01-27f64393/_deps/json-src/include/nlohmann/json.hpp: In member function 'void nlohmann::basic_json::json_value::destroy(nlohmann::basic_json::value_t) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::basic_string; BooleanType = bool; NumberIntegerType = long long int; NumberUnsignedType = long long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; BinaryType = std::vector]': /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a7+vfpv4_musl_eabi/ipfs-http-client-2021-03-01-27f64393/_deps/json-src/include/nlohmann/json.hpp:17619:26: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator*, std::vector, std::allocator > > >' changed in GCC 7.1 17619 | std::move(array->begin(), array->end(), std::back_inserter(stack)); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a7+vfpv4_musl_eabi/ipfs-http-client-2021-03-01-27f64393/_deps/json-src/include/nlohmann/json.hpp:17640:30: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator*, std::vector, std::allocator > > >' changed in GCC 7.1 17640 | std::move(current_item.m_value.array->begin(), current_item.m_value.array->end(), | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 17641 | std::back_inserter(stack)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a7+vfpv4_gcc-11.2.0_musl_eabi/arm-openwrt-linux-muslgnueabi/include/c++/11.2.0/bits/char_traits.h:39, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a7+vfpv4_gcc-11.2.0_musl_eabi/arm-openwrt-linux-muslgnueabi/include/c++/11.2.0/ios:40, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a7+vfpv4_gcc-11.2.0_musl_eabi/arm-openwrt-linux-muslgnueabi/include/c++/11.2.0/ostream:38, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a7+vfpv4_gcc-11.2.0_musl_eabi/arm-openwrt-linux-muslgnueabi/include/c++/11.2.0/iostream:39, from /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a7+vfpv4_musl_eabi/ipfs-http-client-2021-03-01-27f64393/include/ipfs/http/transport.h:23, from /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a7+vfpv4_musl_eabi/ipfs-http-client-2021-03-01-27f64393/include/ipfs/client.h:23, from /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a7+vfpv4_musl_eabi/ipfs-http-client-2021-03-01-27f64393/src/client.cc:20: /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a7+vfpv4_gcc-11.2.0_musl_eabi/arm-openwrt-linux-muslgnueabi/include/c++/11.2.0/bits/stl_algobase.h: In function '_OI std::move(_II, _II, _OI) [with _II = __gnu_cxx::__normal_iterator*, std::vector, std::allocator > > >; _OI = std::back_insert_iterator, std::allocator > > >]': /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a7+vfpv4_gcc-11.2.0_musl_eabi/arm-openwrt-linux-muslgnueabi/include/c++/11.2.0/bits/stl_algobase.h:644:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator*, std::vector, std::allocator > > >' changed in GCC 7.1 644 | move(_II __first, _II __last, _OI __result) | ^~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a7+vfpv4_gcc-11.2.0_musl_eabi/arm-openwrt-linux-muslgnueabi/include/c++/11.2.0/bits/stl_algobase.h:644:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator*, std::vector, std::allocator > > >' changed in GCC 7.1 In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a7+vfpv4_gcc-11.2.0_musl_eabi/arm-openwrt-linux-muslgnueabi/include/c++/11.2.0/vector:72, from /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a7+vfpv4_musl_eabi/ipfs-http-client-2021-03-01-27f64393/include/ipfs/http/transport.h:25, from /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a7+vfpv4_musl_eabi/ipfs-http-client-2021-03-01-27f64393/include/ipfs/client.h:23, from /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a7+vfpv4_musl_eabi/ipfs-http-client-2021-03-01-27f64393/src/client.cc:20: /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a7+vfpv4_gcc-11.2.0_musl_eabi/arm-openwrt-linux-muslgnueabi/include/c++/11.2.0/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(std::vector<_Tp, _Alloc>::iterator, _Args&& ...) [with _Args = {const nlohmann::basic_json, std::allocator >, bool, long long int, long long unsigned int, double, std::allocator, nlohmann::adl_serializer, std::vector > >&}; _Tp = nlohmann::basic_json<>; _Alloc = std::allocator >]': /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a7+vfpv4_gcc-11.2.0_musl_eabi/arm-openwrt-linux-muslgnueabi/include/c++/11.2.0/bits/vector.tcc:426:7: note: parameter passing for argument of type 'std::vector, std::allocator > >::iterator' changed in GCC 7.1 426 | vector<_Tp, _Alloc>:: | ^~~~~~~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a7+vfpv4_gcc-11.2.0_musl_eabi/arm-openwrt-linux-muslgnueabi/include/c++/11.2.0/vector:67, from /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a7+vfpv4_musl_eabi/ipfs-http-client-2021-03-01-27f64393/include/ipfs/http/transport.h:25, from /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a7+vfpv4_musl_eabi/ipfs-http-client-2021-03-01-27f64393/include/ipfs/client.h:23, from /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a7+vfpv4_musl_eabi/ipfs-http-client-2021-03-01-27f64393/src/client.cc:20: /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a7+vfpv4_gcc-11.2.0_musl_eabi/arm-openwrt-linux-muslgnueabi/include/c++/11.2.0/bits/stl_vector.h: In member function 'void nlohmann::basic_json::push_back(const nlohmann::basic_json&) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::basic_string; BooleanType = bool; NumberIntegerType = long long int; NumberUnsignedType = long long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; BinaryType = std::vector]': /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a7+vfpv4_gcc-11.2.0_musl_eabi/arm-openwrt-linux-muslgnueabi/include/c++/11.2.0/bits/stl_vector.h:1198:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator*, std::vector, std::allocator > > >' changed in GCC 7.1 1198 | _M_realloc_insert(end(), __x); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a7+vfpv4_gcc-11.2.0_musl_eabi/arm-openwrt-linux-muslgnueabi/include/c++/11.2.0/vector:72, from /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a7+vfpv4_musl_eabi/ipfs-http-client-2021-03-01-27f64393/include/ipfs/http/transport.h:25, from /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a7+vfpv4_musl_eabi/ipfs-http-client-2021-03-01-27f64393/include/ipfs/client.h:23, from /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a7+vfpv4_musl_eabi/ipfs-http-client-2021-03-01-27f64393/src/client.cc:20: /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a7+vfpv4_gcc-11.2.0_musl_eabi/arm-openwrt-linux-muslgnueabi/include/c++/11.2.0/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(std::vector<_Tp, _Alloc>::iterator, _Args&& ...) [with _Args = {nlohmann::detail::value_t}; _Tp = nlohmann::basic_json<>; _Alloc = std::allocator >]': /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a7+vfpv4_gcc-11.2.0_musl_eabi/arm-openwrt-linux-muslgnueabi/include/c++/11.2.0/bits/vector.tcc:426:7: note: parameter passing for argument of type 'std::vector, std::allocator > >::iterator' changed in GCC 7.1 426 | vector<_Tp, _Alloc>:: | ^~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a7+vfpv4_gcc-11.2.0_musl_eabi/arm-openwrt-linux-muslgnueabi/include/c++/11.2.0/bits/vector.tcc: In member function 'BasicJsonType* nlohmann::detail::json_sax_dom_parser::handle_value(Value&&) [with Value = nlohmann::detail::value_t; BasicJsonType = nlohmann::basic_json<>]': /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a7+vfpv4_gcc-11.2.0_musl_eabi/arm-openwrt-linux-muslgnueabi/include/c++/11.2.0/bits/vector.tcc:121:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator*, std::vector, std::allocator > > >' changed in GCC 7.1 121 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a7+vfpv4_gcc-11.2.0_musl_eabi/arm-openwrt-linux-muslgnueabi/include/c++/11.2.0/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(std::vector<_Tp, _Alloc>::iterator, _Args&& ...) [with _Args = {std::basic_string, std::allocator >&}; _Tp = nlohmann::basic_json<>; _Alloc = std::allocator >]': /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a7+vfpv4_gcc-11.2.0_musl_eabi/arm-openwrt-linux-muslgnueabi/include/c++/11.2.0/bits/vector.tcc:426:7: note: parameter passing for argument of type 'std::vector, std::allocator > >::iterator' changed in GCC 7.1 426 | vector<_Tp, _Alloc>:: | ^~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a7+vfpv4_gcc-11.2.0_musl_eabi/arm-openwrt-linux-muslgnueabi/include/c++/11.2.0/bits/vector.tcc: In member function 'BasicJsonType* nlohmann::detail::json_sax_dom_parser::handle_value(Value&&) [with Value = std::basic_string&; BasicJsonType = nlohmann::basic_json<>]': /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a7+vfpv4_gcc-11.2.0_musl_eabi/arm-openwrt-linux-muslgnueabi/include/c++/11.2.0/bits/vector.tcc:121:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator*, std::vector, std::allocator > > >' changed in GCC 7.1 121 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [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-arm_cortex-a7+vfpv4_gcc-11.2.0_musl_eabi/bin/arm-openwrt-linux-muslgnueabi-g++ -Dipfs_http_client_EXPORTS -I/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a7+vfpv4_musl_eabi/ipfs-http-client-2021-03-01-27f64393/include -I/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a7+vfpv4_musl_eabi/ipfs-http-client-2021-03-01-27f64393/_deps/json-src/include -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a7+vfpv4_musl_eabi/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-arm_cortex-a7+vfpv4_musl_eabi/ipfs-http-client-2021-03-01-27f64393/src/http/transport-curl.cc /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a7+vfpv4_musl_eabi/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-arm_cortex-a7+vfpv4_musl_eabi/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-arm_cortex-a7+vfpv4_musl_eabi/ipfs-http-client-2021-03-01-27f64393/src/http/transport-curl.cc:20: /builder/shared-workdir/build/sdk/staging_dir/target-arm_cortex-a7+vfpv4_musl_eabi/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-arm_cortex-a7+vfpv4_musl_eabi/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-arm_cortex-a7+vfpv4_musl_eabi/ipfs-http-client-2021-03-01-27f64393/src/http/transport-curl.cc:20: /builder/shared-workdir/build/sdk/staging_dir/target-arm_cortex-a7+vfpv4_musl_eabi/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-arm_cortex-a7+vfpv4_musl_eabi/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-arm_cortex-a7+vfpv4_musl_eabi/ipfs-http-client-2021-03-01-27f64393/src/http/transport-curl.cc:20: /builder/shared-workdir/build/sdk/staging_dir/target-arm_cortex-a7+vfpv4_musl_eabi/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-arm_cortex-a7+vfpv4_musl_eabi/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-arm_cortex-a7+vfpv4_musl_eabi/ipfs-http-client-2021-03-01-27f64393/src/http/transport-curl.cc:20: /builder/shared-workdir/build/sdk/staging_dir/target-arm_cortex-a7+vfpv4_musl_eabi/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-arm_cortex-a7+vfpv4_musl_eabi/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-arm_cortex-a7+vfpv4_musl_eabi/ipfs-http-client-2021-03-01-27f64393/src/http/transport-curl.cc:20: /builder/shared-workdir/build/sdk/staging_dir/target-arm_cortex-a7+vfpv4_musl_eabi/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-arm_cortex-a7+vfpv4_musl_eabi/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-arm_cortex-a7+vfpv4_musl_eabi/ipfs-http-client-2021-03-01-27f64393/src/http/transport-curl.cc:20: /builder/shared-workdir/build/sdk/staging_dir/target-arm_cortex-a7+vfpv4_musl_eabi/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-arm_cortex-a7+vfpv4_musl_eabi/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-arm_cortex-a7+vfpv4_musl_eabi/ipfs-http-client-2021-03-01-27f64393/src/http/transport-curl.cc:20: /builder/shared-workdir/build/sdk/staging_dir/target-arm_cortex-a7+vfpv4_musl_eabi/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-arm_cortex-a7+vfpv4_musl_eabi/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-arm_cortex-a7+vfpv4_musl_eabi/ipfs-http-client-2021-03-01-27f64393/src/http/transport-curl.cc:20: /builder/shared-workdir/build/sdk/staging_dir/target-arm_cortex-a7+vfpv4_musl_eabi/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-arm_cortex-a7+vfpv4_musl_eabi/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-arm_cortex-a7+vfpv4_musl_eabi/ipfs-http-client-2021-03-01-27f64393/src/http/transport-curl.cc:20: /builder/shared-workdir/build/sdk/staging_dir/target-arm_cortex-a7+vfpv4_musl_eabi/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-arm_cortex-a7+vfpv4_musl_eabi/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-arm_cortex-a7+vfpv4_musl_eabi/ipfs-http-client-2021-03-01-27f64393/src/http/transport-curl.cc:20: /builder/shared-workdir/build/sdk/staging_dir/target-arm_cortex-a7+vfpv4_musl_eabi/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-arm_cortex-a7+vfpv4_musl_eabi/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-arm_cortex-a7+vfpv4_musl_eabi/ipfs-http-client-2021-03-01-27f64393/src/http/transport-curl.cc:20: /builder/shared-workdir/build/sdk/staging_dir/target-arm_cortex-a7+vfpv4_musl_eabi/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-arm_cortex-a7+vfpv4_musl_eabi/ipfs-http-client-2021-03-01-27f64393/src/http/transport-curl.cc: In lambda function: /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a7+vfpv4_musl_eabi/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-arm_cortex-a7+vfpv4_musl_eabi/ipfs-http-client-2021-03-01-27f64393/src/http/transport-curl.cc:20: /builder/shared-workdir/build/sdk/staging_dir/target-arm_cortex-a7+vfpv4_musl_eabi/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-arm_cortex-a7+vfpv4_musl_eabi/ipfs-http-client-2021-03-01-27f64393/src/http/transport-curl.cc:20: /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a7+vfpv4_musl_eabi/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-arm_cortex-a7+vfpv4_musl_eabi/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-arm_cortex-a7+vfpv4_musl_eabi/ipfs-http-client-2021-03-01-27f64393/src/http/transport-curl.cc:20: /builder/shared-workdir/build/sdk/staging_dir/target-arm_cortex-a7+vfpv4_musl_eabi/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-arm_cortex-a7+vfpv4_musl_eabi/ipfs-http-client-2021-03-01-27f64393/.built] Error 1 time: package/feeds/packages/ipfs-http-client/compile#11.82#1.00#14.20