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

        * TERMINFO_DEFAULT = ncurses

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

        * TERMINFO_TYPE = ncurses

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 cmake>=0: found cmake-3.28.1
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency rapidjson>=1.1.0: found rapidjson-1.1.0nb1
=> Full dependency zstd>=1.3.6: found zstd-1.5.5
=> Full dependency zlib>=1.2.3: found zlib-1.2.13
=> Full dependency clang>=16.0.6nb1<17: found clang-16.0.6nb1
=> Full dependency libxml2>=2.10.4nb3: found libxml2-2.10.4nb6
=> Full dependency ncurses>=6.3nb1: found ncurses-6.4
===> Overriding tools for ccls-0.20230717nb1
===> Extracting for ccls-0.20230717nb1
===> Patching for ccls-0.20230717nb1
===> Creating toolchain wrappers for ccls-0.20230717nb1
===> Configuring for ccls-0.20230717nb1
=> Checking for portability problems in extracted files
-- The CXX compiler identification is Clang 16.0.6
-- The C compiler identification is Clang 16.0.6
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - failed
-- Check for working CXX compiler: /home/pbulk/build/devel/ccls/work/.cwrapper/bin/g++
-- Check for working CXX compiler: /home/pbulk/build/devel/ccls/work/.cwrapper/bin/g++ - broken
CMake Error at /opt/pkg/share/cmake-3.28/Modules/CMakeTestCXXCompiler.cmake:60 (message):
  The C++ compiler

    "/home/pbulk/build/devel/ccls/work/.cwrapper/bin/g++"

  is not able to compile a simple test program.

  It fails with the following output:

    Change Dir: '/home/pbulk/build/devel/ccls/work/ccls-0.20230717/cmake-pkgsrc-build/CMakeFiles/CMakeScratch/TryCompile-YwaYk1'
    
    Run Build Command(s): /opt/pkg/bin/cmake -E env VERBOSE=1 /home/pbulk/build/devel/ccls/work/.tools/bin/make -f Makefile cmTC_8a190/fast
    /home/pbulk/build/devel/ccls/work/.tools/bin/make  -f CMakeFiles/cmTC_8a190.dir/build.make CMakeFiles/cmTC_8a190.dir/build
    Building CXX object CMakeFiles/cmTC_8a190.dir/testCXXCompiler.cxx.o
    /home/pbulk/build/devel/ccls/work/.cwrapper/bin/g++   -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/usr/include -I/opt/pkg/include -I/opt/pkg/include/ncurses -DNDEBUG -MD -MT CMakeFiles/cmTC_8a190.dir/testCXXCompiler.cxx.o -MF CMakeFiles/cmTC_8a190.dir/testCXXCompiler.cxx.o.d -o CMakeFiles/cmTC_8a190.dir/testCXXCompiler.cxx.o -c /home/pbulk/build/devel/ccls/work/ccls-0.20230717/cmake-pkgsrc-build/CMakeFiles/CMakeScratch/TryCompile-YwaYk1/testCXXCompiler.cxx
    clang-16: error: unknown argument: '-msave-args'
    clang-16: error: unknown argument: '-fno-aggressive-loop-optimizations'
    *** Error code 1
    
    Stop.
    make[1]: stopped in /home/pbulk/build/devel/ccls/work/ccls-0.20230717/cmake-pkgsrc-build/CMakeFiles/CMakeScratch/TryCompile-YwaYk1
    *** Error code 1
    
    Stop.
    make: stopped in /home/pbulk/build/devel/ccls/work/ccls-0.20230717/cmake-pkgsrc-build/CMakeFiles/CMakeScratch/TryCompile-YwaYk1
    
    

  

  CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
  CMakeLists.txt:2 (project)


-- Configuring incomplete, errors occurred!
*** Error code 1

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/ccls
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/ccls