=> Bootstrap dependency digest>=20211023: found digest-20220214 => Checksum BLAKE2s OK for samba-4.15.6.tar.gz => Checksum SHA512 OK for samba-4.15.6.tar.gz ===> Installing dependencies for samba-4.15.6nb1 ========================================================================== The supported build options for samba are: acl ads avahi cups fam ldap pam winbind The currently selected options are: ads avahi ldap pam winbind You can select which build options to use by setting PKG_DEFAULT_OPTIONS or the following variable. Its current value is shown: PKG_OPTIONS.samba4 (not defined) ========================================================================== ========================================================================== The following variables will affect the build process of this package, samba-4.15.6nb1. Their current value is shown below: * PAM_DEFAULT = openpam * PYTHON_VERSION_DEFAULT = 39 * SSLBASE = /usr * SSLCERTBUNDLE (not defined) * SSLCERTS = /etc/openssl/certs * SSLDIR = /etc/openssl * SSLKEYS = /etc/openssl/private * VARBASE = /var Based on these variables, the following variables have been set: * PAMBASE (defined, but empty) * PYPACKAGE = python39 * 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 glib2-tools-[0-9]*: found glib2-tools-2.70.4 => Tool dependency bison>=1.0: found bison-3.8.2 => Tool dependency gmake>=3.81: found gmake-4.3nb3 => Tool dependency pkgconf-[0-9]*: found pkgconf-1.8.0 => Tool dependency checkperms>=1.1: found checkperms-1.12 => Build dependency libxslt-[0-9]*: found libxslt-1.1.34nb7 => Build dependency docbook-xml-[0-9]*: found docbook-xml-4.5 => Build dependency docbook-xsl>=1.79.2: found docbook-xsl-1.79.2nb5 => Build dependency cwrappers>=20150314: found cwrappers-20180325 => Full dependency p5-Parse-Yapp>=1.05: found p5-Parse-Yapp-1.21nb4 => Full dependency py39-dns-[0-9]*: found py39-dns-1.16.0nb2 => Full dependency py39-expat-[0-9]*: found py39-expat-3.9.12 => Full dependency py39-iso8601-[0-9]*: found py39-iso8601-1.0.2nb1 => Full dependency py39-markdown-[0-9]*: found py39-markdown-3.2.2nb2 => Full dependency perl>=5.0: found perl-5.34.0nb3 => Full dependency avahi>=0.8nb4: found avahi-0.8nb5 => Full dependency gettext-lib>=0.18: found gettext-lib-0.21 => Full dependency libiconv>=1.9.1nb4: found libiconv-1.14nb3 => Full dependency ldb>=2.4.2: found ldb-2.4.2 => Full dependency popt>=1.16nb1: found popt-1.18 => Full dependency talloc>=2.3.1: found talloc-2.3.3 => Full dependency tevent>=0.9.37: found tevent-0.11.0nb1 => Full dependency cmocka>=1.1.5: found cmocka-1.1.5 => Full dependency lmdb>=0.9.14: found lmdb-0.9.29 => Full dependency readline>=6.0: found readline-8.1.2 => Full dependency python39>=3.9.0: found python39-3.9.12 => Full dependency gnutls>=3.7.2nb1: found gnutls-3.7.4 => Full dependency libgcrypt>=1.6.0: found libgcrypt-1.10.0 => Full dependency jansson>=2.4nb1: found jansson-2.13.1 ===> Skipping vulnerability checks. WARNING: No /var/db/pkg/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'. ===> Overriding tools for samba-4.15.6nb1 ===> Extracting for samba-4.15.6nb1 /bin/cp /usr/pkgsrc/net/samba4/files/adduser.sh /usr/pkgsrc/net/samba4/files/deluser.sh /usr/pkgsrc/net/samba4/work ===> Patching for samba-4.15.6nb1 => Applying pkgsrc patches for samba-4.15.6nb1 => Verifying /usr/pkgsrc/net/samba4/patches/patch-buildtools_wafsamba_samba__conftests.py => Applying pkgsrc patch /usr/pkgsrc/net/samba4/patches/patch-buildtools_wafsamba_samba__conftests.py Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-buildtools_wafsamba_samba__conftests.py,v 1.2 2019/11/10 17:01:58 adam Exp $ | |Ensure defines are strings to avoid assertion failure, some |returned values are unicode. | |--- buildtools/wafsamba/samba_conftests.py.orig 2019-07-09 10:08:41.000000000 +0000 |+++ buildtools/wafsamba/samba_conftests.py -------------------------- Patching file buildtools/wafsamba/samba_conftests.py using Plan A... Hunk #1 succeeded at 97. done => Verifying /usr/pkgsrc/net/samba4/patches/patch-buildtools_wafsamba_samba__install.py => Applying pkgsrc patch /usr/pkgsrc/net/samba4/patches/patch-buildtools_wafsamba_samba__install.py Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-buildtools_wafsamba_samba__install.py,v 1.2 2019/03/20 19:09:10 adam Exp $ | |Apply correct install_name on Darwin. | |--- buildtools/wafsamba/samba_install.py.orig 2019-01-14 22:24:44.000000000 +0000 |+++ buildtools/wafsamba/samba_install.py -------------------------- Patching file buildtools/wafsamba/samba_install.py using Plan A... Hunk #1 succeeded at 148 (offset -3 lines). done => Verifying /usr/pkgsrc/net/samba4/patches/patch-buildtools_wafsamba_samba__pidl.py => Applying pkgsrc patch /usr/pkgsrc/net/samba4/patches/patch-buildtools_wafsamba_samba__pidl.py Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-buildtools_wafsamba_samba__pidl.py,v 1.3 2020/04/02 11:21:42 adam Exp $ | |Do not set CPP, as it fails when using cwrappers. |If not provided, it will default to $CC -E (see pidl/idl.yp). | |--- buildtools/wafsamba/samba_pidl.py.orig 2020-01-31 10:25:36.000000000 +0000 |+++ buildtools/wafsamba/samba_pidl.py -------------------------- Patching file buildtools/wafsamba/samba_pidl.py using Plan A... Hunk #1 succeeded at 81 (offset 1 line). done => Verifying /usr/pkgsrc/net/samba4/patches/patch-buildtools_wafsamba_samba__utils.py => Applying pkgsrc patch /usr/pkgsrc/net/samba4/patches/patch-buildtools_wafsamba_samba__utils.py Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-buildtools_wafsamba_samba__utils.py,v 1.1 2019/06/22 13:27:12 jmcneill Exp $ | |Fixes a build failure when the letter 'j' appears in MAKEFLAGS. | |--- buildtools/wafsamba/samba_utils.py.orig 2019-03-21 10:12:32.000000000 +0000 |+++ buildtools/wafsamba/samba_utils.py -------------------------- Patching file buildtools/wafsamba/samba_utils.py using Plan A... Hunk #1 succeeded at 508 (offset -11 lines). done => Verifying /usr/pkgsrc/net/samba4/patches/patch-buildtools_wafsamba_wscript => Applying pkgsrc patch /usr/pkgsrc/net/samba4/patches/patch-buildtools_wafsamba_wscript Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-buildtools_wafsamba_wscript,v 1.3 2019/11/10 17:01:58 adam Exp $ | |Define _POSIX_PTHREAD_SEMANTICS on SunOS to pick up re-entrant functions. | |--- buildtools/wafsamba/wscript.orig 2019-07-09 10:08:41.000000000 +0000 |+++ buildtools/wafsamba/wscript -------------------------- Patching file buildtools/wafsamba/wscript using Plan A... Hunk #1 succeeded at 515 (offset 57 lines). done => Verifying /usr/pkgsrc/net/samba4/patches/patch-dynconfig_wscript => Applying pkgsrc patch /usr/pkgsrc/net/samba4/patches/patch-dynconfig_wscript Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-dynconfig_wscript,v 1.3 2019/03/20 19:09:10 adam Exp $ | |Do not check installation prefix. | |--- dynconfig/wscript.orig 2019-01-15 10:07:00.000000000 +0000 |+++ dynconfig/wscript -------------------------- Patching file dynconfig/wscript using Plan A... Hunk #1 succeeded at 317 (offset 10 lines). done => Verifying /usr/pkgsrc/net/samba4/patches/patch-lib_param_loadparm.h => Applying pkgsrc patch /usr/pkgsrc/net/samba4/patches/patch-lib_param_loadparm.h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-lib_param_loadparm.h,v 1.2 2017/04/08 08:56:27 ryoon Exp $ | |* Fix NetBSD build. | |--- lib/param/loadparm.h.orig 2017-01-11 07:55:14.000000000 +0000 |+++ lib/param/loadparm.h -------------------------- Patching file lib/param/loadparm.h using Plan A... Hunk #1 succeeded at 31. done => Verifying /usr/pkgsrc/net/samba4/patches/patch-lib_pthreadpool_pthreadpool.c => Applying pkgsrc patch /usr/pkgsrc/net/samba4/patches/patch-lib_pthreadpool_pthreadpool.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-lib_pthreadpool_pthreadpool.c,v 1.2 2021/04/29 15:21:16 taca Exp $ | |On SunOS (OpenSolaris), pthread_mutex_init() expects a zeroed-out |mutex data structure | |--- lib/pthreadpool/pthreadpool.c.orig 2019-01-15 10:07:00.000000000 +0000 |+++ lib/pthreadpool/pthreadpool.c -------------------------- Patching file lib/pthreadpool/pthreadpool.c using Plan A... Hunk #1 succeeded at 153. Hunk #2 succeeded at 169. done => Verifying /usr/pkgsrc/net/samba4/patches/patch-lib_replace_system_passwd.h => Applying pkgsrc patch /usr/pkgsrc/net/samba4/patches/patch-lib_replace_system_passwd.h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-lib_replace_system_passwd.h,v 1.1 2020/07/06 14:38:06 adam Exp $ | |Fix building. |https://bugzilla.samba.org/show_bug.cgi?id=14415 | |--- lib/replace/system/passwd.h.orig 2020-07-06 10:27:14.000000000 +0000 |+++ lib/replace/system/passwd.h -------------------------- Patching file lib/replace/system/passwd.h using Plan A... Hunk #1 succeeded at 89. done => Verifying /usr/pkgsrc/net/samba4/patches/patch-lib_replace_wscript => Applying pkgsrc patch /usr/pkgsrc/net/samba4/patches/patch-lib_replace_wscript Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-lib_replace_wscript,v 1.3 2022/03/07 21:40:38 thor Exp $ | |Skip epoll tests on SunOS, implementation is Linux-specific. | |--- lib/replace/wscript.orig 2021-08-26 09:01:35.530309000 +0000 |+++ lib/replace/wscript -------------------------- Patching file lib/replace/wscript using Plan A... Hunk #1 succeeded at 451. done => Verifying /usr/pkgsrc/net/samba4/patches/patch-lib_tdb_common_mutex.c => Applying pkgsrc patch /usr/pkgsrc/net/samba4/patches/patch-lib_tdb_common_mutex.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-lib_tdb_common_mutex.c,v 1.2 2021/04/29 15:21:16 taca Exp $ | |On SunOS (OpenSolaris), pthread_mutex_init() expects a zeroed-out |mutex data structure | |--- lib/tdb/common/mutex.c.orig 2019-01-15 10:07:00.000000000 +0000 |+++ lib/tdb/common/mutex.c -------------------------- Patching file lib/tdb/common/mutex.c using Plan A... Hunk #1 succeeded at 568 (offset 1 line). Hunk #2 succeeded at 589 (offset 1 line). Hunk #3 succeeded at 598 (offset 1 line). Hunk #4 succeeded at 676 (offset 1 line). Hunk #5 succeeded at 693 (offset 1 line). Hunk #6 succeeded at 874 (offset 1 line). Hunk #7 succeeded at 892 (offset 1 line). done => Verifying /usr/pkgsrc/net/samba4/patches/patch-lib_tevent_tevent.c => Applying pkgsrc patch /usr/pkgsrc/net/samba4/patches/patch-lib_tevent_tevent.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-lib_tevent_tevent.c,v 1.3 2021/06/22 09:36:41 nia Exp $ | |On SunOS (OpenSolaris), pthread_mutex_init() expects a zeroed-out |mutex data structure | |--- lib/tevent/tevent.c.orig 2020-07-09 09:33:56.000000000 +0000 |+++ lib/tevent/tevent.c -------------------------- Patching file lib/tevent/tevent.c using Plan A... Hunk #1 succeeded at 441 (offset 18 lines). done => Verifying /usr/pkgsrc/net/samba4/patches/patch-lib_tevent_tevent__threads.c => Applying pkgsrc patch /usr/pkgsrc/net/samba4/patches/patch-lib_tevent_tevent__threads.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-lib_tevent_tevent__threads.c,v 1.2 2021/04/29 15:21:16 taca Exp $ | |On SunOS (OpenSolaris), pthread_mutex_init() expects a zeroed-out |mutex data structure | |--- lib/tevent/tevent_threads.c.orig 2019-01-15 10:07:00.000000000 +0000 |+++ lib/tevent/tevent_threads.c -------------------------- Patching file lib/tevent/tevent_threads.c using Plan A... Hunk #1 succeeded at 234. Hunk #2 succeeded at 440. done => Verifying /usr/pkgsrc/net/samba4/patches/patch-lib_tevent_wscript => Applying pkgsrc patch /usr/pkgsrc/net/samba4/patches/patch-lib_tevent_wscript Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-lib_tevent_wscript,v 1.2 2018/11/23 07:30:02 ryoon Exp $ | |Skip epoll tests on SunOS, implementation is Linux-specific. | |--- lib/tevent/wscript.orig 2018-07-12 08:23:36.000000000 +0000 |+++ lib/tevent/wscript -------------------------- Patching file lib/tevent/wscript using Plan A... Hunk #1 succeeded at 51 (offset 13 lines). done => Verifying /usr/pkgsrc/net/samba4/patches/patch-lib_util_charset_charset__macosxfs.c => Applying pkgsrc patch /usr/pkgsrc/net/samba4/patches/patch-lib_util_charset_charset__macosxfs.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-lib_util_charset_charset__macosxfs.c,v 1.1 2021/04/14 19:11:21 adam Exp $ | |DEBUG is undefined. | |--- lib/util/charset/charset_macosxfs.c.orig 2021-04-14 09:58:53.000000000 +0000 |+++ lib/util/charset/charset_macosxfs.c -------------------------- Patching file lib/util/charset/charset_macosxfs.c using Plan A... Hunk #1 succeeded at 138 (offset 1 line). done => Verifying /usr/pkgsrc/net/samba4/patches/patch-lib_util_smb__threads.h => Applying pkgsrc patch /usr/pkgsrc/net/samba4/patches/patch-lib_util_smb__threads.h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-lib_util_smb__threads.h,v 1.3 2021/06/22 09:36:41 nia Exp $ | |On SunOS (OpenSolaris), pthread_mutex_init() expects a zeroed-out |mutex data structure | |--- lib/util/smb_threads.h.orig 2020-07-09 09:33:56.000000000 +0000 |+++ lib/util/smb_threads.h -------------------------- Patching file lib/util/smb_threads.h using Plan A... Hunk #1 succeeded at 66. done => Verifying /usr/pkgsrc/net/samba4/patches/patch-lib_util_tfork.c => Applying pkgsrc patch /usr/pkgsrc/net/samba4/patches/patch-lib_util_tfork.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-lib_util_tfork.c,v 1.2 2021/04/29 15:21:16 taca Exp $ | |On SunOS (OpenSolaris), pthread_mutex_init() expects a zeroed-out |mutex data structure | |--- lib/util/tfork.c.orig 2019-01-15 10:07:00.000000000 +0000 |+++ lib/util/tfork.c -------------------------- Patching file lib/util/tfork.c using Plan A... Hunk #1 succeeded at 282 (offset 1 line). done => Verifying /usr/pkgsrc/net/samba4/patches/patch-libcli_dns_wscript__build => Applying pkgsrc patch /usr/pkgsrc/net/samba4/patches/patch-libcli_dns_wscript__build Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-libcli_dns_wscript__build,v 1.2 2019/11/10 17:01:58 adam Exp $ | |Don't build resolvconftest on SunOS (lacks fmemopen). | |--- libcli/dns/wscript_build.orig 2019-07-09 10:08:41.000000000 +0000 |+++ libcli/dns/wscript_build -------------------------- Patching file libcli/dns/wscript_build using Plan A... Hunk #1 succeeded at 1. done => Verifying /usr/pkgsrc/net/samba4/patches/patch-nsswitch_stress-nss-libwbclient.c => Applying pkgsrc patch /usr/pkgsrc/net/samba4/patches/patch-nsswitch_stress-nss-libwbclient.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-nsswitch_stress-nss-libwbclient.c,v 1.2 2021/04/29 15:21:16 taca Exp $ | |On SunOS (OpenSolaris), pthread_mutex_init() expects a zeroed-out |mutex data structure | |--- nsswitch/stress-nss-libwbclient.c.orig 2019-01-15 10:07:00.000000000 +0000 |+++ nsswitch/stress-nss-libwbclient.c -------------------------- Patching file nsswitch/stress-nss-libwbclient.c using Plan A... Hunk #1 succeeded at 118. done => Verifying /usr/pkgsrc/net/samba4/patches/patch-nsswitch_winbind__nss__netbsd.c => Applying pkgsrc patch /usr/pkgsrc/net/samba4/patches/patch-nsswitch_winbind__nss__netbsd.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-nsswitch_winbind__nss__netbsd.c,v 1.2 2020/07/21 18:42:25 christos Exp $ | |Syntax error fix. |Add primary group support | |--- nsswitch/winbind_nss_netbsd.c.orig 2020-01-31 05:25:36.000000000 -0500 |+++ nsswitch/winbind_nss_netbsd.c 2020-07-21 10:24:19.651265315 -0400 -------------------------- Patching file nsswitch/winbind_nss_netbsd.c using Plan A... Hunk #1 succeeded at 176. Hunk #2 succeeded at 186. done => Verifying /usr/pkgsrc/net/samba4/patches/patch-nsswitch_wscript__build => Applying pkgsrc patch /usr/pkgsrc/net/samba4/patches/patch-nsswitch_wscript__build Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-nsswitch_wscript__build,v 1.1 2015/05/26 15:11:26 jperkin Exp $ | |Use common library name on SunOS. | |--- nsswitch/wscript_build.orig 2015-02-24 18:59:51.000000000 +0000 |+++ nsswitch/wscript_build -------------------------- Patching file nsswitch/wscript_build using Plan A... Hunk #1 succeeded at 83 (offset 6 lines). done => Verifying /usr/pkgsrc/net/samba4/patches/patch-source3_libsmb_pylibsmb.c => Applying pkgsrc patch /usr/pkgsrc/net/samba4/patches/patch-source3_libsmb_pylibsmb.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-source3_libsmb_pylibsmb.c,v 1.2 2021/04/29 15:21:16 taca Exp $ | |On SunOS (OpenSolaris), pthread_mutex_init() expects a zeroed-out |mutex data structure | |--- source3/libsmb/pylibsmb.c.orig 2019-05-07 08:38:21.000000000 +0000 |+++ source3/libsmb/pylibsmb.c -------------------------- Patching file source3/libsmb/pylibsmb.c using Plan A... Hunk #1 succeeded at 282 (offset -3 lines). done => Verifying /usr/pkgsrc/net/samba4/patches/patch-source3_smbd_open.c => Applying pkgsrc patch /usr/pkgsrc/net/samba4/patches/patch-source3_smbd_open.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-source3_smbd_open.c,v 1.1 2022/03/07 21:40:38 thor Exp $ | |--- source3/smbd/open.c.orig 2022-01-27 18:20:00.791110968 +0000 |+++ source3/smbd/open.c -------------------------- Patching file source3/smbd/open.c using Plan A... Hunk #1 succeeded at 1189. done => Verifying /usr/pkgsrc/net/samba4/patches/patch-source3_smbd_process.c => Applying pkgsrc patch /usr/pkgsrc/net/samba4/patches/patch-source3_smbd_process.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-source3_smbd_process.c,v 1.2 2021/04/29 15:21:16 taca Exp $ | |On SunOS (OpenSolaris), pthread_mutex_init() expects a zeroed-out |mutex data structure | |--- source3/smbd/process.c.orig 2019-01-15 10:07:00.000000000 +0000 |+++ source3/smbd/process.c -------------------------- Patching file source3/smbd/process.c using Plan A... Hunk #1 succeeded at 3398 (offset 56 lines). Hunk #2 succeeded at 3426 (offset 56 lines). done => Verifying /usr/pkgsrc/net/samba4/patches/patch-source3_utils_net__offlinejoin.c => Applying pkgsrc patch /usr/pkgsrc/net/samba4/patches/patch-source3_utils_net__offlinejoin.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-source3_utils_net__offlinejoin.c,v 1.1 2022/03/07 21:40:38 thor Exp $ | |Fix netapi header usage to follow othertools, preferring local paths. |Otherwise, can be easily resolved to an instance from an |old samba install in the system. | |--- source3/utils/net_offlinejoin.c.orig 2022-01-28 16:10:18.562082156 +0000 |+++ source3/utils/net_offlinejoin.c -------------------------- Patching file source3/utils/net_offlinejoin.c using Plan A... Hunk #1 succeeded at 19. done => Verifying /usr/pkgsrc/net/samba4/patches/patch-source4_dsdb_samdb_ldb__modules_wscript__build__server => Applying pkgsrc patch /usr/pkgsrc/net/samba4/patches/patch-source4_dsdb_samdb_ldb__modules_wscript__build__server Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-source4_dsdb_samdb_ldb__modules_wscript__build__server,v 1.2 2020/04/02 11:21:42 adam Exp $ | |Some linkers do not support --wrap. | |--- source4/dsdb/samdb/ldb_modules/wscript_build_server.orig 2020-01-31 10:25:36.000000000 +0000 |+++ source4/dsdb/samdb/ldb_modules/wscript_build_server -------------------------- Patching file source4/dsdb/samdb/ldb_modules/wscript_build_server using Plan A... Hunk #1 succeeded at 54. Hunk #2 succeeded at 88. done => Verifying /usr/pkgsrc/net/samba4/patches/patch-source4_heimdal__build_roken.h => Applying pkgsrc patch /usr/pkgsrc/net/samba4/patches/patch-source4_heimdal__build_roken.h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-source4_heimdal__build_roken.h,v 1.4 2022/03/24 10:16:13 hauke Exp $ | |Substitute SYSCONFDIR in embedded Heimdal too. | |--- source4/heimdal_build/roken.h.orig 2021-08-09 13:38:36.703383700 +0000 |+++ source4/heimdal_build/roken.h -------------------------- Patching file source4/heimdal_build/roken.h using Plan A... Hunk #1 succeeded at 7. done => Verifying /usr/pkgsrc/net/samba4/patches/patch-source4_heimdal_include_heim__threads.h => Applying pkgsrc patch /usr/pkgsrc/net/samba4/patches/patch-source4_heimdal_include_heim__threads.h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-source4_heimdal_include_heim__threads.h,v 1.2 2021/04/29 15:21:16 taca Exp $ | |On SunOS (OpenSolaris), pthread_mutex_init() expects a zeroed-out |mutex data structure | |--- source4/heimdal/include/heim_threads.h.orig 2019-01-15 10:07:00.000000000 +0000 |+++ source4/heimdal/include/heim_threads.h -------------------------- Patching file source4/heimdal/include/heim_threads.h using Plan A... Hunk #1 succeeded at 87. done => Verifying /usr/pkgsrc/net/samba4/patches/patch-source4_scripting_wsript_build => Applying pkgsrc patch /usr/pkgsrc/net/samba4/patches/patch-source4_scripting_wsript_build Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-source4_scripting_wsript_build,v 1.4 2022/03/07 21:40:38 thor Exp $ | |Avoid getting strange ending # character on interpreter |name like: |#!/usr/pkg/bin/python2.7# | |--- source4/scripting/wscript_build.orig 2021-08-09 13:38:36.779384600 +0000 |+++ source4/scripting/wscript_build -------------------------- Patching file source4/scripting/wscript_build using Plan A... Hunk #1 succeeded at 12. done => Verifying /usr/pkgsrc/net/samba4/patches/patch-source4_utils_oLschema2ldif_wscript__build => Applying pkgsrc patch /usr/pkgsrc/net/samba4/patches/patch-source4_utils_oLschema2ldif_wscript__build Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-source4_utils_oLschema2ldif_wscript__build,v 1.2 2022/03/07 21:40:38 thor Exp $ | |--- source4/utils/oLschema2ldif/wscript_build.orig 2021-08-09 13:38:37.571391800 +0000 |+++ source4/utils/oLschema2ldif/wscript_build -------------------------- Patching file source4/utils/oLschema2ldif/wscript_build using Plan A... Hunk #1 succeeded at 1. done ===> Creating toolchain wrappers for samba-4.15.6nb1 ===> Configuring for samba-4.15.6nb1 => Fixing docbook URLs. WARNING: [subst.mk:docbook] Nothing changed in "docs-xml/xslt/docbook2pearson.xsl". WARNING: [subst.mk:docbook] Nothing changed in "docs-xml/xslt/expand-smbconfdoc.xsl". WARNING: [subst.mk:docbook] Nothing changed in "docs-xml/xslt/generate-attributions.xsl". WARNING: [subst.mk:docbook] Nothing changed in "docs-xml/xslt/generate-dependencies.xsl". WARNING: [subst.mk:docbook] Nothing changed in "docs-xml/xslt/html-common.xsl". WARNING: [subst.mk:docbook] Nothing changed in "docs-xml/xslt/latex.xsl". WARNING: [subst.mk:docbook] Nothing changed in "docs-xml/xslt/manpage-summary.xsl". WARNING: [subst.mk:docbook] Nothing changed in "docs-xml/xslt/sambadoc2pearson.xsl". WARNING: [subst.mk:docbook] Nothing changed in "docs-xml/xslt/smb.conf-html.xsl". WARNING: [subst.mk:docbook] Nothing changed in "docs-xml/xslt/strip-references.xsl". WARNING: [subst.mk:docbook] Nothing changed in "docs-xml/xslt/yodl.xsl". => Fixing log path. => Fixing paths. => Generating pkg-config file for builtin expat package. => Replacing python interpreter in buildtools/bin/waf source4/setup/wscript_build source4/scripting/bin/*. INFO: [replace-interpreter] Nothing changed in source4/scripting/bin/ktpass.sh. INFO: [replace-interpreter] Nothing changed in source4/scripting/bin/nsupdate-gss. INFO: [replace-interpreter] Nothing changed in source4/scripting/bin/setup_dns.sh. => Replacing Perl interpreter in librpc/tables.pl pidl/pidl pidl/tests/*.pl script/*.pl source3/script/*.pl source4/build/pasn1/pasn1.pl source4/script/*.pl source4/scripting/bin/nsupdate-gss third_party/nss_wrapper/nss_wrapper.pl. => Checking for portability problems in extracted files waf [commands] [options] Main commands (example: ./waf build -j4) build : build all targets clean : cleans the project configure : configures the project ctags : build 'tags' file using ctags dist : makes a tarball for distribution distcheck : test that distribution tarball builds and installs distclean : removes build folders and data etags : build TAGS file using etags install : installs the targets on the system list : lists the targets to execute pep8 : run pep8 validator pydoctor : build python apidocs reconfigure : reconfigure if config scripts have changed step : executes tasks in a step-by-step fashion, for debugging test : Run the test suite (see test options below) testonly : run tests without doing a build first uninstall : removes the targets installed wafdocs : build wafsamba apidocs wildcard_cmd: called on a unknown command Options: --version show program's version number and exit -c COLORS, --color=COLORS whether to use colors (yes/no/auto) [default: auto] -j JOBS, --jobs=JOBS amount of parallel jobs (1) -k, --keep continue despite errors (-kk to try harder) -v, --verbose verbosity level -v -vv or -vvv [default: 0] --zones=ZONES debugging zones (task_gen, deps, tasks, etc) -h, --help show this help message and exit --with-libiconv=ICONV_OPEN additional directory to search for libiconv --without-gettext Disable use of gettext --enable-coverage enable options necessary for code coverage reporting on selftest (default=no) --disable-python do not generate python modules --disable-tdb-mutex-locking Disable the use of pthread robust mutexes --without-ldb-lmdb disable new LMDB backend for LDB --enable-selftest enable options necessary for selftest (default=no) --with-selftest-prefix=SELFTEST_PREFIX specify location of selftest directory (default=./st) --with-gpgme Build with gpgme support (default=auto). This requires gpgme devel and python packages (e.g. libgpgme11-dev, python-gpgme on debian/ubuntu). --with-static-modules=STATIC_MODULES Comma-separated list of names of modules to statically link in. May include !module to disable 'module'. Can be '!FORCED' to disable all non-required static only modules. Can be '!DEFAULT' to disable all modules defaulting to a static build. Can be 'ALL' to build all default shared modules static. The most specific one wins, while the order is ignored and --with-static-modules is evaluated before --with-shared-modules --with-shared-modules=SHARED_MODULES Comma-separated list of names of modules to build shared. May include !module to disable 'module'. Can be '!FORCED' to disable all non-required shared only modules. Can be '!DEFAULT' to disable all modules defaulting to a shared build. Can be 'ALL' to build all default static modules shared. The most specific one wins, while the order is ignored and --with-static-modules is evaluated before --with-shared-modules --with-winbind Build with winbind support (default=yes) --with-ads Build with ads support (default=yes) --with-ldap Build with ldap support (default=yes) --enable-cups Build with cups support (default=yes) --enable-iprint Build with iprint support (default=yes) --with-pam Build with pam support (default=yes) --with-quotas Build with quotas support (default=auto) --with-sendfile-support Build with sendfile-support support (default=auto) --with-utmp Build with utmp support (default=yes) --enable-avahi Build with avahi support (default=yes) --with-iconv Build with iconv support (default=yes) --with-acl-support Build with acl-support support (default=yes) --with-syslog Build with syslog support (default=yes) --with-automount Build with automount support (default=yes) --with-dmapi Build with dmapi support (default=auto) --with-fam Build with fam support (default=auto) --with-profiling-data Build with profiling-data support (default=no) --with-libarchive Build with libarchive support (default=yes) --with-cluster-support Build with cluster-support support (default=no) --with-regedit Build with regedit support (default=auto) --with-winexe Build with winexe support (default=auto) --with-fake-kaserver Include AFS fake-kaserver support --enable-glusterfs Build with glusterfs support (default=yes) --enable-cephfs Build with cephfs support (default=yes) --enable-vxfs enable support for VxFS (default=no) --enable-spotlight Build with spotlight support (default=auto) --disable-fault-handling disable the fault handlers --with-systemd Enable systemd integration --without-systemd Disable systemd integration --with-lttng Enable lttng integration --without-lttng Disable lttng integration --with-gpfs=GPFS_HEADERS_DIR Directory under which gpfs headers are installed --accel-aes=ACCEL_AES Should we use accelerated AES crypto functions. Options are intelaesni|none. --enable-infiniband Turn on infiniband support (default=no) --enable-pmda Turn on PCP pmda support (default=no) --enable-etcd-reclock Enable etcd recovery lock helper (default=no) --with-libcephfs=LIBCEPHFS_DIR Directory under which libcephfs is installed --enable-ceph-reclock Enable Ceph CTDB recovery lock helper (default=no) --with-logdir=CTDB_LOGDIR Path to log directory --with-socketpath=CTDB_SOCKPATH path to CTDB daemon socket --enable-pthreadpool Build with pthreadpool support (default=yes) --with-system-mitkrb5 build Samba with system MIT Kerberos. You may specify list of paths where Kerberos is installed (e.g. /usr/local /usr/kerberos) to search krb5-config --with-experimental-mit-ad-dc Enable the experimental MIT Kerberos-backed AD DC. Note that security patches are not issued for this configuration --with-system-mitkdc=WITH_SYSTEM_MITKDC Specify the path to the krb5kdc binary from MIT Kerberos --with-system-heimdalkrb5 conflicts with --with-system-mitkrb5 --without-ad-dc disable AD DC functionality (enables only Samba FS (File Server, Winbind, NMBD) and client utilities. --with-pie Build Position Independent Executables (default if supported by compiler) --without-pie Disable Position Independent Executable builds --with-relro Build with full RELocation Read-Only (RELRO)(default if supported by compiler) --without-relro Disable RELRO builds --with-json Build with JSON support (default=True). This requires the jansson development headers. --without-json Build without JSON support. Configuration options: -o OUT, --out=OUT build dir for the project -t TOP, --top=TOP src dir for the project --check-c-compiler=CHECK_C_COMPILER list of C compilers to try [clang gcc generic_cc] Build and installation options: -p, --progress -p: progress bar; -pp: ide output --targets=TARGETS task generators, e.g. "target1,target2" Step options: --files=FILES files to process, by regexp, e.g. "*/main.c,*/test/main.o" Installation and uninstallation options: -f, --force force file installation --distcheck-args=ARGS arguments to pass to distcheck Installation prefix: By default, "waf install" will put the files in "/usr/local/bin", "/usr/local/lib" etc. An installation prefix other than "/usr/local" can be given using "--prefix", for example "--prefix=$HOME" --prefix=PREFIX installation prefix [default: '/usr/local/samba'] --destdir=DESTDIR installation root [default: ''] --exec-prefix=EXEC_PREFIX installation prefix for binaries [PREFIX] Installation directories: --bindir=BINDIR user commands [EXEC_PREFIX/bin] --sbindir=SBINDIR system binaries [EXEC_PREFIX/sbin] --libexecdir=LIBEXECDIR program-specific binaries [EXEC_PREFIX/libexec] --sysconfdir=SYSCONFDIR host-specific configuration [PREFIX/etc] --sharedstatedir=SHAREDSTATEDIR architecture-independent variable data [PREFIX/com] --localstatedir=LOCALSTATEDIR variable data [PREFIX/var] --libdir=LIBDIR object code libraries [EXEC_PREFIX/lib] --includedir=INCLUDEDIR header files [PREFIX/include] --oldincludedir=OLDINCLUDEDIR header files for non-GCC compilers [/usr/include] --datarootdir=DATAROOTDIR architecture-independent data root [PREFIX/share] --datadir=DATADIR architecture-independent data [DATAROOTDIR] --infodir=INFODIR GNU "info" documentation [DATAROOTDIR/info] --localedir=LOCALEDIR locale-dependent data [DATAROOTDIR/locale] --mandir=MANDIR manual pages [DATAROOTDIR/man] --docdir=DOCDIR documentation root [DATAROOTDIR/doc/PACKAGE] --htmldir=HTMLDIR HTML documentation [DOCDIR] --dvidir=DVIDIR DVI documentation [DOCDIR] --pdfdir=PDFDIR PDF documentation [DOCDIR] --psdir=PSDIR PostScript documentation [DOCDIR] library handling options: --bundled-libraries=BUNDLED_LIBS comma separated list of bundled libraries. May include !LIBNAME to disable bundling a library. Can be 'NONE' or 'ALL' [auto] --private-libraries=PRIVATE_LIBS comma separated list of normally public libraries to build instead as private libraries. May include !LIBNAME to disable making a library private. Can be 'NONE' or 'ALL' [auto] --private-library-extension=PRIVATE_EXTENSION name extension for private libraries [samba4] --private-extension-exception=PRIVATE_EXTENSION_EXCEPTION comma separated list of libraries to not apply extension to [] --builtin-libraries=BUILTIN_LIBRARIES command separated list of libraries to build directly into binaries [NONE] --minimum-library-version=MINIMUM_LIBRARY_VERSION list of minimum system library versions (LIBNAME1:version,LIBNAME2:version) --disable-rpath Disable use of rpath for build binaries --disable-rpath-install Disable use of rpath for library path in installed files --disable-rpath-private-install Disable use of rpath for private library path in installed files --nonshared-binary=NONSHARED_BINARIES Disable use of shared libs for the listed binaries --disable-symbol-versions Disable use of the --version-script linker option developer options: -C enable configure caching --enable-auto-reconfigure enable automatic reconfigure on build --enable-debug Turn on debugging symbols --enable-developer Turn on developer warnings and debugging --pidl-developer annotate PIDL-generated code for developers --disable-warnings-as-errors Do not treat all warnings as errors (disable -Werror) --fatal-errors Stop compilation on first error (enable -Wfatal-errors) --enable-gccdeps Enable use of gcc -MD dependency module --pedantic Enable even more compiler warnings --git-local-changes mark version with + if local git changes --address-sanitizer Enable address sanitizer compile and linker flags --undefined-sanitizer Enable undefined behaviour sanitizer compile and linker flags --enable-clangdb Enable use of clang_compilation_database --enable-libfuzzer Build fuzzing binaries (use ADDITIONAL_CFLAGS to specify compiler options for libFuzzer or use CC=honggfuzz/hfuzz-cc) --enable-afl-fuzzer Build fuzzing binaries AFL-style (typically use with CC=afl-gcc) --fuzz-target-ldflags=FUZZ_TARGET_LDFLAGS Linker flags to be used when building fuzz targets --abi-check Check ABI signatures for libraries --abi-check-disable Disable ABI checking (used with --enable-developer) --abi-update Update ABI signature files for libraries --show-deps=SHOWDEPS Show dependency tree for the given target --symbol-check check symbols in object files against project rules --dup-symbol-check check for duplicate symbols in object files and system libs (must be configured with --enable-developer) --why-needed=WHYNEEDED TARGET:DEPENDENCY check why TARGET needs DEPENDENCY --show-duplicates Show objects which are included in multiple binaries or libraries cross compilation options: --cross-compile configure for cross-compilation --cross-execute=CROSS_EXECUTE command prefix to use for cross-execution in configure --cross-answers=CROSS_ANSWERS answers to cross-compilation configuration (auto modified) --hostcc=HOSTCC set host compiler when cross compiling dist options: --sign-release sign the release tarball created by waf dist --tag=TAG_RELEASE tag release in git at the same time Samba-specific directory layout: --enable-fhs Use FHS-compliant paths (default no) You should consider using this together with: --prefix=/usr --sysconfdir=/etc --localstatedir=/var --with-privatelibdir=PRIVATELIBDIR Which directory to use for private Samba libraries [STD-Default: ${LIBDIR}/private] [FHS-Default: ${LIBDIR}/samba] --with-modulesdir=MODULESDIR Which directory to use for Samba modules [STD-Default: ${LIBDIR}] [FHS-Default: ${LIBDIR}/samba] --with-pammodulesdir=PAMMODULESDIR Which directory to use for PAM modules [STD-Default: ${LIBDIR}/security] [FHS-Default: ${LIBDIR}/security] --with-configdir=CONFIGDIR Where to put configuration files [STD-Default: ${SYSCONFDIR}] [FHS-Default: ${SYSCONFDIR}/samba] --with-privatedir=PRIVATE_DIR Where to put sam.ldb and other private files [STD-Default: ${PREFIX}/private] [FHS-Default: ${LOCALSTATEDIR}/lib/samba/private] --with-bind-dns-dir=BINDDNS_DIR bind-dns config directory [STD-Default: ${PREFIX}/bind-dns] [FHS-Default: ${LOCALSTATEDIR}/lib/samba/bind-dns] --with-lockdir=LOCKDIR Where to put short term disposable state files [STD-Default: ${LOCALSTATEDIR}/lock] [FHS-Default: ${LOCALSTATEDIR}/lock/samba] --with-piddir=PIDDIR Where to put pid files [STD-Default: ${LOCALSTATEDIR}/run] [FHS-Default: ${LOCALSTATEDIR}/run/samba] --with-statedir=STATEDIR Where to put persistent state files [STD-Default: ${LOCALSTATEDIR}/locks] [FHS-Default: ${LOCALSTATEDIR}/lib/samba] --with-cachedir=CACHEDIR Where to put temporary cache files [STD-Default: ${LOCALSTATEDIR}/cache] [FHS-Default: ${LOCALSTATEDIR}/cache/samba] --with-logfilebase=LOGFILEBASE Where to put log files [STD-Default: ${LOCALSTATEDIR}] [FHS-Default: ${LOCALSTATEDIR}/log/samba] --with-sockets-dir=SOCKET_DIR socket directory [STD-Default: ${LOCALSTATEDIR}/run] [FHS-Default: ${LOCALSTATEDIR}/run/samba] --with-privileged-socket-dir=PRIVILEGED_SOCKET_DIR privileged socket directory [STD-Default: ${LOCALSTATEDIR}/lib] [FHS-Default: ${LOCALSTATEDIR}/lib/samba] --with-smbpasswd-file=SMB_PASSWD_FILE Where to put the smbpasswd file [STD-Default: ${PRIVATE_DIR}/smbpasswd] [FHS-Default: ${PRIVATE_DIR}/smbpasswd] systemd installation options: --systemd-install-services install systemd service files to manage daemons (default=no) --with-systemddir=SYSTEMDDIR systemd service directory [PREFIX/lib/systemd/system] --systemd-smb-extra=Option=Value Extra directives added to the smb service file. Can be given multiple times. --systemd-nmb-extra=Option=Value Extra directives added to the nmb service file. Can be used multiple times. --systemd-winbind-extra=Option=Value Extra directives added to the winbind service file. Can be used multiple times. --systemd-samba-extra=Option=Value Extra directives added to the samba service file. Can be used multiple times. Python Options: --nopyc Do not install bytecode compiled .pyc files (configuration) [Default:install] --nopyo Do not install optimised compiled .pyo files (configuration) [Default:install] --nopycache Do not use __pycache__ directory to install objects [Default:auto] --python=PYTHON python binary to be used [Default: /usr/pkg/bin/python3.9] --pythondir=PYTHONDIR Installation path for python modules (py, platform-independent .py and .pyc files) --pythonarchdir=PYTHONARCHDIR Installation path for python extension (pyext, platform-dependent .so or .dylib files) test options: --load-list=LOAD_LIST Load a test id list from a text file --list List available tests --tests=TESTS wildcard pattern of tests to run --filtered-subunit output (xfail) filtered subunit --quick enable only quick tests --slow enable the really slow tests --nb-slowest=NB_SLOWEST Show the n slowest tests (default=10) --testenv start a terminal with the test environment setup --valgrind use valgrind on client programs in the tests --valgrind-log=VALGRINDLOG where to put the valgrind log --valgrind-server use valgrind on the server in the tests (opens an xterm) --screen run the samba servers in screen sessions --gdbtest run the servers within a gdb window --fail-immediately stop tests on first failure --socket-wrapper-pcap create a pcap file for each failing test --socket-wrapper-keep-pcap create a pcap file for all individual test --random-order Run testsuites in random order --perf-test run performance tests only --test-list=TEST_LIST use tests listed here, not defaults (--test-list='FOO|' will execute FOO; --test-list='FOO' will read it) --no-subunit-filter no (xfail) subunit filtering waf: error: no such option: --disable-pie *** Error code 2 Stop. make[1]: stopped in /usr/pkgsrc/net/samba4 *** Error code 1 Stop. make: stopped in /usr/pkgsrc/net/samba4