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-arm_cortex-a9_gcc-12.3.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-a9_musl_eabi/usr/lib/libcurl.so (found version "8.0.1") -- Configuring done (3.7s) -- 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-arm_cortex-a9_musl_eabi/ipfs-http-client-2021-03-01-27f64393 ninja: Entering directory `/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9_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-a9_gcc-12.3.0_musl_eabi/arm-openwrt-linux-muslgnueabi/include/c++/12.3.0/map:60, from /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9_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-a9_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-a9_musl_eabi/ipfs-http-client-2021-03-01-27f64393/src/client.cc:20: /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a9_gcc-12.3.0_musl_eabi/arm-openwrt-linux-muslgnueabi/include/c++/12.3.0/bits/stl_tree.h: In member function 'std::pair std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_get_insert_hint_unique_pos(const_iterator, const key_type&) [with _Key = std::__cxx11::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-a9_gcc-12.3.0_musl_eabi/arm-openwrt-linux-muslgnueabi/include/c++/12.3.0/bits/stl_tree.h:2211: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 2211 | _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>:: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9_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::__cxx11::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-a9_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-a9_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-a9_gcc-12.3.0_musl_eabi/arm-openwrt-linux-muslgnueabi/include/c++/12.3.0/string:50, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a9_gcc-12.3.0_musl_eabi/arm-openwrt-linux-muslgnueabi/include/c++/12.3.0/bits/locale_classes.h:40, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a9_gcc-12.3.0_musl_eabi/arm-openwrt-linux-muslgnueabi/include/c++/12.3.0/bits/ios_base.h:41, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a9_gcc-12.3.0_musl_eabi/arm-openwrt-linux-muslgnueabi/include/c++/12.3.0/ios:42, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a9_gcc-12.3.0_musl_eabi/arm-openwrt-linux-muslgnueabi/include/c++/12.3.0/ostream:38, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a9_gcc-12.3.0_musl_eabi/arm-openwrt-linux-muslgnueabi/include/c++/12.3.0/iostream:39, from /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9_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-a9_musl_eabi/ipfs-http-client-2021-03-01-27f64393/include/ipfs/client.h:23: /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a9_gcc-12.3.0_musl_eabi/arm-openwrt-linux-muslgnueabi/include/c++/12.3.0/bits/stl_algobase.h: In function '_OI std::move(_II, _II, _OI) [with _II = __gnu_cxx::__normal_iterator*, vector, allocator > > >; _OI = back_insert_iterator, allocator > > >]': /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a9_gcc-12.3.0_musl_eabi/arm-openwrt-linux-muslgnueabi/include/c++/12.3.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-a9_gcc-12.3.0_musl_eabi/arm-openwrt-linux-muslgnueabi/include/c++/12.3.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-a9_gcc-12.3.0_musl_eabi/arm-openwrt-linux-muslgnueabi/include/c++/12.3.0/vector:70, from /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9_musl_eabi/ipfs-http-client-2021-03-01-27f64393/include/ipfs/http/transport.h:25: /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a9_gcc-12.3.0_musl_eabi/arm-openwrt-linux-muslgnueabi/include/c++/12.3.0/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(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-a9_gcc-12.3.0_musl_eabi/arm-openwrt-linux-muslgnueabi/include/c++/12.3.0/bits/vector.tcc:439:7: note: parameter passing for argument of type 'std::vector, std::allocator > >::iterator' changed in GCC 7.1 439 | vector<_Tp, _Alloc>:: | ^~~~~~~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a9_gcc-12.3.0_musl_eabi/arm-openwrt-linux-muslgnueabi/include/c++/12.3.0/vector:64: In member function 'void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = nlohmann::basic_json<>; _Alloc = std::allocator >]', inlined from 'void nlohmann::basic_json::push_back(const nlohmann::basic_json&) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::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]' at /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9_musl_eabi/ipfs-http-client-2021-03-01-27f64393/_deps/json-src/include/nlohmann/json.hpp:21765:33: /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a9_gcc-12.3.0_musl_eabi/arm-openwrt-linux-muslgnueabi/include/c++/12.3.0/bits/stl_vector.h:1287:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator*, std::vector, std::allocator > > >' changed in GCC 7.1 1287 | _M_realloc_insert(end(), __x); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a9_gcc-12.3.0_musl_eabi/arm-openwrt-linux-muslgnueabi/include/c++/12.3.0/bits/stl_tree.h: In member function 'std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::iterator std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_emplace_hint_unique(const_iterator, _Args&& ...) [with _Args = {const std::piecewise_construct_t&, std::tuple, std::allocator >&>, std::tuple<>}; _Key = std::__cxx11::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-a9_gcc-12.3.0_musl_eabi/arm-openwrt-linux-muslgnueabi/include/c++/12.3.0/bits/stl_tree.h:2459:7: 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 2459 | _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>:: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a9_gcc-12.3.0_musl_eabi/arm-openwrt-linux-muslgnueabi/include/c++/12.3.0/map:61: /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a9_gcc-12.3.0_musl_eabi/arm-openwrt-linux-muslgnueabi/include/c++/12.3.0/bits/stl_map.h: In member function 'std::map<_Key, _Tp, _Compare, _Alloc>::mapped_type& std::map<_Key, _Tp, _Compare, _Alloc>::operator[](const key_type&) [with _Key = std::__cxx11::basic_string; _Tp = nlohmann::basic_json<>; _Compare = std::less >; _Alloc = std::allocator, nlohmann::basic_json<> > >]': /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a9_gcc-12.3.0_musl_eabi/arm-openwrt-linux-muslgnueabi/include/c++/12.3.0/bits/stl_map.h:511:44: 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 511 | __i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 512 | std::tuple(__k), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 513 | std::tuple<>()); | ~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a9_gcc-12.3.0_musl_eabi/arm-openwrt-linux-muslgnueabi/include/c++/12.3.0/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(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-a9_gcc-12.3.0_musl_eabi/arm-openwrt-linux-muslgnueabi/include/c++/12.3.0/bits/vector.tcc:439:7: note: parameter passing for argument of type 'std::vector, std::allocator > >::iterator' changed in GCC 7.1 439 | vector<_Tp, _Alloc>:: | ^~~~~~~~~~~~~~~~~~~ In member function 'void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {nlohmann::detail::value_t}; _Tp = nlohmann::basic_json<>; _Alloc = std::allocator >]', inlined from 'BasicJsonType* nlohmann::detail::json_sax_dom_parser::handle_value(Value&&) [with Value = nlohmann::detail::value_t; BasicJsonType = nlohmann::basic_json<>]' at /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9_musl_eabi/ipfs-http-client-2021-03-01-27f64393/_deps/json-src/include/nlohmann/json.hpp:5479:58: /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a9_gcc-12.3.0_musl_eabi/arm-openwrt-linux-muslgnueabi/include/c++/12.3.0/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator*, std::vector, std::allocator > > >' changed in GCC 7.1 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a9_gcc-12.3.0_musl_eabi/arm-openwrt-linux-muslgnueabi/include/c++/12.3.0/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {std::__cxx11::basic_string, std::allocator >&}; _Tp = nlohmann::basic_json<>; _Alloc = std::allocator >]': /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a9_gcc-12.3.0_musl_eabi/arm-openwrt-linux-muslgnueabi/include/c++/12.3.0/bits/vector.tcc:439:7: note: parameter passing for argument of type 'std::vector, std::allocator > >::iterator' changed in GCC 7.1 439 | vector<_Tp, _Alloc>:: | ^~~~~~~~~~~~~~~~~~~ In member function 'void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {std::__cxx11::basic_string, std::allocator >&}; _Tp = nlohmann::basic_json<>; _Alloc = std::allocator >]', inlined from 'BasicJsonType* nlohmann::detail::json_sax_dom_parser::handle_value(Value&&) [with Value = std::__cxx11::basic_string&; BasicJsonType = nlohmann::basic_json<>]' at /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9_musl_eabi/ipfs-http-client-2021-03-01-27f64393/_deps/json-src/include/nlohmann/json.hpp:5479:58, inlined from 'bool nlohmann::detail::json_sax_dom_parser::string(string_t&) [with BasicJsonType = nlohmann::basic_json<>]' at /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9_musl_eabi/ipfs-http-client-2021-03-01-27f64393/_deps/json-src/include/nlohmann/json.hpp:5385:21, inlined from 'bool nlohmann::detail::parser::sax_parse_internal(SAX*) [with SAX = nlohmann::detail::json_sax_dom_parser >; BasicJsonType = nlohmann::basic_json<>; InputAdapterType = nlohmann::detail::iterator_input_adapter<__gnu_cxx::__normal_iterator > >]' at /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9_musl_eabi/ipfs-http-client-2021-03-01-27f64393/_deps/json-src/include/nlohmann/json.hpp:10428:29: /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a9_gcc-12.3.0_musl_eabi/arm-openwrt-linux-muslgnueabi/include/c++/12.3.0/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator*, std::vector, std::allocator > > >' changed in GCC 7.1 123 | _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-a9_gcc-12.3.0_musl_eabi/bin/arm-openwrt-linux-muslgnueabi-g++ -Dipfs_http_client_EXPORTS -I/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9_musl_eabi/ipfs-http-client-2021-03-01-27f64393/include -I/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9_musl_eabi/ipfs-http-client-2021-03-01-27f64393/_deps/json-src/include -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -mfloat-abi=soft -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9_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 -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-arm_cortex-a9_musl_eabi/ipfs-http-client-2021-03-01-27f64393/src/http/transport-curl.cc /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9_musl_eabi/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-arm_cortex-a9_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-a9_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-a9_musl_eabi/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-arm_cortex-a9_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(), | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-arm_cortex-a9_musl_eabi/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-arm_cortex-a9_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(), | ^~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-arm_cortex-a9_musl_eabi/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-arm_cortex-a9_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(), | ^~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-arm_cortex-a9_musl_eabi/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-arm_cortex-a9_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); | ^~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-arm_cortex-a9_musl_eabi/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-arm_cortex-a9_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); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-arm_cortex-a9_musl_eabi/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-arm_cortex-a9_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(), | ^~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-arm_cortex-a9_musl_eabi/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-arm_cortex-a9_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(), | ^~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-arm_cortex-a9_musl_eabi/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-arm_cortex-a9_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(), | ^~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-arm_cortex-a9_musl_eabi/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-arm_cortex-a9_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); | ^~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-arm_cortex-a9_musl_eabi/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-arm_cortex-a9_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); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-arm_cortex-a9_musl_eabi/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-arm_cortex-a9_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-a9_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); | ~~~~~~~~~~~~~^~~ /builder/shared-workdir/build/sdk/staging_dir/target-arm_cortex-a9_musl_eabi/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-arm_cortex-a9_musl_eabi/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-arm_cortex-a9_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); | ^~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-arm_cortex-a9_musl_eabi/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-arm_cortex-a9_musl_eabi/ipfs-http-client-2021-03-01-27f64393/.built] Error 1 time: package/feeds/packages/ipfs-http-client/compile#7.61#0.48#16.71