+ 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/xl2tpd-20171013/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/xl2tpd-20171013/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
WARNING: [license.mk] Every package should define a LICENSE.
=> Checksum BLAKE2s OK for xl2tpd-20171013.zip
=> Checksum SHA512 OK for xl2tpd-20171013.zip
===> Installing dependencies for xl2tpd-20171013
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency unzip-[0-9]*: found unzip-6.0nb9
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
===> Overriding tools for xl2tpd-20171013
===> Extracting for xl2tpd-20171013
===> Patching for xl2tpd-20171013
=> Applying pkgsrc patches for xl2tpd-20171013
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/net/xl2tpd/patches/patch-Makefile
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/net/xl2tpd/patches/patch-Makefile
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-Makefile,v 1.3 2017/10/13 17:24:05 christos Exp $
|
|Default to NetBSD
|Fix man directory
|
|--- Makefile.orig	2017-08-02 13:46:06.000000000 -0400
|+++ Makefile	2017-10-13 12:46:33.893556318 -0400
--------------------------
Patching file Makefile using Plan A...
Hunk #1 succeeded at 54.
Hunk #2 succeeded at 62.
Hunk #3 succeeded at 89.
Hunk #4 succeeded at 114.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/net/xl2tpd/patches/patch-control.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/net/xl2tpd/patches/patch-control.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-control.c,v 1.3 2017/10/13 17:24:05 christos Exp $
|
|Remove static from inline; each inlined copy might have its own buffer and
|this is not want you want if you define it static. In this case it does not
|matter, since it is only 4K and we don't return it, so don't try to play
|around with saving stack space for no good reason.
|
|--- control.c.orig	2017-08-02 13:46:06.000000000 -0400
|+++ control.c	2017-10-13 12:46:33.920249976 -0400
--------------------------
Patching file control.c using Plan A...
Hunk #1 succeeded at 1600.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/net/xl2tpd/patches/patch-l2tp.h
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/net/xl2tpd/patches/patch-l2tp.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-l2tp.h,v 1.3 2017/10/13 17:24:05 christos Exp $
|
|Include common.h first since it typedefs things other headers need
|
|--- l2tp.h.orig	2017-08-02 13:46:06.000000000 -0400
|+++ l2tp.h	2017-10-13 12:46:33.946695069 -0400
--------------------------
Patching file l2tp.h using Plan A...
Hunk #1 succeeded at 30.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/net/xl2tpd/patches/patch-md5.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/net/xl2tpd/patches/patch-md5.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-md5.c,v 1.3 2017/10/13 17:24:05 christos Exp $
|
|Include endian.h for NetBSD
|
|--- md5.c.orig	2017-08-02 13:46:06.000000000 -0400
|+++ md5.c	2017-10-13 12:46:33.972632069 -0400
--------------------------
Patching file md5.c using Plan A...
Hunk #1 succeeded at 7.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/net/xl2tpd/patches/patch-misc.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/net/xl2tpd/patches/patch-misc.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-misc.c,v 1.2 2017/10/13 17:24:05 christos Exp $
|
|Declare inline in a separate file.
|
|--- misc.c.orig	2017-08-02 13:46:06.000000000 -0400
|+++ misc.c	2017-10-13 12:51:24.225866762 -0400
--------------------------
Patching file misc.c using Plan A...
Hunk #1 succeeded at 175.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/net/xl2tpd/patches/patch-misc.h
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/net/xl2tpd/patches/patch-misc.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-misc.h,v 1.2 2017/10/13 17:24:05 christos Exp $
|
|Portable inlines are in header files.
|
|--- misc.h.orig	2017-08-02 13:46:06.000000000 -0400
|+++ misc.h	2017-10-13 12:49:29.042331434 -0400
--------------------------
Patching file misc.h using Plan A...
Hunk #1 succeeded at 65.
Hunk #2 succeeded at 75.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/net/xl2tpd/patches/patch-network.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/net/xl2tpd/patches/patch-network.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-network.c,v 1.5 2017/10/13 17:24:05 christos Exp $
|
|Argument to setsockopt should be int not long
|
|--- network.c.orig	2017-08-02 13:46:06.000000000 -0400
|+++ network.c	2017-10-13 13:09:05.187604385 -0400
--------------------------
Patching file network.c using Plan A...
Hunk #1 succeeded at 39.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/net/xl2tpd/patches/patch-osport.h
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/net/xl2tpd/patches/patch-osport.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-osport.h,v 1.1 2017/10/13 17:24:05 christos Exp $
|
|NetBSD has in_pktinfo
|
|--- osport.h.orig	2017-08-02 13:46:06.000000000 -0400
|+++ osport.h	2017-10-13 12:48:43.585921159 -0400
--------------------------
Patching file osport.h using Plan A...
Hunk #1 succeeded at 35.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/net/xl2tpd/patches/patch-pty.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/net/xl2tpd/patches/patch-pty.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-pty.c,v 1.4 2017/10/13 17:24:05 christos Exp $
|
|Fix pty allocation to use openpty(3) for all BSD's
|Fix closing slave bug.
|Set the pty queue size if we have it.
|Set set _NETBSD_SOURCE for older NetBSD versions and sockaddr_storage.
|
|--- pty.c.orig	2017-08-02 13:46:06.000000000 -0400
|+++ pty.c	2017-10-13 12:57:26.789420473 -0400
--------------------------
Patching file pty.c using Plan A...
Hunk #1 succeeded at 17.
Hunk #2 succeeded at 27.
Hunk #3 succeeded at 44.
Hunk #4 succeeded at 112.
Hunk #5 succeeded at 126.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/net/xl2tpd/patches/patch-xl2tpd.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/net/xl2tpd/patches/patch-xl2tpd.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-xl2tpd.c,v 1.3 2017/10/13 17:24:05 christos Exp $
|
|Expose functions
|
|--- xl2tpd.c.orig	2017-08-02 13:46:06.000000000 -0400
|+++ xl2tpd.c	2017-10-13 12:50:10.384619299 -0400
--------------------------
Patching file xl2tpd.c using Plan A...
Hunk #1 succeeded at 20.
done
===> Creating toolchain wrappers for xl2tpd-20171013
===> Configuring for xl2tpd-20171013
=> Checking for portability problems in extracted files