+ 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.20240202/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/ccls-0.20240202/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for ccls-0.20240202.tar.gz
=> Checksum SHA512 OK for ccls-0.20240202.tar.gz
===> Installing dependencies for ccls-0.20240202
==========================================================================
The following variables will affect the build process of this package,
ccls-0.20240202.  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.30.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.0nb2
=> Full dependency zstd>=1.3.6: found zstd-1.5.6
=> Full dependency zlib>=1.2.3: found zlib-1.3.1
=> Full dependency clang>=18.0.0: found clang-18.1.8
=> Full dependency libxml2>=2.10.4nb3: found libxml2-2.12.8
=> Full dependency ncurses>=6.5: found ncurses-6.5
===> Overriding tools for ccls-0.20240202
===> Extracting for ccls-0.20240202
===> Patching for ccls-0.20240202
===> Creating toolchain wrappers for ccls-0.20240202
===> Configuring for ccls-0.20240202
=> Checking for portability problems in extracted files
-- The CXX compiler identification is Clang 18.1.8
-- The C compiler identification is Clang 18.1.8
-- 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.30/Modules/CMakeTestCXXCompiler.cmake:73 (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.20240202/cmake-pkgsrc-build/CMakeFiles/CMakeScratch/TryCompile-MsWzES'
    
    Run Build Command(s): /opt/pkg/bin/cmake -E env VERBOSE=1 /home/pbulk/build/devel/ccls/work/.tools/bin/make -f Makefile cmTC_f3328/fast
    /home/pbulk/build/devel/ccls/work/.tools/bin/make  -f CMakeFiles/cmTC_f3328.dir/build.make CMakeFiles/cmTC_f3328.dir/build
    Building CXX object CMakeFiles/cmTC_f3328.dir/testCXXCompiler.cxx.o
    /home/pbulk/build/devel/ccls/work/.cwrapper/bin/g++   -pipe -O2 -I/usr/include -I/opt/pkg/include -I/opt/pkg/include/ncurses -DNDEBUG -MD -MT CMakeFiles/cmTC_f3328.dir/testCXXCompiler.cxx.o -MF CMakeFiles/cmTC_f3328.dir/testCXXCompiler.cxx.o.d -o CMakeFiles/cmTC_f3328.dir/testCXXCompiler.cxx.o -c /home/pbulk/build/devel/ccls/work/ccls-0.20240202/cmake-pkgsrc-build/CMakeFiles/CMakeScratch/TryCompile-MsWzES/testCXXCompiler.cxx
    Linking CXX executable cmTC_f3328
    /opt/pkg/bin/cmake -E cmake_link_script CMakeFiles/cmTC_f3328.dir/link.txt --verbose=1
    /home/pbulk/build/devel/ccls/work/.cwrapper/bin/g++ -pipe -O2 -I/usr/include -I/opt/pkg/include -I/opt/pkg/include/ncurses -DNDEBUG  -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -liconv  CMakeFiles/cmTC_f3328.dir/testCXXCompiler.cxx.o -o cmTC_f3328
    ld: fatal: file crtbegin.o: open failed: No such file or directory
    ld: fatal: library -lstdc++: not found
    ld: fatal: library -lssp_nonshared: not found
    ld: fatal: library -lssp: not found
    ld: fatal: library -lgcc_s: not found
    ld: fatal: library -lgcc: not found
    ld: fatal: file crtend.o: open failed: No such file or directory
    ld: fatal: file processing errors. No output written to cmTC_f3328
    clang++: error: linker command failed with exit code 1 (use -v to see invocation)
    *** Error code 1
    
    Stop.
    make[1]: stopped making "CMakeFiles/cmTC_f3328.dir/build" in /home/pbulk/build/devel/ccls/work/ccls-0.20240202/cmake-pkgsrc-build/CMakeFiles/CMakeScratch/TryCompile-MsWzES
    *** Error code 1
    
    Stop.
    make: stopped making "cmTC_f3328/fast" in /home/pbulk/build/devel/ccls/work/ccls-0.20240202/cmake-pkgsrc-build/CMakeFiles/CMakeScratch/TryCompile-MsWzES
    
    

  

  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 making "configure" in /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/ccls
*** Error code 1

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