>>> megasdk: Building community/megasdk 4.17.1d-r1 (using abuild 3.16.0_rc4-r0) started Fri, 07 Nov 2025 01:55:10 +0000 >>> megasdk: Validating /home/buildozer/aports/community/megasdk/APKBUILD... >>> megasdk: Analyzing dependencies... >>> megasdk: Installing for build: build-base c-ares-dev crypto++-dev curl-dev icu-dev libsodium-dev sqlite-dev autoconf automake libtool linux-headers openssl-dev gtest-dev ( 1/37) Installing c-ares-dev (1.34.5-r0) ( 2/37) Installing crypto++ (8.9.0-r1) ( 3/37) Installing crypto++-dev (8.9.0-r1) ( 4/37) Installing brotli (1.1.0-r2) ( 5/37) Installing brotli-dev (1.1.0-r2) ( 6/37) Installing libidn2-dev (2.3.8-r0) ( 7/37) Installing libpsl-utils (0.21.5-r3) ( 8/37) Installing libpsl-dev (0.21.5-r3) ( 9/37) Installing nghttp2-dev (1.68.0-r0) (10/37) Installing nghttp3-dev (1.11.0-r0) (11/37) Installing openssl-dev (3.5.4-r0) (12/37) Installing zlib-dev (1.3.1-r2) (13/37) Installing zstd (1.5.7-r2) (14/37) Installing zstd-dev (1.5.7-r2) (15/37) Installing curl-dev (8.17.0-r0) (16/37) Installing icu-data-en (76.1-r1) icu-data-en-76.1-r1.post-install: Executing script... icu-data-en-76.1-r1.post-install: * icu-data-en-76.1-r1.post-install: * If you need ICU with non-English locales and legacy charset support, install icu-data-en-76.1-r1.post-install: * package icu-data-full. icu-data-en-76.1-r1.post-install: * (17/37) Installing icu-libs (76.1-r1) (18/37) Installing icu (76.1-r1) (19/37) Installing icu-dev (76.1-r1) (20/37) Installing libsodium (1.0.20-r0) (21/37) Installing libsodium-dev (1.0.20-r0) (22/37) Installing sqlite (3.51.0-r0) (23/37) Installing sqlite-dev (3.51.0-r0) (24/37) Installing m4 (1.4.20-r0) (25/37) Installing perl (5.42.0-r0) (26/37) Installing autoconf (2.72-r1) (27/37) Installing automake (1.18.1-r0) (28/37) Installing libltdl (2.5.4-r1) (29/37) Installing libtool (2.5.4-r1) (30/37) Installing linux-headers (6.16.12-r0) (31/37) Installing gtest (1.17.0-r0) (32/37) Installing gmock (1.17.0-r0) (33/37) Installing gtest-dev (1.17.0-r0) (34/37) Installing .makedepends-megasdk (20251107.015524) (35/37) Installing perl-error (0.17030-r0) (36/37) Installing perl-git (2.51.2-r0) (37/37) Installing git-perl (2.51.2-r0) busybox-1.37.0-r24.trigger: Executing script... OK: 663 MiB in 188 packages >>> megasdk: Cleaning up srcdir >>> megasdk: Cleaning up pkgdir >>> megasdk: Cleaning up tmpdir >>> megasdk: Fetching https://distfiles.alpinelinux.org/distfiles/v3.23/megasdk-4.17.1d.tar.gz /var/cache/distfiles/v3.23/megasdk-4.17.1d.tar.gz: OK /home/buildozer/aports/community/megasdk/0001-SDK-2974-fix-glibcxx-assertions-on-unit-test.patch: OK /home/buildozer/aports/community/megasdk/fix-null-to-bool-cast.patch: OK /home/buildozer/aports/community/megasdk/fix-missing-headers.patch: OK /home/buildozer/aports/community/megasdk/fix-tests-include-iomanip.patch: OK >>> megasdk: Fetching https://distfiles.alpinelinux.org/distfiles/v3.23/megasdk-4.17.1d.tar.gz /var/cache/distfiles/v3.23/megasdk-4.17.1d.tar.gz: OK /home/buildozer/aports/community/megasdk/0001-SDK-2974-fix-glibcxx-assertions-on-unit-test.patch: OK /home/buildozer/aports/community/megasdk/fix-null-to-bool-cast.patch: OK /home/buildozer/aports/community/megasdk/fix-missing-headers.patch: OK /home/buildozer/aports/community/megasdk/fix-tests-include-iomanip.patch: OK >>> megasdk: Unpacking /var/cache/distfiles/v3.23/megasdk-4.17.1d.tar.gz... >>> megasdk: 0001-SDK-2974-fix-glibcxx-assertions-on-unit-test.patch patching file tests/unit/utils.cpp >>> megasdk: fix-null-to-bool-cast.patch patching file src/posix/net.cpp >>> megasdk: fix-missing-headers.patch patching file include/Makefile.am >>> megasdk: fix-tests-include-iomanip.patch patching file tests/integration/SdkTest_test.cpp patching file tests/unit/utils_test.cpp autoreconf: export WARNINGS= autoreconf: Entering directory '.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force -I m4 autoreconf: configure.ac: tracing autoreconf: running: libtoolize --copy --force libtoolize: putting auxiliary files in '.'. libtoolize: copying file './ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. libtoolize: copying file 'm4/libtool.m4' libtoolize: copying file 'm4/ltoptions.m4' libtoolize: copying file 'm4/ltsugar.m4' libtoolize: copying file 'm4/ltversion.m4' libtoolize: copying file 'm4/lt~obsolete.m4' autoreconf: configure.ac: not using Intltool autoreconf: configure.ac: not using Gtkdoc autoreconf: running: aclocal --force -I m4 autoreconf: running: /usr/bin/autoconf --force configure.ac:93: warning: The macro 'AC_PROG_LIBTOOL' is obsolete. configure.ac:93: You should run autoupdate. m4/libtool.m4:100: AC_PROG_LIBTOOL is expanded from... configure.ac:93: the top level configure.ac:101: warning: The macro 'AC_LANG_CPLUSPLUS' is obsolete. configure.ac:101: You should run autoupdate. ./lib/autoconf/c.m4:270: AC_LANG_CPLUSPLUS is expanded from... configure.ac:101: the top level configure.ac:107: warning: The macro 'AC_STDC_HEADERS' is obsolete. configure.ac:107: You should run autoupdate. ./lib/autoconf/oldnames.m4:75: AC_STDC_HEADERS is expanded from... configure.ac:107: the top level configure.ac:107: warning: The macro 'AC_HEADER_STDC' is obsolete. configure.ac:107: You should run autoupdate. ./lib/autoconf/headers.m4:663: AC_HEADER_STDC is expanded from... ./lib/autoconf/oldnames.m4:75: AC_STDC_HEADERS is expanded from... configure.ac:107: the top level configure.ac:108: warning: The macro 'AC_HEADER_STDC' is obsolete. configure.ac:108: You should run autoupdate. ./lib/autoconf/headers.m4:663: AC_HEADER_STDC is expanded from... configure.ac:108: the top level autoreconf: running: /usr/bin/autoheader --force autoreconf: running: automake --add-missing --copy --force-missing configure.ac:54: installing './compile' configure.ac:58: installing './config.guess' configure.ac:58: installing './config.sub' configure.ac:56: installing './install-sh' configure.ac:56: installing './missing' Makefile.am: installing './depcomp' bindings/python/include.am:2: installing './py-compile' Makefile.am:63: 'bindings/python/include.am' included from here parallel-tests: installing './test-driver' autoreconf: Leaving directory '.' checking for powerpc64le-alpine-linux-musl-gcc... cc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether cc accepts -g... yes checking for cc option to enable C11 features... none needed checking whether cc understands -c and -o together... yes checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for wchar.h... yes checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking whether _XOPEN_SOURCE should be defined... no checking for a BSD-compatible install... /usr/bin/install -c checking whether sleep supports fractional seconds... yes checking filesystem timestamp resolution... 2 checking whether build environment is sane... yes checking for a race-free mkdir -p... /bin/mkdir -p checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking whether make sets $(MAKE)... yes checking whether make supports the include directive... yes (GNU style) checking whether make supports nested variables... yes checking xargs -n works... yes checking whether UID '1000' is supported by ustar format... yes checking whether GID '1000' is supported by ustar format... yes checking how to create a ustar tar archive... gnutar checking dependency style of cc... gcc3 checking build system type... powerpc64le-alpine-linux-musl checking host system type... powerpc64le-alpine-linux-musl checking how to print strings... printf checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fgrep... /bin/grep -F checking for ld used by cc... /usr/powerpc64le-alpine-linux-musl/bin/ld checking if the linker (/usr/powerpc64le-alpine-linux-musl/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 98304 checking how to convert powerpc64le-alpine-linux-musl file names to powerpc64le-alpine-linux-musl format... func_convert_file_noop checking how to convert powerpc64le-alpine-linux-musl file names to toolchain format... func_convert_file_noop checking for /usr/powerpc64le-alpine-linux-musl/bin/ld option to reload object files... -r checking for file... file checking for powerpc64le-alpine-linux-musl-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for powerpc64le-alpine-linux-musl-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for powerpc64le-alpine-linux-musl-ranlib... no checking for ranlib... ranlib checking for powerpc64le-alpine-linux-musl-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for powerpc64le-alpine-linux-musl-strip... no checking for strip... strip checking command to parse /usr/bin/nm -B output from cc object... ok checking for sysroot... no checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for powerpc64le-alpine-linux-musl-mt... no checking for mt... no checking if : is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if cc supports -fno-rtti -fno-exceptions... no checking for cc option to produce PIC... -fPIC -DPIC checking if cc PIC flag -fPIC -DPIC works... yes checking if cc static flag -static works... yes checking if cc supports -c -o file.o... yes checking if cc supports -c -o file.o... (cached) yes checking whether the cc linker (/usr/powerpc64le-alpine-linux-musl/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for size_t... yes checking for uint8_t... yes checking for uint16_t... yes checking for uint32_t... yes checking for uint64_t... yes checking for pid_t... yes checking for off_t... yes checking for ssize_t... yes checking for powerpc64le-alpine-linux-musl-g++... powerpc64le-alpine-linux-musl-g++ checking whether the compiler supports GNU Objective C++... no checking whether powerpc64le-alpine-linux-musl-g++ accepts -g... no checking dependency style of powerpc64le-alpine-linux-musl-g++... gcc3 checking whether the compiler supports GNU C++... yes checking whether c++ accepts -g... yes checking for c++ option to enable C++11 features... none needed checking dependency style of c++... gcc3 checking how to run the C++ preprocessor... c++ -E checking for ld used by c++... /usr/powerpc64le-alpine-linux-musl/bin/ld checking if the linker (/usr/powerpc64le-alpine-linux-musl/bin/ld) is GNU ld... yes checking whether the c++ linker (/usr/powerpc64le-alpine-linux-musl/bin/ld) supports shared libraries... yes checking for c++ option to produce PIC... -fPIC -DPIC checking if c++ PIC flag -fPIC -DPIC works... yes checking if c++ static flag -static works... yes checking if c++ supports -c -o file.o... yes checking if c++ supports -c -o file.o... (cached) yes checking whether the c++ linker (/usr/powerpc64le-alpine-linux-musl/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether build environment is sane... yes checking for cppcheck... no checking whether c++ supports C++11 features by default... yes checking for egrep... (cached) /bin/grep -E checking for egrep... (cached) /bin/grep -E checking for _Bool... no checking for stdbool.h that conforms to C99 or later... yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for cc option to enable large file support... none needed checking for declarations of fseeko and ftello... yes checking for off_t... (cached) yes checking size of uint64_t... 8 checking whether struct tm is in sys/time.h or time.h... time.h checking for off_t... (cached) yes checking for size_t... (cached) yes checking for arpa/inet.h... yes checking for netdb.h... yes checking for netinet/in.h... yes checking for stddef.h... yes checking for stdint.h... (cached) yes checking for stdlib.h... (cached) yes checking for sys/socket.h... yes checking for sys/timeb.h... yes checking for htonl... no checking for glob.h... yes checking for malloc.h... yes checking for sys/malloc.h... no checking for malloc/malloc.h... no checking whether C++ compiler accepts -fPIC... yes checking whether the linker accepts -fPIC... yes checking for dlopen in -ldl... yes checking for sys/inotify.h... yes checking for mcheck.h... no checking for inotify_init1... yes checking for fdopendir... yes checking for select... yes checking for sendfile in -lsendfile... no checking for socket in -lsocket... no checking for clock_gettime in -lrt... yes checking platform options... no checking for pthread_create in -lpthread... yes checking if building Java bindings... no checking for libcryptopp... checking for cryptopp/cryptlib.h... yes checking for main in -lcryptopp... yes checking for libsodium... checking for sodium.h... yes checking for sodium_init in -lsodium... yes checking for libpcrecpp... checking for libraw... checking for libraw/libraw.h... no configure: libraw/libraw.h header not found or not usable checking for libuv... --with-libuv not specified checking for uv.h... no checking for zlib... --with-zlib not specified checking for zlib.h... yes checking for main in -lz... yes checking for SQLite... yes checking for sqlite3.h... yes checking for sqlite3_open in -lsqlite3... yes checking for ffmpeg... checking for libzen... --with-libzen not specified checking for ZenLib/Ztring.h... no checking for pthread_create in -lpthread... (cached) yes libmediainfo requires libzen checking for aio_write in -lrt... yes checking for OpenSSL... --with-openssl not specified checking for openssl/ssl.h... yes checking for SSL_new in -lssl... yes checking for c-ares... checking for ares.h... yes checking for ares_library_init in -lcares... yes checking for curl/curl.h... yes checking for main in -lcurl... yes checking whether cURL is built with OpenSSL support... yes checking if building example applications... no checking for FreeImage... no checking for PDFium... no checking if building tests... yes checking if building Python bindings... yes checking if building PHP bindings... no checking for main in -lstdc++fs... yes checking for powerpc64le-alpine-linux-musl-doxygen... no checking for doxygen... no configure: WARNING: doxygen not found - will not generate any doxygen documentation checking for powerpc64le-alpine-linux-musl-perl... no checking for perl... /usr/bin/perl checking that generated files are newer than configure... done checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating include/Makefile config.status: creating libmega.pc config.status: creating doc/Doxyfile config.status: creating include/mega/config.h config.status: executing depfiles commands config.status: executing libtool commands configure: Configured to build Mega SDK: SDK version: 4.17.1 Host setup: powerpc64le-alpine-linux-musl Install prefix: /usr Compiler: c++ CXXFLAGS: -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_FAST -flto=auto -std=c++14 -Wall -Wextra -Wconversion -Wno-unused-parameter -DNDEBUG=1 -fPIC -DMEGA_USE_C_ARES LDFLAGS: -lstdc++fs -lrt -pthread -Wl,--as-needed,-O1,--sort-common -Wl,-z,pack-relative-relocs gcc hardening: no debug: no static: no sync subsystem: yes chat: no MEGA API yes MEGA API RPC no example apps: no Rot Perf Logger: no Drive Notif: no MEGA_USE_C_ARES: yes inotify: yes posix threads: yes Python bindings: no Python3 bindings: no PHP bindings: no SWIG_FLAGS_PHP: Java bindings: no OpenSSL: -lssl -lcrypto Crypto++: -lcryptopp Sodium: -lsodium Zlib: -lz SQLite3: -lsqlite3 c-ares: -lcares cURL: -lcurl FreeImage: PDFium: Readline: Termcap: PCRE: LIBUV: LIBRAW: LIBMEDIAINFO: FFMPEG: make all-recursive make[1]: Entering directory '/home/buildozer/aports/community/megasdk/src/sdk-4.17.1d' Making all in include make[2]: Entering directory '/home/buildozer/aports/community/megasdk/src/sdk-4.17.1d/include' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/home/buildozer/aports/community/megasdk/src/sdk-4.17.1d/include' make[2]: Entering directory '/home/buildozer/aports/community/megasdk/src/sdk-4.17.1d' CXX src/libmega_la-mega_utf8proc.lo CXX src/libmega_la-mega_ccronexpr.lo CXX src/libmega_la-mega_evt_tls.lo CXX src/libmega_la-pendingcontactrequest.lo CXX src/libmega_la-textchat.lo CXX src/libmega_la-mega_zxcvbn.lo CXX src/libmega_la-megaapi_impl.lo CXX src/libmega_la-megaapi.lo CXX src/libmega_la-heartbeats.lo CXX src/crypto/libmega_la-sodium.lo CXX tests/unit/test_unit-AttrMap_test.o CXX tests/unit/test_unit-ChunkMacMap_test.o CXX tests/unit/test_unit-Commands_test.o CXX tests/unit/test_unit-Crypto_test.o CXX tests/unit/test_unit-FileFingerprint_test.o CXX tests/unit/test_unit-File_test.o CXX tests/unit/test_unit-FsNode.o CXX tests/unit/test_unit-Logging_test.o CXX tests/unit/test_unit-main.o CXX tests/unit/test_unit-MediaProperties_test.o CXX tests/unit/test_unit-MegaApi_test.o CXX tests/unit/test_unit-PayCrypter_test.o CXX tests/unit/test_unit-PendingContactRequest_test.o CXX tests/unit/test_unit-Serialization_test.o CXX tests/unit/test_unit-Share_test.o CXX tests/unit/test_unit-Sync_test.o CXX tests/unit/test_unit-TextChat_test.o CXX tests/unit/test_unit-Transfer_test.o CXX tests/unit/test_unit-User_test.o CXX tests/unit/test_unit-utils.o CXX tests/unit/test_unit-utils_test.o CXX src/libmega_la-megaclient.lo CXX src/libmega_la-attrmap.lo CXX src/libmega_la-autocomplete.lo CXX src/libmega_la-backofftimer.lo CXX src/libmega_la-base64.lo CXX src/libmega_la-command.lo CXX src/libmega_la-commands.lo CXX src/libmega_la-db.lo CXX src/libmega_la-fileattributefetch.lo CXX src/libmega_la-file.lo CXX src/libmega_la-filefingerprint.lo CXX src/libmega_la-filesystem.lo CXX src/libmega_la-gfx.lo CXX src/libmega_la-http.lo CXX src/libmega_la-json.lo CXX src/libmega_la-mediafileattribute.lo CXX src/libmega_la-node.lo CXX src/libmega_la-pubkeyaction.lo CXX src/libmega_la-raid.lo CXX src/libmega_la-testhooks.lo CXX src/libmega_la-request.lo CXX src/libmega_la-serialize64.lo CXX src/libmega_la-nodemanager.lo CXX src/libmega_la-setandelement.lo CXX src/libmega_la-share.lo CXX src/libmega_la-sharenodekeys.lo CXX src/libmega_la-sync.lo CXX src/libmega_la-transfer.lo CXX src/libmega_la-transferslot.lo CXX src/libmega_la-treeproc.lo CXX src/libmega_la-user.lo CXX src/libmega_la-useralerts.lo CXX src/libmega_la-utils.lo In file included from /usr/include/gtest/gtest-message.h:57, from /usr/include/gtest/gtest-assertion-result.h:46, from /usr/include/gtest/gtest.h:63, from tests/unit/ChunkMacMap_test.cpp:19: /usr/include/gtest/internal/gtest-port.h:273:2: error: #error C++ versions less than C++17 are not supported. 273 | #error C++ versions less than C++17 are not supported. | ^~~~~ In file included from /usr/include/gtest/gtest-message.h:57, from /usr/include/gtest/gtest-assertion-result.h:46, from /usr/include/gtest/gtest.h:63, from tests/unit/AttrMap_test.cpp:19: /usr/include/gtest/internal/gtest-port.h:273:2: error: #error C++ versions less than C++17 are not supported. 273 | #error C++ versions less than C++17 are not supported. | ^~~~~ In file included from /usr/include/gtest/gtest-message.h:57, from /usr/include/gtest/gtest-assertion-result.h:46, from /usr/include/gtest/gtest.h:63, from tests/unit/File_test.cpp:19: /usr/include/gtest/internal/gtest-port.h:273:2: error: #error C++ versions less than C++17 are not supported. 273 | #error C++ versions less than C++17 are not supported. | ^~~~~ In file included from /usr/include/gtest/gtest-message.h:57, from /usr/include/gtest/gtest-assertion-result.h:46, from /usr/include/gtest/gtest.h:63, from tests/unit/Share_test.cpp:19: /usr/include/gtest/internal/gtest-port.h:273:2: error: #error C++ versions less than C++17 are not supported. 273 | #error C++ versions less than C++17 are not supported. | ^~~~~ In file included from /usr/include/gtest/gtest-message.h:57, from /usr/include/gtest/gtest-assertion-result.h:46, from /usr/include/gtest/gtest.h:63, from tests/unit/Logging_test.cpp:18: /usr/include/gtest/internal/gtest-port.h:273:2: error: #error C++ versions less than C++17 are not supported. 273 | #error C++ versions less than C++17 are not supported. | ^~~~~ In file included from /usr/include/gtest/gtest-message.h:57, from /usr/include/gtest/gtest-assertion-result.h:46, from /usr/include/gtest/gtest.h:63, from tests/unit/TextChat_test.cpp:19: /usr/include/gtest/internal/gtest-port.h:273:2: error: #error C++ versions less than C++17 are not supported. 273 | #error C++ versions less than C++17 are not supported. | ^~~~~ In file included from /usr/include/gtest/gtest-message.h:57, from /usr/include/gtest/gtest-assertion-result.h:46, from /usr/include/gtest/gtest.h:63, from tests/unit/Commands_test.cpp:21: /usr/include/gtest/internal/gtest-port.h:273:2: error: #error C++ versions less than C++17 are not supported. 273 | #error C++ versions less than C++17 are not supported. | ^~~~~ CXX src/libmega_la-logging.lo In file included from /usr/include/gtest/gtest-message.h:57, from /usr/include/gtest/gtest-assertion-result.h:46, from /usr/include/gtest/gtest.h:63, from tests/unit/main.cpp:19: /usr/include/gtest/internal/gtest-port.h:273:2: error: #error C++ versions less than C++17 are not supported. 273 | #error C++ versions less than C++17 are not supported. | ^~~~~ In file included from /usr/include/gtest/gtest-message.h:57, from /usr/include/gtest/gtest-assertion-result.h:46, from /usr/include/gtest/gtest.h:63, from tests/unit/PendingContactRequest_test.cpp:19: /usr/include/gtest/internal/gtest-port.h:273:2: error: #error C++ versions less than C++17 are not supported. 273 | #error C++ versions less than C++17 are not supported. | ^~~~~ In file included from /usr/include/gtest/gtest-message.h:57, from /usr/include/gtest/gtest-assertion-result.h:46, from /usr/include/gtest/gtest.h:63, from tests/unit/User_test.cpp:19: /usr/include/gtest/internal/gtest-port.h:273:2: error: #error C++ versions less than C++17 are not supported. 273 | #error C++ versions less than C++17 are not supported. | ^~~~~ In file included from /usr/include/gtest/gtest-message.h:57, from /usr/include/gtest/gtest-assertion-result.h:46, from /usr/include/gtest/gtest.h:63, from tests/unit/Transfer_test.cpp:19: /usr/include/gtest/internal/gtest-port.h:273:2: error: #error C++ versions less than C++17 are not supported. 273 | #error C++ versions less than C++17 are not supported. | ^~~~~ In file included from /usr/include/gtest/gtest-message.h:57, from /usr/include/gtest/gtest-assertion-result.h:46, from /usr/include/gtest/gtest.h:63, from tests/unit/MediaProperties_test.cpp:21: /usr/include/gtest/internal/gtest-port.h:273:2: error: #error C++ versions less than C++17 are not supported. 273 | #error C++ versions less than C++17 are not supported. | ^~~~~ In file included from /usr/include/gmock/internal/gmock-port.h:58, from /usr/include/gmock/internal/gmock-internal-utils.h:50, from /usr/include/gmock/gmock-actions.h:146, from /usr/include/gmock/gmock.h:56, from tests/unit/Sync_test.cpp:22: /usr/include/gtest/internal/gtest-port.h:273:2: error: #error C++ versions less than C++17 are not supported. 273 | #error C++ versions less than C++17 are not supported. | ^~~~~ In file included from /usr/include/gtest/gtest-message.h:57, from /usr/include/gtest/gtest-assertion-result.h:46, from /usr/include/gtest/gtest.h:63, from tests/unit/utils_test.cpp:22: /usr/include/gtest/internal/gtest-port.h:273:2: error: #error C++ versions less than C++17 are not supported. 273 | #error C++ versions less than C++17 are not supported. | ^~~~~ In file included from /usr/include/gtest/gtest-message.h:57, from /usr/include/gtest/gtest-assertion-result.h:46, from /usr/include/gtest/gtest.h:63, from tests/unit/FileFingerprint_test.cpp:24: /usr/include/gtest/internal/gtest-port.h:273:2: error: #error C++ versions less than C++17 are not supported. 273 | #error C++ versions less than C++17 are not supported. | ^~~~~ In file included from /usr/include/gtest/gtest-message.h:57, from /usr/include/gtest/gtest-assertion-result.h:46, from /usr/include/gtest/gtest.h:63, from tests/unit/MegaApi_test.cpp:23: /usr/include/gtest/internal/gtest-port.h:273:2: error: #error C++ versions less than C++17 are not supported. 273 | #error C++ versions less than C++17 are not supported. | ^~~~~ In file included from /usr/include/gtest/gtest-message.h:57, from /usr/include/gtest/gtest-assertion-result.h:46, from /usr/include/gtest/gtest.h:63, from tests/unit/Serialization_test.cpp:24: /usr/include/gtest/internal/gtest-port.h:273:2: error: #error C++ versions less than C++17 are not supported. 273 | #error C++ versions less than C++17 are not supported. | ^~~~~ CXX src/libmega_la-waiterbase.lo In file included from /usr/include/gtest/gtest-message.h:57, from /usr/include/gtest/gtest-assertion-result.h:46, from /usr/include/gtest/gtest.h:63, from tests/unit/PayCrypter_test.cpp:20: /usr/include/gtest/internal/gtest-port.h:273:2: error: #error C++ versions less than C++17 are not supported. 273 | #error C++ versions less than C++17 are not supported. | ^~~~~ In file included from /usr/include/gtest/gtest-message.h:57, from /usr/include/gtest/gtest-assertion-result.h:46, from /usr/include/gtest/gtest.h:63, from tests/unit/Crypto_test.cpp:22: /usr/include/gtest/internal/gtest-port.h:273:2: error: #error C++ versions less than C++17 are not supported. 273 | #error C++ versions less than C++17 are not supported. | ^~~~~ In file included from /usr/include/gtest/gtest.h:67: /usr/include/gtest/gtest-param-test.h:483:56: error: missing template arguments before '(' token 483 | typename StdFunction = decltype(std::function(std::declval()))> | ^ /usr/include/gtest/gtest-param-test.h:493:56: error: missing template arguments before '(' token 493 | typename StdFunction = decltype(std::function(std::declval()))> | ^ In file included from /usr/include/gtest/gtest.h:67: /usr/include/gtest/gtest-param-test.h:483:56: error: missing template arguments before '(' token 483 | typename StdFunction = decltype(std::function(std::declval()))> | ^ /usr/include/gtest/gtest-param-test.h:493:56: error: missing template arguments before '(' token 493 | typename StdFunction = decltype(std::function(std::declval()))> | ^ In file included from /usr/include/gtest/gtest.h:67: /usr/include/gtest/gtest-param-test.h:483:56: error: missing template arguments before '(' token 483 | typename StdFunction = decltype(std::function(std::declval()))> | ^ /usr/include/gtest/gtest-param-test.h:493:56: error: missing template arguments before '(' token 493 | typename StdFunction = decltype(std::function(std::declval()))> | ^ In file included from /usr/include/gtest/gtest.h:67: /usr/include/gtest/gtest-param-test.h:483:56: error: missing template arguments before '(' token 483 | typename StdFunction = decltype(std::function(std::declval()))> | ^ /usr/include/gtest/gtest-param-test.h:493:56: error: missing template arguments before '(' token 493 | typename StdFunction = decltype(std::function(std::declval()))> | ^ In file included from /usr/include/gtest/gtest.h:67: /usr/include/gtest/gtest-param-test.h:483:56: error: missing template arguments before '(' token 483 | typename StdFunction = decltype(std::function(std::declval()))> | ^ /usr/include/gtest/gtest-param-test.h:493:56: error: missing template arguments before '(' token 493 | typename StdFunction = decltype(std::function(std::declval()))> | ^ In file included from /usr/include/gtest/gtest.h:67: /usr/include/gtest/gtest-param-test.h:483:56: error: missing template arguments before '(' token 483 | typename StdFunction = decltype(std::function(std::declval()))> | ^ /usr/include/gtest/gtest-param-test.h:493:56: error: missing template arguments before '(' token 493 | typename StdFunction = decltype(std::function(std::declval()))> | ^ In file included from /usr/include/gtest/gtest.h:67: /usr/include/gtest/gtest-param-test.h:483:56: error: missing template arguments before '(' token 483 | typename StdFunction = decltype(std::function(std::declval()))> | ^ In file included from /usr/include/gtest/gtest.h:67: /usr/include/gtest/gtest-param-test.h:483:56: error: missing template arguments before '(' token 483 | typename StdFunction = decltype(std::function(std::declval()))> | ^ /usr/include/gtest/gtest-param-test.h:493:56: error: missing template arguments before '(' token 493 | typename StdFunction = decltype(std::function(std::declval()))> | ^ /usr/include/gtest/gtest-param-test.h:493:56: error: missing template arguments before '(' token 493 | typename StdFunction = decltype(std::function(std::declval()))> | ^ In file included from /usr/include/gtest/gtest.h:67: /usr/include/gtest/gtest-param-test.h:483:56: error: missing template arguments before '(' token 483 | typename StdFunction = decltype(std::function(std::declval()))> | ^ /usr/include/gtest/gtest-param-test.h:493:56: error: missing template arguments before '(' token 493 | typename StdFunction = decltype(std::function(std::declval()))> | ^ In file included from /usr/include/gtest/gtest.h:67: /usr/include/gtest/gtest-param-test.h:483:56: error: missing template arguments before '(' token 483 | typename StdFunction = decltype(std::function(std::declval()))> | ^ /usr/include/gtest/gtest-param-test.h:493:56: error: missing template arguments before '(' token 493 | typename StdFunction = decltype(std::function(std::declval()))> | ^ In file included from /usr/include/gtest/gtest.h:67: /usr/include/gtest/gtest-param-test.h:483:56: error: missing template arguments before '(' token 483 | typename StdFunction = decltype(std::function(std::declval()))> | ^ /usr/include/gtest/gtest-param-test.h:493:56: error: missing template arguments before '(' token 493 | typename StdFunction = decltype(std::function(std::declval()))> | ^ In file included from /usr/include/gtest/gtest.h:67: /usr/include/gtest/gtest-param-test.h:483:56: error: missing template arguments before '(' token 483 | typename StdFunction = decltype(std::function(std::declval()))> | ^ /usr/include/gtest/gtest-param-test.h:493:56: error: missing template arguments before '(' token 493 | typename StdFunction = decltype(std::function(std::declval()))> | ^ In file included from /usr/include/gtest/gtest.h:67: /usr/include/gtest/gtest-param-test.h:483:56: error: missing template arguments before '(' token 483 | typename StdFunction = decltype(std::function(std::declval()))> | ^ /usr/include/gtest/gtest-param-test.h:493:56: error: missing template arguments before '(' token 493 | typename StdFunction = decltype(std::function(std::declval()))> | ^ In file included from /usr/include/gtest/gtest.h:67: /usr/include/gtest/gtest-param-test.h:483:56: error: missing template arguments before '(' token 483 | typename StdFunction = decltype(std::function(std::declval()))> | ^ /usr/include/gtest/gtest-param-test.h:493:56: error: missing template arguments before '(' token 493 | typename StdFunction = decltype(std::function(std::declval()))> | ^ In file included from /usr/include/gtest/gtest.h:67: /usr/include/gtest/gtest-param-test.h:483:56: error: missing template arguments before '(' token 483 | typename StdFunction = decltype(std::function(std::declval()))> | ^ /usr/include/gtest/gtest-param-test.h:493:56: error: missing template arguments before '(' token 493 | typename StdFunction = decltype(std::function(std::declval()))> | ^ In file included from /usr/include/gtest/gtest.h:67: /usr/include/gtest/gtest-param-test.h:483:56: error: missing template arguments before '(' token 483 | typename StdFunction = decltype(std::function(std::declval()))> | ^ /usr/include/gtest/gtest-param-test.h:493:56: error: missing template arguments before '(' token 493 | typename StdFunction = decltype(std::function(std::declval()))> | ^ In file included from /usr/include/gtest/gtest.h:67, from /usr/include/gmock/internal/gmock-internal-utils.h:51: /usr/include/gtest/gtest-param-test.h:483:56: error: missing template arguments before '(' token 483 | typename StdFunction = decltype(std::function(std::declval()))> | ^ /usr/include/gtest/gtest-param-test.h:493:56: error: missing template arguments before '(' token 493 | typename StdFunction = decltype(std::function(std::declval()))> | ^ make[2]: *** [Makefile:3023: tests/unit/test_unit-main.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: *** [Makefile:2925: tests/unit/test_unit-ChunkMacMap_test.o] Error 1 make[2]: *** [Makefile:3009: tests/unit/test_unit-Logging_test.o] Error 1 make[2]: *** [Makefile:3079: tests/unit/test_unit-PendingContactRequest_test.o] Error 1 make[2]: *** [Makefile:3037: tests/unit/test_unit-MediaProperties_test.o] Error 1 make[2]: *** [Makefile:2967: tests/unit/test_unit-FileFingerprint_test.o] Error 1 make[2]: *** [Makefile:2911: tests/unit/test_unit-AttrMap_test.o] Error 1 In file included from /usr/include/gtest/gtest.h:67: /usr/include/gtest/gtest-param-test.h:483:56: error: missing template arguments before '(' token 483 | typename StdFunction = decltype(std::function(std::declval()))> | ^ /usr/include/gtest/gtest-param-test.h:493:56: error: missing template arguments before '(' token 493 | typename StdFunction = decltype(std::function(std::declval()))> | ^ In file included from /usr/include/gtest/gtest.h:67: /usr/include/gtest/gtest-param-test.h:483:56: error: missing template arguments before '(' token 483 | typename StdFunction = decltype(std::function(std::declval()))> | ^ /usr/include/gtest/gtest-param-test.h:493:56: error: missing template arguments before '(' token 493 | typename StdFunction = decltype(std::function(std::declval()))> | ^ src/commands.cpp: In member function 'virtual bool mega::CommandGetUserData::procresult(mega::Command::Result)': src/commands.cpp:4123:12: warning: variable 'me' set but not used [-Wunused-but-set-variable] 4123 | handle me = UNDEF; | ^~ src/commands.cpp: In member function 'virtual bool mega::CommandGetUserQuota::procresult(mega::Command::Result)': src/commands.cpp:4989:10: warning: variable 'got_storage' set but not used [-Wunused-but-set-variable] 4989 | bool got_storage = false; | ^~~~~~~~~~~ src/commands.cpp:4990:10: warning: variable 'got_storage_used' set but not used [-Wunused-but-set-variable] 4990 | bool got_storage_used = false; | ^~~~~~~~~~~~~~~~ make[2]: *** [Makefile:3135: tests/unit/test_unit-TextChat_test.o] Error 1 make[2]: *** [Makefile:3107: tests/unit/test_unit-Share_test.o] Error 1 make[2]: *** [Makefile:2939: tests/unit/test_unit-Commands_test.o] Error 1 make[2]: *** [Makefile:3149: tests/unit/test_unit-Transfer_test.o] Error 1 make[2]: *** [Makefile:3065: tests/unit/test_unit-PayCrypter_test.o] Error 1 make[2]: *** [Makefile:2981: tests/unit/test_unit-File_test.o] Error 1 make[2]: *** [Makefile:3093: tests/unit/test_unit-Serialization_test.o] Error 1 make[2]: *** [Makefile:2953: tests/unit/test_unit-Crypto_test.o] Error 1 make[2]: *** [Makefile:3163: tests/unit/test_unit-User_test.o] Error 1 make[2]: *** [Makefile:3191: tests/unit/test_unit-utils_test.o] Error 1 make[2]: *** [Makefile:3051: tests/unit/test_unit-MegaApi_test.o] Error 1 src/megaclient.cpp: In member function 'std::string mega::KeyManager::toKeysContainer()': src/megaclient.cpp:20689:10: warning: unused variable 'header' [-Wunused-variable] 20689 | byte header[2] = {20, 0}; | ^~~~~~ make[2]: *** [Makefile:3121: tests/unit/test_unit-Sync_test.o] Error 1 make[2]: Leaving directory '/home/buildozer/aports/community/megasdk/src/sdk-4.17.1d' make[1]: *** [Makefile:3375: all-recursive] Error 1 make[1]: Leaving directory '/home/buildozer/aports/community/megasdk/src/sdk-4.17.1d' make: *** [Makefile:1537: all] Error 2 >>> ERROR: megasdk: build failed >>> megasdk: Uninstalling dependencies... ( 1/37) Purging .makedepends-megasdk (20251107.015524) ( 2/37) Purging crypto++-dev (8.9.0-r1) ( 3/37) Purging crypto++ (8.9.0-r1) ( 4/37) Purging curl-dev (8.17.0-r0) ( 5/37) Purging libsodium-dev (1.0.20-r0) ( 6/37) Purging libsodium (1.0.20-r0) ( 7/37) Purging sqlite-dev (3.51.0-r0) ( 8/37) Purging sqlite (3.51.0-r0) ( 9/37) Purging autoconf (2.72-r1) (10/37) Purging m4 (1.4.20-r0) (11/37) Purging automake (1.18.1-r0) (12/37) Purging libtool (2.5.4-r1) (13/37) Purging libltdl (2.5.4-r1) (14/37) Purging linux-headers (6.16.12-r0) (15/37) Purging c-ares-dev (1.34.5-r0) (16/37) Purging git-perl (2.51.2-r0) (17/37) Purging perl-git (2.51.2-r0) (18/37) Purging perl-error (0.17030-r0) (19/37) Purging perl (5.42.0-r0) (20/37) Purging libpsl-dev (0.21.5-r3) (21/37) Purging libpsl-utils (0.21.5-r3) (22/37) Purging nghttp2-dev (1.68.0-r0) (23/37) Purging nghttp3-dev (1.11.0-r0) (24/37) Purging zlib-dev (1.3.1-r2) (25/37) Purging zstd-dev (1.5.7-r2) (26/37) Purging zstd (1.5.7-r2) (27/37) Purging brotli-dev (1.1.0-r2) (28/37) Purging brotli (1.1.0-r2) (29/37) Purging gtest-dev (1.17.0-r0) (30/37) Purging gmock (1.17.0-r0) (31/37) Purging gtest (1.17.0-r0) (32/37) Purging icu-dev (76.1-r1) (33/37) Purging icu (76.1-r1) (34/37) Purging icu-libs (76.1-r1) (35/37) Purging icu-data-en (76.1-r1) (36/37) Purging libidn2-dev (2.3.8-r0) (37/37) Purging openssl-dev (3.5.4-r0) busybox-1.37.0-r24.trigger: Executing script... OK: 579 MiB in 151 packages