+ 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/ntfsprogs-2022.10.3/work.log
+ su pbulk -c '"$@"' make /usr/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/ntfsprogs-2022.10.3/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for ntfs-3g_ntfsprogs-2022.10.3.tgz
=> Checksum SHA512 OK for ntfs-3g_ntfsprogs-2022.10.3.tgz
===> Installing dependencies for ntfsprogs-2022.10.3
=> Tool dependency libtool-base>=2.4.2nb9: found libtool-base-2.4.7nb1
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency nbpatch-[0-9]*: found nbpatch-20151107
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Full dependency libuuid>=2.18: found libuuid-2.32.1nb2
=> Full dependency libntfs>=2014.2.15: found libntfs-2022.10.3
===> Overriding tools for ntfsprogs-2022.10.3
===> Extracting for ntfsprogs-2022.10.3
===> Patching for ntfsprogs-2022.10.3
=> Applying pkgsrc patches for ntfsprogs-2022.10.3
=> Verifying /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/sysutils/ntfsprogs/../../filesystems/libntfs/patches/patch-configure
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/sysutils/ntfsprogs/../../filesystems/libntfs/patches/patch-configure
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-configure,v 1.1 2023/09/08 10:23:07 vins Exp $
|
|Avoid test "==" operator.
|
|--- configure.orig	2022-10-20 15:35:11.000000000 +0000
|+++ configure
--------------------------
Patching file configure using Plan A...
Hunk #1 succeeded at 14104.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/sysutils/ntfsprogs/../../filesystems/libntfs/patches/patch-include_ntfs-3g_compat.h
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/sysutils/ntfsprogs/../../filesystems/libntfs/patches/patch-include_ntfs-3g_compat.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-include_ntfs-3g_compat.h,v 1.1 2014/05/19 12:22:06 adam Exp $
|
|NetBSD-1.6.2 does not know about ENOTSUP.
|
|--- include/ntfs-3g/compat.h.orig	2013-01-13 06:46:35.000000000 +0000
|+++ include/ntfs-3g/compat.h
--------------------------
Patching file include/ntfs-3g/compat.h using Plan A...
Hunk #1 succeeded at 90 (offset 19 lines).
done
=> Verifying /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/sysutils/ntfsprogs/../../filesystems/libntfs/patches/patch-include_ntfs-3g_types.h
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/sysutils/ntfsprogs/../../filesystems/libntfs/patches/patch-include_ntfs-3g_types.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-include_ntfs-3g_types.h,v 1.2 2015/11/10 17:45:22 adam Exp $
|
|Fix TRUE and FALSE definitions.
|
|--- include/ntfs-3g/types.h.orig	2013-01-13 06:46:35.000000000 +0000
|+++ include/ntfs-3g/types.h
--------------------------
Patching file include/ntfs-3g/types.h using Plan A...
Hunk #1 succeeded at 76 (offset 8 lines).
done
=> Verifying /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/sysutils/ntfsprogs/../../filesystems/libntfs/patches/patch-libntfs-3g_compat.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/sysutils/ntfsprogs/../../filesystems/libntfs/patches/patch-libntfs-3g_compat.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-libntfs-3g_compat.c,v 1.1 2015/11/10 17:45:22 adam Exp $
|
|Add missing function for NetBSD.
|
|--- libntfs-3g/compat.c.orig	2015-11-10 14:27:56.000000000 +0000
|+++ libntfs-3g/compat.c
--------------------------
Patching file libntfs-3g/compat.c using Plan A...
Hunk #1 succeeded at 248.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/sysutils/ntfsprogs/../../filesystems/libntfs/patches/patch-libntfs-3g_device.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/sysutils/ntfsprogs/../../filesystems/libntfs/patches/patch-libntfs-3g_device.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-libntfs-3g_device.c,v 1.2 2023/09/08 10:23:07 vins Exp $
|
|Use DIOCGPARTINFO on NetBSD to get the device size in blocks.
|
|--- libntfs-3g/device.c.orig	2022-10-20 15:33:44.000000000 +0000
|+++ libntfs-3g/device.c
--------------------------
Patching file libntfs-3g/device.c using Plan A...
Hunk #1 succeeded at 95.
Hunk #2 succeeded at 601.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/sysutils/ntfsprogs/../../filesystems/libntfs/patches/patch-libntfs-3g_Makefile.in
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/sysutils/ntfsprogs/../../filesystems/libntfs/patches/patch-libntfs-3g_Makefile.in
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-libntfs-3g_Makefile.in,v 1.2 2023/09/08 10:23:07 vins Exp $
|
|Do not attempt to move .so files outside of PREFIX.  
|
|--- libntfs-3g/Makefile.in.orig	2022-10-20 15:35:11.000000000 +0000
|+++ libntfs-3g/Makefile.in
--------------------------
Patching file libntfs-3g/Makefile.in using Plan A...
Hunk #1 succeeded at 1170.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/sysutils/ntfsprogs/../../filesystems/libntfs/patches/patch-libntfs-3g_mft.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/sysutils/ntfsprogs/../../filesystems/libntfs/patches/patch-libntfs-3g_mft.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-libntfs-3g_mft.c,v 1.1 2023/09/08 10:23:07 vins Exp $
|
|Rip off mkntfs_get_page_size() from mkntfs.c, to avoid
|a build error on archs where PAGE_SIZE is unusable.
|From OpenBSD ports/sysutils/ntfs-3g.
|
|--- libntfs-3g/mft.c.orig	2022-10-20 15:33:44.000000000 +0000
|+++ libntfs-3g/mft.c
--------------------------
Patching file libntfs-3g/mft.c using Plan A...
Hunk #1 succeeded at 27.
Hunk #2 succeeded at 525.
Hunk #3 succeeded at 572.
Hunk #4 succeeded at 584.
Hunk #5 succeeded at 611.
Hunk #6 succeeded at 624.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/sysutils/ntfsprogs/../../filesystems/libntfs/patches/patch-Makefile.in
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/sysutils/ntfsprogs/../../filesystems/libntfs/patches/patch-Makefile.in
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-Makefile.in,v 1.2 2023/09/08 10:23:07 vins Exp $
|
|Don't install README for ntfs-3g.
|
|--- Makefile.in.orig	2022-10-20 15:35:11.000000000 +0000
|+++ Makefile.in
--------------------------
Patching file Makefile.in using Plan A...
Hunk #1 succeeded at 815.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/sysutils/ntfsprogs/../../filesystems/libntfs/patches/patch-ntfsprogs_Makefile.in
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/sysutils/ntfsprogs/../../filesystems/libntfs/patches/patch-ntfsprogs_Makefile.in
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ntfsprogs_Makefile.in,v 1.1 2014/05/19 12:22:06 adam Exp $
|
|Link against already built and installed libntfs.
|
|--- ntfsprogs/Makefile.in.orig	2014-02-15 14:08:00.000000000 +0000
|+++ ntfsprogs/Makefile.in
--------------------------
Patching file ntfsprogs/Makefile.in using Plan A...
Hunk #1 succeeded at 145 (offset 56 lines).
Hunk #2 succeeded at 583 (offset 130 lines).
Hunk #3 succeeded at 1280 (offset 177 lines).
done
=> Verifying /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/sysutils/ntfsprogs/../../filesystems/libntfs/patches/patch-ntfsprogs_ntfsclone.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/sysutils/ntfsprogs/../../filesystems/libntfs/patches/patch-ntfsprogs_ntfsclone.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ntfsprogs_ntfsclone.c,v 1.2 2023/09/08 10:23:07 vins Exp $
|
|Fix for NetBSD's statvfs(2).
|
|--- ntfsprogs/ntfsclone.c.orig	2021-09-13 07:34:39.000000000 +0000
|+++ ntfsprogs/ntfsclone.c
--------------------------
Patching file ntfsprogs/ntfsclone.c using Plan A...
Hunk #1 succeeded at 71.
Hunk #2 succeeded at 179.
Hunk #3 succeeded at 869.
Hunk #4 succeeded at 2329.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/sysutils/ntfsprogs/../../filesystems/libntfs/patches/patch-src_Makefile.in
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/sysutils/ntfsprogs/../../filesystems/libntfs/patches/patch-src_Makefile.in
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_Makefile.in,v 1.4 2023/09/08 10:23:07 vins Exp $
|
|Link against already built and installed libntfs.
|Install binaries into PREFIX, not the root directory.
|
|--- src/Makefile.in.orig	2022-10-20 15:35:12.000000000 +0000
|+++ src/Makefile.in
--------------------------
Patching file src/Makefile.in using Plan A...
Hunk #1 succeeded at 118.
Hunk #2 succeeded at 131.
Hunk #3 succeeded at 139.
Hunk #4 succeeded at 379.
Hunk #5 succeeded at 405.
Hunk #6 succeeded at 415.
Hunk #7 succeeded at 425.
Hunk #8 succeeded at 1000.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/sysutils/ntfsprogs/../../filesystems/libntfs/patches/patch-src_ntfs-3g.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/sysutils/ntfsprogs/../../filesystems/libntfs/patches/patch-src_ntfs-3g.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_ntfs-3g.c,v 1.1 2015/11/10 17:45:22 adam Exp $
|
|NetBSD is missing some functions, so omit them.
|
|--- src/ntfs-3g.c.orig	2015-11-10 16:54:17.000000000 +0000
|+++ src/ntfs-3g.c
--------------------------
Patching file src/ntfs-3g.c using Plan A...
Hunk #1 succeeded at 4282 (offset 576 lines).
done
===> Creating toolchain wrappers for ntfsprogs-2022.10.3
===> Configuring for ntfsprogs-2022.10.3
=> 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 race-free mkdir -p... /home/pbulk/build/sysutils/ntfsprogs/work/.tools/bin/mkdir -p
checking for gawk... /bin/gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether make supports the include directive... yes (GNU style)
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... -std=gnu11
checking whether cc -std=gnu11 understands -c and -o together... yes
checking dependency style of cc -std=gnu11... 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 for utime.h... yes
checking whether it is safe to define __EXTENSIONS__... yes
checking whether _XOPEN_SOURCE should be defined... no
checking for x86_64-redhat-linux-gcc... (cached) cc
checking whether the compiler supports GNU C... (cached) yes
checking whether cc accepts -g... (cached) yes
checking for cc option to enable C11 features... (cached) -std=gnu11
checking whether cc -std=gnu11 understands -c and -o together... (cached) yes
checking dependency style of cc -std=gnu11... (cached) gcc3
checking whether ln -s works... yes
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/egrep
checking for fgrep... /bin/grep -F
checking for ld used by cc -std=gnu11... /home/pbulk/build/sysutils/ntfsprogs/work/.cwrapper/bin/ld
checking if the linker (/home/pbulk/build/sysutils/ntfsprogs/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 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/sysutils/ntfsprogs/work/.cwrapper/bin/ld option to reload object files... -r
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... no
checking for 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 -std=gnu11 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 -std=gnu11 supports -fno-rtti -fno-exceptions... no
checking for cc -std=gnu11 option to produce PIC... -fPIC -DPIC
checking if cc -std=gnu11 PIC flag -fPIC -DPIC works... yes
checking if cc -std=gnu11 static flag -static works... no
checking if cc -std=gnu11 supports -c -o file.o... /bin/rm: cannot remove 'conftest*': No such file or directory
yes
checking if cc -std=gnu11 supports -c -o file.o... (cached) yes
checking whether the cc -std=gnu11 linker (/home/pbulk/build/sysutils/ntfsprogs/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 pkg-config is at least version 0.9.0... no
checking for mv... /bin/mv
checking for rm... /bin/rm
checking for sed... (cached) /bin/sed
checking for ldconfig... /sbin/ldconfig
checking Windows OS... no
checking for uuid/uuid.h... yes
checking for uuid_generate... no
checking for uuid_generate in -luuid... yes
checking for hd.h... no
configure: WARNING: ntfsprogs Windows compliant geometry code requires the hd library.
checking for egrep... (cached) /bin/egrep
checking for sys/mkdev.h... no
checking for sys/sysmacros.h... yes
checking for ctype.h... yes
checking for fcntl.h... yes
checking for libgen.h... yes
checking for libintl.h... yes
checking for limits.h... yes
checking for locale.h... yes
checking for mntent.h... yes
checking for stddef.h... yes
checking for stdint.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for stdio.h... (cached) yes
checking for stdarg.h... yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking for errno.h... yes
checking for time.h... yes
checking for unistd.h... (cached) yes
checking for utime.h... (cached) yes
checking for wchar.h... (cached) yes
checking for getopt.h... yes
checking for features.h... yes
checking for regex.h... yes
checking for endian.h... yes
checking for byteswap.h... yes
checking for sys/byteorder.h... no
checking for sys/disk.h... no
checking for sys/endian.h... no
checking for sys/param.h... yes
checking for sys/ioctl.h... yes
checking for sys/mount.h... yes
checking for sys/stat.h... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/vfs.h... yes
checking for sys/statvfs.h... yes
checking for linux/major.h... yes
checking for linux/fd.h... yes
checking for linux/fs.h... yes
checking for inttypes.h... (cached) yes
checking for linux/hdreg.h... yes
checking for machine/endian.h... no
checking for windows.h... no
checking for syslog.h... yes
checking for pwd.h... yes
checking for malloc.h... yes
checking for _Bool... yes
checking for stdbool.h that conforms to C99... yes
checking whether byte ordering is bigendian... no
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for off_t... yes
checking for size_t... yes
checking for struct stat.st_blocks... yes
checking for struct stat.st_rdev... yes
checking for struct stat.st_atim... yes
checking for struct stat.st_atimespec... no
checking for struct stat.st_atimensec... no
checking for library containing getmntent... none required
checking whether mbrtowc and mbstate_t are properly declared... yes
checking for working memcmp... yes
checking whether lstat correctly handles trailing slash... yes
checking whether stat accepts an empty string... no
checking for strftime... yes
checking whether utime accepts a null argument... yes
checking for vprintf... yes
checking for atexit... yes
checking for basename... yes
checking for daemon... yes
checking for dup2... yes
checking for fdatasync... yes
checking for ffs... yes
checking for getopt_long... yes
checking for hasmntopt... yes
checking for mbsinit... yes
checking for memmove... yes
checking for memset... yes
checking for realpath... yes
checking for regcomp... yes
checking for setlocale... yes
checking for setxattr... yes
checking for strcasecmp... yes
checking for strchr... yes
checking for strdup... yes
checking for strerror... yes
checking for strnlen... yes
checking for strsep... yes
checking for strtol... yes
checking for strtoul... yes
checking for sysconf... yes
checking for utime... yes
checking for utimensat... yes
checking for gettimeofday... yes
checking for clock_gettime... yes
checking for fork... yes
checking for memcpy... yes
checking for random... yes
checking for snprintf... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for dlopen in -lc... no
checking for dlopen in -ldl... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating include/Makefile
config.status: creating include/fuse-lite/Makefile
config.status: creating include/ntfs-3g/Makefile
config.status: creating libfuse-lite/Makefile
config.status: creating libntfs-3g/Makefile
config.status: creating libntfs-3g/libntfs-3g.pc
config.status: creating libntfs-3g/libntfs-3g.script.so
config.status: creating ntfsprogs/Makefile
config.status: creating ntfsprogs/mkntfs.8
config.status: creating ntfsprogs/ntfscat.8
config.status: creating ntfsprogs/ntfsclone.8
config.status: creating ntfsprogs/ntfscluster.8
config.status: creating ntfsprogs/ntfscmp.8
config.status: creating ntfsprogs/ntfscp.8
config.status: creating ntfsprogs/ntfsfix.8
config.status: creating ntfsprogs/ntfsinfo.8
config.status: creating ntfsprogs/ntfslabel.8
config.status: creating ntfsprogs/ntfsls.8
config.status: creating ntfsprogs/ntfsprogs.8
config.status: creating ntfsprogs/ntfsresize.8
config.status: creating ntfsprogs/ntfsundelete.8
config.status: creating ntfsprogs/ntfsdecrypt.8
config.status: creating ntfsprogs/ntfswipe.8
config.status: creating ntfsprogs/ntfstruncate.8
config.status: creating ntfsprogs/ntfsfallocate.8
config.status: creating ntfsprogs/ntfsrecover.8
config.status: creating ntfsprogs/ntfsusermap.8
config.status: creating ntfsprogs/ntfssecaudit.8
config.status: creating src/Makefile
config.status: creating src/ntfs-3g.8
config.status: creating src/ntfs-3g.probe.8
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
You can type now 'make' to build ntfs-3g.
=> Modifying libtool scripts to use pkgsrc libtool
=> Modifying libtool scripts to use pkgsrc depcomp