=> Bootstrap dependency digest>=20010302: found digest-20160304 ===> 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'. => Checksum SHA1 OK for samba-4.6.2.tar.gz => Checksum RMD160 OK for samba-4.6.2.tar.gz => Checksum SHA512 OK for samba-4.6.2.tar.gz ===> Installing dependencies for samba-4.6.2 ========================================================================== The supported build options for samba are: ads fam ldap pam winbind The currently selected options are: ads 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.6.2. Their current value is shown below: * PAM_DEFAULT = openpam * PYTHON_VERSION_DEFAULT = 27 * SSLBASE = /usr * 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 = python27 * TERMCAP_TYPE = termcap You may want to abort the process now with CTRL-C and change their value before continuing. Be sure to run `/usr/bin/make clean' after the changes. ========================================================================== => Tool dependency gmake>=3.81: found gmake-4.1nb3 => Tool dependency checkperms>=1.1: found checkperms-1.11nb1 => Build dependency py27-expat-[0-9]*: found py27-expat-2.7.13 => Build dependency cwrappers>=20150314: found cwrappers-20170112 => Full dependency py27-expat-[0-9]*: found py27-expat-2.7.13 => Full dependency py27-iso8601-[0-9]*: found py27-iso8601-0.1.11 => Full dependency py27-dns-[0-9]*: found py27-dns-1.15.0 => Full dependency perl>=5.0: found perl-5.24.1 => Full dependency python27>=2.7.1nb2: found python27-2.7.13nb1 => Full dependency gettext-lib>=0.18: found gettext-lib-0.19.8.1 => Full dependency libiconv>=1.9.1nb4: found libiconv-1.14nb3 => Full dependency popt>=1.16nb1: found popt-1.16nb1 => Full dependency readline>=6.0: found readline-7.0 => Full dependency gnutls>=3.5.4: found gnutls-3.5.9 ===> Overriding tools for samba-4.6.2 ===> Extracting for samba-4.6.2 /bin/cp /data/pkgsrc/net/samba4/files/adduser.sh /data/pkgsrc/net/samba4/files/deluser.sh /data/scratch/net/samba4/work ===> Patching for samba-4.6.2 => Applying pkgsrc patches for samba-4.6.2 => Verifying /data/pkgsrc/net/samba4/patches/patch-buildtools_wafsamba_wscript => Applying pkgsrc patch /data/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.1 2015/05/26 15:11:26 jperkin Exp $ | |Define _POSIX_PTHREAD_SEMANTICS on SunOS to pick up re-entrant functions. | |--- buildtools/wafsamba/wscript.orig 2015-02-24 18:59:51.000000000 +0000 |+++ buildtools/wafsamba/wscript -------------------------- Patching file buildtools/wafsamba/wscript using Plan A... Hunk #1 succeeded at 453 (offset 68 lines). done => Verifying /data/pkgsrc/net/samba4/patches/patch-lib_nss__wrapper_nss__wrapper.c => Applying pkgsrc patch /data/pkgsrc/net/samba4/patches/patch-lib_nss__wrapper_nss__wrapper.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-lib_nss__wrapper_nss__wrapper.c,v 1.1 2015/05/26 15:11:26 jperkin Exp $ | |Avoid nss.h on SunOS, incompatible with other nss.h implementations. | |--- lib/nss_wrapper/nss_wrapper.c.orig 2014-10-01 09:16:21.000000000 +0000 |+++ lib/nss_wrapper/nss_wrapper.c -------------------------- Patching file lib/nss_wrapper/nss_wrapper.c using Plan A... Hunk #1 succeeded at 78 (offset 10 lines). done => Verifying /data/pkgsrc/net/samba4/patches/patch-lib_param_loadparm.h => Applying pkgsrc patch /data/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 /data/pkgsrc/net/samba4/patches/patch-lib_replace_wscript => Applying pkgsrc patch /data/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.1 2015/06/26 16:09:49 jperkin Exp $ | |Skip epoll tests on SunOS, implementation is Linux-specific. | |--- lib/replace/wscript.orig 2015-04-15 18:00:13.000000000 +0000 |+++ lib/replace/wscript -------------------------- Patching file lib/replace/wscript using Plan A... Hunk #1 succeeded at 289 (offset 6 lines). done => Verifying /data/pkgsrc/net/samba4/patches/patch-lib_tevent_wscript => Applying pkgsrc patch /data/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.1 2015/06/26 16:09:49 jperkin Exp $ | |Skip epoll tests on SunOS, implementation is Linux-specific. | |--- lib/tevent/wscript.orig 2015-03-04 19:50:43.000000000 +0000 |+++ lib/tevent/wscript -------------------------- Patching file lib/tevent/wscript using Plan A... Hunk #1 succeeded at 41. done => Verifying /data/pkgsrc/net/samba4/patches/patch-nsswitch_wscript__build => Applying pkgsrc patch /data/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 82 (offset 5 lines). done => Verifying /data/pkgsrc/net/samba4/patches/patch-source3_script_tests_test__smbclient__s3.sh => Applying pkgsrc patch /data/pkgsrc/net/samba4/patches/patch-source3_script_tests_test__smbclient__s3.sh Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-source3_script_tests_test__smbclient__s3.sh,v 1.3 2017/04/08 08:56:27 ryoon Exp $ | |Fix unportable test(1) comparison operator. | |--- source3/script/tests/test_smbclient_s3.sh.orig 2017-03-31 06:32:03.000000000 +0000 |+++ source3/script/tests/test_smbclient_s3.sh -------------------------- Patching file source3/script/tests/test_smbclient_s3.sh using Plan A... Hunk #1 succeeded at 889. Hunk #2 succeeded at 1027. done => Verifying /data/pkgsrc/net/samba4/patches/patch-source4_scripting_wsript_build => Applying pkgsrc patch /data/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.2 2015/06/26 16:09:49 jperkin Exp $ | |Avoid getting strange ending # character on interpreter |name like: |#!/usr/pkg/bin/python2.7# | |--- source4/scripting/wscript_build.orig 2014-10-01 09:16:21.000000000 +0000 |+++ source4/scripting/wscript_build -------------------------- Patching file source4/scripting/wscript_build using Plan A... Hunk #1 succeeded at 9. done => Verifying /data/pkgsrc/net/samba4/patches/patch-testprogs_blackbox_dbcheck-oldrelease.sh => Applying pkgsrc patch /data/pkgsrc/net/samba4/patches/patch-testprogs_blackbox_dbcheck-oldrelease.sh Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-testprogs_blackbox_dbcheck-oldrelease.sh,v 1.3 2015/09/28 17:37:04 ryoon Exp $ | |ERROR: [check-portability.awk] | |--- testprogs/blackbox/dbcheck-oldrelease.sh.orig 2015-09-08 13:45:25.000000000 +0000 |+++ testprogs/blackbox/dbcheck-oldrelease.sh -------------------------- Patching file testprogs/blackbox/dbcheck-oldrelease.sh using Plan A... Hunk #1 succeeded at 366 (offset 158 lines). done => Fixing paths. WARNING: [subst.mk:paths] Ignoring non-existent file "./scripts/findsmb.in". ===> Creating toolchain wrappers for samba-4.6.2 ===> Configuring for samba-4.6.2 => Fixing log path. => Replacing python interpreter in buildtools/bin/waf source4/setup/* source4/scripting/bin/* lib/tevent/tevent.py. => Replacing Perl interpreter in pidl/pidl. => Checking for portability problems in extracted files Checking for program gcc or cc : clang Checking for program cpp : /data/scratch/net/samba4/work/.cwrapper/bin/cpp Checking for program ar : /usr/bin/ar Checking for program ranlib : /usr/bin/ranlib Checking for gcc : ok Checking for program git : not found Check for -MD : yes Checking for program gdb : /usr/bin/gdb Checking build system : NetBSD e5.bec.de 7.99.67 NetBSD 7.99.67 (GENERIC) #0: Mon Apr 3 17:50:07 CEST 2017 joerg@britannica.bec.de:/home/joerg/work/NetBSD/clean-tot/obj/amd64/sys/arch/amd64/compile/GENERIC amd64 Checking for header sys/utsname.h : yes Checking uname sysname type : NetBSD Checking uname machine type : amd64 Checking uname release type : 7.99.67 Checking uname version type : NetBSD 7.99.67 (GENERIC) #0: Mon Apr 3 17:50:07 CEST 2017 joerg@britannica.bec.de:/home/joerg/work/NetBSD/clean-tot/obj/amd64/sys/arch/amd64/compile/GENERIC Checking for header stdio.h : yes Checking simple C program : ok Checking compiler accepts ['-Werror'] : yes Checking linker accepts ['-Wl,-rpath,.'] : yes Checking for rpath library support : not found Checking for -Wl,--version-script support : ok Checking compiler accepts ['-fvisibility=hidden', '-Werror'] : yes Checking for HAVE_VISIBILITY_ATTR : ok Checking for library constructor support : ok Checking for library destructor support : ok Checking for __attribute__ : ok Checking compiler accepts -fPIC : yes Checking for inline : inline Checking for program pkg-config : not found Checking for pkg-config version >= 0.0.0 : no Checking compiler accepts [''] : yes Checking for header sys/types.h : yes Checking for header sys/stat.h : yes Checking for header stdlib.h : yes Checking for header stddef.h : yes Checking for header memory.h : yes Checking for header string.h : yes Checking for header strings.h : yes Checking for header inttypes.h : yes Checking for header stdint.h : yes Checking for header unistd.h : yes Checking for header minix/config.h : no Checking for header ctype.h : yes Checking for header standards.h : no Checking for header stdbool.h : yes Checking for header stdarg.h : yes Checking for header vararg.h : no Checking for header limits.h : yes Checking for header assert.h : yes Checking getconf LFS_CFLAGS : getconf: LFS_CFLAGS: unknown variable not found Checking for large file support without additional flags : ok Checking for header sys/time.h : yes Checking for header time.h : yes Checking for header endian.h : no Checking for header sys/endian.h : yes Checking for HAVE_LITTLE_ENDIAN : ok Checking for HAVE_BIG_ENDIAN : not found Checking for header signal.h : yes Checking if signal handlers return int : not found Checking for variable __FUNCTION__ : ok Checking for va_copy : ok Checking for HAVE__VA_ARGS__MACRO : ok Checking for header linux/types.h : no Checking for header crypt.h : no Checking for header locale.h : yes Checking for header acl/libacl.h : no Checking for header compat.h : no Checking for header attr/xattr.h : no Checking for header dustat.h : no Checking for header fcntl.h : yes Checking for header fnmatch.h : yes Checking for header glob.h : yes Checking for header history.h : no Checking for header krb5.h : yes Checking for header langinfo.h : yes Checking for header libaio.h : no Checking for header ndir.h : no Checking for header pwd.h : yes Checking for header shadow.h : no Checking for header sys/acl.h : no Checking for header sys/attributes.h : no Checking for header attr/attributes.h : no Checking for header sys/capability.h : no Checking for header sys/dir.h : yes Checking for header sys/epoll.h : no Checking for header port.h : no Checking for header sys/fcntl.h : yes Checking for header sys/filio.h : yes Checking for header sys/filsys.h : no Checking for header sys/fs/s5param.h : no Checking for header sys/fs/vx/quota.h : no Checking for header sys/id.h : no Checking for header sys/ioctl.h : yes Checking for header sys/ipc.h : yes Checking for header sys/mman.h : yes Checking for header sys/mode.h : no Checking for header sys/ndir.h : no Checking for header sys/priv.h : no Checking for header sys/resource.h : yes Checking for header sys/security.h : no Checking for header sys/shm.h : yes Checking for header sys/statfs.h : no Checking for header sys/statvfs.h : yes Checking for header sys/termio.h : no Checking for header sys/vfs.h : no Checking for header sys/xattr.h : yes Checking for header termio.h : no Checking for header termios.h : yes Checking for header sys/file.h : yes Checking for header sys/ucontext.h : yes Checking for header sys/wait.h : yes Checking for declaration of malloc : ok Checking for header grp.h : yes Checking for header sys/select.h : yes Checking for header setjmp.h : yes Checking for header utime.h : yes Checking for header sys/syslog.h : yes Checking for header syslog.h : yes Checking for header sys/mount.h : yes Checking for header mntent.h : no Checking for header stropts.h : no Checking for header unix.h : no Checking for header sys/param.h : yes Checking for header sys/socket.h : yes Checking for header netinet/in.h : yes Checking for header netdb.h : yes Checking for header arpa/inet.h : yes Checking for header netinet/in_systm.h : yes Checking for header netinet/ip.h : yes Checking for header netinet/tcp.h : yes Checking for header netinet/in_ip.h : no Checking for header sys/sockio.h : yes Checking for header sys/un.h : yes Checking for header sys/uio.h : yes Checking for header ifaddrs.h : yes Checking for header direct.h : no Checking for header dirent.h : yes Checking for header windows.h : no Checking for header winsock2.h : no Checking for header ws2tcpip.h : no Checking for header errno.h : yes Checking for header getopt.h : yes Checking for header iconv.h : yes Checking for header nss.h : no Checking for header sasl/sasl.h : no Checking for inotify_init : not found Checking for library inotify : not found Checking for inotify_init : not found Checking for header security/pam_appl.h : yes Checking for header zlib.h : yes Checking for header asm/unistd.h : no Checking for header aio.h : yes Checking for header sys/unistd.h : yes Checking for header rpc/rpc.h : yes Checking for header rpc/nettype.h : yes Checking for header alloca.h : no Checking for header float.h : yes Checking for header rpcsvc/nis.h : no Checking for header rpcsvc/ypclnt.h : yes Checking for header sys/sysctl.h : yes Checking for header sys/fileio.h : no Checking for header sys/filesys.h : no Checking for header sys/dustat.h : no Checking for header sys/sysmacros.h : no Checking for header xfs/libxfs.h : no Checking for header netgroup.h : yes Checking for header rpcsvc/yp_prot.h : yes Checking for HAVE_RPCSVC_YP_PROT_H : ok Checking for header valgrind.h : no Checking for header valgrind/valgrind.h : no Checking for header valgrind/memcheck.h : no Checking for header nss_common.h : no Checking for header nsswitch.h : yes Checking for header ns_api.h : no Checking for header sys/extattr.h : yes Checking for header sys/ea.h : no Checking for header sys/proplist.h : no Checking for header sys/cdefs.h : yes Checking for header utmp.h : yes Checking for header utmpx.h : yes Checking for header lastlog.h : no Checking for header syscall.h : no Checking for header sys/syscall.h : yes Checking for header sys/atomic.h : yes Checking for header libgen.h : yes Checking for header sys/prctl.h : no Checking for prctl syscall : not found Checking for O_DIRECT flag to open(2) : ok Checking for long long : ok Checking for intptr_t : ok Checking for uintptr_t : ok Checking for ptrdiff_t : ok Checking for comparison_fn_t : not found Checking for _Bool : ok Checking for bool : ok Checking for int8_t : ok Checking for uint8_t : ok Checking for int16_t : ok Checking for uint16_t : ok Checking for int32_t : ok Checking for uint32_t : ok Checking for int64_t : ok Checking for uint64_t : ok Checking for size_t : ok Checking for ssize_t : ok Checking for ino_t : ok Checking for loff_t : not found Checking for offset_t : not found Checking for volatile int : ok Checking for uint_t : not found Checking for blksize_t : ok Checking for blkcnt_t : ok Checking if size of bool == 1 : ok Checking if size of char == 1 : ok Checking if size of int == 1 : not found Checking if size of int == 2 : not found Checking if size of int == 4 : ok Checking if size of long long == 1 : not found Checking if size of long long == 2 : not found Checking if size of long long == 4 : not found Checking if size of long long == 8 : ok Checking if size of long == 1 : not found Checking if size of long == 2 : not found Checking if size of long == 4 : not found Checking if size of long == 8 : ok Checking if size of short == 1 : not found Checking if size of short == 2 : ok Checking if size of size_t == 1 : not found Checking if size of size_t == 2 : not found Checking if size of size_t == 4 : not found Checking if size of size_t == 8 : ok Checking if size of ssize_t == 1 : not found Checking if size of ssize_t == 2 : not found Checking if size of ssize_t == 4 : not found Checking if size of ssize_t == 8 : ok Checking if size of int8_t == 1 : ok Checking if size of uint8_t == 1 : ok Checking if size of int16_t == 1 : not found Checking if size of int16_t == 2 : ok Checking if size of uint16_t == 1 : not found Checking if size of uint16_t == 2 : ok Checking if size of int32_t == 1 : not found Checking if size of int32_t == 2 : not found Checking if size of int32_t == 4 : ok Checking if size of uint32_t == 1 : not found Checking if size of uint32_t == 2 : not found Checking if size of uint32_t == 4 : ok Checking if size of int64_t == 1 : not found Checking if size of int64_t == 2 : not found Checking if size of int64_t == 4 : not found Checking if size of int64_t == 8 : ok Checking if size of uint64_t == 1 : not found Checking if size of uint64_t == 2 : not found Checking if size of uint64_t == 4 : not found Checking if size of uint64_t == 8 : ok Checking if size of void* == 1 : not found Checking if size of void* == 2 : not found Checking if size of void* == 4 : not found Checking if size of void* == 8 : ok Checking if size of off_t == 1 : not found Checking if size of off_t == 2 : not found Checking if size of off_t == 4 : not found Checking if size of off_t == 8 : ok Checking if size of dev_t == 1 : not found Checking if size of dev_t == 2 : not found Checking if size of dev_t == 4 : not found Checking if size of dev_t == 8 : ok Checking if size of ino_t == 1 : not found Checking if size of ino_t == 2 : not found Checking if size of ino_t == 4 : not found Checking if size of ino_t == 8 : ok Checking if size of time_t == 1 : not found Checking if size of time_t == 2 : not found Checking if size of time_t == 4 : not found Checking if size of time_t == 8 : ok Checking for socklen_t : ok Checking for struct ifaddrs : ok Checking for struct addrinfo : ok Checking for struct sockaddr : ok Checking for HAVE_STRUCT_SOCKADDR_IN6 : ok Checking for struct sockaddr_storage : ok Checking for sa_family_t : ok Checking for sig_atomic_t : ok Checking for sigsetmask : ok Checking for siggetmask : not found Checking for sigprocmask : ok Checking for sigblock : ok Checking for sigaction : ok Checking for sigset : ok Checking for inet_ntoa : ok Checking for inet_aton : ok Checking for inet_ntop : ok Checking for inet_pton : ok Checking for connect : ok Checking for gethostbyname : ok Checking for getaddrinfo : ok Checking for getnameinfo : ok Checking for freeaddrinfo : ok Checking for gai_strerror : ok Checking for socketpair : ok Checking for variable IPV6_V6ONLY : ok Checking for header net/if.h : yes Checking for HAVE_IPV6 : ok Checking whether we have ucontext_t : ok Checking for __sync_fetch_and_add compiler builtin : ok Checking for atomic_add_32 compiler builtin : ok Checking for strdup : ok Checking for memmem : ok Checking for printf : ok Checking for memset : ok Checking for memcpy : ok Checking for memmove : ok Checking for strcpy : ok Checking for strncpy : ok Checking for bzero : ok Checking for shl_load : not found Checking for shl_unload : not found Checking for shl_findsym : not found Checking for pipe : ok Checking for strftime : ok Checking for srandom : ok Checking for random : ok Checking for srand : ok Checking for rand : ok Checking for usleep : ok Checking for setbuffer : ok Checking for lstat : ok Checking for getpgrp : ok Checking for utime : ok Checking for utimes : ok Checking for setuid : ok Checking for seteuid : ok Checking for setreuid : ok Checking for setresuid : not found Checking for setgid : ok Checking for setegid : ok Checking for setregid : ok Checking for setresgid : not found Checking for chroot : ok Checking for strerror : ok Checking for vsyslog : ok Checking for setlinebuf : ok Checking for mktime : ok Checking for ftruncate : ok Checking for chsize : not found Checking for rename : ok Checking for waitpid : ok Checking for wait4 : ok Checking for initgroups : ok Checking for pread : ok Checking for pwrite : ok Checking for strndup : ok Checking for strcasestr : ok Checking for strsep : ok Checking for strtok_r : ok Checking for mkdtemp : ok Checking for dup2 : ok Checking for dprintf : ok Checking for vdprintf : ok Checking for isatty : ok Checking for chown : ok Checking for lchown : ok Checking for link : ok Checking for readlink : ok Checking for symlink : ok Checking for realpath : ok Checking for snprintf : ok Checking for vsnprintf : ok Checking for asprintf : ok Checking for vasprintf : ok Checking for setenv : ok Checking for unsetenv : ok Checking for strnlen : ok Checking for strtoull : ok Checking for __strtoull : not found Checking for strtouq : ok Checking for strtoll : ok Checking for __strtoll : not found Checking for strtoq : ok Checking for memalign : not found Checking for posix_memalign : ok Checking for prctl : not found Checking for dirname : ok Checking for basename : ok Checking for strlcpy : ok Checking for strlcat : ok Checking for getpeereid : ok Checking for library setproctitle : not found Checking for setproctitle : ok Checking for closefrom : ok Checking whether we can use SO_PEERCRED to get socket credentials : not found Checking correct behavior of strtoll : not found Checking for if_nametoindex : ok Checking for strerror_r : ok Checking for getdirentries : ok Checking for getdents : ok Checking for syslog : ok Checking for gai_strerror : ok Checking for get_current_dir_name : not found Checking for timegm : ok Checking for getifaddrs : ok Checking for freeifaddrs : ok Checking for mmap : ok Checking for setgroups : ok Checking for syscall : ok Checking for setsid : ok Checking for getgrent_r : ok Checking for getgrgid_r : ok Checking for getgrnam_r : ok Checking for getgrouplist : ok Checking for getpagesize : ok Checking for getpwent_r : ok Checking for getpwnam_r : ok Checking for getpwuid_r : ok Checking for epoll_create : not found Checking for port_create : not found Checking for fgetxattr : ok Checking for flistea : not found Checking for flistxattr : ok Checking for fremovexattr : ok Checking for fsetxattr : ok Checking for getxattr : ok Checking for listxattr : ok Checking for removexattr : ok Checking for setxattr : ok Checking for library attr : not found Checking for flistea : not found Checking whether xattr interface takes additional options : not found Checking for dlopen : ok Checking for dlsym : ok Checking for dlerror : ok Checking for dlclose : ok Checking for declaration of dlopen : ok Checking C prototype for dlopen : not found Checking for fdatasync : ok Checking for declaration of fdatasync : ok Checking for clock_gettime : ok Checking whether the clock_gettime clock ID CLOCK_MONOTONIC is available : ok Checking whether the clock_gettime clock ID CLOCK_PROCESS_CPUTIME_ID is available : ok Checking whether the clock_gettime clock ID CLOCK_REALTIME is available : ok Checking for struct timespec : ok Checking for header arpa/nameser.h : yes Checking for header resolv.h : yes Checking for res_search : ok Checking for header libintl.h : yes Checking for library intl : yes Checking for declaration of dgettext : ok Checking for declaration of gettext : ok Checking for declaration of bindtextdomain : ok Checking for declaration of textdomain : ok Checking for declaration of bind_textdomain_codeset : ok Checking for bindtextdomain : ok Checking for textdomain : ok Checking for bind_textdomain_codeset : ok Checking for dgettext : ok Checking for gettext : ok Checking for pthread_create : not found Checking for library pthread : yes Checking for pthread_create : ok Checking for pthread_attr_init : ok Checking for pthread_mutexattr_setrobust : not found Checking for pthread_mutexattr_setrobust : not found Checking for pthread_mutexattr_setrobust_np : not found Checking for pthread_mutexattr_setrobust_np : not found Checking for declaration of PTHREAD_MUTEX_ROBUST : not found Checking for declaration of PTHREAD_MUTEX_ROBUST (as enum) : not found Checking for declaration of PTHREAD_MUTEX_ROBUST_NP : not found Checking for declaration of PTHREAD_MUTEX_ROBUST_NP (as enum) : not found Checking for pthread_mutex_consistent : not found Checking for pthread_mutex_consistent : not found Checking for pthread_mutex_consistent_np : not found Checking for pthread_mutex_consistent_np : not found Checking for crypt : not found Checking for library crypt : yes Checking for crypt : ok Checking for header readline.h : no Checking for header readline/readline.h : yes Checking for header readline/history.h : yes Checking for variable rl_event_hook : ok Checking for declaration of snprintf : ok Checking for declaration of vsnprintf : ok Checking for declaration of asprintf : ok Checking for declaration of vasprintf : ok Checking for declaration of errno : ok Checking for declaration of EWOULDBLOCK : ok Checking for declaration of environ : not found Checking for declaration of environ (as enum) : not found Checking for declaration of getgrent_r : ok Checking for declaration of getpwent_r : ok Checking for declaration of pread : ok Checking for declaration of pwrite : ok Checking for declaration of setenv : ok Checking for declaration of setresgid : not found Checking for declaration of setresgid (as enum) : not found Checking for declaration of setresuid : not found Checking for declaration of setresuid (as enum) : not found Checking for eventfd : not found Checking for header poll.h : yes Checking for poll : ok Checking for strptime : ok Checking for declaration of strptime : ok Checking for working strptime : not found Checking for declaration of gettimeofday : ok Checking C prototype for gettimeofday : not found Checking C prototype for gettimeofday : ok Checking for C99 vsnprintf : ok Checking for HAVE_SHARED_MMAP : ok Checking for HAVE_MREMAP : not found Checking for HAVE_INCOHERENT_MMAP : not found Checking for HAVE_IMMEDIATE_STRUCTURES : ok Checking for HAVE_MKDIR_MODE : ok Checking for member st_mtim.tv_nsec in struct stat : ok Checking for member st_rdev in struct stat : ok Checking for member st_rdev in struct stat : ok Checking for member ss_family in struct sockaddr_storage : ok Checking for member __ss_family in struct sockaddr_storage : not found Checking for member sa_len in struct sockaddr : ok Checking for member sin_len in struct sockaddr_in : ok Checking for HAVE_UNIXSOCKET : ok Checking for HAVE_SECURE_MKSTEMP : ok Checking for HAVE_IFACE_GETIFADDRS : ok Checking for getpwnam_r : ok Checking for getpwuid_r : ok Checking for getpwent_r : ok Checking for declaration of getpwent_r : ok Checking C prototype for getpwent_r : not found Checking for declaration of getgrent_r : ok Checking C prototype for getgrent_r : not found Checking C prototype for getpwent_r : not found Checking C prototype for getgrent_r : not found Checking for getgrouplist : ok Checking for HAVE_FUSE_FUSE_LOWLEVEL_H : not found Checking for program perl : /data/scratch/net/samba4/work/.tools/bin/perl Checking for program perl : /data/scratch/net/samba4/work/.tools/bin/perl Checking for program perl : /data/scratch/net/samba4/work/.tools/bin/perl Checking for perl 5.0.0 : ok 5.24.1 Checking for perl $Config{vendorprefix}: : '/usr/pkg' Checking for perl $Config{vendorarch}: : '/usr/pkg/lib/perl5/vendor_perl/5.24.0/x86_64-netbsd-thread-multi' PERL_ARCH_INSTALL_DIR: : '/usr/pkg/lib/perl5/vendor_perl/5.24.0/x86_64-netbsd-thread-multi' Checking for perl $Config{vendorlib}: : '/usr/pkg/lib/perl5/vendor_perl/5.24.0' PERL_LIB_INSTALL_DIR: : '/usr/pkg/lib/perl5/vendor_perl/5.24.0' PERL_INC: : ['/usr/pkg/lib/perl5/site_perl/5.24.0/x86_64-netbsd-thread-multi', '/usr/pkg/lib/perl5/site_perl/5.24.0', '/usr/pkg/lib/perl5/vendor_perl/5.24.0/x86_64-netbsd-thread-multi', '/usr/pkg/lib/perl5/vendor_perl/5.24.0', '/usr/pkg/lib/perl5/5.24.0/x86_64-netbsd-thread-multi', '/usr/pkg/lib/perl5/5.24.0'] Checking for program xsltproc : false Checking for program python : /usr/pkg/bin/python2.7 Checking for program python : /usr/pkg/bin/python2.7 Checking for program python : not found Checking for Python version >= 2.6.0 : ok 2.7.13 Checking for library python2.7 : yes Checking for program python2.7-config : /usr/pkg/bin/python2.7-config Checking for custom code : yes Dynconfig[STATEDIR]: : '/var/run' Dynconfig[SCRIPTSBINDIR]: : '/usr/pkg/sbin' Dynconfig[PAMMODULESDIR]: : '/usr/pkg/lib/samba/security' Dynconfig[WINBINDD_SOCKET_DIR]: : '/var/run/winbindd' Dynconfig[PRIVATE_DIR]: : '/usr/pkg/lib/samba/private' Dynconfig[SETUPDIR]: : '/usr/pkg/share/samba/setup' Dynconfig[PIDDIR]: : '/var/run' Dynconfig[PKGCONFIGDIR]: : '/usr/pkg/lib/pkgconfig' Dynconfig[DATADIR]: : '/usr/pkg/share/samba' Dynconfig[CACHEDIR]: : '/var/run' Dynconfig[SBINDIR]: : '/usr/pkg/sbin' Dynconfig[NCALRPCDIR]: : '/var/run/ncalrpc' Dynconfig[LMHOSTSFILE]: : '/usr/pkg/etc/samba/lmhosts' Dynconfig[LOCKDIR]: : '/var/run' Dynconfig[PYTHONARCHDIR]: : '/usr/pkg/lib/python2.7/site-packages' Dynconfig[PERL_LIB_INSTALL_DIR]: : '/usr/pkg/lib/perl5/vendor_perl/5.24.0' Dynconfig[LOGFILEBASE]: : '/var/log' Dynconfig[PYTHONDIR]: : '/usr/pkg/lib/python2.7/site-packages' Dynconfig[PERL_ARCH_INSTALL_DIR]: : '/usr/pkg/lib/perl5/vendor_perl/5.24.0/x86_64-netbsd-thread-multi' Dynconfig[NTP_SIGND_SOCKET_DIR]: : '/var/run/ntp_signd' Dynconfig[CONFIGFILE]: : '/usr/pkg/etc/samba/smb.conf' Dynconfig[SOCKET_DIR]: : '/var/run' Dynconfig[MODULESDIR]: : '/usr/pkg/lib/samba' Dynconfig[WINBINDD_PRIVILEGED_SOCKET_DIR]: : '/var/run/winbindd_privileged' Dynconfig[LIBDIR]: : '/usr/pkg/lib' Dynconfig[LOCALEDIR]: : '/usr/pkg/share/locale' Dynconfig[NMBDSOCKETDIR]: : '/var/run/nmbd' Dynconfig[INCLUDEDIR]: : '/usr/pkg/include' Dynconfig[CODEPAGEDIR]: : '/usr/pkg/share/samba/codepages' Dynconfig[PRIVATELIBDIR]: : '/usr/pkg/lib/samba/private' Dynconfig[PRIVILEGED_SOCKET_DIR]: : '/var/run' Dynconfig[LIBEXECDIR]: : '/usr/pkg/libexec' Dynconfig[SMB_PASSWD_FILE]: : '/usr/pkg/lib/samba/private/smbpasswd' Dynconfig[BINDIR]: : '/usr/pkg/bin' Dynconfig[CONFIGDIR]: : '/usr/pkg/etc/samba' Checking for third party Python module dns.resolver : system Checking for program pkg-config : not found Checking for system popt : not found Checking for header popt.h : yes Checking for library popt : yes Checking for poptGetContext : yes Checking for program pkg-config : not found Checking for system z >= 1.2.3 : not found Checking for library z : yes Checking for zlibVersion : yes Checking for system z >= 1.2.3 : yes Checking for program pkg-config : not found Checking for system tdb >= 1.3.12 : not found Checking for Python version >= 2.4.2 : ok 2.7.13 Checking for Python version >= 2.4.2 : ok 2.7.13 Checking for python headers : using cache Checking linker accepts -Wl,-no-undefined : yes Checking linker accepts ['-undefined', 'dynamic_lookup'] : yes Checking for program pkg-config : not found Checking for system talloc >= 2.1.9 : not found Checking for program pkg-config : not found Checking for system pytalloc-util >= 2.1.9 : not found Checking for Python version >= 2.4.2 : ok 2.7.13 Checking for python headers : using cache Checking for header sys/auxv.h : no Checking for getauxval : no Checking for macro getauxval : no Checking linker accepts -Wl,-no-undefined : yes Checking for epoll_create : no Checking for macro epoll_create : no Checking value of NSIG : yes Checking value of _NSIG : yes Checking value of SIGRTMAX : yes Checking value of SIGRTMIN : yes Checking for program python : /usr/pkg/bin/python2.7 Checking for Python version >= 2.4.2 : ok 2.7.13 Checking for python headers : using cache Checking linker accepts -Wl,-no-undefined : yes Checking for program python : /usr/pkg/bin/python2.7 Checking for program xsltproc : false Checking for Python version >= 2.4.2 : ok 2.7.13 Checking for python headers : using cache Checking linker accepts -Wl,-no-undefined : yes Checking for u_char : yes Checking for u_int32_t : yes Checking for header err.h : yes Checking for header sys/bswap.h : yes Checking for header sys/stropts.h : no Checking for header sys/timeb.h : yes Checking for header sys/times.h : yes Checking for header timezone.h : no Checking for header ttyname.h : no Checking for header netinet/in6.h : no Checking for header netinet6/in6.h : no Checking for header curses.h : yes Checking for header term.h : yes Checking for header termcap.h : yes Checking for atexit : yes Checking for cgetent : yes Checking for getprogname : yes Checking for setprogname : yes Checking for gethostname : yes Checking for putenv : yes Checking for rcmd : yes Checking for readv : yes Checking for sendmsg : yes Checking for setitimer : yes Checking for strlwr : no Checking for macro strlwr : no Checking for strncasecmp : yes Checking for strsep_copy : no Checking for macro strsep_copy : no Checking for strupr : no Checking for macro strupr : no Checking for swab : yes Checking for umask : yes Checking for uname : yes Checking for err : yes Checking for warn : yes Checking for errx : yes Checking for warnx : yes Checking for flock : yes Checking for writev : yes Checking for XSI (rather than GNU) prototype for strerror_r : yes Checking for hstrerror : yes Checking for socket : yes Checking for getipnodebyname : no Checking for macro getipnodebyname : no Checking for gethostent : yes Checking for gethostent_r : yes Checking for sethostent : yes Checking for endhostent : yes Checking for getipnodebyaddr : no Checking for macro getipnodebyaddr : no Checking for freehostent : no Checking for macro freehostent : no Checking for gethostbyname_r : yes Checking for gethostbyaddr : yes Checking for library socket : not found Checking for library nsl : not found Checking for getipnodebyname : no Checking for macro getipnodebyname : no Checking for getipnodebyaddr : no Checking for macro getipnodebyaddr : no Checking for freehostent : no Checking for macro freehostent : no Checking for iruserok : yes Checking for bswap16 : no Checking for macro bswap16 : yes Checking for bswap32 : no Checking for macro bswap32 : yes Checking for header sys/termios.h : yes Checking for struct winsize : yes Checking for member ws_xpixel in struct winsize : yes Checking for member ws_ypixel in struct winsize : yes Checking for variable h_errno : yes Checking for declaration of h_errno : yes Checking for header dns.h : no Checking for res_nsearch : no Checking for macro res_nsearch : yes Checking for res_ndestroy : no Checking for macro res_ndestroy : yes Checking for dns_search : no Checking for macro dns_search : no Checking for dn_expand : yes Checking for library resolv : yes Checking for header dns.h : no Checking for dns_search : no Checking for header dns.h : no Checking for header dns.h : no Checking for macro dns_search : no Checking for variable _res : yes Checking for declaration of _res : yes Checking for dirfd : no Checking for macro dirfd : no Checking for declaration of dirfd : yes Checking for member dd_fd in DIR : yes Using in-tree heimdal kerberos defines Checking for program krb5-config.heimdal : not found Checking for program krb5-config : /usr/bin/krb5-config Checking for program pkg-config : not found Checking for gnutls >= 3.4.7 : not found Checking for program pkg-config : not found Checking for gnutls >= 3.0.0s : not found Checking for program pkg-config : not found Checking for gnutls >= 1.4.0 and broken versions : not found /data/scratch/net/samba4/work/samba-4.6.2/source4/lib/tls/wscript:51: error: Building the AD DC requires GnuTLS (eg libgnutls-dev, gnutls-devel) for ldaps:// support and for the BackupKey protocol A local copy of the docbook.xsl wasn't found on your system consider installing package like docbook-xsl A local copy of the docbook.xsl wasn't found on your system consider installing package like docbook-xsl *** Error code 1 Stop. make[1]: stopped in /data/pkgsrc/net/samba4 *** Error code 1 Stop. make: stopped in /data/pkgsrc/net/samba4