+ 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.20240202nb3/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/ccls-0.20240202nb3/work.log
=> Checksum BLAKE2s OK for ccls-0.20240202.tar.gz
=> Checksum SHA512 OK for ccls-0.20240202.tar.gz
===> Installing dependencies for ccls-0.20240202nb3
==========================================================================
The following variables will affect the build process of this package,
ccls-0.20240202nb3.  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.31.1
=> 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 clang>=18.1.8nb3: found clang-18.1.8nb3
=> Full dependency libxml2>=2.12.9nb3: found libxml2-2.12.9nb3
=> Full dependency ncurses>=6.5: found ncurses-6.5
=> Full dependency zlib>=1.2.3: found zlib-1.3.1
=> Full dependency zstd>=1.3.6: found zstd-1.5.6
=> Full dependency libiconv>=1.9.1: found libiconv-1.17
=> Full dependency llvm>=18.0.0: found llvm-18.1.8nb3
=> Full dependency xz>=5.0.0: found xz-5.6.3
===> Overriding tools for ccls-0.20240202nb3
===> Extracting for ccls-0.20240202nb3
===> Patching for ccls-0.20240202nb3
===> Creating toolchain wrappers for ccls-0.20240202nb3
===> Configuring for ccls-0.20240202nb3
=> Checking for portability problems in extracted files
CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 3.10 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
  to tell CMake that the project requires at least <min> but has been updated
  to work with policies introduced by <max> or earlier.


-- 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.31/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-6Cawcw'
    
    Run Build Command(s): /opt/pkg/bin/cmake -E env VERBOSE=1 /home/pbulk/build/devel/ccls/work/.tools/bin/make -f Makefile cmTC_e06a6/fast
    /home/pbulk/build/devel/ccls/work/.tools/bin/make  -f CMakeFiles/cmTC_e06a6.dir/build.make CMakeFiles/cmTC_e06a6.dir/build
    Building CXX object CMakeFiles/cmTC_e06a6.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_e06a6.dir/testCXXCompiler.cxx.o -MF CMakeFiles/cmTC_e06a6.dir/testCXXCompiler.cxx.o.d -o CMakeFiles/cmTC_e06a6.dir/testCXXCompiler.cxx.o -c /home/pbulk/build/devel/ccls/work/ccls-0.20240202/cmake-pkgsrc-build/CMakeFiles/CMakeScratch/TryCompile-6Cawcw/testCXXCompiler.cxx
    Linking CXX executable cmTC_e06a6
    /opt/pkg/bin/cmake -E cmake_link_script CMakeFiles/cmTC_e06a6.dir/link.txt --verbose=1
    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_e06a6
    clang++: error: linker command failed with exit code 1 (use -v to see invocation)
    /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_e06a6.dir/testCXXCompiler.cxx.o -o cmTC_e06a6
    *** Error code 1
    
    Stop.
    make[1]: stopped making "CMakeFiles/cmTC_e06a6.dir/build" in /home/pbulk/build/devel/ccls/work/ccls-0.20240202/cmake-pkgsrc-build/CMakeFiles/CMakeScratch/TryCompile-6Cawcw
    *** Error code 1
    
    Stop.
    make: stopped making "cmTC_e06a6/fast" in /home/pbulk/build/devel/ccls/work/ccls-0.20240202/cmake-pkgsrc-build/CMakeFiles/CMakeScratch/TryCompile-6Cawcw
    
    

  

  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