+ 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/polly-15.0.6/work.log
+ su pbulk -c '"$@"' make /usr/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/polly-15.0.6/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for cmake-15.0.6.src.tar.xz
=> Checksum SHA512 OK for cmake-15.0.6.src.tar.xz
=> Checksum BLAKE2s OK for polly-15.0.6.src.tar.xz
=> Checksum SHA512 OK for polly-15.0.6.src.tar.xz
===> Installing dependencies for polly-15.0.6
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency cmake>=2.8.1nb1: found cmake-3.25.1
=> Tool dependency nbpatch-[0-9]*: found nbpatch-20151107
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Full dependency llvm-15.0.6{,nb*}: found llvm-15.0.6
=> Full dependency llvm>=15: found llvm-15.0.6
===> Overriding tools for polly-15.0.6
===> Extracting for polly-15.0.6
/bin/ln -f -s /home/pbulk/build/devel/polly/work/cmake-15.0.6.src /home/pbulk/build/devel/polly/work/cmake
/bin/mkdir -p /home/pbulk/build/devel/polly/work/build
===> Patching for polly-15.0.6
=> Applying pkgsrc patches for polly-15.0.6
=> Verifying /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/devel/polly/patches/patch-CMakeLists.txt
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/devel/polly/patches/patch-CMakeLists.txt
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-CMakeLists.txt,v 1.4 2017/12/01 19:22:12 adam Exp $
|
|Disable tests: they require missing files from standard LLVM build (lit tool)
|
|--- CMakeLists.txt.orig	2017-07-11 11:37:35.000000000 +0000
|+++ CMakeLists.txt
--------------------------
Patching file CMakeLists.txt using Plan A...
Hunk #1 succeeded at 147 (offset -29 lines).
done
===> Creating toolchain wrappers for polly-15.0.6
===> Configuring for polly-15.0.6
=> Fixing CMAKE_MODULE_PATH in CMakeLists.txt
=> Checking for portability problems in extracted files
-- The C compiler identification is GNU 4.8.5
-- The CXX compiler identification is unknown
CMake Warning (dev) at /usr/pkg/share/cmake-3.25/Modules/Platform/Linux.cmake:86 (include):
  File /usr/pkg/share/cmake-3.25/Modules/Platform/Linux.cmake includes
  /home/pbulk/build/devel/polly/work/.buildlink/cmake-Modules/Platform/UnixPaths.cmake
  (found via CMAKE_MODULE_PATH) which shadows
  /usr/pkg/share/cmake-3.25/Modules/Platform/UnixPaths.cmake.  This may cause
  errors later on .

  Policy CMP0017 is not set: Prefer files from the CMake module directory
  when including from there.  Run "cmake --help-policy CMP0017" for policy
  details.  Use the cmake_policy command to set the policy and suppress this
  warning.
Call Stack (most recent call first):
  /usr/pkg/share/cmake-3.25/Modules/CMakeSystemSpecificInformation.cmake:45 (include)
  CMakeLists.txt:3 (project)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /home/pbulk/build/devel/polly/work/.cwrapper/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
CMake Warning (dev) at /usr/pkg/share/cmake-3.25/Modules/Platform/Linux.cmake:86 (include):
  File /usr/pkg/share/cmake-3.25/Modules/Platform/Linux.cmake includes
  /home/pbulk/build/devel/polly/work/.buildlink/cmake-Modules/Platform/UnixPaths.cmake
  (found via CMAKE_MODULE_PATH) which shadows
  /usr/pkg/share/cmake-3.25/Modules/Platform/UnixPaths.cmake.  This may cause
  errors later on .

  Policy CMP0017 is not set: Prefer files from the CMake module directory
  when including from there.  Run "cmake --help-policy CMP0017" for policy
  details.  Use the cmake_policy command to set the policy and suppress this
  warning.
Call Stack (most recent call first):
  /usr/pkg/share/cmake-3.25/Modules/CMakeCXXInformation.cmake:65 (include)
  CMakeLists.txt:3 (project)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - failed
-- Check for working CXX compiler: /home/pbulk/build/devel/polly/work/.cwrapper/bin/c++
-- Check for working CXX compiler: /home/pbulk/build/devel/polly/work/.cwrapper/bin/c++ - broken
CMake Error at /usr/pkg/share/cmake-3.25/Modules/CMakeTestCXXCompiler.cmake:63 (message):
  The C++ compiler

    "/home/pbulk/build/devel/polly/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/polly/work/build/CMakeFiles/CMakeScratch/TryCompile-wFsi6N
    
    Run Build Command(s):/bin/gmake -f Makefile cmTC_76c74/fast && make  -f CMakeFiles/cmTC_76c74.dir/build.make CMakeFiles/cmTC_76c74.dir/build
    Building CXX object CMakeFiles/cmTC_76c74.dir/testCXXCompiler.cxx.o
    /home/pbulk/build/devel/polly/work/.cwrapper/bin/c++   -pipe -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -o CMakeFiles/cmTC_76c74.dir/testCXXCompiler.cxx.o -c /home/pbulk/build/devel/polly/work/build/CMakeFiles/CMakeScratch/TryCompile-wFsi6N/testCXXCompiler.cxx
    g++: error: unrecognized command line option '-std=c++14'
    *** Error code 1
    
    Stop.
    make[1]: stopped in /home/pbulk/build/devel/polly/work/build/CMakeFiles/CMakeScratch/TryCompile-wFsi6N
    gmake: *** [cmTC_76c74/fast] Error 1
    
    

  

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


-- Configuring incomplete, errors occurred!
See also "/home/pbulk/build/devel/polly/work/build/CMakeFiles/CMakeOutput.log".
See also "/home/pbulk/build/devel/polly/work/build/CMakeFiles/CMakeError.log".
*** Error code 1

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

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