Applying ./patches/01-remove-libxml-dependency.patch using plaintext: patching file CMakeLists.txt patching file README.md patching file SpeedTest.cpp patching file SpeedTest.h CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 2.8.12 will be removed from a future version of CMake. Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions. -- The C compiler identification is GNU 12.3.0 -- The CXX compiler identification is GNU 12.3.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /builder/shared-workdir/build/sdk/staging_dir/toolchain-mipsel_24kc+24kf_gcc-12.3.0_musl/bin/mipsel-openwrt-linux-musl-gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- 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_24kc+24kf_gcc-12.3.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_24kc+24kf_musl/usr/lib/libcurl.so (found version "8.1.1") -- Found OpenSSL: /builder/shared-workdir/build/sdk/staging_dir/target-mipsel_24kc+24kf_musl/usr/lib/libcrypto.so (found version "3.0.8") -- Configuring done (3.1s) -- Generating done (0.0s) CMake Warning: Manually-specified variables were not used by the project: CMAKE_ASM_COMPILER CMAKE_ASM_COMPILER_LAUNCHER 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 CMAKE_SHARED_LINKER_FLAGS DL_LIBRARY -- Build files have been written to: /builder/shared-workdir/build/sdk/build_dir/target-mipsel_24kc+24kf_musl/speedtestpp-1.14 ninja: Entering directory `/builder/shared-workdir/build/sdk/build_dir/target-mipsel_24kc+24kf_musl/speedtestpp-1.14' [1/5] Building CXX object CMakeFiles/SpeedTest.dir/main.cpp.o [2/5] Building CXX object CMakeFiles/SpeedTest.dir/SpeedTest.cpp.o [3/5] Building CXX object CMakeFiles/SpeedTest.dir/SpeedTestClient.cpp.o [4/5] Building CXX object CMakeFiles/SpeedTest.dir/MD5Util.cpp.o /builder/shared-workdir/build/sdk/build_dir/target-mipsel_24kc+24kf_musl/speedtestpp-1.14/MD5Util.cpp: In static member function 'static std::string MD5Util::hexDigest(const std::string&)': /builder/shared-workdir/build/sdk/build_dir/target-mipsel_24kc+24kf_musl/speedtestpp-1.14/MD5Util.cpp:12:13: warning: 'int MD5_Init(MD5_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 12 | MD5_Init(&ctx); | ~~~~~~~~^~~~~~ In file included from /builder/shared-workdir/build/sdk/build_dir/target-mipsel_24kc+24kf_musl/speedtestpp-1.14/MD5Util.h:14, from /builder/shared-workdir/build/sdk/build_dir/target-mipsel_24kc+24kf_musl/speedtestpp-1.14/MD5Util.cpp:6: /builder/shared-workdir/build/sdk/staging_dir/target-mipsel_24kc+24kf_musl/usr/include/openssl/md5.h:49:27: note: declared here 49 | OSSL_DEPRECATEDIN_3_0 int MD5_Init(MD5_CTX *c); | ^~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-mipsel_24kc+24kf_musl/speedtestpp-1.14/MD5Util.cpp:13:15: warning: 'int MD5_Update(MD5_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 13 | MD5_Update(&ctx, str.c_str(), str.size()); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-mipsel_24kc+24kf_musl/usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-mipsel_24kc+24kf_musl/speedtestpp-1.14/MD5Util.cpp:14:14: warning: 'int MD5_Final(unsigned char*, MD5_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 14 | MD5_Final(digest, &ctx); | ~~~~~~~~~^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-mipsel_24kc+24kf_musl/usr/include/openssl/md5.h:51:27: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 int MD5_Final(unsigned char *md, MD5_CTX *c); | ^~~~~~~~~ [5/5] Linking CXX executable SpeedTest FAILED: SpeedTest : && /builder/shared-workdir/build/sdk/staging_dir/toolchain-mipsel_24kc+24kf_gcc-12.3.0_musl/bin/mipsel-openwrt-linux-musl-g++ -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-mipsel_24kc+24kf_musl/speedtestpp-1.14=speedtestpp-1.14 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -mips16 -minterlink-mips16 -std=c++11 -pedantic -Wall -Wno-unused-result -DNDEBUG -L/builder/shared-workdir/build/sdk/staging_dir/toolchain-mipsel_24kc+24kf_gcc-12.3.0_musl/usr/lib -L/builder/shared-workdir/build/sdk/staging_dir/toolchain-mipsel_24kc+24kf_gcc-12.3.0_musl/lib -znow -zrelro -rdynamic CMakeFiles/SpeedTest.dir/main.cpp.o CMakeFiles/SpeedTest.dir/SpeedTest.cpp.o CMakeFiles/SpeedTest.dir/SpeedTestClient.cpp.o CMakeFiles/SpeedTest.dir/MD5Util.cpp.o -o SpeedTest -lcurl -lpthread -lssl -lcrypto && : /builder/shared-workdir/build/sdk/staging_dir/toolchain-mipsel_24kc+24kf_gcc-12.3.0_musl/bin/../lib/gcc/mipsel-openwrt-linux-musl/12.3.0/../../../../mipsel-openwrt-linux-musl/bin/ld: BFD (GNU Binutils) 2.40.0 assertion fail elfxx-mips.c:11278 collect2: error: ld returned 1 exit status ninja: build stopped: subcommand failed. make[3]: *** [Makefile:45: /builder/shared-workdir/build/sdk/build_dir/target-mipsel_24kc+24kf_musl/speedtestpp-1.14/.built] Error 1 time: package/feeds/packages/speedtestpp/compile#9.65#1.10#14.57