+ 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/gnustep-objc-2.2.1/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/gnustep-objc-2.2.1/work.log
=> Checksum BLAKE2s OK for libobjc2-2.2.1.tar.gz
=> Checksum SHA512 OK for libobjc2-2.2.1.tar.gz
===> Installing dependencies for gnustep-objc-2.2.1
=> Tool dependency clang-[0-9]*: found clang-18.1.8nb4
=> Tool dependency cmake>=0: found cmake-3.31.7nb2
=> Tool dependency pax>=20040802: found pax-20210219
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency robin-map>=0.6.3: found robin-map-1.3.0
=> Full dependency libunwind>=18.0.0: found libunwind-18.1.8
===> Overriding tools for gnustep-objc-2.2.1
===> Extracting for gnustep-objc-2.2.1
cd /opt/pkg &&  pax -rwpam include/tsl /home/pbulk/build/devel/gnustep-objc/work/libobjc2-2.2.1/third_party/robin-map/
===> Patching for gnustep-objc-2.2.1
=> Applying pkgsrc patches for gnustep-objc-2.2.1
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/gnustep-objc/patches/patch-objc_runtime.h
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/gnustep-objc/patches/patch-objc_runtime.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-objc_runtime.h,v 1.3 2025/02/20 14:24:03 manu Exp $
|
|In gcc>=10 SEL is implemented as an build-in typedef. Because it's
|required to use the typedef by gnustep-objc it's defined to overwrite
|it.
|
|--- ./objc/runtime.h.orig	2024-03-21 17:06:36.000000000 +0100
|+++ ./objc/runtime.h	2025-02-18 10:57:01.067218002 +0100
--------------------------
Patching file ./objc/runtime.h using Plan A...
Hunk #1 succeeded at 74.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/gnustep-objc/patches/patch-objcxx_eh.h
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/gnustep-objc/patches/patch-objcxx_eh.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-objcxx_eh.h,v 1.4 2025/02/20 14:24:03 manu Exp $
|
|Workaround build failure due to redefinition
|
|--- objcxx_eh.h.orig	2024-03-21 17:06:36.000000000 +0100
|+++ objcxx_eh.h	2025-02-18 11:03:56.455965494 +0100
--------------------------
Patching file objcxx_eh.h using Plan A...
Hunk #1 succeeded at 1.
Hunk #2 succeeded at 36.
done
===> Creating toolchain wrappers for gnustep-objc-2.2.1
===> Configuring for gnustep-objc-2.2.1
=> Checking for portability problems in extracted files
-- The C compiler identification is Clang 18.1.8
-- The ASM compiler identification is Clang with GNU-like command-line
-- Found assembler: /home/pbulk/build/devel/gnustep-objc/work/.cwrapper/bin/gcc
-- The CXX compiler identification is Clang 18.1.8
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - failed
-- Check for working C compiler: /home/pbulk/build/devel/gnustep-objc/work/.cwrapper/bin/gcc
-- Check for working C compiler: /home/pbulk/build/devel/gnustep-objc/work/.cwrapper/bin/gcc - broken
CMake Error at /opt/pkg/share/cmake-3.31/Modules/CMakeTestCCompiler.cmake:67 (message):
  The C compiler

    "/home/pbulk/build/devel/gnustep-objc/work/.cwrapper/bin/gcc"

  is not able to compile a simple test program.

  It fails with the following output:

    Change Dir: '/home/pbulk/build/devel/gnustep-objc/work/libobjc2-2.2.1/cmake-pkgsrc-build/CMakeFiles/CMakeScratch/TryCompile-W0W5US'
    
    Run Build Command(s): /opt/pkg/bin/cmake -E env VERBOSE=1 /home/pbulk/build/devel/gnustep-objc/work/.tools/bin/make -f Makefile cmTC_c0c78/fast
    /home/pbulk/build/devel/gnustep-objc/work/.tools/bin/make  -f CMakeFiles/cmTC_c0c78.dir/build.make CMakeFiles/cmTC_c0c78.dir/build
    Building C object CMakeFiles/cmTC_c0c78.dir/testCCompiler.c.o
    /home/pbulk/build/devel/gnustep-objc/work/.cwrapper/bin/gcc   -pipe -O2 -Wno-import -I/usr/include -I/opt/pkg/include -MD -MT CMakeFiles/cmTC_c0c78.dir/testCCompiler.c.o -MF CMakeFiles/cmTC_c0c78.dir/testCCompiler.c.o.d -o CMakeFiles/cmTC_c0c78.dir/testCCompiler.c.o -c /home/pbulk/build/devel/gnustep-objc/work/libobjc2-2.2.1/cmake-pkgsrc-build/CMakeFiles/CMakeScratch/TryCompile-W0W5US/testCCompiler.c
    Linking C executable cmTC_c0c78
    /opt/pkg/bin/cmake -E cmake_link_script CMakeFiles/cmTC_c0c78.dir/link.txt --verbose=1
    ld: fatal: file crtbegin.o: open failed: No such file or directory
    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_c0c78
    clang: error: linker command failed with exit code 1 (use -v to see invocation)
    /home/pbulk/build/devel/gnustep-objc/work/.cwrapper/bin/gcc -pipe -O2 -Wno-import -I/usr/include -I/opt/pkg/include  -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -L/opt/pkg/lib -Wl,-R/opt/pkg/lib  CMakeFiles/cmTC_c0c78.dir/testCCompiler.c.o -o cmTC_c0c78
    *** Error code 1
    
    Stop.
    make[1]: stopped making "CMakeFiles/cmTC_c0c78.dir/build" in /home/pbulk/build/devel/gnustep-objc/work/libobjc2-2.2.1/cmake-pkgsrc-build/CMakeFiles/CMakeScratch/TryCompile-W0W5US
    *** Error code 1
    
    Stop.
    make: stopped making "cmTC_c0c78/fast" in /home/pbulk/build/devel/gnustep-objc/work/libobjc2-2.2.1/cmake-pkgsrc-build/CMakeFiles/CMakeScratch/TryCompile-W0W5US
    
    

  

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


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

Stop.
bmake[1]: stopped making "configure" in /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/gnustep-objc
*** Error code 1

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