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

        * KRB5_DEFAULT = heimdal
        * SSLBASE = /usr
        * SSLCERTBUNDLE (not defined)
        * SSLCERTS = /etc/openssl/certs
        * SSLDIR = /etc/openssl
        * SSLKEYS = /etc/openssl/private

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

        * KRB5BASE (defined, but empty)
        * KRB5_TYPE = heimdal
        * TERMCAP_TYPE = termcap

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
`/usr/bin/make 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 gmake>=3.81: found gmake-4.4.1
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Full dependency sqlite3>=3.44.0nb1: found sqlite3-3.46.1
=> Full dependency pcre>=8.30nb1: found pcre-8.45
=> Full dependency libuv>=1.6: found libuv-1.48.0
=> Full dependency readline>=6.0: found readline-8.2nb2
=> Full dependency libcares>=1.6.0: found libcares-1.33.1
=> Full dependency cryptopp>=8.7.0: found cryptopp-8.7.0
=> Full dependency libsodium>=0.3: found libsodium-1.0.20
=> Full dependency icu>=75.1: found icu-75.1
=> Full dependency curl>=8.7.1nb1: found curl-8.10.1
===> Skipping vulnerability checks.
WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'.
===> Overriding tools for megacmd-1.7.0
===> Extracting for megacmd-1.7.0
===> Patching for megacmd-1.7.0
=> Applying pkgsrc patches for megacmd-1.7.0
===> Creating toolchain wrappers for megacmd-1.7.0
===> Configuring for megacmd-1.7.0
cd /pbulk/work/net/megacmd/work/MEGAcmd-1.7.0_Linux && /bin/sh 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: /usr/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
configure.ac:1886: warning: AC_CHECK_HEADERS("unicode/uchar.h"): you should use literals
./lib/autoconf/headers.m4:217: AC_CHECK_HEADERS is expanded from...
lib/m4sugar/m4sh.m4:697: AS_IF is expanded from...
./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from...
configure.ac:1886: the top level
autoreconf: running: /usr/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: installing './depcomp'
bindings/python/include.am:2: installing './py-compile'
Makefile.am:71:   '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: /usr/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: /usr/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: installing './depcomp'
parallel-tests: installing './test-driver'
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-*.
configure: WARNING: unrecognized options: --disable-examples, --disable-java, --disable-php, --disable-python, --disable-chat, --without-freeimage, --without-ffmpeg, --without-libraw, --without-libzen, --without-libmediainfo, --without-rt, --enable-gcc-hardening
checking for i486--netbsdelf-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
configure: WARNING: unrecognized options: --disable-examples, --disable-java, --disable-php, --disable-python, --disable-chat, --without-freeimage, --without-ffmpeg, --without-libraw, --without-libzen, --without-libmediainfo, --without-rt, --enable-gcc-hardening
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 users
checking whether build environment is sane... yes
checking for a race-free mkdir -p... mkdir -p
checking for gawk... /usr/bin/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... i486--netbsdelf
checking host system type... i486--netbsdelf
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
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 gcc... /pbulk/work/net/megacmd/work/.cwrapper/bin/ld
checking if the linker (/pbulk/work/net/megacmd/work/.cwrapper/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... (cached) 262144
checking how to convert i486--netbsdelf file names to i486--netbsdelf format... func_convert_file_noop
checking how to convert i486--netbsdelf file names to toolchain format... func_convert_file_noop
checking for /pbulk/work/net/megacmd/work/.cwrapper/bin/ld option to reload object files... -r
checking for i486--netbsdelf-file... no
checking for file... file
checking for i486--netbsdelf-objdump... no
checking for objdump... objdump
checking how to recognize dependent libraries... match_pattern /lib[^/]+(\.so|_pic\.a)$
checking for i486--netbsdelf-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for i486--netbsdelf-ar... no
checking for ar... ar
checking for archiver @FILE support... @
checking for i486--netbsdelf-strip... no
checking for strip... strip
checking for i486--netbsdelf-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 i486--netbsdelf-mt... no
checking for mt... mt
checking if mt 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... rm: conftest*: No such file or directory
yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/pbulk/work/net/megacmd/work/.cwrapper/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... rm: conftest*: No such file or directory
no
checking dynamic linker characteristics... NetBSD ld.elf_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 i486--netbsdelf-g++... no
checking for i486--netbsdelf-objc++... no
checking for i486--netbsdelf-objcxx... no
checking for i486--netbsdelf-c++... no
checking for i486--netbsdelf-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 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++... /pbulk/work/net/megacmd/work/.cwrapper/bin/ld
checking if the linker (/pbulk/work/net/megacmd/work/.cwrapper/bin/ld) is GNU ld... yes
checking whether the c++ linker (/pbulk/work/net/megacmd/work/.cwrapper/bin/ld) supports shared libraries... cc1: warning: command-line option '-std=c++17' is valid for C++/ObjC++ but not for C
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... rm: conftest*: No such file or directory
yes
checking if c++ supports -c -o file.o... (cached) yes
checking whether the c++ linker (/pbulk/work/net/megacmd/work/.cwrapper/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... cc1: warning: command-line option '-std=c++17' is valid for C++/ObjC++ but not for C
NetBSD ld.elf_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) /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 gcc 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... yes
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... 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 if building MEGAcmd tests... no
checking whether std::atomic can be used without link library... no
checking whether std::atomic needs -latomic... no
configure: error: in '/pbulk/work/net/megacmd/work/MEGAcmd-1.7.0_Linux':
configure: error: cannot figure out how to use std::atomic
See 'config.log' for more details
*** Error code 1

Stop.
make[1]: stopped in /usr/pkgsrc/net/megacmd
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/net/megacmd