+ 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-11/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/jose-11/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-11
==========================================================================
The following variables will affect the build process of this package,
jose-11.  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.1
=> Tool dependency asciidoc-[0-9]*: found asciidoc-10.2.0nb4
=> Tool dependency meson>=0: found meson-1.1.1
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency cmake>=2.8.1nb1: found cmake-3.26.4
=> Tool dependency pkgconf-[0-9]*: found pkgconf-1.9.5
=> 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.13
=> Full dependency openssl>=1.1.1pnb1: found openssl-1.1.1u
=> Full dependency jansson>=2.4nb1: found jansson-2.14
===> Overriding tools for jose-11
===> Extracting for jose-11
===> Patching for jose-11
=> Applying pkgsrc patches for jose-11
=> 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-11
===> Configuring for jose-11
=> Checking for portability problems in extracted files
cd /home/pbulk/build/textproc/jose/work/jose-11 && cd . && /usr/bin/env CMAKE=false USETOOLS=no CC=gcc CFLAGS=-pipe\ -O2\ -msave-args\ -fno-aggressive-loop-optimizations\ -D_FORTIFY_SOURCE=2\ -I/opt/pkg/include CPPFLAGS=-I/opt/pkg/include CXX=g++ CXXFLAGS=-pipe\ -O2\ -msave-args\ -fno-aggressive-loop-optimizations\ -D_FORTIFY_SOURCE=2\ -I/opt/pkg/include COMPILER_RPATH_FLAG=-Wl,-R F77=gfortran FC=gfortran FFLAGS=-O LANG=C LC_ALL=C LC_COLLATE=C LC_CTYPE=C LC_MESSAGES=C LC_MONETARY=C LC_NUMERIC=C LC_TIME=C LDFLAGS=-L/opt/pkg/lib\ -Wl,-R/opt/pkg/lib LINKER_RPATH_FLAG=-R PATH=/home/pbulk/build/textproc/jose/work/.cwrapper/bin:/home/pbulk/build/textproc/jose/work/.buildlink/bin:/home/pbulk/build/textproc/jose/work/.gcc/bin:/home/pbulk/build/textproc/jose/work/.tools/bin:/opt/pkg/bin:/sbin:/usr/sbin:/usr/bin:/opt/tools/bin:/opt/pkg/bin:/opt/pkg/bin PREFIX=/opt/pkg MAKELEVEL=0 CONFIG_SITE= PKG_SYSCONFDIR=/etc/opt/pkg CXXCPP=cpp HOME=/home/pbulk/build/textproc/jose/work/.home CWRAPPERS_CONFIG_DIR=/home/pbulk/build/textproc/jose/work/.cwrapper/config CPP=cpp LOCALBASE=/opt/pkg X11BASE=/opt/pkg PKGMANDIR=share/man PKGINFODIR=info PKGGNUDIR=gnu/ MAKECONF=/dev/null OBJECT_FMT=ELF USETOOLS=no BSD_INSTALL_PROGRAM=/opt/pkg/bin/bsdinstall\ -c\ \ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_SCRIPT=/opt/pkg/bin/bsdinstall\ -c\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_LIB=/opt/pkg/bin/bsdinstall\ -c\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_DATA=/opt/pkg/bin/bsdinstall\ -c\ -o\ pbulk\ -g\ pbulk\ -m\ 644 BSD_INSTALL_MAN=/opt/pkg/bin/bsdinstall\ -c\ -o\ pbulk\ -g\ pbulk\ -m\ 644 BSD_INSTALL=/opt/pkg/bin/bsdinstall BSD_INSTALL_PROGRAM_DIR=/opt/pkg/bin/bsdinstall\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_SCRIPT_DIR=/opt/pkg/bin/bsdinstall\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_LIB_DIR=/opt/pkg/bin/bsdinstall\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_DATA_DIR=/opt/pkg/bin/bsdinstall\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_MAN_DIR=/opt/pkg/bin/bsdinstall\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_GAME=/opt/pkg/bin/bsdinstall\ -c\ \ -o\ pbulk\ -g\ pbulk\ -m\ 2555 BSD_INSTALL_GAME_DATA=/opt/pkg/bin/bsdinstall\ -c\ -o\ pbulk\ -g\ pbulk\ -m\ 664 BSD_INSTALL_GAME_DIR=/opt/pkg/bin/bsdinstall\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 775 INSTALL_INFO= MAKEINFO=/home/pbulk/build/textproc/jose/work/.tools/bin/makeinfo FLEX= BISON= ITSTOOL=/home/pbulk/build/textproc/jose/work/.tools/bin/itstool GDBUS_CODEGEN=/home/pbulk/build/textproc/jose/work/.tools/bin/gdbus-codegen PKG_CONFIG=/home/pbulk/build/textproc/jose/work/.tools/bin/pkg-config PKG_CONFIG_LIBDIR=/home/pbulk/build/textproc/jose/work/.buildlink/lib/amd64/pkgconfig:/home/pbulk/build/textproc/jose/work/.buildlink/lib/pkgconfig:/home/pbulk/build/textproc/jose/work/.buildlink/share/pkgconfig PKG_CONFIG_LOG=/home/pbulk/build/textproc/jose/work/.pkg-config.log PKG_CONFIG_PATH= CWRAPPERS_CONFIG_DIR=/home/pbulk/build/textproc/jose/work/.cwrapper/config meson setup  --prefix /opt/pkg  --libdir lib  --libexecdir libexec  --mandir share/man  --sysconfdir /etc/opt/pkg    --buildtype=plain  . output
The Meson build system
Version: 1.1.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 12.2.0 "gcc (GCC) 12.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: /home/pbulk/build/textproc/jose/work/.tools/bin/pkg-config (1.9.5)
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 1.1.1u
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 1.1.1u
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

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