+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/megacmd-2.4.0/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/megacmd-2.4.0/work.log => Checksum BLAKE2s OK for megacmd-2.4.0.tar.gz => Checksum SHA512 OK for megacmd-2.4.0.tar.gz => Checksum BLAKE2s OK for meganz-sdk-v10.3.1.tar.gz => Checksum SHA512 OK for meganz-sdk-v10.3.1.tar.gz ===> Installing dependencies for megacmd-2.4.0 ========================================================================== The following variables will affect the build process of this package, megacmd-2.4.0. Their current value is shown below: * CURSES_DEFAULT = ncurses * SSLBASE (defined) * SSLCERTBUNDLE (not defined) * SSLCERTS = /etc/opt/pkg/openssl/certs * SSLDIR = /etc/opt/pkg/openssl * SSLKEYS = /etc/opt/pkg/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.53.0nb1 => Tool dependency cmake>=0: found cmake-4.2.3nb1 => Tool dependency libtool-base>=2.4.2nb9: found libtool-base-2.4.7nb1 => Tool dependency pkgconf-[0-9]*: found pkgconf-2.5.1 => 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.18.0nb2: found curl-8.18.0nb2 => Full dependency icu>=78.1: found icu-78.2 => Full dependency libcares>=1.6.0: found libcares-1.34.6 => Full dependency libsodium>=0.3: found libsodium-1.0.21 => Full dependency libuv>=1.6: found libuv-1.52.0 => Full dependency pcre>=8.30nb1: found pcre-8.45 => Full dependency readline>=6.0: found readline-8.3nb1 => Full dependency sqlite3>=3.51.1nb1: found sqlite3-3.51.2 => Full dependency gettext-lib>=0.22: found gettext-lib-0.22.5 => Full dependency libiconv>=1.9.1: found libiconv-1.18 => Full dependency libidn2>=2.0.0: found libidn2-2.3.7 => Full dependency libunistring>=0.9.3: found libunistring-1.2 => Full dependency libxml2>=2.6.2: found libxml2-2.15.1 => Full dependency ncurses>=5.3nb1: found ncurses-6.6 => Full dependency nghttp2>=1.0.0: found nghttp2-1.68.0nb1 => Full dependency openssl>=3.0: found openssl-3.6.1 => Full dependency zlib>=1.1.4: found zlib-1.3.1 ===> Overriding tools for megacmd-2.4.0 ===> Extracting for megacmd-2.4.0 ===> Patching for megacmd-2.4.0 => Applying pkgsrc patches for megacmd-2.4.0 => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/net/megacmd/patches/patch-CMakeLists.txt => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/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.2 2025/05/16 19:43:58 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 39. Hunk #2 succeeded at 134. Hunk #3 succeeded at 459 (offset 2 lines). done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/net/megacmd/patches/patch-build_cmake_modules_megacmd__libraries.cmake => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/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 /data/jenkins/workspace/pkgsrc-upstream-trunk/net/megacmd/patches/patch-sdk_cmake_config.h.in => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/net/megacmd/patches/patch-sdk_cmake_config.h.in Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-sdk_cmake_config.h.in,v 1.1 2025/05/16 19:43:58 wiz Exp $ | |* Use periodic scan instead of filesystem notification on BSDs | |--- sdk/cmake/config.h.in.orig 2025-05-12 14:43:30.633759167 +0200 |+++ sdk/cmake/config.h.in -------------------------- Patching file sdk/cmake/config.h.in using Plan A... Hunk #1 succeeded at 10. Hunk #2 succeeded at 235 (offset 3 lines). done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/net/megacmd/patches/patch-sdk_cmake_modules_sdklib__libraries.cmake => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/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.2 2025/05/16 19:43:58 wiz Exp $ | |* Fix to find libcrypto++ | |--- sdk/cmake/modules/sdklib_libraries.cmake.orig 2025-04-02 09:16:59.000000000 +0200 |+++ sdk/cmake/modules/sdklib_libraries.cmake -------------------------- Patching file sdk/cmake/modules/sdklib_libraries.cmake using Plan A... Hunk #1 succeeded at 98 (offset 7 lines). done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/net/megacmd/patches/patch-sdk_cmake_modules_sdklib__target.cmake => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/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 399 (offset 41 lines). done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/net/megacmd/patches/patch-sdk_include_mega_localpath.h => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/net/megacmd/patches/patch-sdk_include_mega_localpath.h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-sdk_include_mega_localpath.h,v 1.1 2026/02/11 17:04:10 kikadf Exp $ | |* Add filesystem support to BSDs | |--- sdk/include/mega/localpath.h.orig 2026-02-08 19:23:32.037218658 +0100 |+++ sdk/include/mega/localpath.h -------------------------- Patching file sdk/include/mega/localpath.h using Plan A... Hunk #1 succeeded at 33. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/net/megacmd/patches/patch-sdk_include_mega_posix_megafs.h => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/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.3 2025/05/16 19:43:58 wiz Exp $ | |* Add Fallback classes to avoid inotify | |--- sdk/include/mega/posix/megafs.h.orig 2025-04-02 09:16:59.000000000 +0200 |+++ sdk/include/mega/posix/megafs.h -------------------------- Patching file sdk/include/mega/posix/megafs.h using Plan A... Hunk #1 succeeded at 276 (offset 16 lines). done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/net/megacmd/patches/patch-sdk_include_mega_sync.h => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/net/megacmd/patches/patch-sdk_include_mega_sync.h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-sdk_include_mega_sync.h,v 1.1 2025/05/16 19:43:58 wiz Exp $ | |* Set ChangeDetectionMethod to USE_PERIODIC | |--- sdk/include/mega/sync.h.orig 2025-05-12 14:52:24.963962961 +0200 |+++ sdk/include/mega/sync.h -------------------------- Patching file sdk/include/mega/sync.h using Plan A... Hunk #1 succeeded at 224. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/net/megacmd/patches/patch-sdk_src_filesystem.cpp => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/net/megacmd/patches/patch-sdk_src_filesystem.cpp Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-sdk_src_filesystem.cpp,v 1.1 2025/05/16 19:43:58 wiz Exp $ | |* Add BSD supported filesystems | |--- sdk/src/filesystem.cpp.orig 2025-04-17 16:07:37.374980956 +0200 |+++ sdk/src/filesystem.cpp -------------------------- Patching file sdk/src/filesystem.cpp using Plan A... Hunk #1 succeeded at 609 (offset -176 lines). Hunk #2 succeeded at 637 (offset -176 lines). Hunk #3 succeeded at 882 (offset -10 lines). done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/net/megacmd/patches/patch-sdk_src_node.cpp => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/net/megacmd/patches/patch-sdk_src_node.cpp Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-sdk_src_node.cpp,v 1.1 2026/01/08 17:52:19 kikadf Exp $ | |* Fix ctype(3) tolower usage | |--- sdk/src/node.cpp.orig 2026-01-03 22:32:23.317953423 +0000 |+++ sdk/src/node.cpp -------------------------- Patching file sdk/src/node.cpp using Plan A... Hunk #1 succeeded at 201 (offset 4 lines). done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/net/megacmd/patches/patch-sdk_src_posix_fs.cpp => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/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.6 2026/02/11 17:04:10 kikadf Exp $ | |* Fix build on NetBSD, use statvfs |* Don't use mntent features on BSDs |* O_NOATIME not available on BSDs |* Fallback funcs |* Fix ctype(3) tolower usage | |--- sdk/src/posix/fs.cpp.orig 2026-01-13 02:44:33.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 1116. Hunk #4 succeeded at 1553. Hunk #5 succeeded at 1570. Hunk #6 succeeded at 1878. Hunk #7 succeeded at 1944. Hunk #8 succeeded at 2195. Hunk #9 succeeded at 2364. Hunk #10 succeeded at 2393. Hunk #11 succeeded at 2470. Hunk #12 succeeded at 2481. Hunk #13 succeeded at 2495. Hunk #14 succeeded at 2588. Hunk #15 succeeded at 2678. Hunk #16 succeeded at 2715. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/net/megacmd/patches/patch-sdk_src_syncfilter.cpp => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/net/megacmd/patches/patch-sdk_src_syncfilter.cpp Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-sdk_src_syncfilter.cpp,v 1.1 2026/01/08 17:52:19 kikadf Exp $ | |* Fix ctype(3) tolower usage | |--- sdk/src/syncfilter.cpp.orig 2026-01-03 22:42:24.434490944 +0000 |+++ sdk/src/syncfilter.cpp -------------------------- Patching file sdk/src/syncfilter.cpp using Plan A... Hunk #1 succeeded at 980. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/net/megacmd/patches/patch-sdk_src_utils.cpp => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/net/megacmd/patches/patch-sdk_src_utils.cpp Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-sdk_src_utils.cpp,v 1.1 2026/01/08 17:52:19 kikadf Exp $ | |* Fix ctype(3) tolower usage | |--- sdk/src/utils.cpp.orig 2026-01-03 22:27:50.415280578 +0000 |+++ sdk/src/utils.cpp -------------------------- Patching file sdk/src/utils.cpp using Plan A... Hunk #1 succeeded at 2342 (offset 152 lines). done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/net/megacmd/patches/patch-src_megacmdcommonutils.cpp => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/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.2 2026/01/08 17:52:20 kikadf Exp $ | |* BSDs use the functions of linux |* Fix ctype(3) tolower usage | |--- src/megacmdcommonutils.cpp.orig 2025-04-04 10:39:49.000000000 +0000 |+++ src/megacmdcommonutils.cpp -------------------------- Patching file src/megacmdcommonutils.cpp using Plan A... Hunk #1 succeeded at 651 (offset -9 lines). Hunk #2 succeeded at 1185 (offset 32 lines). done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/net/megacmd/patches/patch-src_megacmdcommonutils.h => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/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 318 (offset 49 lines). done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/net/megacmd/patches/patch-src_megacmdshell_megacmdshellcommunications.cpp => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/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 => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/net/megacmd/patches/patch-src_megacmdutils.cpp => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/net/megacmd/patches/patch-src_megacmdutils.cpp Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_megacmdutils.cpp,v 1.1 2026/01/08 17:52:20 kikadf Exp $ | |* Fix ctype(3) tolower usage | |--- src/megacmdutils.cpp.orig 2026-01-03 22:04:27.842177008 +0000 |+++ src/megacmdutils.cpp -------------------------- Patching file src/megacmdutils.cpp using Plan A... Hunk #1 succeeded at 559 (offset 13 lines). done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/net/megacmd/patches/patch-src_updater_UpdateTask.cpp => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/net/megacmd/patches/patch-src_updater_UpdateTask.cpp Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_updater_UpdateTask.cpp,v 1.1 2026/01/08 17:52:20 kikadf Exp $ | |* Fix ctype(3) tolower usage | |--- src/updater/UpdateTask.cpp.orig 2026-01-04 16:27:16.088641735 +0100 |+++ src/updater/UpdateTask.cpp -------------------------- Patching file src/updater/UpdateTask.cpp using Plan A... Hunk #1 succeeded at 589. Hunk #2 succeeded at 606. done ===> Creating toolchain wrappers for megacmd-2.4.0 ===> Configuring for megacmd-2.4.0 => Replacing sh interpreter in src/client/mega-*. => Checking for portability problems in extracted files -- Found Git: /opt/pkg/bin/git (found version "2.53.0") fatal: not a git repository (or any of the parent directories): .git -- System Architecture: -- Configuring with FUSE support -- Using VCPKG_ROOT = -- Using system dependencies -- The C compiler identification is GNU 14.3.0 -- The CXX compiler identification is GNU 14.3.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /home/pbulk/build/net/megacmd/work/.cwrapper/bin/gcc - 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: /home/pbulk/build/net/megacmd/work/.cwrapper/bin/g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Building MEGAcmd v2.4.0 -- [SDKlib] is building under project [MEGAcmd] Install target, examples and tests will not be enabled by default. -- Generator: Unix Makefiles -- Target OS version: 5.11 -- Target System Processor: i386 -- Host System Processor: i386 -- Build type set to: Release -- Building SDKlib v10.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: /home/pbulk/build/net/megacmd/work/.tools/bin/pkg-config (found version "2.5.1") -- Checking for module 'libcryptopp' -- Found libcryptopp, version 8.9 -- Checking for module 'libsodium' -- Found libsodium, version 1.0.21 -- Checking for module 'sqlite3' -- Found sqlite3, version 3.51.2 -- Checking for module 'libcurl' -- Found libcurl, version 8.18.0 -- Found ICU: /home/pbulk/build/net/megacmd/work/.buildlink/include (found version "78.2") found components: uc data -- Found OpenSSL: /home/pbulk/build/net/megacmd/work/.buildlink/lib/libcrypto.so (found version "3.6.1") -- Checking for module 'libuv' -- Found libuv, version 1.52.0 -- Checking for module 'readline' -- Found readline, version 8.3 -- Checking for module 'libpcrecpp' -- Found libpcrecpp, version 8.45 -- Configuring done (32.8s) -- Generating done (0.5s) CMake Warning: Manually-specified variables were not used by the project: FETCHCONTENT_FULLY_DISCONNECTED -- Build files have been written to: /home/pbulk/build/net/megacmd/work/MEGAcmd-2.4.0_Linux/cmake-pkgsrc-build => Modifying libtool scripts to use pkgsrc libtool => Modifying libtool scripts to use pkgsrc depcomp