+ 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/sentencepiece-0.1.97/work.log
+ su pbulk -c '"$@"' make /usr/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/sentencepiece-0.1.97/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for sentencepiece-0.1.97.tar.gz
=> Checksum SHA512 OK for sentencepiece-0.1.97.tar.gz
===> Installing dependencies for sentencepiece-0.1.97
=> Tool dependency cmake>=0: found cmake-3.26.4
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
===> Overriding tools for sentencepiece-0.1.97
===> Extracting for sentencepiece-0.1.97
===> Patching for sentencepiece-0.1.97
===> Creating toolchain wrappers for sentencepiece-0.1.97
===> Configuring for sentencepiece-0.1.97
=> Adding run-time search paths to pkg-config files.
=> Checking for portability problems in extracted files
-- VERSION: 0.1.97
-- The C compiler identification is GNU 4.8.5
-- The CXX compiler identification is unknown
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /home/pbulk/build/textproc/sentencepiece/work/.cwrapper/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - failed
-- Check for working CXX compiler: /home/pbulk/build/textproc/sentencepiece/work/.cwrapper/bin/c++
-- Check for working CXX compiler: /home/pbulk/build/textproc/sentencepiece/work/.cwrapper/bin/c++ - broken
CMake Error at /usr/pkg/share/cmake-3.26/Modules/CMakeTestCXXCompiler.cmake:60 (message):
  The C++ compiler

    "/home/pbulk/build/textproc/sentencepiece/work/.cwrapper/bin/c++"

  is not able to compile a simple test program.

  It fails with the following output:

    Change Dir: /home/pbulk/build/textproc/sentencepiece/work/sentencepiece-0.1.97/cmake-pkgsrc-build/CMakeFiles/CMakeScratch/TryCompile-P8qj4M
    
    Run Build Command(s):/usr/pkg/bin/cmake -E env VERBOSE=1 /bin/gmake -f Makefile cmTC_8c9b6/fast && make  -f CMakeFiles/cmTC_8c9b6.dir/build.make CMakeFiles/cmTC_8c9b6.dir/build
    Building CXX object CMakeFiles/cmTC_8c9b6.dir/testCXXCompiler.cxx.o
    /home/pbulk/build/textproc/sentencepiece/work/.cwrapper/bin/c++   -pipe -O2 -D_FORTIFY_SOURCE=2 -o CMakeFiles/cmTC_8c9b6.dir/testCXXCompiler.cxx.o -c /home/pbulk/build/textproc/sentencepiece/work/sentencepiece-0.1.97/cmake-pkgsrc-build/CMakeFiles/CMakeScratch/TryCompile-P8qj4M/testCXXCompiler.cxx
    g++: error: unrecognized command line option '-std=c++17'
    *** Error code 1
    
    Stop.
    make[1]: stopped in /home/pbulk/build/textproc/sentencepiece/work/sentencepiece-0.1.97/cmake-pkgsrc-build/CMakeFiles/CMakeScratch/TryCompile-P8qj4M
    gmake: *** [cmTC_8c9b6/fast] Error 1
    
    

  

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


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

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/textproc/sentencepiece
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/textproc/sentencepiece