+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /usr/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/netatalk-4.0.6/work.log
+ su pbulk -c '"$@"' make /usr/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/netatalk-4.0.6/work.log
=> Checksum BLAKE2s OK for netatalk-4-0-6.tar.gz
=> Checksum SHA512 OK for netatalk-4-0-6.tar.gz
===> Installing dependencies for netatalk-4.0.6
==========================================================================
The supported build options for netatalk are:

	appletalk debug dnssd kerberos ldap pam

The currently selected options are:

	appletalk dnssd ldap pam

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

	PKG_OPTIONS.netatalk (not defined)

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

        * BDB185_DEFAULT = db1
        * BDB_DEFAULT = db4
        * JPEG_DEFAULT = jpeg
        * KRB5_DEFAULT = heimdal
        * PAM_DEFAULT = openpam
        * 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:

        * BDBBASE (defined, but empty)
        * BDB_LIBS = -ldb4
        * BDB_TYPE = db4
        * JPEGBASE (defined, but empty)
        * JPEG_TYPE = jpeg
        * KRB5BASE (defined, but empty)
        * KRB5_TYPE = heimdal
        * PAMBASE (defined, but empty)

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/pkg/bin/bmake clean' after the changes.
==========================================================================
=> Tool dependency glib2-tools-[0-9]*: found glib2-tools-2.82.2
=> Tool dependency meson>=0: found meson-1.6.0nb1
=> Tool dependency perl>=5.0: found perl-5.40.0nb1
=> Tool dependency pkgconf-[0-9]*: found pkgconf-2.3.0
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Full dependency cmark-gfm>=0.29.0.gfm.0: found cmark-gfm-0.29.0.gfm.13
=> Full dependency cracklib>=2.9.7nb1: found cracklib-2.9.7nb1
=> Full dependency cups-base>=2.4.11nb3: found cups-base-2.4.11nb3
=> Full dependency db4>=4.8.30: found db4-4.8.30nb1
=> Full dependency glib2>=2.76.4nb1: found glib2-2.82.2
=> Full dependency libevent>=2.1.12nb1: found libevent-2.1.12nb2
=> Full dependency libgcrypt>=1.6.0: found libgcrypt-1.11.0nb2
=> Full dependency gmp>=6.0: found gmp-6.3.0
=> Full dependency gnutls>=3.3.0: found gnutls-3.8.8nb2
=> Full dependency jbigkit>=2.0: found jbigkit-2.1nb1
=> Full dependency jpeg>=8nb1: found jpeg-9f
=> Full dependency libcups>=1.1.19nb3: found libcups-2.4.11nb3
=> Full dependency libffi>=1.20: found libffi-3.4.6
=> Full dependency libgpg-error>=0.6: found libgpg-error-1.51
=> Full dependency libtasn1>=0.2.7: found libtasn1-4.19.0
=> Full dependency libunistring>=0.9.3: found libunistring-1.2
=> Full dependency nettle>=3.4.1: found nettle-3.10
=> Full dependency p11-kit>=0.23: found p11-kit-0.25.5
=> Full dependency pcre2>=10.21: found pcre2-10.44
=> Full dependency png>=1.2.4: found png-1.6.44
=> Full dependency tiff>=3.6.1: found tiff-4.7.0
===> Overriding tools for netatalk-4.0.6
===> Extracting for netatalk-4.0.6
===> Patching for netatalk-4.0.6
=> Applying pkgsrc patches for netatalk-4.0.6
=> Verifying /data/jenkins/workspace/pkgsrc-netbsd-trunk-x86_64/net/netatalk4/patches/patch-libatalk_bstring_bstrlib.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-netbsd-trunk-x86_64/net/netatalk4/patches/patch-libatalk_bstring_bstrlib.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-libatalk_bstring_bstrlib.c,v 1.2 2024/11/21 22:02:11 hauke Exp $
|
|When a compiler complains about a missing prototype for a libc
|function, just inserting one for what you think the interface might be
|is probably not a good idea.
|
|See also <https://github.com/mvp/uhubctl/issues/586>
|
|--- libatalk/bstring/bstrlib.c.orig	2024-11-15 06:52:12.000000000 +0000
|+++ libatalk/bstring/bstrlib.c
--------------------------
Patching file libatalk/bstring/bstrlib.c using Plan A...
Hunk #1 succeeded at 2913.
done
=> Verifying /data/jenkins/workspace/pkgsrc-netbsd-trunk-x86_64/net/netatalk4/patches/patch-meson.build
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-netbsd-trunk-x86_64/net/netatalk4/patches/patch-meson.build
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-meson.build,v 1.1 2024/11/21 15:26:08 hauke Exp $
|
|While NetBSD has libwrap, the meson code doesn't find it. The test
|cond still succeeds, so add a branch that does not require the
|library.
|
|--- meson.build.orig	2024-11-09 23:29:31.000000000 +0000
|+++ meson.build
--------------------------
Patching file meson.build using Plan A...
Hunk #1 succeeded at 2010 (offset 17 lines).
done
===> Creating toolchain wrappers for netatalk-4.0.6
===> Configuring for netatalk-4.0.6
=> Substituting "perlpath" in contrib/macusers/macusers.in contrib/shell_utils/afpstats.in contrib/shell_utils/apple_dump.in contrib/shell_utils/asip-status.in
=> Generating pkg-config files for builtin xz package.
The Meson build system
Version: 1.6.0
Source dir: /home/pbulk/build/net/netatalk4/work/netatalk-netatalk-4-0-6
Build dir: /home/pbulk/build/net/netatalk4/work/netatalk-netatalk-4-0-6/output
Build type: native build
Project name: netatalk
Project version: 4.0.6
C compiler for the host machine: cc (gcc 10.5.0 "gcc (nb3 20231008) 10.5.0")
C linker for the host machine: cc ld.bfd 2.34
Host machine cpu family: x86_64
Host machine cpu: x86_64
Program flex found: YES (/usr/bin/flex)
Program grep found: YES (/home/pbulk/build/net/netatalk4/work/.tools/bin/grep)
Program perl found: YES (/home/pbulk/build/net/netatalk4/work/.tools/bin/perl)
Program uname found: YES (/usr/bin/uname)
Program cmark-gfm found: YES (/usr/pkg/bin/cmark-gfm)
Program bison found: NO
Library socket found: NO
Library sendfile found: NO
Library nsl found: NO
Library dl found: NO
Library m found: YES
Has header "acl/libacl.h" : NO 
Has header "attr/xattr.h" : NO 
Has header "dlfcn.h" : YES 
Has header "dns_sd.h" : YES 
Has header "errno.h" : YES 
Has header "fcntl.h" : YES 
Has header "inttypes.h" : YES 
Has header "langinfo.h" : YES 
Has header "linux/dqblk/xfs.h" : NO 
Has header "linux/xfs/fs.h" : NO 
Has header "linux/xqm.h" : NO 
Has header "locale.h" : YES 
Has header "mntent.h" : NO 
Has header "netdb.h" : YES 
Has header "pam/pam_appl.h" : NO 
Has header "poll.h" : YES 
Has header "security/pam_appl.h" : YES 
Has header "sgtty.h" : YES 
Has header "statfs.h" : NO 
Has header "stdint.h" : YES 
Has header "stdio.h" : YES 
Has header "stdlib.h" : YES 
Has header "string.h" : YES 
Has header "strings.h" : YES 
Has header "sys/attr.h" : NO 
Has header "sys/attributes.h" : NO 
Has header "sys/ea.h" : NO 
Has header "sys/extattr.h" : YES 
Has header "sys/mnttab.h" : NO 
Has header "sys/mount.h" : YES 
Has header "sys/param.h" : YES 
Has header "sys/stat.h" : YES 
Has header "sys/statvfs.h" : YES 
Has header "sys/types.h" : YES 
Has header "sys/uio.h" : YES 
Has header "sys/vfs.h" : NO 
Has header "sys/xattr.h" : YES 
Has header "termios.h" : YES 
Has header "ufs/quota.h" : NO 
Has header "unistd.h" : YES 
Has header "xfs/libxfs.h" : NO 
Has header "xfs/xfs/fs.h" : NO 
Has header "xfs/xqm.h" : NO 
Checking for function "asprintf" : YES 
Checking for function "backtrace_symbols" : NO 
Checking for function "dirfd" : NO 
Checking for function "dlclose" : YES 
Checking for function "dlerror" : YES 
Checking for function "dlopen" : YES 
Checking for function "dlsym" : YES 
Checking for function "errno" : YES 
Checking for function "getpagesize" : YES 
Checking for function "getusershell" : YES 
Checking for function "mmap" : YES 
Checking for function "pread" : YES 
Checking for function "pselect" : YES 
Checking for function "pwrite" : YES 
Checking for function "setlinebuf" : YES 
Checking for function "shl_load" : NO 
Checking for function "splice" : NO 
Checking for function "strlcat" : YES 
Checking for function "strlcpy" : YES 
Checking for function "strnlen" : YES 
Checking for function "utime" : YES 
Checking for function "vasprintf" : YES 
Checking for function "mempcpy" : NO 
Checking for function "getifaddrs" with dependency -lsocket: YES 
Checking for function "openat" : YES 
Checking for function "renameat" : YES 
Checking for function "fstatat" : YES 
Checking for function "unlinkat" : YES 
Checking for function "rresvport" : YES 
Checking for type "fshare_t" : NO 
Checking whether type "struct tm" has member "tm_gmtoff" : YES 
Message: Searching for Berkeley DB library version 4.8
Message: Berkeley DB header found at /usr/pkg/include/db4/db.h
Library db-4.8 found: NO
Library db4.8 found: NO
Library db48 found: NO
Library db-4 found: NO
Library db4 found: YES
Has header "crypt.h" : NO 
Has header "gssapi.h" : YES 
Has header "gssapi/gssapi_generic.h" : NO 
Has header "gssapi/gssapi_krb5.h" : YES 
Has header "gssapi/gssapi.h" : YES 
Library krb5 found: YES
Program krb5-config found: YES (/usr/bin/krb5-config)
Has header "kerberosv5/krb5.h" : NO 
Has header "krb5.h" : YES 
Has header "krb5/krb5.h" : YES 
meson.build:751: WARNING: Need GSSAPI support to build Kerberos V UAM
Found pkg-config: YES (/home/pbulk/build/net/netatalk4/work/.tools/bin/pkg-config) 2.3.0
WARNING: Found CMake '/home/pbulk/build/net/netatalk4/work/.tools/bin/false' but couldn't run it
Found CMake: NO
Run-time dependency avahi-client found: NO (tried pkgconfig and cmake)
Library dns_sd found: YES
Library system found: NO
Has header "dns_sd.h" : YES (cached)
Checking for function "DNSServiceRegister" with dependencies -ldns_sd, -lsystem: YES 
Run-time dependency talloc found: NO (tried pkgconfig and cmake)
Run-time dependency tracker-sparql-3.0 found: NO (tried pkgconfig and cmake)
Run-time dependency tracker-sparql-2.0 found: NO (tried pkgconfig and cmake)
Run-time dependency tracker-sparql-1.0 found: NO (tried pkgconfig and cmake)
meson.build:842: WARNING: Tracker SPARQL or TinySPARQL not found (required for Spotlight support)
Run-time dependency libevent found: YES 2.1.12-stable
Run-time dependency cups found: YES 2.4.11
Program cups-config found: YES (/usr/pkg/bin/cups-config)
Library prop found: YES
Library quota found: YES
Library rpcsvc found: YES
Run-time dependency libtirpc found: NO (tried pkgconfig and cmake)
Has header "rpc/rpc.h" : YES 
Has header "rpc/pmap_prot.h" : YES 
Has header "rpcsvc/rquota.h" : YES 
Checking for function "getfsquota" with dependencies -lquota, -lprop, -lrpcsvc: NO 
Run-time dependency libgcrypt found: YES 1.11.0
Library attr found: NO
Checking for function "getxattr" with dependency -lattr: YES 
Checking for function "fgetxattr" : YES 
Checking for function "flistxattr" : YES 
Checking for function "fremovexattr" : YES 
Checking for function "fsetxattr" : YES 
Checking for function "getxattr" : YES (cached)
Checking for function "lgetxattr" : YES 
Checking for function "listxattr" : YES 
Checking for function "llistxattr" : YES 
Checking for function "lremovexattr" : YES 
Checking for function "lsetxattr" : YES 
Checking for function "removexattr" : YES 
Checking for function "setxattr" : YES 
Run-time dependency dbus-1 found: NO (tried pkgconfig and cmake)
Run-time dependency glib-2.0 found: YES 2.82.2
Run-time dependency gobject-2.0 found: YES 2.82.2
Run-time dependency gio-2.0 found: YES 2.82.2
meson.build:1200: WARNING: afpstats support requested but required D-Bus and GLib libraries not found
Library acl found: NO
Checking for function "acl_get_file" with dependency -lacl: YES 
Checking for function "acl_from_mode" with dependency -lacl: NO 
Library ldap found: YES
Checking for function "ldap_initialize" with dependency -lldap: YES 
Run-time dependency iconv found: YES
Library iconv found: NO
Run-time dependency mysqlclient found: NO (tried pkgconfig and cmake)
Run-time dependency libmariadb found: NO (tried pkgconfig and cmake)
Program xsltproc found: NO
meson.build:1600: WARNING: xsltproc and docbook-xsl stylesheets are required to compile manpages and html documentation
Library pam found: YES
Has header "security/pam_appl.h" : YES (cached)
Has header "shadow.h" : NO 
meson.build:1743: WARNING: Shadow password support requested but required header not found
Checking for size of "off_t" : 8 
Program dtrace found: YES (/usr/sbin/dtrace)
Library elf found: YES
Run-time dependency threads found: YES
Program service found: YES (/usr/sbin/service)
Library crack found: YES
Library wrap found: YES
Configuring config.h using configuration
Configuring afp.conf using configuration
Configuring dbus-session.conf using configuration
Configuring netatalk using configuration
Configuring macusers using configuration
Configuring afpstats using configuration
Configuring apple_dump using configuration
Configuring asip-status using configuration
Configuring netatalk using configuration
Configuring a2boot using configuration
Configuring atalkd using configuration
Configuring macipgw using configuration
Configuring papd using configuration
Configuring timelord using configuration
Build targets in project: 54

netatalk 4.0.6

  Build environment:
    Build directory            : /home/pbulk/build/net/netatalk4/work/netatalk-netatalk-4-0-6/output
    Source path                : /home/pbulk/build/net/netatalk4/work/netatalk-netatalk-4-0-6
    Download dependencies      : NO

  Directories:
    Installation prefix        : /usr/pkg
    Executable directory       : /usr/pkg/bin
    Header file directory      : /usr/pkg/include
    Library directory          : /usr/pkg/lib
    Manual page directory      : /usr/pkg/man
    System executable directory: /usr/pkg/sbin
    Package conf directory     : /usr/pkg/etc/netatalk
    Shared state directory     : /var/db

  Compilation:
    host CPU                   : x86_64
    host endianness            : little
    C compiler                 : gcc
    build stype                : plain
    Shared or static libraries : shared

  Configuration Summary:
    Netatalk version           : 4.0.6

    Options:
      Access control           : PAM 
      CNID backends            : dbd last
      Extended Attributes      : AppleDouble, filesystem EA
      Init script style        : netbsd

    User Authentication Methods:
      ClearTxt                 : YES
      DHX                      : YES
      DHX2                     : YES
      Guest                    : YES
      Kerberos V               : NO
      RandNum                  : YES

    Features:
      ACL                      : YES
      AFP stats via D-Bus      : NO
      AppleTalk                : YES
      Cracklib                 : YES
      CUPS                     : YES
      dtrace probes            : NO
      GSSAPI                   : NO
      Kerberos                 : NO
      LDAP                     : YES
      Quota                    : YES
      Quota provider           : SunRPC
      Spotlight                : NO
      TCP wrapper              : YES
      Zeroconf                 : YES
      Zeroconf provider        : mDNS

    Paths:
      dbus daemon path         : /bin/dbus-daemon
      dbus system directory    : /usr/pkg/share/dbus-1/system.d
      init directory           : /etc/rc.d
      Netatalk lockfile        : /var/run/netatalk.pid
      PAM config directory     : /etc/pam.d
      Print spool directory    : /var/spool/netatalk
      User home basedir        : /home

    Documentation:
      Docbook                  : NO
      Manual style             : local

    Extras:
      Test suite               : NO
      Webmin module            : NO

  User defined options
    buildtype                  : plain
    libdir                     : lib
    libexecdir                 : libexec
    mandir                     : man
    prefix                     : /usr/pkg
    sysconfdir                 : /usr/pkg/etc/netatalk
    with-appletalk             : true
    with-bdb-path              : /usr/pkg
    with-bdb-version           : 4.8
    with-dtrace                : false
    with-gssapi                : false
    with-kerberos              : false
    with-ldap                  : true
    with-pam                   : true
    with-spooldir              : /var/spool/netatalk
    with-statedir-path         : /var/db
    with-tcp-wrappers          : true
    with-zeroconf              : true
    wrap_mode                  : nodownload

Found ninja-1.12.1 at /usr/pkg/bin/ninja
/bin/cp /data/jenkins/workspace/pkgsrc-netbsd-trunk-x86_64/net/netatalk4/files/netatalk_smf.sh /home/pbulk/build/net/netatalk4/work/netatalk-netatalk-4-0-6/distrib/initscripts