>>> megacmd: Building community/megacmd 1.6.1-r0 (using abuild 3.11.0_rc13-r0) started Mon, 24 Apr 2023 03:07:28 +0000 >>> megacmd: Checking sanity of /home/buildozer/aports/community/megacmd/APKBUILD... >>> megacmd: Analyzing dependencies... >>> megacmd: Installing for build: build-base autoconf autoconf-archive automake libtool megasdk-dev readline-dev (1/37) Installing m4 (1.4.19-r3) (2/37) Installing libbz2 (1.0.8-r5) (3/37) Installing perl (5.36.0-r3) (4/37) Installing autoconf (2.71-r2) (5/37) Installing autoconf-archive (2023.02.20-r0) (6/37) Installing automake (1.16.5-r2) (7/37) Installing libltdl (2.4.7-r2) (8/37) Installing libtool (2.4.7-r2) (9/37) Installing c-ares-dev (1.19.0-r3) (10/37) Installing crypto++ (8.7.0-r1) (11/37) Installing crypto++-dev (8.7.0-r1) (12/37) Installing libidn2-dev (2.3.4-r1) (13/37) Installing openssl-dev (3.1.0-r4) (14/37) Installing nghttp2-dev (1.52.0-r1) (15/37) Installing zlib-dev (1.2.13-r1) (16/37) Installing brotli (1.0.9-r14) (17/37) Installing brotli-dev (1.0.9-r14) (18/37) Installing curl-dev (8.0.1-r2) (19/37) Installing libsodium (1.0.18-r3) (20/37) Installing libsodium-dev (1.0.18-r3) (21/37) Installing readline (8.2.1-r1) (22/37) Installing sqlite (3.41.2-r2) (23/37) Installing sqlite-libs (3.41.2-r2) (24/37) Installing sqlite-dev (3.41.2-r2) (25/37) Installing megasdk (4.17.1a-r0) (26/37) Installing megasdk-dev (4.17.1a-r0) (27/37) Installing libhistory (8.2.1-r1) (28/37) Installing libformw (6.4_p20230401-r5) (29/37) Installing libmenuw (6.4_p20230401-r5) (30/37) Installing libpanelw (6.4_p20230401-r5) (31/37) Installing libncurses++ (6.4_p20230401-r5) (32/37) Installing ncurses-dev (6.4_p20230401-r5) (33/37) Installing readline-dev (8.2.1-r1) (34/37) Installing .makedepends-megacmd (20230424.030733) (35/37) Installing perl-error (0.17029-r1) (36/37) Installing perl-git (2.40.0-r1) (37/37) Installing git-perl (2.40.0-r1) Executing busybox-1.36.0-r7.trigger OK: 1034 MiB in 140 packages >>> megacmd: Cleaning up srcdir >>> megacmd: Cleaning up pkgdir >>> megacmd: Fetching https://distfiles.alpinelinux.org/distfiles/edge/MEGAcmd-1.6.1.tar.gz >>> megacmd: Fetching https://distfiles.alpinelinux.org/distfiles/edge/MEGAcmd-1.6.1.tar.gz >>> megacmd: Checking sha512sums... MEGAcmd-1.6.1.tar.gz: OK xdg_data_home.patch: OK unbundle-sdk.patch: OK >>> megacmd: Unpacking /var/cache/distfiles/MEGAcmd-1.6.1.tar.gz... >>> megacmd: xdg_data_home.patch patching file contrib/docs/DEBUG.md patching file src/configurationmanager.cpp patching file src/megacmd.cpp patching file src/megacmdshell/megacmdshellcommunications.cpp >>> megacmd: unbundle-sdk.patch patching file src/include.am patching file Makefile.am patching file configure.ac autoreconf: export WARNINGS= autoreconf: Entering directory '.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force -I m4 aclocal: warning: couldn't open directory 'm4': No such file or directory autoreconf: configure.ac: tracing autoreconf: running: libtoolize --copy --force libtoolize: putting auxiliary files in '.'. libtoolize: copying file './ltmain.sh' libtoolize: putting macros in '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' libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.ac, libtoolize: and rerunning libtoolize and aclocal. 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:89: warning: The macro `AC_PROG_LIBTOOL' is obsolete. configure.ac:89: You should run autoupdate. m4/libtool.m4:100: AC_PROG_LIBTOOL is expanded from... configure.ac:89: the top level configure.ac:97: warning: The macro `AC_LANG_CPLUSPLUS' is obsolete. configure.ac:97: You should run autoupdate. ./lib/autoconf/c.m4:262: AC_LANG_CPLUSPLUS is expanded from... configure.ac:97: the top level configure.ac:103: warning: The macro `AC_STDC_HEADERS' is obsolete. configure.ac:103: You should run autoupdate. ./lib/autoconf/oldnames.m4:75: AC_STDC_HEADERS is expanded from... configure.ac:103: the top level configure.ac:103: warning: The macro `AC_HEADER_STDC' is obsolete. configure.ac:103: You should run autoupdate. ./lib/autoconf/headers.m4:704: AC_HEADER_STDC is expanded from... ./lib/autoconf/oldnames.m4:75: AC_STDC_HEADERS is expanded from... configure.ac:103: the top level configure.ac:104: warning: The macro `AC_HEADER_STDC' is obsolete. configure.ac:104: You should run autoupdate. ./lib/autoconf/headers.m4:704: AC_HEADER_STDC is expanded from... configure.ac:104: the top level autoreconf: running: /usr/bin/autoheader --force autoreconf: running: automake --add-missing --copy --force-missing configure.ac:36: installing './compile' configure.ac:48: installing './config.guess' configure.ac:48: installing './config.sub' configure.ac:45: installing './install-sh' configure.ac:45: installing './missing' src/include.am:52: warning: mega_exec_LDADD was already defined in condition TRUE, which includes condition WIN32 ... Makefile.am:49: 'src/include.am' included from here src/include.am:30: ... 'mega_exec_LDADD' previously defined here Makefile.am:49: 'src/include.am' included from here Makefile.am: installing './depcomp' autoreconf: Leaving directory '.' checking for riscv64-alpine-linux-musl-gcc... gcc 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 gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether gcc understands -c and -o together... yes configure: creating ./config.status config.status: creating Makefile 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 build environment is sane... yes checking for a race-free mkdir -p... ./install-sh -c -d 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 dependency style of gcc... gcc3 checking build system type... riscv64-alpine-linux-musl checking host system type... riscv64-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 gcc... /usr/riscv64-alpine-linux-musl/bin/ld checking if the linker (/usr/riscv64-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 riscv64-alpine-linux-musl file names to riscv64-alpine-linux-musl format... func_convert_file_noop checking how to convert riscv64-alpine-linux-musl file names to toolchain format... func_convert_file_noop checking for /usr/riscv64-alpine-linux-musl/bin/ld option to reload object files... -r checking for riscv64-alpine-linux-musl-file... no checking for file... file checking for riscv64-alpine-linux-musl-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for riscv64-alpine-linux-musl-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for riscv64-alpine-linux-musl-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for riscv64-alpine-linux-musl-strip... no checking for strip... strip checking for riscv64-alpine-linux-musl-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc 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 riscv64-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 gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/riscv64-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 whether make supports nested variables... (cached) yes 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 riscv64-alpine-linux-musl-g++... riscv64-alpine-linux-musl-g++ checking whether the compiler supports GNU Objective C++... no checking whether riscv64-alpine-linux-musl-g++ accepts -g... no checking dependency style of riscv64-alpine-linux-musl-g++... gcc3 checking whether the compiler supports GNU C++... yes checking whether g++ accepts -g... yes checking for g++ option to enable C++11 features... none needed checking dependency style of g++... gcc3 checking how to run the C++ preprocessor... g++ -E checking for ld used by g++... /usr/riscv64-alpine-linux-musl/bin/ld checking if the linker (/usr/riscv64-alpine-linux-musl/bin/ld) is GNU ld... yes checking whether the g++ linker (/usr/riscv64-alpine-linux-musl/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... yes checking if g++ static flag -static works... yes checking if g++ supports -c -o file.o... yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/riscv64-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 g++ supports C++11 features with -std=c++11... 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... yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for _LARGEFILE_SOURCE value needed for large files... no 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 if building for Win32 platform... no checking for libpcrecpp... --with-pcre not specified checking for pcrecpp.h... no checking for main in -lpcrecpp... no checking for pcre_compile in -lpcre... no checking for termcap... --with-termcap not specified checking for tputs in -ltermcap... no configure: termcap library not found or not usable. checking for Readline... --with-readline not specified checking for readline/readline.h... yes checking for rl_save_prompt in -lreadline... yes checking for SQLite... --with-sqlite not specified configure: Using SQLite3 as the default DB access layer. checking for sqlite3.h... yes checking for sqlite3_open in -lsqlite3... yes checking for pthread_create in -lpthread... yes 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 src/megacmdconfig.h config.status: executing depfiles commands config.status: executing libtool commands checking for riscv64-alpine-linux-musl-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for libmega... yes 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 src/megacmdconfig.h config.status: src/megacmdconfig.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands configure: MEGAcmd configuration: MEGACMD version: 1.6.1 Install prefix: /usr Compiler: g++ -std=c++11 CXXFLAGS: -Os -Wformat -Werror=format-security -flto=auto -DNDEBUG=1 -fPIC -DENABLE_BACKUPS=1 CPPFLAGS: -Os -Wformat -Werror=format-security LDFLAGS: -pthread -Wl,--as-needed,-O1,--sort-common debug: no static: no posix threads: yes Readline: -lreadline Termcap: PCRE: SDK includes: -I/usr/include/mega -I/usr/include/mega/posix make all-am make[1]: Entering directory '/home/buildozer/aports/community/megacmd/src/MEGAcmd-1.6.1_Linux' CXX src/mega_cmd-megacmdcommonutils.o CXX src/mega_exec-megacmdcommonutils.o CXX src/megacmdshell/mega_exec-megacmdshellcommunications.o CXX src/mega_cmd_server-megacmd.o CXX src/mega_cmd_server-comunicationsmanager.o CXX src/mega_cmd_server-megacmdutils.o CXX src/mega_cmd_server-megacmdcommonutils.o CXX src/mega_cmd_server-configurationmanager.o CXX src/mega_cmd_server-megacmdlogger.o CXX src/mega_cmd_server-megacmdsandbox.o CXX src/mega_cmd_server-listeners.o CXX src/mega_cmd_server-megacmdexecuter.o CXX src/mega_cmd_server-megacmdtransfermanager.o CXX src/mega_cmd_server-comunicationsmanagerportsockets.o CXX src/mega_cmd_server-comunicationsmanagerfilesockets.o CXX src/megacmdshell/mega_cmd-megacmdshellcommunications.o CXX src/megacmdshell/mega_cmd-megacmdshell.o CXX src/client/mega_exec-megacmdclient.o CXXLD mega-cmd CXXLD mega-exec src/megacmd.cpp: In function 'bool megacmd::executeUpdater(bool*, bool)': src/megacmd.cpp:3455:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 3455 | donotinstallstr = "--do-not-install"; | ^~~~~~~~~~~~~~~~~~ src/megacmd.cpp:3468:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 3468 | char * args[] = {"mega-cmd-updater", "--normal-update", donotinstallstr, NULL}; | ^~~~~~~~~~~~~~~~~~ src/megacmd.cpp:3468:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 3468 | char * args[] = {"mega-cmd-updater", "--normal-update", donotinstallstr, NULL}; | ^~~~~~~~~~~~~~~~~ src/megacmd.cpp: In function 'bool megacmd::restartServer()': src/megacmd.cpp:3589:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 3589 | argv[j++]="--wait-for"; | ^~~~~~~~~~~~ OBJCXXLD mega-cmd-server make[1]: Leaving directory '/home/buildozer/aports/community/megacmd/src/MEGAcmd-1.6.1_Linux' >>> megacmd: Entering fakeroot... make install-am make[1]: Entering directory '/home/buildozer/aports/community/megacmd/src/MEGAcmd-1.6.1_Linux' make[2]: Entering directory '/home/buildozer/aports/community/megacmd/src/MEGAcmd-1.6.1_Linux' ./install-sh -c -d '/home/buildozer/aports/community/megacmd/pkg/megacmd/usr/bin' ./install-sh -c -d '/home/buildozer/aports/community/megacmd/pkg/megacmd/usr/share/bash-completion/completions' ./install-sh -c -d '/home/buildozer/aports/community/megacmd/pkg/megacmd/usr/bin' /usr/bin/install -c -m 644 src/client/megacmd_completion.sh '/home/buildozer/aports/community/megacmd/pkg/megacmd/usr/share/bash-completion/completions' /bin/sh ./libtool --tag=CXX --mode=install /usr/bin/install -c mega-cmd mega-exec mega-cmd-server '/home/buildozer/aports/community/megacmd/pkg/megacmd/usr/bin' /usr/bin/install -c src/client/mega-attr src/client/mega-cd src/client/mega-confirm src/client/mega-cp src/client/mega-debug src/client/mega-du src/client/mega-df src/client/mega-proxy src/client/mega-export src/client/mega-find src/client/mega-get src/client/mega-help src/client/mega-https src/client/mega-webdav src/client/mega-permissions src/client/mega-deleteversions src/client/mega-transfers src/client/mega-import src/client/mega-invite src/client/mega-ipc src/client/mega-killsession src/client/mega-lcd src/client/mega-log src/client/mega-login src/client/mega-logout src/client/mega-lpwd src/client/mega-ls src/client/mega-backup src/client/mega-mkdir src/client/mega-mount src/client/mega-mv src/client/mega-passwd src/client/mega-preview src/client/mega-put src/client/mega-speedlimit src/client/mega-pwd src/client/mega-quit src/client/mega-reload src/client/mega-rm src/client/mega-session '/home/buildozer/aports/community/megacmd/pkg/megacmd/usr/bin' /usr/bin/install -c src/client/mega-share src/client/mega-showpcr src/client/mega-signup src/client/mega-sync src/client/mega-exclude src/client/mega-thumbnail src/client/mega-userattr src/client/mega-users src/client/mega-version src/client/mega-whoami src/client/mega-cat src/client/mega-tree src/client/mega-mediainfo src/client/mega-graphics src/client/mega-ftp src/client/mega-cancel src/client/mega-confirmcancel src/client/mega-errorcode '/home/buildozer/aports/community/megacmd/pkg/megacmd/usr/bin' libtool: install: /usr/bin/install -c mega-cmd /home/buildozer/aports/community/megacmd/pkg/megacmd/usr/bin/mega-cmd libtool: install: /usr/bin/install -c mega-exec /home/buildozer/aports/community/megacmd/pkg/megacmd/usr/bin/mega-exec libtool: install: /usr/bin/install -c mega-cmd-server /home/buildozer/aports/community/megacmd/pkg/megacmd/usr/bin/mega-cmd-server make[2]: Leaving directory '/home/buildozer/aports/community/megacmd/src/MEGAcmd-1.6.1_Linux' make[1]: Leaving directory '/home/buildozer/aports/community/megacmd/src/MEGAcmd-1.6.1_Linux' >>> megacmd-bash-completion*: Running split function bashcomp... '/home/buildozer/aports/community/megacmd/pkg/megacmd/usr/share/bash-completion/completions' -> '/home/buildozer/aports/community/megacmd/pkg/megacmd-bash-completion/usr/share/bash-completion/completions' >>> megacmd-bash-completion*: Preparing subpackage megacmd-bash-completion... >>> megacmd-bash-completion*: Running postcheck for megacmd-bash-completion >>> megacmd*: Running postcheck for megacmd >>> megacmd*: Preparing package megacmd... >>> megacmd*: Stripping binaries >>> megacmd-bash-completion*: Scanning shared objects >>> megacmd*: Scanning shared objects >>> megacmd-bash-completion*: Tracing dependencies... >>> megacmd-bash-completion*: Package size: 24.0 KB >>> megacmd-bash-completion*: Compressing data... >>> megacmd-bash-completion*: Create checksum... >>> megacmd-bash-completion*: Create megacmd-bash-completion-1.6.1-r0.apk >>> megacmd*: Tracing dependencies... so:libc.musl-riscv64.so.1 so:libgcc_s.so.1 so:libmega.so.41701 so:libreadline.so.8 so:libstdc++.so.6 >>> megacmd*: Package size: 976.0 KB >>> megacmd*: Compressing data... >>> megacmd*: Create checksum... >>> megacmd*: Create megacmd-1.6.1-r0.apk >>> megacmd: Build complete at Mon, 24 Apr 2023 03:10:58 +0000 elapsed time 0h 3m 30s >>> megacmd: Cleaning up srcdir >>> megacmd: Cleaning up pkgdir >>> megacmd: Uninstalling dependencies... (1/37) Purging .makedepends-megacmd (20230424.030733) (2/37) Purging autoconf-archive (2023.02.20-r0) (3/37) Purging autoconf (2.71-r2) (4/37) Purging m4 (1.4.19-r3) (5/37) Purging automake (1.16.5-r2) (6/37) Purging libtool (2.4.7-r2) (7/37) Purging libltdl (2.4.7-r2) (8/37) Purging megasdk-dev (4.17.1a-r0) (9/37) Purging c-ares-dev (1.19.0-r3) (10/37) Purging crypto++-dev (8.7.0-r1) (11/37) Purging curl-dev (8.0.1-r2) (12/37) Purging libidn2-dev (2.3.4-r1) (13/37) Purging openssl-dev (3.1.0-r4) (14/37) Purging nghttp2-dev (1.52.0-r1) (15/37) Purging zlib-dev (1.2.13-r1) (16/37) Purging brotli-dev (1.0.9-r14) (17/37) Purging brotli (1.0.9-r14) (18/37) Purging libsodium-dev (1.0.18-r3) (19/37) Purging sqlite-dev (3.41.2-r2) (20/37) Purging sqlite (3.41.2-r2) (21/37) Purging megasdk (4.17.1a-r0) (22/37) Purging readline-dev (8.2.1-r1) (23/37) Purging libhistory (8.2.1-r1) (24/37) Purging readline (8.2.1-r1) (25/37) Purging crypto++ (8.7.0-r1) (26/37) Purging git-perl (2.40.0-r1) (27/37) Purging perl-git (2.40.0-r1) (28/37) Purging perl-error (0.17029-r1) (29/37) Purging perl (5.36.0-r3) (30/37) Purging libbz2 (1.0.8-r5) (31/37) Purging libsodium (1.0.18-r3) (32/37) Purging ncurses-dev (6.4_p20230401-r5) (33/37) Purging libncurses++ (6.4_p20230401-r5) (34/37) Purging libpanelw (6.4_p20230401-r5) (35/37) Purging sqlite-libs (3.41.2-r2) (36/37) Purging libformw (6.4_p20230401-r5) (37/37) Purging libmenuw (6.4_p20230401-r5) Executing busybox-1.36.0-r7.trigger OK: 966 MiB in 103 packages >>> megacmd: Updating the community/riscv64 repository index... >>> megacmd: Signing the index...