+ 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/elftoolchain-0.7.1/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/elftoolchain-0.7.1/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for elftoolchain-0.7.1.tar.bz2
=> Checksum SHA512 OK for elftoolchain-0.7.1.tar.bz2
===> Installing dependencies for elftoolchain-0.7.1
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency flex>=2.5.4a: found flex-2.6.4
=> 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
===> Overriding tools for elftoolchain-0.7.1
===> Extracting for elftoolchain-0.7.1
===> Patching for elftoolchain-0.7.1
=> Applying pkgsrc patches for elftoolchain-0.7.1
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/elftoolchain/patches/patch-am
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/elftoolchain/patches/patch-am
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-am,v 1.2 2018/10/01 12:36:35 ryoon Exp $
|
|don't build tests for ordinary packaging
|
|--- Makefile.orig	2016-02-07 11:39:17.000000000 +0000
|+++ Makefile
--------------------------
Patching file Makefile using Plan A...
Hunk #1 succeeded at 33.
Hunk #2 succeeded at 55.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/elftoolchain/patches/patch-libdwarf_Makefile
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/elftoolchain/patches/patch-libdwarf_Makefile
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-libdwarf_Makefile,v 1.1 2011/11/26 15:50:27 dholland Exp $
|
|Add a minor version to libdwarf.so; otherwise a bootstrapped build does
|"ln -sf libdwarf.so.3 libdwarf.so.3" and then install fails with ELOOP.
|
|This is a bug in bootstrap-mk-files but I'm going to fix it in both
|places to avoid demanding rebootstrapping.
|
|--- libdwarf/Makefile~	2011-10-27 03:47:28.000000000 +0000
|+++ libdwarf/Makefile
--------------------------
Patching file libdwarf/Makefile using Plan A...
Hunk #1 succeeded at 81 (offset 2 lines).
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/elftoolchain/patches/patch-libelf_Makefile
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/elftoolchain/patches/patch-libelf_Makefile
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-libelf_Makefile,v 1.1 2011/11/26 15:50:27 dholland Exp $
|
|Add a minor version to libelf.so; otherwise a bootstrapped build does
|"ln -sf libelf.so.1 libelf.so.1" and then install fails with ELOOP.
|
|This is a bug in bootstrap-mk-files but I'm going to fix it in both
|places to avoid demanding rebootstrapping.
|
|--- libelf/Makefile~	2011-01-01 11:17:52.000000000 +0000
|+++ libelf/Makefile
--------------------------
Patching file libelf/Makefile using Plan A...
Hunk #1 succeeded at 66 (offset 5 lines).
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/elftoolchain/patches/patch-libelftc_Makefile
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/elftoolchain/patches/patch-libelftc_Makefile
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-libelftc_Makefile,v 1.2 2018/10/01 12:36:35 ryoon Exp $
|
|Add a minor version to libelftc.so; otherwise a bootstrapped build does
|"ln -sf libelftc.so.1 libelftc.so.1" and then install fails with ELOOP.
|
|This is a bug in bootstrap-mk-files but I'm going to fix it in both
|places to avoid demanding rebootstrapping.
|
|--- libelftc/Makefile.orig	2018-09-26 00:03:01.469445303 +0000
|+++ libelftc/Makefile
--------------------------
Patching file libelftc/Makefile using Plan A...
Hunk #1 succeeded at 23.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/elftoolchain/patches/patch-libelftc___libelftc.h
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/elftoolchain/patches/patch-libelftc___libelftc.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-libelftc___libelftc.h,v 1.2 2018/10/01 12:36:35 ryoon Exp $
|
|avoid error - cast float value to size_t before using it
|
|--- libelftc/_libelftc.h.orig	2015-03-27 17:13:41.000000000 +0000
|+++ libelftc/_libelftc.h
--------------------------
Patching file libelftc/_libelftc.h using Plan A...
Hunk #1 succeeded at 55.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/elftoolchain/patches/patch-libelftc_make-toolchain-version
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/elftoolchain/patches/patch-libelftc_make-toolchain-version
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-libelftc_make-toolchain-version,v 1.1 2020/03/06 11:40:00 nia Exp $
|
|Avoid needing any VCS system.
|
|--- libelftc/make-toolchain-version.orig	2016-02-16 22:58:35.000000000 +0000
|+++ libelftc/make-toolchain-version
--------------------------
Patching file libelftc/make-toolchain-version using Plan A...
Hunk #1 succeeded at 64.
done
===> Creating toolchain wrappers for elftoolchain-0.7.1
===> Configuring for elftoolchain-0.7.1
=> Checking for portability problems in extracted files