+ 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/ccls-0.20230717nb2/work.log
+ su pbulk -c '"$@"' make /usr/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/ccls-0.20230717nb2/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.20230717nb2
==========================================================================
The following variables will affect the build process of this package,
ccls-0.20230717nb2.  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
`/usr/pkg/bin/bmake clean' after the changes.
==========================================================================
=> Tool dependency cmake>=0: found cmake-3.29.6
=> 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>=17.0.0<18: found clang-17.0.6nb1
=> 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.20230717nb2
===> Extracting for ccls-0.20230717nb2
===> Patching for ccls-0.20230717nb2
===> Creating toolchain wrappers for ccls-0.20230717nb2
===> Configuring for ccls-0.20230717nb2
=> Checking for portability problems in extracted files
-- The CXX compiler identification is unknown
-- The C compiler identification is unknown
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - failed
-- Check for working CXX compiler: /home/pbulk/build/devel/ccls/work/.cwrapper/bin/c++
-- Check for working CXX compiler: /home/pbulk/build/devel/ccls/work/.cwrapper/bin/c++ - broken
CMake Error at /usr/pkg/share/cmake-3.29/Modules/CMakeTestCXXCompiler.cmake:73 (message):
  The C++ compiler

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

  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-cRKNDa'
    
    Run Build Command(s): /usr/pkg/bin/cmake -E env VERBOSE=1 /bin/gmake -f Makefile cmTC_06816/fast
    make  -f CMakeFiles/cmTC_06816.dir/build.make CMakeFiles/cmTC_06816.dir/build
    Building CXX object CMakeFiles/cmTC_06816.dir/testCXXCompiler.cxx.o
    /home/pbulk/build/devel/ccls/work/.cwrapper/bin/c++   -pipe -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/ncurses -DNDEBUG -o CMakeFiles/cmTC_06816.dir/testCXXCompiler.cxx.o -c /home/pbulk/build/devel/ccls/work/ccls-0.20230717/cmake-pkgsrc-build/CMakeFiles/CMakeScratch/TryCompile-cRKNDa/testCXXCompiler.cxx
    /usr/pkg/bin/clang++: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /usr/pkg/bin/clang++)
    /usr/pkg/bin/clang++: /lib64/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by /usr/pkg/bin/clang++)
    /usr/pkg/bin/clang++: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by /usr/pkg/lib/libclang-cpp.so.17)
    /usr/pkg/bin/clang++: /lib64/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by /usr/pkg/lib/libclang-cpp.so.17)
    /usr/pkg/bin/clang++: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.22' not found (required by /usr/pkg/lib/libclang-cpp.so.17)
    /usr/pkg/bin/clang++: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /usr/pkg/lib/libclang-cpp.so.17)
    /usr/pkg/bin/clang++: /lib64/libstdc++.so.6: version `CXXABI_1.3.11' not found (required by /usr/pkg/lib/libLLVM-17.so)
    /usr/pkg/bin/clang++: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.22' not found (required by /usr/pkg/lib/libLLVM-17.so)
    /usr/pkg/bin/clang++: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by /usr/pkg/lib/libLLVM-17.so)
    /usr/pkg/bin/clang++: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /usr/pkg/lib/libLLVM-17.so)
    /usr/pkg/bin/clang++: /lib64/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by /usr/pkg/lib/libLLVM-17.so)
    *** Error code 1
    
    Stop.
    make[1]: stopped in /home/pbulk/build/devel/ccls/work/ccls-0.20230717/cmake-pkgsrc-build/CMakeFiles/CMakeScratch/TryCompile-cRKNDa
    gmake: *** [cmTC_06816/fast] Error 1
    
    

  

  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-el7-trunk-x86_64/devel/ccls
*** Error code 1

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