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

        * LIBUSB_TYPE = compat

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
`/usr/pkg/bin/bmake clean' after the changes.
==========================================================================
=> Tool dependency glib2-tools-[0-9]*: found glib2-tools-2.82.2
=> Tool dependency libtool-base>=2.4.2nb9: found libtool-base-2.4.7nb1
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency nbpatch-[0-9]*: found nbpatch-20151107
=> Tool dependency pkgconf-[0-9]*: found pkgconf-2.3.0
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Full dependency glib2>=2.76.4nb1: found glib2-2.82.2
=> Full dependency libxml2>=2.12.9nb3: found libxml2-2.12.9nb3
=> Full dependency openobex>=1.7: found openobex-1.7.2nb3
=> Full dependency wbxml2>=0.9.2: found wbxml2-0.9.2
=> Full dependency expat>=1.95.7: found expat-2.6.3
=> Full dependency libffi>=1.20: found libffi-3.4.6
=> Full dependency libusb-compat>=0.1.6rc2: found libusb-compat-0.1.8
=> Full dependency libusb1>=1.0.9: found libusb1-1.0.27
=> Full dependency pcre2>=10.21: found pcre2-10.44
=> Full dependency xz>=5.0.0: found xz-5.6.3
=> Full dependency zlib>=1.1.4: found zlib-1.3.1
===> Overriding tools for libsyncml-0.4.5nb19
===> Extracting for libsyncml-0.4.5nb19
===> Patching for libsyncml-0.4.5nb19
=> Applying pkgsrc patches for libsyncml-0.4.5nb19
=> Verifying /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/comms/libsyncml/patches/patch-aa
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/comms/libsyncml/patches/patch-aa
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-aa,v 1.2 2013/03/15 08:25:15 plunky Exp $
|
|Check for -lbluetooth in addition to -lbluez, to make this compile on BSD.
|
|--- configure.ac.orig	2007-10-16 12:42:45.000000000 +0000
|+++ configure.ac
--------------------------
Patching file configure.ac using Plan A...
Hunk #1 succeeded at 78.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/comms/libsyncml/patches/patch-ab
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/comms/libsyncml/patches/patch-ab
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ab,v 1.2 2013/03/15 08:25:15 plunky Exp $
|
|--- libsyncml/transports/obex_client.c.orig	2007-10-16 13:25:31.000000000 +0000
|+++ libsyncml/transports/obex_client.c
--------------------------
Patching file libsyncml/transports/obex_client.c using Plan A...
Hunk #1 succeeded at 26.
Hunk #2 succeeded at 331.
Hunk #3 succeeded at 341.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/comms/libsyncml/patches/patch-ac
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/comms/libsyncml/patches/patch-ac
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ac,v 1.2 2013/03/15 08:25:15 plunky Exp $
|
|Regen for patch-aa.
|
|--- config.h.in.orig	2007-10-16 13:55:20.000000000 +0000
|+++ config.h.in
--------------------------
Patching file config.h.in using Plan A...
Hunk #1 succeeded at 15.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/comms/libsyncml/patches/patch-ad
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/comms/libsyncml/patches/patch-ad
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ad,v 1.2 2013/03/15 08:25:15 plunky Exp $
|
|Regen for patch-aa (hand trimmed).
|
|--- configure.orig	2007-10-16 13:55:17.000000000 +0000
|+++ configure
--------------------------
Patching file configure using Plan A...
Hunk #1 succeeded at 884.
Hunk #2 succeeded at 20786.
Hunk #3 succeeded at 20951.
Hunk #4 succeeded at 22673.
Hunk #5 succeeded at 22697.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/comms/libsyncml/patches/patch-tools_syncml-obex-client.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/comms/libsyncml/patches/patch-tools_syncml-obex-client.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-tools_syncml-obex-client.c,v 1.1 2013/03/15 08:25:15 plunky Exp $
|
|--- tools/syncml-obex-client.c.orig	2012-06-20 20:04:00.000000000 +0000
|+++ tools/syncml-obex-client.c
--------------------------
Patching file tools/syncml-obex-client.c using Plan A...
Hunk #1 succeeded at 361.
done
===> Creating toolchain wrappers for libsyncml-0.4.5nb19
===> Configuring for libsyncml-0.4.5nb19
=> Modifying GNU configure scripts to avoid --recheck
=> Replacing config-guess with pkgsrc versions
=> Replacing config-sub with pkgsrc versions
=> Replacing install-sh with pkgsrc version
=> Adding run-time search paths to pkg-config files.
checking for a BSD-compatible install... /bin/install -c -o pbulk -g pbulk
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /home/pbulk/build/comms/libsyncml/work/.tools/bin/mkdir -p
checking for gawk... /bin/gawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking for x86_64-redhat-linux-gcc... cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking dependency style of cc... gcc3
checking for library containing strerror... none required
checking for x86_64-redhat-linux-gcc... (cached) cc
checking whether we are using the GNU C compiler... (cached) yes
checking whether cc accepts -g... (cached) yes
checking for cc option to accept ISO C89... (cached) none needed
checking dependency style of cc... (cached) gcc3
checking build system type... x86_64-redhat-linux-gnu
checking host system type... x86_64-redhat-linux-gnu
checking for a sed that does not truncate output... /home/pbulk/build/comms/libsyncml/work/.tools/bin/sed
checking for grep that handles long lines and -e... (cached) /bin/grep
checking for egrep... (cached) /bin/grep -E
checking for ld used by cc... /home/pbulk/build/comms/libsyncml/work/.cwrapper/bin/ld
checking if the linker (/home/pbulk/build/comms/libsyncml/work/.cwrapper/bin/ld) is GNU ld... yes
checking for /home/pbulk/build/comms/libsyncml/work/.cwrapper/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /bin/nm -B
checking whether ln -s works... yes
checking how to recognize dependent libraries... pass_all
checking how to run the C preprocessor... cc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking whether we are using the GNU C++ compiler... no
checking whether c++ accepts -g... no
checking dependency style of c++... none
checking how to run the C++ preprocessor... cpp
checking for x86_64-redhat-linux-g77... gfortran
checking whether we are using the GNU Fortran 77 compiler... no
checking whether gfortran accepts -g... no
checking the maximum length of command line arguments... (cached) 2097152
checking command to parse /bin/nm -B output from cc object... ok
checking for objdir... .libs
checking for x86_64-redhat-linux-ar... no
checking for ar... ar
checking for x86_64-redhat-linux-ranlib... no
checking for ranlib... ranlib
checking for x86_64-redhat-linux-strip... no
checking for strip... strip
checking if cc supports -fno-rtti -fno-exceptions... no
checking for cc option to produce PIC... -fPIC
checking if cc PIC flag -fPIC works... yes
checking if cc static flag -static works... no
checking if cc supports -c -o file.o... yes
checking whether the cc linker (/home/pbulk/build/comms/libsyncml/work/.cwrapper/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating libtool
appending configuration tag "CXX" to libtool
checking whether the c++ linker (/home/pbulk/build/comms/libsyncml/work/.cwrapper/bin/ld -m elf_x86_64) supports shared libraries... yes
libtool.m4: error: problem compiling CXX test program
checking for c++ option to produce PIC... 
checking if c++ static flag  works... no
checking if c++ supports -c -o file.o... no
checking whether the c++ linker (/home/pbulk/build/comms/libsyncml/work/.cwrapper/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... unsupported
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for gfortran option to produce PIC... -fPIC
checking if gfortran PIC flag -fPIC works... no
checking if gfortran static flag -static works... no
checking if gfortran supports -c -o file.o... no
checking whether the gfortran linker (/home/pbulk/build/comms/libsyncml/work/.cwrapper/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking pkg-config is at least version 0.9.0... yes
checking for LIBXML... yes
checking for LIBSOUP... no
checking for LIBOPENOBEX... yes
checking for LIBBLUETOOTH... no
checking for bt_gethostbyname in -lbluetooth... no
configure: error: "Bluetooth libraries not found"
*** Error code 1

Stop.
bmake[1]: stopped making "configure" in /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/comms/libsyncml
WARNING: *** Please consider adding c++ to USE_LANGUAGES in the package Makefile.
WARNING: *** Please consider adding fortran to USE_LANGUAGES in the package Makefile.
*** Error code 1

Stop.
bmake: stopped making "configure" in /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/comms/libsyncml