=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for megacmd-1.6.3.tar.gz
=> Checksum SHA512 OK for megacmd-1.6.3.tar.gz
=> Checksum BLAKE2s OK for meganz-sdk-v4.17.1d.tar.gz
=> Checksum SHA512 OK for meganz-sdk-v4.17.1d.tar.gz
===> Installing dependencies for megacmd-1.6.3
==========================================================================
The following variables will affect the build process of this package,
megacmd-1.6.3.  Their current value is shown below:

        * CURSES_DEFAULT = ncurses
        * SSLBASE (defined)
        * SSLCERTBUNDLE (not defined)
        * SSLCERTS = /opt/pkg/etc/openssl/certs
        * SSLDIR = /opt/pkg/etc/openssl
        * SSLKEYS = /opt/pkg/etc/openssl/private

Based on these variables, the following variables have been set:

        * CURSES_TYPE = ncurses
        * TERMCAP_TYPE = curses

You may want to abort the process now with CTRL-C and change the value
of variables in the first group before continuing.  Be sure to run
`/opt/pkg/bin/bmake clean' after the changes.
==========================================================================
=> Tool dependency libtool-base>=2.4.2nb9: found libtool-base-2.4.7nb1
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency automake>=1.9: found automake-1.16.5nb3
=> Tool dependency autoconf>=2.58: found autoconf-2.72
=> Tool dependency nbpatch-[0-9]*: found nbpatch-20151107
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Full dependency cryptopp>=8.7.0: found cryptopp-8.7.0
=> Full dependency curl>=8.4.0nb1: found curl-8.7.1
=> Full dependency libcares>=1.6.0: found libcares-1.28.1nb1
=> Full dependency libsodium>=0.3: found libsodium-1.0.19
=> Full dependency libuv>=1.6: found libuv-1.48.0
=> Full dependency pcre>=8.30nb1: found pcre-8.45
=> Full dependency readline>=6.0: found readline-8.2nb2
=> Full dependency sqlite3>=3.44.0nb1: found sqlite3-3.45.3
===> Overriding tools for megacmd-1.6.3
===> Extracting for megacmd-1.6.3
===> Patching for megacmd-1.6.3
=> Applying pkgsrc patches for megacmd-1.6.3
=> Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/net/megacmd/patches/patch-Makefile.am
=> Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/net/megacmd/patches/patch-Makefile.am
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-Makefile.am,v 1.1 2024/03/11 07:49:12 wiz Exp $
|
|* Add NetBSD support
|
|--- Makefile.am.orig	2023-05-05 10:48:34.000000000 +0000
|+++ Makefile.am
--------------------------
Patching file Makefile.am using Plan A...
Hunk #1 succeeded at 35.
done
=> Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/net/megacmd/patches/patch-sdk_Makefile.am
=> Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/net/megacmd/patches/patch-sdk_Makefile.am
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-sdk_Makefile.am,v 1.1 2024/03/11 07:49:12 wiz Exp $
|
|* Add NetBSD support
|
|--- sdk/Makefile.am.orig	2023-05-02 16:07:05.000000000 +0000
|+++ sdk/Makefile.am
--------------------------
Patching file sdk/Makefile.am using Plan A...
Hunk #1 succeeded at 42.
done
=> Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/net/megacmd/patches/patch-sdk_configure.ac
=> Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/net/megacmd/patches/patch-sdk_configure.ac
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-sdk_configure.ac,v 1.1 2024/03/11 07:49:12 wiz Exp $
|
|* mega-cmd-server not syncing with aio_write function,
|* workaround disable librt. #TODO
|
|--- sdk/configure.ac.orig	2024-02-27 08:17:47.102044837 +0000
|+++ sdk/configure.ac
--------------------------
Patching file sdk/configure.ac using Plan A...
Hunk #1 succeeded at 1382.
done
=> Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/net/megacmd/patches/patch-sdk_include_mega_http_h
=> Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/net/megacmd/patches/patch-sdk_include_mega_http_h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-sdk_include_mega_http_h,v 1.1 2024/03/11 07:49:12 wiz Exp $
|
|* Add NetBSD support
|
|Index: sdk/include/mega/http.h
|--- sdk/include/mega/http.h.orig	2023-05-02 16:07:05.000000000 +0000
|+++ sdk/include/mega/http.h
--------------------------
Patching file sdk/include/mega/http.h using Plan A...
Hunk #1 succeeded at 42.
done
=> Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/net/megacmd/patches/patch-sdk_include_mega_posix_megafs_h
=> Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/net/megacmd/patches/patch-sdk_include_mega_posix_megafs_h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-sdk_include_mega_posix_megafs_h,v 1.1 2024/03/11 07:49:12 wiz Exp $
|
|* Add NetBSD support
|
|Index: sdk/include/mega/posix/megafs.h
|--- sdk/include/mega/posix/megafs.h.orig
|+++ sdk/include/mega/posix/megafs.h
--------------------------
Patching file sdk/include/mega/posix/megafs.h using Plan A...
Hunk #1 succeeded at 32 (offset 4 lines).
done
=> Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/net/megacmd/patches/patch-sdk_src_http.cpp
=> Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/net/megacmd/patches/patch-sdk_src_http.cpp
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-sdk_src_http.cpp,v 1.1 2024/03/11 07:49:12 wiz Exp $
|
|* Fix build on NetBSD, missing AI_V4MAPPED
|
|--- sdk/src/http.cpp.orig	2023-06-20 16:04:22.829147987 +0000
|+++ sdk/src/http.cpp
--------------------------
Patching file sdk/src/http.cpp using Plan A...
Hunk #1 succeeded at 270.
done
=> Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/net/megacmd/patches/patch-sdk_src_posix_fs.cpp
=> Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/net/megacmd/patches/patch-sdk_src_posix_fs.cpp
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-sdk_src_posix_fs.cpp,v 1.1 2024/03/11 07:49:12 wiz Exp $
|
|* Add NetBSD support
|
|--- sdk/src/posix/fs.cpp.orig	2023-05-02 16:07:05.000000000 +0000
|+++ sdk/src/posix/fs.cpp
--------------------------
Patching file sdk/src/posix/fs.cpp using Plan A...
Hunk #1 succeeded at 27.
done
=> Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/net/megacmd/patches/patch-src_include.am
=> Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/net/megacmd/patches/patch-src_include.am
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_include.am,v 1.1 2024/03/11 07:49:12 wiz Exp $
|
|* Add NetBSD support
|
|--- src/include.am.orig	2023-05-05 10:48:34.000000000 +0000
|+++ src/include.am
--------------------------
Patching file src/include.am using Plan A...
Hunk #1 succeeded at 9.
done
=> Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/net/megacmd/patches/patch-src_megacmdshell_megacmdshellcommunications_cpp
=> Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/net/megacmd/patches/patch-src_megacmdshell_megacmdshellcommunications_cpp
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_megacmdshell_megacmdshellcommunications_cpp,v 1.1 2024/03/11 07:49:12 wiz Exp $
|
|* Add NetBSD support
|
|Index: src/megacmdshell/megacmdshellcommunications.cpp
|--- src/megacmdshell/megacmdshellcommunications.cpp.orig
|+++ src/megacmdshell/megacmdshellcommunications.cpp
--------------------------
Patching file src/megacmdshell/megacmdshellcommunications.cpp using Plan A...
Hunk #1 succeeded at 54.
done
===> Creating toolchain wrappers for megacmd-1.6.3
===> Configuring for megacmd-1.6.3
cd /Users/pbulk/build/net/megacmd/work/MEGAcmd-1.6.3_Linux && /opt/pkg/bin/mksh autogen.sh
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: configure.ac: adding subdirectory sdk to autoreconf
autoreconf: Entering directory 'sdk'
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: /opt/pkg/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: /opt/pkg/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:45: warning: AM_LIBTOOLFLAGS was already defined in condition ANDROID, which is included in condition TRUE ...
Makefile.am:42: ... 'AM_LIBTOOLFLAGS' previously defined here
Makefile.am: installing './depcomp'
bindings/python/include.am:2: installing './py-compile'
Makefile.am:61:   'bindings/python/include.am' included from here
parallel-tests: installing './test-driver'
autoreconf: Leaving directory 'sdk'
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: /opt/pkg/bin/autoconf --force
configure.ac:96: warning: The macro 'AC_PROG_LIBTOOL' is obsolete.
configure.ac:96: You should run autoupdate.
m4/libtool.m4:100: AC_PROG_LIBTOOL is expanded from...
configure.ac:96: the top level
configure.ac:104: warning: The macro 'AC_LANG_CPLUSPLUS' is obsolete.
configure.ac:104: You should run autoupdate.
./lib/autoconf/c.m4:270: AC_LANG_CPLUSPLUS is expanded from...
configure.ac:104: the top level
configure.ac:110: warning: The macro 'AC_STDC_HEADERS' is obsolete.
configure.ac:110: You should run autoupdate.
./lib/autoconf/oldnames.m4:75: AC_STDC_HEADERS is expanded from...
configure.ac:110: the top level
configure.ac:110: warning: The macro 'AC_HEADER_STDC' is obsolete.
configure.ac:110: 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:110: the top level
configure.ac:111: warning: The macro 'AC_HEADER_STDC' is obsolete.
configure.ac:111: You should run autoupdate.
./lib/autoconf/headers.m4:663: AC_HEADER_STDC is expanded from...
configure.ac:111: the top level
autoreconf: running: /opt/pkg/bin/autoheader --force
autoreconf: running: automake --add-missing --copy --force-missing
configure.ac:41: installing './compile'
configure.ac:55: installing './config.guess'
configure.ac:55: installing './config.sub'
configure.ac:52: installing './install-sh'
configure.ac:52: installing './missing'
Makefile.am:38: warning: AM_LIBTOOLFLAGS was already defined in condition ANDROID, which is included in condition TRUE ...
Makefile.am:35: ... 'AM_LIBTOOLFLAGS' previously defined here
Makefile.am: installing './depcomp'
autoreconf: Leaving directory '.'
=> Modifying GNU configure scripts to avoid --recheck
=> Replacing config-guess with pkgsrc versions
=> Replacing config-sub with pkgsrc versions
=> Replacing install-sh with pkgsrc version
=> Replacing sh interpreter in src/client/mega-*.
=> Checking for portability problems in extracted files
configure: WARNING: unrecognized options: --disable-examples, --disable-java, --disable-php, --disable-python, --disable-chat, --without-freeimage, --without-ffmpeg, --without-libraw, --without-libzen, --without-libmediainfo, --enable-gcc-hardening, --with-libiconv-prefix
checking for aarch64-apple-darwin23-gcc... clang
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 clang accepts -g... yes
checking for clang option to enable C11 features... none needed
checking whether clang understands -c and -o together... yes
configure: creating ./config.status
config.status: creating Makefile
configure: WARNING: unrecognized options: --disable-examples, --disable-java, --disable-php, --disable-python, --disable-chat, --without-freeimage, --without-ffmpeg, --without-libraw, --without-libzen, --without-libmediainfo, --enable-gcc-hardening, --with-libiconv-prefix
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 -o pbulk -g staff
checking whether build environment is sane... yes
checking for a race-free mkdir -p... mkdir -p
checking for gawk... /opt/pkg/bin/nawk
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 clang... gcc3
checking build system type... aarch64-apple-darwin23
checking host system type... aarch64-apple-darwin23
checking how to print strings... print -r
checking for a sed that does not truncate output... /opt/pkg/bin/nbsed
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking for egrep... (cached) /usr/bin/egrep
checking for fgrep... /usr/bin/grep -F
checking for ld used by clang... /Library/Developer/CommandLineTools/usr/bin/ld
checking if the linker (/Library/Developer/CommandLineTools/usr/bin/ld) is GNU ld... no
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... (cached) 1048576
checking how to convert aarch64-apple-darwin23 file names to aarch64-apple-darwin23 format... func_convert_file_noop
checking how to convert aarch64-apple-darwin23 file names to toolchain format... func_convert_file_noop
checking for /Library/Developer/CommandLineTools/usr/bin/ld option to reload object files... -r
checking for aarch64-apple-darwin23-file... no
checking for file... file
checking for aarch64-apple-darwin23-objdump... no
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for aarch64-apple-darwin23-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... print -r --
checking for aarch64-apple-darwin23-ar... no
checking for ar... ar
checking for archiver @FILE support... no
checking for aarch64-apple-darwin23-strip... no
checking for strip... strip
checking for aarch64-apple-darwin23-ranlib... no
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from clang 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 aarch64-apple-darwin23-mt... no
checking for mt... no
checking if : is a manifest tool... no
checking for aarch64-apple-darwin23-dsymutil... no
checking for dsymutil... dsymutil
checking for aarch64-apple-darwin23-nmedit... no
checking for nmedit... nmedit
checking for aarch64-apple-darwin23-lipo... no
checking for lipo... lipo
checking for aarch64-apple-darwin23-otool... no
checking for otool... otool
checking for aarch64-apple-darwin23-otool64... no
checking for otool64... no
checking for -single_module linker flag... ld: warning: -single_module is obsolete
no
checking for -exported_symbols_list linker flag... yes
checking for -force_load linker flag... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if clang supports -fno-rtti -fno-exceptions... yes
checking for clang option to produce PIC... -fno-common -DPIC
checking if clang PIC flag -fno-common -DPIC works... yes
checking if clang static flag -static works... no
checking if clang supports -c -o file.o... rm: conftest*: No such file or directory
yes
checking if clang supports -c -o file.o... (cached) yes
checking whether the clang linker (/Library/Developer/CommandLineTools/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin23 dyld
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 aarch64-apple-darwin23-g++... no
checking for aarch64-apple-darwin23-objc++... no
checking for aarch64-apple-darwin23-objcxx... no
checking for aarch64-apple-darwin23-c++... no
checking for aarch64-apple-darwin23-CXX... no
checking for g++... g++
checking whether the compiler supports GNU Objective C++... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking whether the compiler supports GNU C++... yes
checking whether clang++ accepts -g... yes
checking for clang++ option to enable C++11 features... none needed
checking dependency style of clang++... gcc3
checking how to run the C++ preprocessor... clang++ -E
checking for ld used by clang++... /Library/Developer/CommandLineTools/usr/bin/ld
checking if the linker (/Library/Developer/CommandLineTools/usr/bin/ld) is GNU ld... no
checking whether the clang++ linker (/Library/Developer/CommandLineTools/usr/bin/ld) supports shared libraries... yes
checking for clang++ option to produce PIC... -fno-common -DPIC
checking if clang++ PIC flag -fno-common -DPIC works... yes
checking if clang++ static flag -static works... no
checking if clang++ supports -c -o file.o... rm: conftest*: No such file or directory
yes
checking if clang++ supports -c -o file.o... (cached) yes
checking whether the clang++ linker (/Library/Developer/CommandLineTools/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin23 dyld
checking how to hardcode library paths into programs... immediate
checking whether build environment is sane... yes
checking for cppcheck... no
checking whether clang++ supports C++11 features by default... yes
checking for egrep... (cached) /usr/bin/egrep
checking for egrep... (cached) /usr/bin/egrep
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 clang 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... no
checking for sys/malloc.h... yes
checking for malloc/malloc.h... yes
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... yes
checking for main in -lpcrecpp... yes
checking for pcre_compile in -lpcre... yes
checking for termcap... no
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 whether std::atomic can be used without link library... 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
rm: libtoolT: No such file or directory
=== configuring in sdk (/Users/pbulk/build/net/megacmd/work/MEGAcmd-1.6.3_Linux/sdk)
configure: running /opt/pkg/bin/mksh ./configure --disable-option-checking '--prefix=/opt/pkg'  '--disable-examples' '--disable-java' '--disable-php' '--disable-python' '--disable-chat' '--without-freeimage' '--without-termcap' '--without-ffmpeg' '--without-libraw' '--without-libzen' '--without-libmediainfo' '--enable-gcc-hardening' '--with-libiconv-prefix=/opt/pkg' '--build=aarch64-apple-darwin23' '--host=aarch64-apple-darwin23' '--mandir=/opt/pkg/share/man' '--enable-option-checking=yes' 'build_alias=aarch64-apple-darwin23' 'host_alias=aarch64-apple-darwin23' 'CC=clang' 'CFLAGS=-pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/sodium -DLDAP_DEPRECATED' 'LDFLAGS=-L/opt/pkg/lib' 'LIBS=' 'CPPFLAGS=-I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/sodium -DLDAP_DEPRECATED' 'CXX=clang++' 'CXXFLAGS=-pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/sodium -DLDAP_DEPRECATED -DCRYPTOPP_DISABLE_ASM -std=c++17' --cache-file=/dev/null --srcdir=.
configure: WARNING: unrecognized options: --with-libiconv-prefix
checking for aarch64-apple-darwin23-gcc... clang
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 clang accepts -g... yes
checking for clang option to enable C11 features... none needed
checking whether clang 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 -o pbulk -g staff
checking whether build environment is sane... yes
checking for a race-free mkdir -p... mkdir -p
checking for gawk... /opt/pkg/bin/nawk
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 clang... gcc3
checking build system type... aarch64-apple-darwin23
checking host system type... aarch64-apple-darwin23
checking how to print strings... print -r
checking for a sed that does not truncate output... /opt/pkg/bin/nbsed
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking for egrep... (cached) /usr/bin/egrep
checking for fgrep... /usr/bin/grep -F
checking for ld used by clang... /Library/Developer/CommandLineTools/usr/bin/ld
checking if the linker (/Library/Developer/CommandLineTools/usr/bin/ld) is GNU ld... no
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... (cached) 1048576
checking how to convert aarch64-apple-darwin23 file names to aarch64-apple-darwin23 format... func_convert_file_noop
checking how to convert aarch64-apple-darwin23 file names to toolchain format... func_convert_file_noop
checking for /Library/Developer/CommandLineTools/usr/bin/ld option to reload object files... -r
checking for aarch64-apple-darwin23-file... no
checking for file... file
checking for aarch64-apple-darwin23-objdump... no
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for aarch64-apple-darwin23-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... print -r --
checking for aarch64-apple-darwin23-ar... no
checking for ar... ar
checking for archiver @FILE support... no
checking for aarch64-apple-darwin23-strip... no
checking for strip... strip
checking for aarch64-apple-darwin23-ranlib... no
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from clang 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 aarch64-apple-darwin23-mt... no
checking for mt... no
checking if : is a manifest tool... no
checking for aarch64-apple-darwin23-dsymutil... no
checking for dsymutil... dsymutil
checking for aarch64-apple-darwin23-nmedit... no
checking for nmedit... nmedit
checking for aarch64-apple-darwin23-lipo... no
checking for lipo... lipo
checking for aarch64-apple-darwin23-otool... no
checking for otool... otool
checking for aarch64-apple-darwin23-otool64... no
checking for otool64... no
checking for -single_module linker flag... ld: warning: -single_module is obsolete
no
checking for -exported_symbols_list linker flag... yes
checking for -force_load linker flag... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if clang supports -fno-rtti -fno-exceptions... yes
checking for clang option to produce PIC... -fno-common -DPIC
checking if clang PIC flag -fno-common -DPIC works... yes
checking if clang static flag -static works... no
checking if clang supports -c -o file.o... rm: conftest*: No such file or directory
yes
checking if clang supports -c -o file.o... (cached) yes
checking whether the clang linker (/Library/Developer/CommandLineTools/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin23 dyld
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 aarch64-apple-darwin23-g++... no
checking for aarch64-apple-darwin23-objc++... no
checking for aarch64-apple-darwin23-objcxx... no
checking for aarch64-apple-darwin23-c++... no
checking for aarch64-apple-darwin23-CXX... no
checking for g++... g++
checking whether the compiler supports GNU Objective C++... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking whether the compiler supports GNU C++... yes
checking whether clang++ accepts -g... yes
checking for clang++ option to enable C++11 features... none needed
checking dependency style of clang++... gcc3
checking how to run the C++ preprocessor... clang++ -E
checking for ld used by clang++... /Library/Developer/CommandLineTools/usr/bin/ld
checking if the linker (/Library/Developer/CommandLineTools/usr/bin/ld) is GNU ld... no
checking whether the clang++ linker (/Library/Developer/CommandLineTools/usr/bin/ld) supports shared libraries... yes
checking for clang++ option to produce PIC... -fno-common -DPIC
checking if clang++ PIC flag -fno-common -DPIC works... yes
checking if clang++ static flag -static works... no
checking if clang++ supports -c -o file.o... rm: conftest*: No such file or directory
yes
checking if clang++ supports -c -o file.o... (cached) yes
checking whether the clang++ linker (/Library/Developer/CommandLineTools/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin23 dyld
checking how to hardcode library paths into programs... immediate
checking whether build environment is sane... yes
checking for cppcheck... no
checking whether clang++ supports C++11 features by default... yes
checking for egrep... (cached) /usr/bin/egrep
checking for egrep... (cached) /usr/bin/egrep
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 clang 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... no
checking for sys/malloc.h... yes
checking for malloc/malloc.h... yes
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... no
checking for mcheck.h... no
checking for inotify_init1... no
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... no
checking platform options... no
checking for pthread_create in -lpthread... yes
checking whether C++ compiler accepts -fstack-protector-all... yes
checking whether the linker accepts -fstack-protector-all... yes
checking if building Java bindings... yes
checking for libcryptopp... --with-cryptopp not specified
checking for cryptopp/cryptlib.h... yes
checking for main in -lcryptopp... yes
checking for libsodium... --with-sodium not specified
checking for sodium.h... yes
checking for sodium_init in -lsodium... yes
checking for libpcrecpp... checking for libraw... checking for libuv... --with-libuv not specified
checking for uv.h... yes
checking for uv_run in -luv... yes
checking for zlib... --with-zlib not specified
checking for zlib.h... yes
checking for main in -lz... 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 ffmpeg... checking for libzen... checking for pthread_create in -lpthread... (cached) yes
libmediainfo requires libzen
checking for OpenSSL... --with-openssl not specified
checking for openssl/ssl.h... yes
checking for SSL_new in -lssl... yes
checking for c-ares... --with-cares not specified
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... --with-pdfium not specified
checking for fpdfview.h... no
checking if building tests... no
checking if building Python bindings... no
checking if building PHP bindings... yes
checking for main in -lstdc++fs... no
checking for aarch64-apple-darwin23-doxygen... no
checking for doxygen... no
configure: WARNING: doxygen not found - will not generate any doxygen documentation
checking for aarch64-apple-darwin23-perl... no
checking for perl... /Users/pbulk/build/net/megacmd/work/.tools/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
rm: libtoolT: No such file or directory
configure: WARNING: unrecognized options: --with-libiconv-prefix
configure: Configured to build Mega SDK:

  SDK version:      4.17.1
  Host setup:       aarch64-apple-darwin23
  Install prefix:   /opt/pkg
  Compiler:         clang++
  CXXFLAGS:         -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/sodium -DLDAP_DEPRECATED -DCRYPTOPP_DISABLE_ASM -std=c++17 -std=c++11 -Wall -Wextra -Wconversion -Wno-unused-parameter -DNDEBUG=1 -fPIC -D_FORTIFY_SOURCE=2 -fstack-protector-all -DMEGA_USE_C_ARES
  LDFLAGS:          -pthread -L/opt/pkg/lib
  gcc hardening:    yes
  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:              -luv
  LIBRAW:             
  LIBMEDIAINFO:       
  FFMPEG:             


configure: WARNING: unrecognized options: --disable-examples, --disable-java, --disable-php, --disable-python, --disable-chat, --without-freeimage, --without-ffmpeg, --without-libraw, --without-libzen, --without-libmediainfo, --enable-gcc-hardening, --with-libiconv-prefix
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
rm: libtoolT: No such file or directory
=== configuring in sdk (/Users/pbulk/build/net/megacmd/work/MEGAcmd-1.6.3_Linux/sdk)
configure: running /opt/pkg/bin/mksh ./configure --disable-option-checking '--prefix=/opt/pkg'  '--disable-examples' '--disable-java' '--disable-php' '--disable-python' '--disable-chat' '--without-freeimage' '--without-termcap' '--without-ffmpeg' '--without-libraw' '--without-libzen' '--without-libmediainfo' '--enable-gcc-hardening' '--with-libiconv-prefix=/opt/pkg' '--build=aarch64-apple-darwin23' '--host=aarch64-apple-darwin23' '--mandir=/opt/pkg/share/man' '--enable-option-checking=yes' 'build_alias=aarch64-apple-darwin23' 'host_alias=aarch64-apple-darwin23' 'CC=clang' 'CFLAGS=-pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/sodium -DLDAP_DEPRECATED' 'LDFLAGS=-L/opt/pkg/lib' 'LIBS=' 'CPPFLAGS=-I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/sodium -DLDAP_DEPRECATED' 'CXX=clang++' 'CXXFLAGS=-pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/sodium -DLDAP_DEPRECATED -DCRYPTOPP_DISABLE_ASM -std=c++17' --cache-file=/dev/null --srcdir=.
configure: WARNING: unrecognized options: --with-libiconv-prefix
checking for aarch64-apple-darwin23-gcc... clang
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 clang accepts -g... yes
checking for clang option to enable C11 features... none needed
checking whether clang 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 -o pbulk -g staff
checking whether build environment is sane... yes
checking for a race-free mkdir -p... mkdir -p
checking for gawk... /opt/pkg/bin/nawk
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 clang... gcc3
checking build system type... aarch64-apple-darwin23
checking host system type... aarch64-apple-darwin23
checking how to print strings... print -r
checking for a sed that does not truncate output... /opt/pkg/bin/nbsed
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking for egrep... (cached) /usr/bin/egrep
checking for fgrep... /usr/bin/grep -F
checking for ld used by clang... /Library/Developer/CommandLineTools/usr/bin/ld
checking if the linker (/Library/Developer/CommandLineTools/usr/bin/ld) is GNU ld... no
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... (cached) 1048576
checking how to convert aarch64-apple-darwin23 file names to aarch64-apple-darwin23 format... func_convert_file_noop
checking how to convert aarch64-apple-darwin23 file names to toolchain format... func_convert_file_noop
checking for /Library/Developer/CommandLineTools/usr/bin/ld option to reload object files... -r
checking for aarch64-apple-darwin23-file... no
checking for file... file
checking for aarch64-apple-darwin23-objdump... no
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for aarch64-apple-darwin23-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... print -r --
checking for aarch64-apple-darwin23-ar... no
checking for ar... ar
checking for archiver @FILE support... no
checking for aarch64-apple-darwin23-strip... no
checking for strip... strip
checking for aarch64-apple-darwin23-ranlib... no
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from clang 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 aarch64-apple-darwin23-mt... no
checking for mt... no
checking if : is a manifest tool... no
checking for aarch64-apple-darwin23-dsymutil... no
checking for dsymutil... dsymutil
checking for aarch64-apple-darwin23-nmedit... no
checking for nmedit... nmedit
checking for aarch64-apple-darwin23-lipo... no
checking for lipo... lipo
checking for aarch64-apple-darwin23-otool... no
checking for otool... otool
checking for aarch64-apple-darwin23-otool64... no
checking for otool64... no
checking for -single_module linker flag... ld: warning: -single_module is obsolete
no
checking for -exported_symbols_list linker flag... yes
checking for -force_load linker flag... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if clang supports -fno-rtti -fno-exceptions... yes
checking for clang option to produce PIC... -fno-common -DPIC
checking if clang PIC flag -fno-common -DPIC works... yes
checking if clang static flag -static works... no
checking if clang supports -c -o file.o... rm: conftest*: No such file or directory
yes
checking if clang supports -c -o file.o... (cached) yes
checking whether the clang linker (/Library/Developer/CommandLineTools/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin23 dyld
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 aarch64-apple-darwin23-g++... no
checking for aarch64-apple-darwin23-objc++... no
checking for aarch64-apple-darwin23-objcxx... no
checking for aarch64-apple-darwin23-c++... no
checking for aarch64-apple-darwin23-CXX... no
checking for g++... g++
checking whether the compiler supports GNU Objective C++... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking whether the compiler supports GNU C++... yes
checking whether clang++ accepts -g... yes
checking for clang++ option to enable C++11 features... none needed
checking dependency style of clang++... gcc3
checking how to run the C++ preprocessor... clang++ -E
checking for ld used by clang++... /Library/Developer/CommandLineTools/usr/bin/ld
checking if the linker (/Library/Developer/CommandLineTools/usr/bin/ld) is GNU ld... no
checking whether the clang++ linker (/Library/Developer/CommandLineTools/usr/bin/ld) supports shared libraries... yes
checking for clang++ option to produce PIC... -fno-common -DPIC
checking if clang++ PIC flag -fno-common -DPIC works... yes
checking if clang++ static flag -static works... no
checking if clang++ supports -c -o file.o... rm: conftest*: No such file or directory
yes
checking if clang++ supports -c -o file.o... (cached) yes
checking whether the clang++ linker (/Library/Developer/CommandLineTools/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin23 dyld
checking how to hardcode library paths into programs... immediate
checking whether build environment is sane... yes
checking for cppcheck... no
checking whether clang++ supports C++11 features by default... yes
checking for egrep... (cached) /usr/bin/egrep
checking for egrep... (cached) /usr/bin/egrep
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 clang 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... no
checking for sys/malloc.h... yes
checking for malloc/malloc.h... yes
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... no
checking for mcheck.h... no
checking for inotify_init1... no
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... no
checking platform options... no
checking for pthread_create in -lpthread... yes
checking whether C++ compiler accepts -fstack-protector-all... yes
checking whether the linker accepts -fstack-protector-all... yes
checking if building Java bindings... yes
checking for libcryptopp... --with-cryptopp not specified
checking for cryptopp/cryptlib.h... yes
checking for main in -lcryptopp... yes
checking for libsodium... --with-sodium not specified
checking for sodium.h... yes
checking for sodium_init in -lsodium... yes
checking for libpcrecpp... checking for libraw... checking for libuv... --with-libuv not specified
checking for uv.h... yes
checking for uv_run in -luv... yes
checking for zlib... --with-zlib not specified
checking for zlib.h... yes
checking for main in -lz... 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 ffmpeg... checking for libzen... checking for pthread_create in -lpthread... (cached) yes
libmediainfo requires libzen
checking for OpenSSL... --with-openssl not specified
checking for openssl/ssl.h... yes
checking for SSL_new in -lssl... yes
checking for c-ares... --with-cares not specified
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... --with-pdfium not specified
checking for fpdfview.h... no
checking if building tests... no
checking if building Python bindings... no
checking if building PHP bindings... yes
checking for main in -lstdc++fs... no
checking for aarch64-apple-darwin23-doxygen... no
checking for doxygen... no
configure: WARNING: doxygen not found - will not generate any doxygen documentation
checking for aarch64-apple-darwin23-perl... no
checking for perl... /Users/pbulk/build/net/megacmd/work/.tools/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: include/mega/config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
rm: libtoolT: No such file or directory
configure: WARNING: unrecognized options: --with-libiconv-prefix
configure: Configured to build Mega SDK:

  SDK version:      4.17.1
  Host setup:       aarch64-apple-darwin23
  Install prefix:   /opt/pkg
  Compiler:         clang++
  CXXFLAGS:         -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/sodium -DLDAP_DEPRECATED -DCRYPTOPP_DISABLE_ASM -std=c++17 -std=c++11 -Wall -Wextra -Wconversion -Wno-unused-parameter -DNDEBUG=1 -fPIC -D_FORTIFY_SOURCE=2 -fstack-protector-all -DMEGA_USE_C_ARES
  LDFLAGS:          -pthread -L/opt/pkg/lib
  gcc hardening:    yes
  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:              -luv
  LIBRAW:             
  LIBMEDIAINFO:       
  FFMPEG:             


configure: WARNING: unrecognized options: --disable-examples, --disable-java, --disable-php, --disable-python, --disable-chat, --without-freeimage, --without-ffmpeg, --without-libraw, --without-libzen, --without-libmediainfo, --enable-gcc-hardening, --with-libiconv-prefix
configure: MEGAcmd configuration:

  MEGACMD version:      1.6.3
  Install prefix:   /opt/pkg
  Compiler:         clang++
  CXXFLAGS:         -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/sodium -DLDAP_DEPRECATED -DCRYPTOPP_DISABLE_ASM -std=c++17 -DNDEBUG=1 -fPIC -DENABLE_BACKUPS=1
  CPPFLAGS:         -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/sodium -DLDAP_DEPRECATED
  LDFLAGS:          -pthread -L/opt/pkg/lib
  debug:            no
  static:           no
  posix threads:    yes

  Readline:           -lreadline
  Termcap:            
  PCRE:               -lpcrecpp -lpcre
  SDK includes:     -I. -I./include -I./include/mega -I./include/mega/posix -I./third_party/utf8proc -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/sodium 

=> Modifying libtool scripts to use pkgsrc libtool
=> Modifying libtool scripts to use pkgsrc depcomp