WARNING: USE_CMAKE is deprecated; use devel/cmake/build.mk instead.
=> Checksum BLAKE2s OK for bareos-20.0.2.tar.gz
=> Checksum SHA512 OK for bareos-20.0.2.tar.gz
===> Installing dependencies for bareos-20.0.2nb13
==========================================================================
The supported build options for bareos are:

	catalog-mysql catalog-pgsql catalog-sqlite3
	scsi-crypto

The currently selected options are:

	catalog-pgsql

You can select which build options to use by setting PKG_DEFAULT_OPTIONS
or the following variable.  Its current value is shown:

	PKG_OPTIONS.bareos (not defined)

==========================================================================
==========================================================================
The following variables will affect the build process of this package,
bareos-20.0.2nb13.  Their current value is shown below:

        * BAREOS_PIDDIR = /var/run/bareos
        * BAREOS_WORKINGDIR = /var/db/bareos
        * CURSES_DEFAULT = ncurses
        * KRB5_DEFAULT = mit-krb5
        * PAM_DEFAULT = openpam
        * PYTHON_VERSION_DEFAULT = 312
        * SSLBASE (defined)
        * SSLCERTBUNDLE (not defined)
        * SSLCERTS = /opt/pkg/etc/openssl/certs
        * SSLDIR = /opt/pkg/etc/openssl
        * SSLKEYS = /opt/pkg/etc/openssl/private
        * VARBASE = /var

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

        * CURSES_TYPE = ncurses
        * KRB5BASE (defined, but empty)
        * KRB5_TYPE = mit-krb5
        * PAMBASE (defined, but empty)
        * PYPACKAGE = python312
        * 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 cmake>=3.18: found cmake-3.31.1
=> 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 user-darwin>=20130712: found user-darwin-20170116
=> Full dependency perl>=5.0: found perl-5.40.0nb1
=> Full dependency jansson>=2.4nb1: found jansson-2.14
=> Full dependency lzo>=2.01: found lzo-2.10
=> Full dependency openpam>=20190224nb4: found openpam-20190224nb4
=> Full dependency openssl>=3: found openssl-3.3.2
=> Full dependency postgresql14-client>=14.9nb1: found postgresql14-client-14.15
=> Full dependency python312>=3.12.0: found python312-3.12.8nb1
=> Full dependency readline>=6.0: found readline-8.2nb2
=> Full dependency zlib>=1.2.3: found zlib-1.3.1
=> Full dependency gettext-lib>=0.22: found gettext-lib-0.22.5
=> Full dependency libiconv>=1.9.1: found libiconv-1.17
=> Full dependency lz4>=1.7.3<100: found lz4-1.10.0
=> Full dependency mit-krb5>=1.4: found mit-krb5-1.21.3nb1
=> Full dependency ncurses>=5.3nb1: found ncurses-6.5
===> Overriding tools for bareos-20.0.2nb13
===> Extracting for bareos-20.0.2nb13
===> Patching for bareos-20.0.2nb13
=> Applying pkgsrc patches for bareos-20.0.2nb13
=> Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/sysutils/bareos/patches/patch-core_CMakeLists.txt
=> Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/sysutils/bareos/patches/patch-core_CMakeLists.txt
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-core_CMakeLists.txt,v 1.2 2021/02/01 09:08:43 kardel Exp $
|
|	Setup NetBSD parameters
|	Due to current lack of XDR quad marshalling NDMP
|	needs to be disabled.
|
|--- core/CMakeLists.txt.orig	2020-12-16 07:46:16.000000000 +0000
|+++ core/CMakeLists.txt
--------------------------
Patching file core/CMakeLists.txt using Plan A...
Hunk #1 succeeded at 259.
Hunk #2 succeeded at 657.
Hunk #3 succeeded at 672.
done
=> Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/sysutils/bareos/patches/patch-core_cmake_BareosCheckIncludes.cmake
=> Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/sysutils/bareos/patches/patch-core_cmake_BareosCheckIncludes.cmake
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-core_cmake_BareosCheckIncludes.cmake,v 1.2 2021/02/01 09:08:43 kardel Exp $
|
|	Fix header file checks for NetBSD
|
|--- core/cmake/BareosCheckIncludes.cmake.orig	2020-12-16 07:46:16.000000000 +0000
|+++ core/cmake/BareosCheckIncludes.cmake
--------------------------
Patching file core/cmake/BareosCheckIncludes.cmake using Plan A...
Hunk #1 succeeded at 38.
Hunk #2 succeeded at 88.
done
=> Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/sysutils/bareos/patches/patch-core_cmake_BareosFindAllLibraries.cmake
=> Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/sysutils/bareos/patches/patch-core_cmake_BareosFindAllLibraries.cmake
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-core_cmake_BareosFindAllLibraries.cmake,v 1.3 2023/01/13 11:50:37 jperkin Exp $
|
|Prefer python3, remove broken SunOS section.
|
|--- core/cmake/BareosFindAllLibraries.cmake.orig	2021-06-10 15:37:18.000000000 +0000
|+++ core/cmake/BareosFindAllLibraries.cmake
--------------------------
Patching file core/cmake/BareosFindAllLibraries.cmake using Plan A...
Hunk #1 succeeded at 30.
Hunk #2 succeeded at 48.
Hunk #3 succeeded at 66.
done
=> Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/sysutils/bareos/patches/patch-core_cmake_BareosFindPrograms.cmake
=> Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/sysutils/bareos/patches/patch-core_cmake_BareosFindPrograms.cmake
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-core_cmake_BareosFindPrograms.cmake,v 1.2 2021/02/01 09:08:43 kardel Exp $
|
|	the pkgsrc build system provides awk on the path.
|	the cmake build system uses this build path for
|	installed scripts - change the way the awk path
|	is found.
|
|--- core/cmake/BareosFindPrograms.cmake.orig	2020-12-16 07:46:16.000000000 +0000
|+++ core/cmake/BareosFindPrograms.cmake
--------------------------
Patching file core/cmake/BareosFindPrograms.cmake using Plan A...
Hunk #1 succeeded at 18.
done
=> Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/sysutils/bareos/patches/patch-core_cmake_BareosInstallConfigFiles.cmake
=> Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/sysutils/bareos/patches/patch-core_cmake_BareosInstallConfigFiles.cmake
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-core_cmake_BareosInstallConfigFiles.cmake,v 1.2 2021/02/01 09:08:43 kardel Exp $
|
|	the original build source is lax on the permissions.
|	adjust permissions to match pkgsrc expectations.
|
|--- core/cmake/BareosInstallConfigFiles.cmake.orig	2021-01-22 12:52:32.430510739 +0000
|+++ core/cmake/BareosInstallConfigFiles.cmake
--------------------------
Patching file core/cmake/BareosInstallConfigFiles.cmake using Plan A...
Hunk #1 succeeded at 61.
Hunk #2 succeeded at 113.
Hunk #3 succeeded at 122.
Hunk #4 succeeded at 144.
Hunk #5 succeeded at 180.
done
=> Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/sysutils/bareos/patches/patch-core_cmake_BareosSetVariableDefaults.cmake
=> Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/sysutils/bareos/patches/patch-core_cmake_BareosSetVariableDefaults.cmake
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-core_cmake_BareosSetVariableDefaults.cmake,v 1.2 2021/02/01 09:08:43 kardel Exp $
|
|	disable ndmp due to missing xdr marshalling code
|
|--- core/cmake/BareosSetVariableDefaults.cmake.orig	2020-12-16 07:46:16.000000000 +0000
|+++ core/cmake/BareosSetVariableDefaults.cmake
--------------------------
Patching file core/cmake/BareosSetVariableDefaults.cmake using Plan A...
Hunk #1 succeeded at 413.
done
=> Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/sysutils/bareos/patches/patch-core_cmake_BareosTimeFunctions.cmake
=> Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/sysutils/bareos/patches/patch-core_cmake_BareosTimeFunctions.cmake
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-core_cmake_BareosTimeFunctions.cmake,v 1.2 2021/02/01 09:08:43 kardel Exp $
|
|	use the POSIX compatible way of doing date calculations.
|
|--- core/cmake/BareosTimeFunctions.cmake.orig	2021-01-22 12:44:55.503593980 +0000
|+++ core/cmake/BareosTimeFunctions.cmake
--------------------------
Patching file core/cmake/BareosTimeFunctions.cmake using Plan A...
Hunk #1 succeeded at 30.
done
=> Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/sysutils/bareos/patches/patch-core_platforms_netbsd_CMakeLists.txt
=> Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/sysutils/bareos/patches/patch-core_platforms_netbsd_CMakeLists.txt
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-core_platforms_netbsd_CMakeLists.txt,v 1.2 2021/02/01 09:08:43 kardel Exp $
|
|	add installation of chio-changer script
|
|--- core/platforms/netbsd/CMakeLists.txt.orig	2021-01-21 10:16:11.935292480 +0000
|+++ core/platforms/netbsd/CMakeLists.txt
--------------------------
(Creating file core/platforms/netbsd/CMakeLists.txt...)
Patching file core/platforms/netbsd/CMakeLists.txt using Plan A...
Empty context always matches.
Hunk #1 succeeded at 1.
done
=> Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/sysutils/bareos/patches/patch-core_platforms_netbsd_chio-changer
=> Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/sysutils/bareos/patches/patch-core_platforms_netbsd_chio-changer
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-core_platforms_netbsd_chio-changer,v 1.3 2021/08/11 10:24:05 kardel Exp $
|
|	NetBSD changer script using NetBSD chio command
|
|--- core/platforms/netbsd/chio-changer.orig	2021-01-21 10:16:11.945124363 +0000
|+++ core/platforms/netbsd/chio-changer
--------------------------
(Creating file core/platforms/netbsd/chio-changer...)
Patching file core/platforms/netbsd/chio-changer using Plan A...
Empty context always matches.
Hunk #1 succeeded at 1.
done
=> Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/sysutils/bareos/patches/patch-core_scripts_CMakeLists.txt
=> Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/sysutils/bareos/patches/patch-core_scripts_CMakeLists.txt
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-core_scripts_CMakeLists.txt,v 1.2 2021/02/01 09:08:43 kardel Exp $
|
|suppress mtx-changer installation if not found
|
|--- core/scripts/CMakeLists.txt.orig	2020-12-16 07:46:16.000000000 +0000
|+++ core/scripts/CMakeLists.txt
--------------------------
Patching file core/scripts/CMakeLists.txt using Plan A...
Hunk #1 succeeded at 36.
done
=> Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/sysutils/bareos/patches/patch-core_scripts_bareos-config-lib.sh.in
=> Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/sysutils/bareos/patches/patch-core_scripts_bareos-config-lib.sh.in
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-core_scripts_bareos-config-lib.sh.in,v 1.2 2021/02/01 09:08:43 kardel Exp $
|
|	add $PREFIX/{bin,sbin} to PATH to avoid tripping over
|	missing commands (like db programs)
|
|--- core/scripts/bareos-config-lib.sh.in.orig	2020-12-16 07:46:16.000000000 +0000
|+++ core/scripts/bareos-config-lib.sh.in
--------------------------
Patching file core/scripts/bareos-config-lib.sh.in using Plan A...
Hunk #1 succeeded at 23.
done
=> Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/sysutils/bareos/patches/patch-core_src_cats_make__catalog__backup.pl.in
=> Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/sysutils/bareos/patches/patch-core_src_cats_make__catalog__backup.pl.in
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-core_src_cats_make__catalog__backup.pl.in,v 1.2 2021/02/01 09:08:43 kardel Exp $
|
|	include ${PREFIX}/{bin,sbin} in path to find db programs/tools
|
|--- core/src/cats/make_catalog_backup.pl.in.orig	2020-07-09 17:39:20.000000000 +0000
|+++ core/src/cats/make_catalog_backup.pl.in
--------------------------
Patching file core/src/cats/make_catalog_backup.pl.in using Plan A...
Hunk #1 succeeded at 36.
done
=> Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/sysutils/bareos/patches/patch-core_src_cats_postgresql__queries.inc
=> Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/sysutils/bareos/patches/patch-core_src_cats_postgresql__queries.inc
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-core_src_cats_postgresql__queries.inc,v 1.2 2021/02/01 09:08:43 kardel Exp $
|
|	disambiguate reference columns
|
|--- core/src/cats/postgresql_queries.inc.orig	2020-12-16 07:46:16.000000000 +0000
|+++ core/src/cats/postgresql_queries.inc
--------------------------
Patching file core/src/cats/postgresql_queries.inc using Plan A...
Hunk #1 succeeded at 171.
Hunk #2 succeeded at 180.
done
=> Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/sysutils/bareos/patches/patch-core_src_console_CMakeLists.txt
=> Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/sysutils/bareos/patches/patch-core_src_console_CMakeLists.txt
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-core_src_console_CMakeLists.txt,v 1.1 2021/02/01 09:08:43 kardel Exp $
|
|	install config file with proper permissions
|
|--- core/src/console/CMakeLists.txt.orig	2021-01-22 17:06:22.267142097 +0000
|+++ core/src/console/CMakeLists.txt
--------------------------
Patching file core/src/console/CMakeLists.txt using Plan A...
Hunk #1 succeeded at 62.
done
=> Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/sysutils/bareos/patches/patch-core_src_dird_dird__conf.cc
=> Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/sysutils/bareos/patches/patch-core_src_dird_dird__conf.cc
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-core_src_dird_dird__conf.cc,v 1.2 2021/02/01 09:08:43 kardel Exp $
|
|	add dumping of Honor No Dump Flag
|
|--- core/src/dird/dird_conf.cc.orig	2021-01-22 16:02:33.229527262 +0000
|+++ core/src/dird/dird_conf.cc
--------------------------
Patching file core/src/dird/dird_conf.cc using Plan A...
Hunk #1 succeeded at 1981.
done
=> Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/sysutils/bareos/patches/patch-core_src_filed_accurate__lmdb.cc
=> Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/sysutils/bareos/patches/patch-core_src_filed_accurate__lmdb.cc
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-core_src_filed_accurate__lmdb.cc,v 1.2 2021/02/01 09:08:43 kardel Exp $
|
|	avoid uninitialized member crash.
|	lmdb not verified to be working correctly though.
|
|--- core/src/filed/accurate_lmdb.cc.orig	2020-12-16 07:46:16.000000000 +0000
|+++ core/src/filed/accurate_lmdb.cc
--------------------------
Patching file core/src/filed/accurate_lmdb.cc using Plan A...
Hunk #1 succeeded at 45.
done
=> Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/sysutils/bareos/patches/patch-core_src_findlib_acl.cc
=> Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/sysutils/bareos/patches/patch-core_src_findlib_acl.cc
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-core_src_findlib_acl.cc,v 1.2 2021/02/01 09:08:43 kardel Exp $
|
|	make ACL compile on NetBSD (10.x onward)
|
|--- core/src/findlib/acl.cc.orig	2020-12-16 07:46:16.000000000 +0000
|+++ core/src/findlib/acl.cc
--------------------------
Patching file core/src/findlib/acl.cc using Plan A...
Hunk #1 succeeded at 34.
Hunk #2 succeeded at 557.
Hunk #3 succeeded at 597.
Hunk #4 succeeded at 660.
Hunk #5 succeeded at 702.
Hunk #6 succeeded at 802.
Hunk #7 succeeded at 1075.
Hunk #8 succeeded at 1100.
Hunk #9 succeeded at 1130.
done
=> Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/sysutils/bareos/patches/patch-core_src_findlib_find__one.cc
=> Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/sysutils/bareos/patches/patch-core_src_findlib_find__one.cc
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-core_src_findlib_find__one.cc,v 1.2 2021/02/01 09:08:43 kardel Exp $
|
|	simplify UF_NODUMP test
|
|--- core/src/findlib/find_one.cc.orig	2021-01-22 13:22:58.585014513 +0000
|+++ core/src/findlib/find_one.cc
--------------------------
Patching file core/src/findlib/find_one.cc using Plan A...
Hunk #1 succeeded at 208.
done
=> Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/sysutils/bareos/patches/patch-core_src_lib_scsi__lli.cc
=> Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/sysutils/bareos/patches/patch-core_src_lib_scsi__lli.cc
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-core_src_lib_scsi__lli.cc,v 1.2 2021/02/01 09:08:43 kardel Exp $
|
|	fix coding - was probably never tested with scsi-crypto flag
|
|--- core/src/lib/scsi_lli.cc.orig	2020-12-16 07:46:16.000000000 +0000
|+++ core/src/lib/scsi_lli.cc
--------------------------
Patching file core/src/lib/scsi_lli.cc using Plan A...
Hunk #1 succeeded at 411.
Hunk #2 succeeded at 434.
Hunk #3 succeeded at 478.
done
=> Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/sysutils/bareos/patches/patch-core_src_lib_scsi__tapealert.cc
=> Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/sysutils/bareos/patches/patch-core_src_lib_scsi__tapealert.cc
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-core_src_lib_scsi__tapealert.cc,v 1.2 2021/02/01 09:08:43 kardel Exp $
|
|	fix result bit setting by keeping the uint64_t type and
|	not trip over endian issues and off by one errors for
|	result_index == 64.
|
|--- core/src/lib/scsi_tapealert.cc.orig	2020-12-16 07:46:16.000000000 +0000
|+++ core/src/lib/scsi_tapealert.cc
--------------------------
Patching file core/src/lib/scsi_tapealert.cc using Plan A...
Hunk #1 succeeded at 172.
done
=> Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/sysutils/bareos/patches/patch-core_src_lmdb_mdb.c
=> Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/sysutils/bareos/patches/patch-core_src_lmdb_mdb.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-core_src_lmdb_mdb.c,v 1.3 2021/02/01 09:08:43 kardel Exp $
|
|	use POSIX semaphores on NetBSD
|
|--- core/src/lmdb/mdb.c.orig	2020-12-16 07:46:16.000000000 +0000
|+++ core/src/lmdb/mdb.c
--------------------------
Patching file core/src/lmdb/mdb.c using Plan A...
Hunk #1 succeeded at 150.
done
=> Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/sysutils/bareos/patches/patch-core_src_plugins_stored_scsicrypto_scsicrypto-sd.cc
=> Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/sysutils/bareos/patches/patch-core_src_plugins_stored_scsicrypto_scsicrypto-sd.cc
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-core_src_plugins_stored_scsicrypto_scsicrypto-sd.cc,v 1.1 2021/02/01 09:08:43 kardel Exp $
|
|	The original hooks did not clear the key soon enough.
|	It was possible to change media in the tape library 
|	without the key being cleared causing key confusion
|	when bareos operation was mixed with other library clients.
|	Now the key is cleared whenever the device is closed.
|
|--- core/src/plugins/stored/scsicrypto/scsicrypto-sd.cc.orig	2021-01-22 16:17:58.773087567 +0000
|+++ core/src/plugins/stored/scsicrypto/scsicrypto-sd.cc
--------------------------
Patching file core/src/plugins/stored/scsicrypto/scsicrypto-sd.cc using Plan A...
Hunk #1 succeeded at 192.
Hunk #2 succeeded at 245.
done
=> Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/sysutils/bareos/patches/patch-core_src_plugins_stored_scsitapealert_scsitapealert-sd.cc
=> Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/sysutils/bareos/patches/patch-core_src_plugins_stored_scsitapealert_scsitapealert-sd.cc
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-core_src_plugins_stored_scsitapealert_scsitapealert-sd.cc,v 1.1 2021/02/01 09:08:43 kardel Exp $
|
|	tape alerts where not always gathered, add missing cases.
|
|--- core/src/plugins/stored/scsitapealert/scsitapealert-sd.cc.orig	2021-01-22 16:12:55.749020270 +0000
|+++ core/src/plugins/stored/scsitapealert/scsitapealert-sd.cc
--------------------------
Patching file core/src/plugins/stored/scsitapealert/scsitapealert-sd.cc using Plan A...
Hunk #1 succeeded at 129.
Hunk #2 succeeded at 177.
done
=> Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/sysutils/bareos/patches/patch-core_src_stored_btape.cc
=> Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/sysutils/bareos/patches/patch-core_src_stored_btape.cc
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-core_src_stored_btape.cc,v 1.2 2021/02/01 09:08:44 kardel Exp $
|
|	add missing free*() calls
|
|--- core/src/stored/btape.cc.orig	2020-12-16 07:46:16.000000000 +0000
|+++ core/src/stored/btape.cc
--------------------------
Patching file core/src/stored/btape.cc using Plan A...
Hunk #1 succeeded at 327.
Hunk #2 succeeded at 366.
Hunk #3 succeeded at 376.
done
=> Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/sysutils/bareos/patches/patch-core_src_stored_dev.cc
=> Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/sysutils/bareos/patches/patch-core_src_stored_dev.cc
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-core_src_stored_dev.cc,v 1.2 2021/08/11 10:24:05 kardel Exp $
|
|	spool.cc makes use of a ficticious temporary device that
|	has .device_resource set - ~Device() did not
|	verify that device_resource->dev referenced
|	this instance before clearing the link.
|	this leads to much confusion in the reservation code.
|
|	to use SCSI passthru file descriptors must be opened
|	READ_WRITE for scsi-crypto.
|
|--- core/src/stored/dev.cc.orig	2020-12-16 07:46:16.000000000 +0000
|+++ core/src/stored/dev.cc
--------------------------
Patching file core/src/stored/dev.cc using Plan A...
Hunk #1 succeeded at 650 (offset 15 lines).
done
=> Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/sysutils/bareos/patches/patch-systemtests_tests_droplet-s3_testrunner
=> Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/sysutils/bareos/patches/patch-systemtests_tests_droplet-s3_testrunner
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-systemtests_tests_droplet-s3_testrunner,v 1.1 2021/02/01 09:08:44 kardel Exp $
|
|	portability fix
|
|--- systemtests/tests/droplet-s3/testrunner.orig	2021-01-21 10:17:53.629198675 +0000
|+++ systemtests/tests/droplet-s3/testrunner
--------------------------
Patching file systemtests/tests/droplet-s3/testrunner using Plan A...
Hunk #1 succeeded at 31.
done
===> Creating toolchain wrappers for bareos-20.0.2nb13
===> Configuring for bareos-20.0.2nb13
=> Fixing absolute paths.
/bin/mkdir -p /Users/pbulk/build/sysutils/bareos/work/bareos-Release-20.0.2/core/_build
=> Replacing Perl interpreter in core/src/cats/make_catalog_backup.pl.in.
=> Fixing CMAKE_MODULE_PATH in CMakeLists.txt
INFO: [subst.mk:cmake] Nothing changed in "CMakeLists.txt".
Entering /Users/pbulk/build/sysutils/bareos/work/bareos-Release-20.0.2/core
-- 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/sysutils/bareos/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/sysutils/bareos/work/.cwrapper/bin/clang++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Performing Test compiler_will_suggest_override
-- Performing Test compiler_will_suggest_override - Success
-- Performing Test compiler_format_security
-- Performing Test compiler_format_security - Success
-- Performing Test compiler_error_format_security
-- Performing Test compiler_error_format_security - Success
-- Performing Test c_compiler_debug_prefix_map
-- Performing Test c_compiler_debug_prefix_map - Success
-- Performing Test cxx_compiler_debug_prefix_map
-- Performing Test cxx_compiler_debug_prefix_map - Success
-- Performing Test c_compiler_macro_prefix_map
-- Performing Test c_compiler_macro_prefix_map - Success
-- Performing Test cxx_compiler_macro_prefix_map
-- Performing Test cxx_compiler_macro_prefix_map - Success
-- Performing Test compiler_has_no_unknown_pragmas
-- Performing Test compiler_has_no_unknown_pragmas - Success
-- Using version information from /Users/pbulk/build/sysutils/bareos/work/bareos-Release-20.0.2/core/cmake/BareosVersion.cmake
BAREOS_NUMERIC_VERSION is 20.0.2
BAREOS_FULL_VERSION is 20.0.2
-- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE) 
    Reason given by package: The command
      "/Users/pbulk/build/sysutils/bareos/work/.tools/bin/pkg-config" --version
    failed with output:

    stderr: 
      
    result: 
1

-- Could NOT find Python2: Found unsuitable major version "3", but required major version is exact version "2"
-- Found Python3: /opt/pkg/bin/python3.12 (found version "3.12.8") found components: Interpreter Development Development.Module Development.Embed
CMake Warning (dev) at cmake/BareosFindAllLibraries.cmake:37 (set):
  Cannot set "Python3_VERSION_MAJOR": current scope has no parent.
Call Stack (most recent call first):
  CMakeLists.txt:205 (include)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at cmake/BareosFindAllLibraries.cmake:42 (set):
  Cannot set "Python3_VERSION_MINOR": current scope has no parent.
Call Stack (most recent call first):
  CMakeLists.txt:205 (include)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at cmake/BareosFindAllLibraries.cmake:70 (set):
  Cannot set "PYTHON_EXECUTABLE": current scope has no parent.
Call Stack (most recent call first):
  CMakeLists.txt:205 (include)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at cmake/BareosFindAllLibraries.cmake:74 (set):
  Cannot set "Python3_EXECUTABLE": current scope has no parent.
Call Stack (most recent call first):
  CMakeLists.txt:205 (include)
This warning is for project developers.  Use -Wno-dev to suppress it.

/Users/pbulk/build/sysutils/bareos/work/bareos-Release-20.0.2/core/cmake/get_python_compile_settings.py:37: SyntaxWarning: invalid escape sequence '\ '
  'message(STATUS "Python{0}_{1}\ is\  {2}")'.format(
/Users/pbulk/build/sysutils/bareos/work/bareos-Release-20.0.2/core/cmake/get_python_compile_settings.py:50: SyntaxWarning: invalid escape sequence '\ '
  'message(STATUS "Python{0}_{1}_FLAGS\ is\  {2}")'.format(
/Users/pbulk/build/sysutils/bareos/work/bareos-Release-20.0.2/core/cmake/get_python_compile_settings.py:59: SyntaxWarning: invalid escape sequence '\ '
  'message(STATUS "Python{0}_{1}\ is\  {2}")'.format(
/Users/pbulk/build/sysutils/bareos/work/bareos-Release-20.0.2/core/cmake/get_python_compile_settings.py:70: SyntaxWarning: invalid escape sequence '\ '
  'message(STATUS "Python{0}_{1}\ is\  {2}")'.format(
-- Python3_CC is  clang
-- Python3_CC_FLAGS is  
-- Python3_BLDSHARED is  clang -bundle -undefined dynamic_lookup -L/opt/pkg/lib -L/usr/lib -L/opt/pkg/lib -L/usr/lib
-- Python3_BLDSHARED_FLAGS is  -bundle -undefined dynamic_lookup -L/opt/pkg/lib -L/usr/lib -L/opt/pkg/lib -L/usr/lib
-- Python3_CFLAGS is  -fno-strict-overflow -Wsign-compare -Wunreachable-code -DNDEBUG -pipe -Os -I/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include -I/opt/pkg/include -DNCURSES_WIDECHAR=1 -I/opt/pkg/include/ncurses -pipe -Os -I/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include -I/opt/pkg/include -DNCURSES_WIDECHAR=1 -I/opt/pkg/include/ncurses -pipe -Os -I/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include -I/opt/pkg/include -DNCURSES_WIDECHAR=1 -I/opt/pkg/include/ncurses
-- Python3_CCSHARED is  
-- Python3_INCLUDEPY is  /opt/pkg/include/python3.12
-- Python3_LDFLAGS is  -L/opt/pkg/lib -L/usr/lib -L/opt/pkg/lib -L/usr/lib
-- Python3_EXT_SUFFIX is  .so
-- Found PostgreSQL: /opt/pkg/lib/libpq.dylib (found version "14.15")
-- Could NOT find OpenSSL, try to set the path to OpenSSL root folder in the system variable OPENSSL_ROOT_DIR (missing: OPENSSL_CRYPTO_LIBRARY OPENSSL_INCLUDE_DIR) 
-- checking for library vixDiskLib and vixDiskLib.h header ...
--   HAVE_VIXDISKLIB=0
--               ERROR:  vixDiskLib libraries NOT found. 
--               ERROR:  vixDiskLib includes  NOT found. 
--   VIXDISKLIB_FOUND=FALSE
--   VIXDISKLIB_LIBRARIES=
--   VIXDISKLIB_INCLUDE_DIRS=
--   HAVE_VIXDISKLIB=0
-- checking for library jansson and jansson.h header ...
--   JANSSON_FOUND=TRUE
--   JANSSON_LIBRARIES=/opt/pkg/lib/libjansson.dylib
--   JANSSON_INCLUDE_DIRS=/opt/pkg/include
--   HAVE_JANSSON=1
-- checking for library rados and rados/librados.h header ...
--   HAVE_RADOS=0
--               ERROR:  rados libraries NOT found. 
--               ERROR:  rados includes  NOT found. 
--   RADOS_FOUND=FALSE
--   RADOS_LIBRARIES=
--   RADOS_INCLUDE_DIRS=
--   HAVE_RADOS=0
-- checking for library radosstriper and radosstriper/libradosstriper.h header ...
--   HAVE_RADOSSTRIPER=0
--               ERROR:  radosstriper libraries NOT found. 
--               ERROR:  radosstriper includes  NOT found. 
--   RADOSSTRIPER_FOUND=FALSE
--   RADOSSTRIPER_LIBRARIES=
--   RADOSSTRIPER_INCLUDE_DIRS=
--   HAVE_RADOSSTRIPER=0
-- checking for library cephfs and cephfs/libcephfs.h header ...
--   HAVE_CEPHFS=0
--               ERROR:  cephfs libraries NOT found. 
--               ERROR:  cephfs includes  NOT found. 
--   CEPHFS_FOUND=FALSE
--   CEPHFS_LIBRARIES=
--   CEPHFS_INCLUDE_DIRS=
--   HAVE_CEPHFS=0
-- checking for library pthread and pthread.h header ...
--   PTHREAD_FOUND=TRUE
--   PTHREAD_LIBRARIES=/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/lib/libpthread.tbd
--   PTHREAD_INCLUDE_DIRS=/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include
--   HAVE_PTHREAD=1
-- checking for library cap and sys/capability.h header ...
--   HAVE_CAP=0
--               ERROR:  cap libraries NOT found. 
--               ERROR:  cap includes  NOT found. 
--   CAP_FOUND=FALSE
--   CAP_LIBRARIES=
--   CAP_INCLUDE_DIRS=
--   HAVE_CAP=0
-- checking for library gfapi and glusterfs/api/glfs.h header ...
--   HAVE_GFAPI=0
--               ERROR:  gfapi libraries NOT found. 
--               ERROR:  gfapi includes  NOT found. 
--   GFAPI_FOUND=FALSE
--   GFAPI_LIBRARIES=
--   GFAPI_INCLUDE_DIRS=
--   HAVE_GFAPI=0
-- checking for library pam and security/pam_appl.h header ...
--   PAM_FOUND=TRUE
--   PAM_LIBRARIES=/opt/pkg/lib/libpam.dylib
--   PAM_INCLUDE_DIRS=/opt/pkg/include
--   HAVE_PAM=1
-- checking for library lzo2 and lzo/lzoconf.h header ...
--   LZO2_FOUND=TRUE
--   LZO2_LIBRARIES=/opt/pkg/lib/liblzo2.dylib
--   LZO2_INCLUDE_DIRS=/opt/pkg/include
--   HAVE_LZO2=1
-- checking for library tirpc...
--               ERROR:  tirpc libraries NOT found. 
--   TIRPC_FOUND=FALSE
--   TIRPC_LIBRARIES=
--   HAVE_LIBTIRPC=0
-- checking for library util...
--   UTIL_FOUND=TRUE
--   UTIL_LIBRARIES=/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/lib/libutil.tbd
--   HAVE_LIBUTIL=1
-- checking for library dl...
--   DL_FOUND=TRUE
--   DL_LIBRARIES=/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/lib/libdl.tbd
--   HAVE_LIBDL=1
-- checking for library acl...
--               ERROR:  acl libraries NOT found. 
--   ACL_FOUND=FALSE
--   ACL_LIBRARIES=
--   HAVE_LIBACL=0
-- checking for library gtest...
--               ERROR:  gtest libraries NOT found. 
--   GTEST_FOUND=FALSE
--   GTEST_LIBRARIES=
--   HAVE_LIBGTEST=0
-- checking for library gtest_main...
--               ERROR:  gtest_main libraries NOT found. 
--   GTEST_MAIN_FOUND=FALSE
--   GTEST_MAIN_LIBRARIES=
--   HAVE_LIBGTEST_MAIN=0
-- checking for library gmock...
--               ERROR:  gmock libraries NOT found. 
--   GMOCK_FOUND=FALSE
--   GMOCK_LIBRARIES=
--   HAVE_LIBGMOCK=0
-- checking for library pam_wrapper...
--               ERROR:  pam_wrapper libraries NOT found. 
--   PAM_WRAPPER_FOUND=FALSE
--   PAM_WRAPPER_LIBRARIES=
--   HAVE_LIBPAM_WRAPPER=0
-- Found ZLIB: /opt/pkg/lib/libz.dylib (found version "1.3.1")
-- Found Readline: /opt/pkg/include
-- Looking for include files pthread.h, pthread_np.h
-- Looking for include files pthread.h, pthread_np.h - not found
-- Performing Test HAVE_PTHREAD_ATTR_GET_NP
-- Performing Test HAVE_PTHREAD_ATTR_GET_NP - Failed
CMake Error at CMakeLists.txt:209 (message):
  FATAL ERROR: OpenSSL is required but was not found.


-- Configuring incomplete, errors occurred!
*** Error code 1

Stop.
bmake[1]: stopped making "configure" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/sysutils/bareos
*** Error code 1

Stop.
bmake: stopped making "configure" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/sysutils/bareos