+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/dd_rescue-1.33/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/dd_rescue-1.33/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for dd_rescue-1.33.tar.gz
=> Checksum SHA512 OK for dd_rescue-1.33.tar.gz
===> Installing dependencies for dd_rescue-1.33
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency gmake>=3.81: found gmake-4.3nb3
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
===> Overriding tools for dd_rescue-1.33
===> Extracting for dd_rescue-1.33
===> Patching for dd_rescue-1.33
=> Applying pkgsrc patches for dd_rescue-1.33
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/sysutils/dd_rescue/patches/patch-aa
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/sysutils/dd_rescue/patches/patch-aa
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-aa,v 1.3 2013/06/04 00:47:46 mef Exp $
|
|Make it portable.
|
|--- Makefile.orig	2013-03-31 04:33:15.000000000 +0900
|+++ Makefile	2013-04-08 16:56:38.000000000 +0900
--------------------------
Patching file Makefile using Plan A...
Hunk #1 succeeded at 6.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/sysutils/dd_rescue/patches/patch-ab
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/sysutils/dd_rescue/patches/patch-ab
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ab,v 1.7 2013/06/14 01:07:58 mef Exp $
|
|(1) clang flags:
|dd_rescue.c:1494:22: warning: implicit declaration of function 'basename' is invalid in C99 [-Wimplicit-function-declaration]
|        const char* ibase = basename(inm);
|(2)
|See http://gnats.netbsd.org/38620
|dd_rescue: (fatal): allocation of aligned buffer failed!
|
|(3) clang flags:
|dd_recue.c:(.text+0x12b4): undefined reference to `mypread'
|dd_rescue.c:(.text+0x1374): undefined reference to `mypwrite'
|
|--- dd_rescue.c.orig	2013-03-31 04:24:34.000000000 +0900
|+++ dd_rescue.c	2013-06-13 16:44:35.000000000 +0900
--------------------------
Patching file dd_rescue.c using Plan A...
Hunk #1 succeeded at 83.
Hunk #2 succeeded at 122.
Hunk #3 succeeded at 745.
Hunk #4 succeeded at 767.
Hunk #5 succeeded at 1457.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/sysutils/dd_rescue/patches/patch-frandom_c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/sysutils/dd_rescue/patches/patch-frandom_c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-frandom_c,v 1.1 2013/06/04 00:47:46 mef Exp $
|
|frandom.c:19:23: fatal error: asm/errno.h: No such file or directory
|compilation terminated.
|
|--- frandom.c.orig	2013-02-10 17:06:41.000000000 +0900
|+++ frandom.c	2013-04-08 17:18:43.000000000 +0900
--------------------------
Patching file frandom.c using Plan A...
Hunk #1 succeeded at 16.
done
===> Creating toolchain wrappers for dd_rescue-1.33
===> Configuring for dd_rescue-1.33
=> Checking for portability problems in extracted files