+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /usr/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/aide-0.15.1nb1/work.log
+ su pbulk -c '"$@"' make /usr/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/aide-0.15.1nb1/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for aide-0.15.1.tar.gz
=> Checksum SHA512 OK for aide-0.15.1.tar.gz
===> Installing dependencies for aide-0.15.1nb1
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency bison>=1.0: found bison-3.8.2nb1
=> Tool dependency flex>=2.5.4a: found flex-2.6.4
=> Tool dependency nbpatch-[0-9]*: found nbpatch-20151107
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency flex>=2.5.4a: found flex-2.6.4
=> Full dependency zlib>=1.2.3: found zlib-1.3.1
=> Full dependency mhash>=0.9.9nb13: found mhash-0.9.9nb13
===> Overriding tools for aide-0.15.1nb1
===> Extracting for aide-0.15.1nb1
===> Patching for aide-0.15.1nb1
=> Applying pkgsrc patches for aide-0.15.1nb1
=> Verifying /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/security/aide/patches/patch-ab
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/security/aide/patches/patch-ab
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ab,v 1.5 2012/03/12 14:18:44 fhajny Exp $
|
|* YACC and LEX are passwd as full path.
|* static linking is not supported on MacOS X.  PR#39058.
|* FILE_OFFSET_BITS corrected
|
|--- configure.orig	2010-09-10 17:48:04.000000000 +0000
|+++ configure
--------------------------
Patching file configure using Plan A...
Hunk #1 succeeded at 4231.
Hunk #2 succeeded at 4390.
Hunk #3 succeeded at 4531.
Hunk #4 succeeded at 6430.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/security/aide/patches/patch-ae
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/security/aide/patches/patch-ae
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ae,v 1.1 2010/08/30 22:30:27 pettai Exp $
|
|--- contrib/gpg2_check.sh.orig	2010-08-31 00:22:49.000000000 +0200
|+++ contrib/gpg2_check.sh	2010-08-31 00:23:06.000000000 +0200
--------------------------
Patching file contrib/gpg2_check.sh using Plan A...
Hunk #1 succeeded at 17.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/security/aide/patches/patch-af
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/security/aide/patches/patch-af
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-af,v 1.1 2010/08/30 22:30:27 pettai Exp $
|
|--- contrib/gpg2_update.sh.orig	2010-08-31 00:25:16.000000000 +0200
|+++ contrib/gpg2_update.sh	2010-08-31 00:26:27.000000000 +0200
--------------------------
Patching file contrib/gpg2_update.sh using Plan A...
Hunk #1 succeeded at 22.
Hunk #2 succeeded at 34.
done
===> Creating toolchain wrappers for aide-0.15.1nb1
===> Configuring for aide-0.15.1nb1
=> Modifying GNU configure scripts to avoid --recheck
=> Replacing config-guess with pkgsrc versions
=> Replacing config-sub with pkgsrc versions
=> Replacing install-sh with pkgsrc version
=> Checking for portability problems in extracted files
checking build system type... x86_64-redhat-linux-gnu
checking host system type... x86_64-redhat-linux-gnu
checking target system type... x86_64-redhat-linux-gnu
checking for a BSD-compatible install... /bin/install -c -o pbulk -g pbulk
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /home/pbulk/build/security/aide/work/.tools/bin/mkdir -p
checking for gawk... /bin/gawk
checking whether make sets $(MAKE)... yes
checking for x86_64-redhat-linux-gcc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of cc... gcc3
checking whether make sets $(MAKE)... (cached) yes
checking for x86_64-redhat-linux-ranlib... no
checking for ranlib... ranlib
checking for bison... /usr/pkg/bin/bison -y
checking for flex... flex
checking lex output file root... lex.yy
checking lex library... -lfl
checking whether yytext is a pointer... yes
checking for ld... ld
checking for pkg-config... /home/pbulk/build/security/aide/work/.tools/bin/pkg-config
checking for library containing syslog... none required
checking for vsyslog... yes
checking how to run the C preprocessor... cc -E
checking for grep that handles long lines and -e... (cached) /bin/grep
checking for egrep... (cached) /bin/egrep
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking whether byte ordering is bigendian... no
checking for byte... no
checking for ushort... yes
checking for ulong... yes
checking for u16... no
checking for u32... no
checking for u64... no
checking size of unsigned short... 2
checking size of unsigned int... 4
checking size of unsigned long... 8
checking size of long long... 8
checking size of unsigned long long... 8
checking for long double with more range or precision than double... yes
checking for ANSI C header files... (cached) yes
checking for strtoll... yes
checking for strtoimax... yes
checking for readdir... yes
checking args to readdir_r... POSIX
checking for stricmp... no
checking for strnstr... no
checking for strnlen... yes
checking for mmap... yes
checking for fcntl... yes
checking for ftruncate... yes
checking for posix_fadvise... yes
checking for asprintf... yes
checking for snprintf... yes
checking for vasprintf... yes
checking for vsnprintf... yes
checking for va_copy... no
checking for __va_copy... no
checking for ISO C99 compliant snprintf... yes
checking for ISO C99 compliant vsnprintf... yes
checking for open/O_NOATIME... no
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking for inttypes.h... (cached) yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking for sun-acl-support... no
checking for posix-acl-support... no
checking for selinux-support... no
checking for prelink-support... no
checking for xattr-support... no
checking for e2fsattrs-support... no
checking for lstat64... yes
checking for stat64... yes
checking for readdir64... yes
checking for readdir64_r... yes
checking size of off_t... 8
checking size of off64_t... 8
checking for LFS ino_t... ino_t
checking for LFS dirent... dirent64
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for deflate in -lz... no
configure: error: You don't have zlib properly installed. Install it or try --without-zlib.
*** Error code 1

Stop.
bmake[1]: stopped making "configure" in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/security/aide
*** Error code 1

Stop.
bmake: stopped making "configure" in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/security/aide