+ 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/ltfs-2.4.2.0.0nb24/work.log
+ su pbulk -c '"$@"' make /usr/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/ltfs-2.4.2.0.0nb24/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for ltfs/v2.4.2.0-pre0.tar.gz
=> Checksum SHA512 OK for ltfs/v2.4.2.0-pre0.tar.gz
===> Installing dependencies for ltfs-2.4.2.0.0nb24
==========================================================================
The following variables will affect the build process of this package,
ltfs-2.4.2.0.0nb24.  Their current value is shown below:

        * SSLBASE (defined)
        * SSLCERTBUNDLE (not defined)
        * SSLCERTS = /usr/pkg/etc/openssl/certs
        * SSLDIR = /usr/pkg/etc/openssl
        * SSLKEYS = /usr/pkg/etc/openssl/private

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 libtool-base>=2.4.2nb9: found libtool-base-2.4.7nb1
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency automake>=1.9: found automake-1.16.5nb3
=> Tool dependency autoconf>=2.58: found autoconf-2.72
=> Tool dependency gmake>=3.81: found gmake-4.4.1
=> Tool dependency nbpatch-[0-9]*: found nbpatch-20151107
=> 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 fuse>=2.9.9nb1: found fuse-2.9.9nb1
=> Full dependency icu>=76.1: found icu-76.1nb1
=> Full dependency libuuid>=2.18: found libuuid-2.32.1nb2
=> Full dependency libxml2>=2.12.9nb3: found libxml2-2.12.9nb3
=> Full dependency net-snmp>=5.9.3nb2: found net-snmp-5.9.4nb1
=> Full dependency perl>=5.40.0<5.41.0: found perl-5.40.0nb1
=> Full dependency openssl>=1.1.1: found openssl-3.3.2
=> Full dependency pcre>=3.4nb1: found pcre-8.45
=> Full dependency tcp_wrappers>=7.6.1nb1: found tcp_wrappers-7.6.4nb2
=> Full dependency xz>=5.0.0: found xz-5.6.3
=> Full dependency zlib>=1.1.4: found zlib-1.3.1
===> Overriding tools for ltfs-2.4.2.0.0nb24
===> Extracting for ltfs-2.4.2.0.0nb24
===> Patching for ltfs-2.4.2.0.0nb24
=> Applying pkgsrc patches for ltfs-2.4.2.0.0nb24
=> Verifying /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/filesystems/ltfs/patches/patch-autogen.sh
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/filesystems/ltfs/patches/patch-autogen.sh
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-autogen.sh,v 1.1 2021/01/23 13:12:32 mef Exp $
|
|autoconf-2.70 adhoc adaptation, 
|
|--- autogen.sh.orig	2020-11-06 10:50:51.000000000 +0900
|+++ autogen.sh	2021-01-23 21:39:46.992033563 +0900
--------------------------
Patching file autogen.sh using Plan A...
Hunk #1 succeeded at 46.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/filesystems/ltfs/patches/patch-configure.ac
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/filesystems/ltfs/patches/patch-configure.ac
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-configure.ac,v 1.1 2021/01/23 13:12:32 mef Exp $
|
|with autoconf 2.70:
|configure.ac:43: error: AC_CONFIG_MACRO_DIR can only be used once
|
|--- configure.ac.orig	2020-11-06 10:50:51.000000000 +0900
|+++ configure.ac	2021-01-23 21:48:16.150573447 +0900
--------------------------
Patching file configure.ac using Plan A...
Hunk #1 succeeded at 40.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/filesystems/ltfs/patches/patch-conf_Makefile.am
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/filesystems/ltfs/patches/patch-conf_Makefile.am
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-conf_Makefile.am,v 1.1 2019/02/25 01:00:39 manu Exp $
|
|Do not install confguration file so that we can copy them in
|/usr/pkg/share/examples/ltfs instead.
|
|--- conf/Makefile.am.orig	2019-02-20 06:22:33.000000000 +0100
|+++ conf/Makefile.am	2019-02-24 03:15:52.062219251 +0100
--------------------------
Patching file conf/Makefile.am using Plan A...
Hunk #1 succeeded at 1.
Hunk #2 succeeded at 31.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/filesystems/ltfs/patches/patch-messages_make_message_src.sh
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/filesystems/ltfs/patches/patch-messages_make_message_src.sh
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-messages_make_message_src.sh,v 1.1 2022/03/24 16:35:31 manu Exp $
|
|Build all .o generated by ICU to spare undefined symbol errors
|
|--- messages/make_message_src.sh.orig	2019-03-15 05:24:46.000000000 +0100
|+++ messages/make_message_src.sh	2022-03-22 17:16:40.802122202 +0100
--------------------------
Patching file messages/make_message_src.sh using Plan A...
Hunk #1 succeeded at 77.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/filesystems/ltfs/patches/patch-src_libltfs_fs.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/filesystems/ltfs/patches/patch-src_libltfs_fs.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_libltfs_fs.c,v 1.1 2020/12/24 12:01:25 mef Exp $
|
|ICU-68.1 adaptation:
|fs.c:266:32: error: 'FALSE' undeclared (first use in this function); did you mean 'FILE'?
|   update_platform_safe_name(d, FALSE, idx);
|                                ^~~~~
|                                FILE
|
|--- src/libltfs/fs.c.orig	2019-02-20 14:22:33.000000000 +0900
|+++ src/libltfs/fs.c	2020-12-24 20:57:45.926149247 +0900
--------------------------
Patching file src/libltfs/fs.c using Plan A...
Hunk #1 succeeded at 263.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/filesystems/ltfs/patches/patch-src_ltfs_fuse.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/filesystems/ltfs/patches/patch-src_ltfs_fuse.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_ltfs_fuse.c,v 1.1 2022/03/24 16:35:31 manu Exp $
|
|Do not take for granted that __WORDSIZE is defined to distinguish 
|between 32 and 64 bit platforms. Instead use ULONG_MAX from <limits.h>
|which is mandared by ISO C99.
|
|--- src/ltfs_fuse.c.orig	2022-03-24 10:08:47.455171288 +0100
|+++ src/ltfs_fuse.c	2022-03-24 10:21:27.627832669 +0100
--------------------------
Patching file src/ltfs_fuse.c using Plan A...
Hunk #1 succeeded at 53.
Hunk #2 succeeded at 70.
done
===> Creating toolchain wrappers for ltfs-2.4.2.0.0nb24
===> Configuring for ltfs-2.4.2.0.0nb24
cd /home/pbulk/build/filesystems/ltfs/work/ltfs-2.4.2.0-pre0 && ./autogen.sh
aclocal: warning: couldn't open directory 'm4': No such file or directory
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'build-aux'.
libtoolize: linking file 'build-aux/ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: linking file 'm4/libtool.m4'
libtoolize: linking file 'm4/ltoptions.m4'
libtoolize: linking file 'm4/ltsugar.m4'
libtoolize: linking file 'm4/ltversion.m4'
libtoolize: linking file 'm4/lt~obsolete.m4'
configure.ac:50: warning: The macro 'AC_PROG_CC_C99' is obsolete.
configure.ac:50: You should run autoupdate.
./lib/autoconf/c.m4:1662: AC_PROG_CC_C99 is expanded from...
configure.ac:50: the top level
configure.ac:53: warning: The macro 'AC_PROG_LIBTOOL' is obsolete.
configure.ac:53: You should run autoupdate.
aclocal.m4:122: AC_PROG_LIBTOOL is expanded from...
configure.ac:53: the top level
configure.ac:422: warning: The macro 'AC_TRY_COMPILE' is obsolete.
configure.ac:422: You should run autoupdate.
./lib/autoconf/general.m4:2845: AC_TRY_COMPILE is expanded from...
configure.ac:422: the top level
configure.ac:52: installing 'build-aux/ar-lib'
configure.ac:48: installing 'build-aux/compile'
configure.ac:44: installing 'build-aux/config.guess'
configure.ac:44: installing 'build-aux/config.sub'
configure.ac:47: installing 'build-aux/install-sh'
configure.ac:47: installing 'build-aux/missing'
src/Makefile.am: installing 'build-aux/depcomp'
=> 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
=> Replacing sh interpreter in init.d/ltfs.
INFO: [replace-interpreter] Nothing changed in init.d/ltfs.
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 race-free mkdir -p... /home/pbulk/build/filesystems/ltfs/work/.tools/bin/mkdir -p
checking for gawk... /bin/gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... 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 the compiler supports GNU C... yes
checking whether cc accepts -g... yes
checking for cc option to enable C11 features... none needed
checking whether cc understands -c and -o together... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of cc... gcc3
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for wchar.h... yes
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking whether _XOPEN_SOURCE should be defined... no
checking for x86_64-redhat-linux-ar... no
checking for x86_64-redhat-linux-lib... no
checking for x86_64-redhat-linux-link... no
checking for ar... ar
checking the archiver (ar) interface... ar
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... (cached) /bin/grep
checking for egrep... (cached) /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by cc... /home/pbulk/build/filesystems/ltfs/work/.cwrapper/bin/ld
checking if the linker (/home/pbulk/build/filesystems/ltfs/work/.cwrapper/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /bin/nm -B
checking the name lister (/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... (cached) 2097152
checking how to convert x86_64-redhat-linux-gnu file names to x86_64-redhat-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-redhat-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /home/pbulk/build/filesystems/ltfs/work/.cwrapper/bin/ld option to reload object files... -r
checking for x86_64-redhat-linux-file... no
checking for file... file
checking for x86_64-redhat-linux-objdump... no
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for x86_64-redhat-linux-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for x86_64-redhat-linux-ar... ar
checking for archiver @FILE support... @
checking for x86_64-redhat-linux-strip... no
checking for strip... strip
checking for x86_64-redhat-linux-ranlib... no
checking for ranlib... ranlib
checking command to parse /bin/nm -B output from cc object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for x86_64-redhat-linux-mt... no
checking for mt... no
checking if : is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if cc supports -fno-rtti -fno-exceptions... no
checking for cc option to produce PIC... -fPIC -DPIC
checking if cc PIC flag -fPIC -DPIC works... yes
checking if cc static flag -static works... no
checking if cc supports -c -o file.o... /bin/rm: cannot remove 'conftest*': No such file or directory
yes
checking if cc supports -c -o file.o... (cached) yes
checking whether the cc linker (/home/pbulk/build/filesystems/ltfs/work/.cwrapper/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... /bin/rm: cannot remove 'conftest*': No such file or directory
no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether to compile in debug mode... no
checking whether to compile in message checking mode... no
checking whether to enable optimizations... no
checking whether to enable livelink mode support default=yes ... yes
checking whether to enable snmp or not... yes
checking whether to enable new locking system or not... no
checking whether to enable lin_tape or not (Linux Only)... no
checking whether to enable handling of buggy I/Fs or not (Linux/MacOS Only)... no
checking for genrb... /usr/pkg/bin/genrb
checking for pkgdata... /usr/pkg/bin/pkgdata
checking pkg-config is at least version 0.9.0... yes
checking for fuse >= 2.6.0... yes
checking for libxml-2.0 >= 2.6.16... yes
checking for uuid >= 1.36... yes
checking for pthread_create in -lpthread... yes
checking for clock_gettime in -lrt... yes
checking use latest ICU... no
checking for fcntl.h... yes
checking for limits.h... yes
checking for stddef.h... yes
checking for stdint.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for sys/ioctl.h... yes
checking for sys/mount.h... yes
checking for sys/time.h... yes
checking for termios.h... yes
checking for unistd.h... (cached) yes
checking for _Bool... yes
checking for stdbool.h that conforms to C99 or later... yes
checking for mode_t... yes
checking for off_t... yes
checking for size_t... yes
checking for ssize_t... yes
checking for uint8_t... yes
checking for uint16_t... yes
checking for uint32_t... yes
checking for uint64_t... yes
checking size of time_t... 8
checking for struct stat.st_blocks... yes
checking for struct stat.st_blksize... yes
checking for struct stat.st_rdev... yes
checking for inline... inline
checking for GNU libc compatible malloc... yes
checking for working strnlen... yes
checking for bzero... yes
checking for memchr... yes
checking for memset... yes
checking for mkdir... yes
checking for rmdir... yes
checking for strcasecmp... yes
checking for strdup... yes
checking for strerror... yes
checking for strndup... yes
checking for strrchr... yes
checking for strstr... yes
checking for xmlTextReaderSetup... no
checking for xmlTextReaderSetup in -lxml2... yes
checking for XML_PARSE_HUGE... yes
checking if compiling with clang... no
checking for SSE4.2... yes, x86_64
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating messages/Makefile
config.status: creating conf/Makefile
config.status: creating man/Makefile
config.status: creating init.d/Makefile
config.status: creating src/Makefile
config.status: creating src/libltfs/Makefile
config.status: creating src/tape_drivers/generic/file/Makefile
config.status: creating src/tape_drivers/generic/itdtimg/Makefile
config.status: creating src/tape_drivers/linux/lin_tape/Makefile
config.status: creating src/tape_drivers/linux/sg-ibmtape/Makefile
config.status: creating src/tape_drivers/osx/iokit-ibmtape/Makefile
config.status: creating src/tape_drivers/freebsd/cam/Makefile
config.status: creating src/tape_drivers/netbsd/scsipi-ibmtape/Makefile
config.status: creating src/iosched/Makefile
config.status: creating src/kmi/Makefile
config.status: creating src/utils/Makefile
config.status: creating ltfs.pc
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
/bin/rm: cannot remove 'libtoolT': No such file or directory
=> Modifying libtool scripts to use pkgsrc libtool
=> Modifying libtool scripts to use pkgsrc depcomp