+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/local/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/librecad-2.2.0.rc2nb5/work.log
+ su pbulk -c '"$@"' make /opt/local/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/librecad-2.2.0.rc2nb5/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for LibreCAD-2.2.0-rc2.tar.gz
=> Checksum SHA512 OK for LibreCAD-2.2.0-rc2.tar.gz
===> Installing dependencies for librecad-2.2.0.rc2nb5
==========================================================================
The following variables will affect the build process of this package,
librecad-2.2.0.rc2nb5.  Their current value is shown below:

        * JPEG_DEFAULT = libjpeg-turbo
        * SSLBASE (defined)
        * SSLCERTBUNDLE (not defined)
        * SSLCERTS = /opt/local/etc/openssl/certs
        * SSLDIR = /opt/local/etc/openssl
        * SSLKEYS = /opt/local/etc/openssl/private

Based on these variables, the following variables have been set:

        * JPEGBASE (defined, but empty)
        * JPEG_TYPE = libjpeg-turbo

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/local/bin/bmake clean' after the changes.
==========================================================================
=> Tool dependency qt5-qttools-[0-9]*: found qt5-qttools-5.15.7nb1
=> Tool dependency glib2-tools-[0-9]*: found glib2-tools-2.74.3
=> Tool dependency libtool-base>=2.4.2nb9: found libtool-base-2.4.7nb1
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency bsdtar-[0-9]*: found bsdtar-3.4.3
=> Tool dependency pax>=20040802: found pax-20210219
=> Tool dependency pkgconf-[0-9]*: found pkgconf-1.8.0
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency gcc12>=12.2.0: found gcc12-12.2.0
=> Build dependency xorgproto>=2016.1: found xorgproto-2022.2
=> Build dependency xcb-proto>=1.4: found xcb-proto-1.15.2nb1
=> Build dependency boost-headers-1.78.*: found boost-headers-1.78.0
=> Full dependency gcc12-libs>=12.2.0: found gcc12-libs-12.2.0
=> Full dependency qt5-qtsvg>=5.15.7nb1: found qt5-qtsvg-5.15.7nb1
=> Full dependency qt5-qtbase>=5.15.7nb1: found qt5-qtbase-5.15.7nb1
=> Full dependency freetype2>=2.8.1: found freetype2-2.12.1
=> Full dependency boost-libs-1.78.*: found boost-libs-1.78.0nb3
=> Full dependency muparser>=200: found muparser-200.2.2.2
===> Overriding tools for librecad-2.2.0.rc2nb5
===> Extracting for librecad-2.2.0.rc2nb5
===> Patching for librecad-2.2.0.rc2nb5
=> Applying pkgsrc patches for librecad-2.2.0.rc2nb5
=> Verifying /data/jenkins/workspace/pkgsrc-2022Q4-x86_64/cad/librecad/patches/patch-librecad_src_lib_engine_rs__ellipse.cpp
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-2022Q4-x86_64/cad/librecad/patches/patch-librecad_src_lib_engine_rs__ellipse.cpp
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-librecad_src_lib_engine_rs__ellipse.cpp,v 1.1 2021/05/22 10:18:23 nia Exp $
|
|Subject: [PATCH] add boost tuple include to fix build
|
|With boost 1.76, we see:
|lib/engine/rs_ellipse.cpp:70:15: error: 'tuple' in namespace 'boost::math' does not name a template type
|   70 |  boost::math::tuple<double, double, double> operator()(double const& z) const {
|      |               ^~~~~
|
|Fix this by including the proper boost header.
|
|https://github.com/LibreCAD/LibreCAD/pull/1345
|
|--- librecad/src/lib/engine/rs_ellipse.cpp.orig	2020-12-29 23:31:50.000000000 +0000
|+++ librecad/src/lib/engine/rs_ellipse.cpp
--------------------------
Patching file librecad/src/lib/engine/rs_ellipse.cpp using Plan A...
Hunk #1 succeeded at 48.
done
=> Verifying /data/jenkins/workspace/pkgsrc-2022Q4-x86_64/cad/librecad/patches/patch-librecad_src_lib_engine_rs__system.cpp
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-2022Q4-x86_64/cad/librecad/patches/patch-librecad_src_lib_engine_rs__system.cpp
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-librecad_src_lib_engine_rs__system.cpp,v 1.2 2019/10/26 12:23:01 kamil Exp $
|
|Fix pkgsrc PREFIX.
|
|--- librecad/src/lib/engine/rs_system.cpp.orig	2018-02-15 20:54:45.000000000 +0000
|+++ librecad/src/lib/engine/rs_system.cpp
--------------------------
Patching file librecad/src/lib/engine/rs_system.cpp using Plan A...
Hunk #1 succeeded at 573.
done
=> Verifying /data/jenkins/workspace/pkgsrc-2022Q4-x86_64/cad/librecad/patches/patch-librecad_src_main_qc__applicationwindow.cpp
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-2022Q4-x86_64/cad/librecad/patches/patch-librecad_src_main_qc__applicationwindow.cpp
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-librecad_src_main_qc__applicationwindow.cpp,v 1.2 2019/10/26 12:23:01 kamil Exp $
|
|ignore files in the plugins directory that do not contain '.so', as
|pkgsrc leaves some .la files there
|
|--- librecad/src/main/qc_applicationwindow.cpp.orig	2018-02-15 20:54:45.000000000 +0000
|+++ librecad/src/main/qc_applicationwindow.cpp
--------------------------
Patching file librecad/src/main/qc_applicationwindow.cpp using Plan A...
Hunk #1 succeeded at 644 (offset 245 lines).
done
=> Verifying /data/jenkins/workspace/pkgsrc-2022Q4-x86_64/cad/librecad/patches/patch-scripts_postprocess-unix.sh
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-2022Q4-x86_64/cad/librecad/patches/patch-scripts_postprocess-unix.sh
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-scripts_postprocess-unix.sh,v 1.4 2019/10/26 12:23:01 kamil Exp $
|
|Fix QTDIR.
|
|--- scripts/postprocess-unix.sh.orig	2018-02-15 20:54:45.000000000 +0000
|+++ scripts/postprocess-unix.sh
--------------------------
Patching file scripts/postprocess-unix.sh using Plan A...
Hunk #1 succeeded at 8.
done
===> Creating toolchain wrappers for librecad-2.2.0.rc2nb5
===> Configuring for librecad-2.2.0.rc2nb5
=> Fix hardcoded path
=> Set qt5/bin
=> Checking for portability problems in extracted files
Info: creating stash file /home/pbulk/build/cad/librecad/work/LibreCAD-2.2.0-rc2/.qmake.stash
Project MESSAGE: We will be using CPP11 features
=> Modifying libtool scripts to use pkgsrc libtool
=> Modifying libtool scripts to use pkgsrc depcomp