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

        * SSLBASE (defined)
        * SSLCERTBUNDLE (not defined)
        * SSLCERTS = /etc/opt/pkg/openssl/certs
        * SSLDIR = /etc/opt/pkg/openssl
        * SSLKEYS = /etc/opt/pkg/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
`/opt/pkg/bin/bmake clean' after the changes.
==========================================================================
=> Tool dependency ninja-build-[0-9]*: found ninja-build-1.11.1nb1
=> Tool dependency asciidoc-[0-9]*: found asciidoc-10.2.0nb6
=> Tool dependency meson>=0: found meson-1.3.1
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency cmake>=3.18: found cmake-3.28.2
=> Tool dependency pkgconf-[0-9]*: found pkgconf-2.0.3
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Full dependency zlib>=1.2.3: found zlib-1.2.13nb1
=> Full dependency openssl>=3: found openssl-3.1.5
=> Full dependency jansson>=2.4nb1: found jansson-2.14
===> Overriding tools for jose-11nb1
===> Extracting for jose-11nb1
===> Patching for jose-11nb1
=> Applying pkgsrc patches for jose-11nb1
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/textproc/jose/patches/patch-lib_hsh.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/textproc/jose/patches/patch-lib_hsh.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-lib_hsh.c,v 1.1 2023/05/24 15:23:19 nikita Exp $
|
|Upstream commit 3d5b287243f87ce0243b23abd690d86c41fc499c
|
|lib/hsh.c: rename hsh local variable (#111)
|
|The hsh local variable name conflicts with the function prototype of
|hsh() in hsh.h, causing the following build issues with old compilers
|(gcc 4.7):
|
|hsh.c: In function 'hsh':
|hsh.c:28:21: error: declaration of 'hsh' shadows a global declaration [-Werror=shadow]
|hsh.c:26:1: error: shadowed declaration is here [-Werror=shadow]
|hsh.c: In function 'hsh_buf':
|hsh.c:60:21: error: declaration of 'hsh' shadows a global declaration [-Werror=shadow]
|hsh.c:26:1: error: shadowed declaration is here [-Werror=shadow]
|
|Therefore, we rename this local variable to _hsh.
|
|diff --git a/lib/hsh.c b/lib/hsh.c
|index c59a95f..a2a891b 100644
|--- lib/hsh.c.orig
|+++ lib/hsh.c
--------------------------
Patching file lib/hsh.c using Plan A...
Hunk #1 succeeded at 25.
Hunk #2 succeeded at 33.
Hunk #3 succeeded at 57.
Hunk #4 succeeded at 71.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/textproc/jose/patches/patch-lib_openssl_hmac.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/textproc/jose/patches/patch-lib_openssl_hmac.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-lib_openssl_hmac.c,v 1.1 2023/01/30 19:38:06 nikita Exp $
|
|The function hmac in hmac.c conflicts with hmac from stdlib on NetBSD.
|
|--- lib/openssl/hmac.c.orig	2022-06-20 21:21:38.997255017 +0200
|+++ lib/openssl/hmac.c	2022-06-20 21:22:08.635313366 +0200
--------------------------
Patching file lib/openssl/hmac.c using Plan A...
Hunk #1 succeeded at 95.
Hunk #2 succeeded at 251.
Hunk #3 succeeded at 275.
done
===> Creating toolchain wrappers for jose-11nb1
===> Configuring for jose-11nb1
=> Checking for portability problems in extracted files
The Meson build system
Version: 1.3.1
Source dir: /home/pbulk/build/textproc/jose/work/jose-11
Build dir: /home/pbulk/build/textproc/jose/work/jose-11/output
Build type: native build
Project name: jose
Project version: 11
C compiler for the host machine: gcc (gcc 13.2.0 "gcc (GCC) 13.2.0")
C linker for the host machine: gcc ld.solaris 5.11-1.1790 (illumos)
Host machine cpu family: x86_64
Host machine cpu: x86_64
Found pkg-config: YES (/home/pbulk/build/textproc/jose/work/.tools/bin/pkg-config) 2.0.3
Run-time dependency zlib found: YES 1.2.13
Run-time dependency threads found: YES
Run-time dependency jansson found: YES 2.14
Run-time dependency libcrypto found: YES 3.1.5
Program a2x found: YES (/opt/pkg/bin/a2x)
Configuring jose.h using configuration
Checking if "-Wl,--version-script=..." : links: NO 
Program ./jose-alg found: YES (/home/pbulk/build/textproc/jose/work/jose-11/tests/./jose-alg)
Program ./jose-fmt found: YES (/home/pbulk/build/textproc/jose/work/jose-11/tests/./jose-fmt)
Program ./jose-b64-enc found: YES (/home/pbulk/build/textproc/jose/work/jose-11/tests/./jose-b64-enc)
Program ./jose-b64-dec found: YES (/home/pbulk/build/textproc/jose/work/jose-11/tests/./jose-b64-dec)
Program ./jose-jwk-eql found: YES (/home/pbulk/build/textproc/jose/work/jose-11/tests/./jose-jwk-eql)
Program ./jose-jwk-exc found: YES (/home/pbulk/build/textproc/jose/work/jose-11/tests/./jose-jwk-exc)
Program ./jose-jwk-gen found: YES (/home/pbulk/build/textproc/jose/work/jose-11/tests/./jose-jwk-gen)
Program ./jose-jwk-pub found: YES (/home/pbulk/build/textproc/jose/work/jose-11/tests/./jose-jwk-pub)
Program ./jose-jwk-use found: YES (/home/pbulk/build/textproc/jose/work/jose-11/tests/./jose-jwk-use)
Program ./jose-jwk-thp found: YES (/home/pbulk/build/textproc/jose/work/jose-11/tests/./jose-jwk-thp)
Program ./jose-jws-fmt found: YES (/home/pbulk/build/textproc/jose/work/jose-11/tests/./jose-jws-fmt)
Program ./jose-jws-ver found: YES (/home/pbulk/build/textproc/jose/work/jose-11/tests/./jose-jws-ver)
Program ./jose-jws-sig found: YES (/home/pbulk/build/textproc/jose/work/jose-11/tests/./jose-jws-sig)
Program ./jose-jwe-fmt found: YES (/home/pbulk/build/textproc/jose/work/jose-11/tests/./jose-jwe-fmt)
Program ./jose-jwe-dec found: YES (/home/pbulk/build/textproc/jose/work/jose-11/tests/./jose-jwe-dec)
Program ./jose-jwe-enc found: YES (/home/pbulk/build/textproc/jose/work/jose-11/tests/./jose-jwe-enc)
Run-time dependency openssl found: YES 3.1.5
Build targets in project: 28

jose 11

  User defined options
    buildtype : plain
    libdir    : lib
    libexecdir: libexec
    mandir    : share/man
    prefix    : /opt/pkg
    sysconfdir: /etc/opt/pkg
    wrap_mode : nodownload

Found ninja-1.11.1 at /opt/pkg/bin/ninja