=> Checksum BLAKE2s OK for megacmd-2.0.0.tar.gz
=> Checksum SHA512 OK for megacmd-2.0.0.tar.gz
=> Checksum BLAKE2s OK for meganz-sdk-v8.3.1.tar.gz
=> Checksum SHA512 OK for meganz-sdk-v8.3.1.tar.gz
===> Installing dependencies for megacmd-2.0.0nb2
==========================================================================
The following variables will affect the build process of this package,
megacmd-2.0.0nb2.  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 git-base-[0-9]*: found git-base-2.49.0nb2
=> Tool dependency cmake>=0: found cmake-3.31.7nb2
=> Tool dependency libtool-base>=2.4.2nb9: found libtool-base-2.4.7nb1
=> Tool dependency nbpatch-[0-9]*: found nbpatch-20151107
=> Tool dependency pkgconf-[0-9]*: found pkgconf-2.4.3
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Full dependency cryptopp>=8.7.0nb1: found cryptopp-8.9.0
=> Full dependency curl>=8.13.0nb2: found curl-8.13.0nb2
=> Full dependency icu>=77.1: found icu-77.1
=> Full dependency libcares>=1.6.0: found libcares-1.34.5
=> Full dependency libinotify>=0.0: found libinotify-0.0.20240724
=> Full dependency libsodium>=0.3: found libsodium-1.0.20
=> Full dependency libuv>=1.6: found libuv-1.50.0
=> Full dependency pcre>=8.30nb1: found pcre-8.45
=> Full dependency readline>=6.0: found readline-8.2nb2
=> Full dependency sqlite3>=3.49.1nb3: found sqlite3-3.49.1nb3
=> Full dependency cyrus-sasl>=2.1.12: found cyrus-sasl-2.1.28nb1
=> Full dependency gettext-lib>=0.22: found gettext-lib-0.22.5
=> Full dependency libiconv>=1.9.1: found libiconv-1.17
=> Full dependency libidn2>=2.0.0: found libidn2-2.3.7
=> Full dependency libssh2>=0.18: found libssh2-1.11.1
=> Full dependency libunistring>=0.9.3: found libunistring-1.2
=> Full dependency libxml2>=2.6.2: found libxml2-2.14.2nb1
=> Full dependency ncurses>=5.3nb1: found ncurses-6.5
=> Full dependency nghttp2>=1.0.0: found nghttp2-1.65.0nb1
=> Full dependency openldap-client>=2.4.6: found openldap-client-2.6.9
=> Full dependency openssl>=1.1.1: found openssl-3.4.1
=> Full dependency xz>=5.0.0: found xz-5.8.1
=> Full dependency zlib>=1.1.4: found zlib-1.3.1
===> Overriding tools for megacmd-2.0.0nb2
===> Extracting for megacmd-2.0.0nb2
===> Patching for megacmd-2.0.0nb2
=> Applying pkgsrc patches for megacmd-2.0.0nb2
=> Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos-upstream-arm64/net/megacmd/patches/patch-CMakeLists.txt
=> Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-upstream-arm64/net/megacmd/patches/patch-CMakeLists.txt
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-CMakeLists.txt,v 1.1 2025/02/15 07:40:13 wiz Exp $
|
|* Use system dependencies instead of vcpkg
|* Fix install directories
|* Install inotify conf file only on Linux
|
|--- CMakeLists.txt.orig	2025-01-30 14:04:12.000000000 +0100
|+++ CMakeLists.txt
--------------------------
Patching file CMakeLists.txt using Plan A...
Hunk #1 succeeded at 26.
Hunk #2 succeeded at 40.
Hunk #3 succeeded at 135.
Hunk #4 succeeded at 458.
done
=> Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos-upstream-arm64/net/megacmd/patches/patch-build_cmake_modules_megacmd__libraries.cmake
=> Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-upstream-arm64/net/megacmd/patches/patch-build_cmake_modules_megacmd__libraries.cmake
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-build_cmake_modules_megacmd__libraries.cmake,v 1.1 2025/02/15 07:40:13 wiz Exp $
|
|* Fix used pcre library name
|
|--- build/cmake/modules/megacmd_libraries.cmake.orig	2025-01-30 14:04:12.000000000 +0100
|+++ build/cmake/modules/megacmd_libraries.cmake
--------------------------
Patching file build/cmake/modules/megacmd_libraries.cmake using Plan A...
Hunk #1 succeeded at 16.
done
=> Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos-upstream-arm64/net/megacmd/patches/patch-sdk_cmake_modules_sdklib__libraries.cmake
=> Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-upstream-arm64/net/megacmd/patches/patch-sdk_cmake_modules_sdklib__libraries.cmake
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-sdk_cmake_modules_sdklib__libraries.cmake,v 1.1 2025/02/15 07:40:13 wiz Exp $
|
|* Fix to find libcrypto++
|* Add libinotify check
|
|--- sdk/cmake/modules/sdklib_libraries.cmake.orig	2025-01-24 13:56:57.000000000 +0100
|+++ sdk/cmake/modules/sdklib_libraries.cmake
--------------------------
Patching file sdk/cmake/modules/sdklib_libraries.cmake using Plan A...
Hunk #1 succeeded at 95.
done
=> Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos-upstream-arm64/net/megacmd/patches/patch-sdk_cmake_modules_sdklib__target.cmake
=> Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-upstream-arm64/net/megacmd/patches/patch-sdk_cmake_modules_sdklib__target.cmake
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-sdk_cmake_modules_sdklib__target.cmake,v 1.1 2025/02/15 07:40:13 wiz Exp $
|
|* On gcc-10 std::filesystem is in stdc++
|
|--- sdk/cmake/modules/sdklib_target.cmake.orig	2025-02-07 10:00:44.872621812 +0100
|+++ sdk/cmake/modules/sdklib_target.cmake
--------------------------
Patching file sdk/cmake/modules/sdklib_target.cmake using Plan A...
Hunk #1 succeeded at 358.
done
=> Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos-upstream-arm64/net/megacmd/patches/patch-sdk_include_mega_posix_megafs.h
=> Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-upstream-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.2 2025/02/15 07:40:13 wiz Exp $
|
|* Use FSACCESS_CLASS of linux on BSDs
|
|--- sdk/include/mega/posix/megafs.h.orig	2025-02-13 10:44:28.677854322 +0100
|+++ sdk/include/mega/posix/megafs.h
--------------------------
Patching file sdk/include/mega/posix/megafs.h using Plan A...
Hunk #1 succeeded at 192.
done
=> Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos-upstream-arm64/net/megacmd/patches/patch-sdk_src_posix_fs.cpp
=> Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-upstream-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.3 2025/02/15 07:40:14 wiz Exp $
|
|* Fix build on NetBSD, use statvfs
|* Don't use mntent features on BSDs
|* O_NOATIME not available on BSDs
|* BSDs use LinuxFileSystemAccess
|
|--- sdk/src/posix/fs.cpp.orig	2025-01-24 13:56:57.000000000 +0100
|+++ sdk/src/posix/fs.cpp
--------------------------
Patching file sdk/src/posix/fs.cpp using Plan A...
Hunk #1 succeeded at 22.
Hunk #2 succeeded at 33.
Hunk #3 succeeded at 822.
Hunk #4 succeeded at 883.
Hunk #5 succeeded at 1643.
Hunk #6 succeeded at 1809.
Hunk #7 succeeded at 2069.
Hunk #8 succeeded at 2238.
Hunk #9 succeeded at 2267.
Hunk #10 succeeded at 2344.
Hunk #11 succeeded at 2355.
Hunk #12 succeeded at 2372.
Hunk #13 succeeded at 2432.
done
=> Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos-upstream-arm64/net/megacmd/patches/patch-src_megacmdcommonutils.cpp
=> Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-upstream-arm64/net/megacmd/patches/patch-src_megacmdcommonutils.cpp
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_megacmdcommonutils.cpp,v 1.1 2025/02/15 07:40:14 wiz Exp $
|
|* BSDs use the functions of linux
|
|--- src/megacmdcommonutils.cpp.orig	2025-02-07 09:43:13.320748794 +0100
|+++ src/megacmdcommonutils.cpp
--------------------------
Patching file src/megacmdcommonutils.cpp using Plan A...
Hunk #1 succeeded at 1128.
done
=> Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos-upstream-arm64/net/megacmd/patches/patch-src_megacmdcommonutils.h
=> Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-upstream-arm64/net/megacmd/patches/patch-src_megacmdcommonutils.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_megacmdcommonutils.h,v 1.1 2025/02/15 07:40:14 wiz Exp $
|
|* BSDs use the functions of linux
|
|--- src/megacmdcommonutils.h.orig	2025-02-07 09:44:39.977015171 +0100
|+++ src/megacmdcommonutils.h
--------------------------
Patching file src/megacmdcommonutils.h using Plan A...
Hunk #1 succeeded at 269.
done
=> Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos-upstream-arm64/net/megacmd/patches/patch-src_megacmdshell_megacmdshellcommunications.cpp
=> Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-upstream-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.2 2025/02/15 07:40:14 wiz Exp $
|
|* Fix include on BSDs
|
|--- src/megacmdshell/megacmdshellcommunications.cpp.orig	2024-05-20 12:29:43.000000000 +0000
|+++ src/megacmdshell/megacmdshellcommunications.cpp
--------------------------
Patching file src/megacmdshell/megacmdshellcommunications.cpp using Plan A...
Hunk #1 succeeded at 44 (offset -11 lines).
done
===> Creating toolchain wrappers for megacmd-2.0.0nb2
===> Configuring for megacmd-2.0.0nb2
=> Replacing sh interpreter in src/client/mega-*.
-- Found Git: /opt/pkg/bin/git (found version "2.49.0")
fatal: not a git repository (or any parent up to mount point /Users/pbulk)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
-- Minimum OS X deployment version is set to 11.1
-- Using VCPKG_ROOT = 
-- Using system dependencies
-- The C compiler identification is AppleClang 13.1.6.13160021
-- The CXX compiler identification is AppleClang 13.1.6.13160021
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /Users/pbulk/build/net/megacmd/work/.cwrapper/bin/clang - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /Users/pbulk/build/net/megacmd/work/.cwrapper/bin/clang++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Building MEGAcmd v2.0.0
-- Added CMAKE_INSTALL_LIBDIR=/opt/pkg/lib to rpath: /opt/pkg/lib
-- [SDKlib] is building under project [MEGAcmd] Install target, examples and tests will not be enabled by default.
-- Generator: Unix Makefiles
-- Architectures: -Not set- (It defaults to the host system architecture)
-- Minimum deployment version: 11.1
-- Target System Processor: arm64
-- Host System Processor: arm64
-- Build type set to: Release
-- Building SDKlib v8.3.1
-- Looking for inttypes.h
-- Looking for inttypes.h - found
-- Looking for dirent.h
-- Looking for dirent.h - found
-- Looking for glob
-- Looking for glob - found
-- Looking for aio_write,
-- Looking for aio_write, - not found
-- Found PkgConfig: /Users/pbulk/build/net/megacmd/work/.tools/bin/pkg-config (found version "2.4.3")
-- Checking for module 'libcryptopp'
--   Found libcryptopp, version 8.9
-- Checking for module 'libinotify'
--   Found libinotify, version 20240724
-- Checking for module 'libsodium'
--   Found libsodium, version 1.0.20
-- Checking for module 'sqlite3'
--   Found sqlite3, version 3.49.1
-- Checking for module 'libcurl'
--   Found libcurl, version 8.13.0
-- Found ICU: /Users/pbulk/build/net/megacmd/work/.buildlink/include (found version "77.1") found components: uc data
-- Checking for module 'libuv'
--   Found libuv, version 1.50.0
-- Checking for module 'libcares'
--   Found libcares, version 1.34.5
-- Checking for module 'readline'
--   Found readline, version 8.2
-- Checking for module 'libpcrecpp'
--   Found libpcrecpp, version 8.45
CMake Warning (dev) at CMakeLists.txt:427 (install):
  Policy CMP0177 is not set: install() DESTINATION paths are normalized.  Run
  "cmake --help-policy CMP0177" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Configuring done (6.6s)
-- Generating done (0.1s)
CMake Warning:
  Manually-specified variables were not used by the project:

    FETCHCONTENT_FULLY_DISCONNECTED


-- Build files have been written to: /Users/pbulk/build/net/megacmd/work/MEGAcmd-2.0.0_Linux/cmake-pkgsrc-build
=> Modifying libtool scripts to use pkgsrc libtool
=> Modifying libtool scripts to use pkgsrc depcomp