+ 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/gxemul-0.7.0nb1/work.log + su pbulk -c '"$@"' make /usr/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/gxemul-0.7.0nb1/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 => Checksum BLAKE2s OK for gxemul-0.7.0.tar.gz => Checksum SHA512 OK for gxemul-0.7.0.tar.gz ===> Installing dependencies for gxemul-0.7.0nb1 ========================================================================== The supported build options for gxemul are: x11 The currently selected options are: x11 You can select which build options to use by setting PKG_DEFAULT_OPTIONS or the following variable. Its current value is shown: PKG_OPTIONS.gxemul (not defined) ========================================================================== => Tool dependency mktools-[0-9]*: found mktools-20220614 => Tool dependency nbpatch-[0-9]*: found nbpatch-20151107 => 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 xorgproto>=2016.1: found xorgproto-2023.2 => Build dependency xcb-proto>=1.15.2nb3: found xcb-proto-1.16.0nb1 => Full dependency libX11>=1.1: found libX11-1.8.7 ===> Overriding tools for gxemul-0.7.0nb1 ===> Extracting for gxemul-0.7.0nb1 ===> Patching for gxemul-0.7.0nb1 => Applying pkgsrc patches for gxemul-0.7.0nb1 => Verifying /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/emulators/gxemul/patches/patch-doc_machine__cats.html => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/emulators/gxemul/patches/patch-doc_machine__cats.html Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-doc_machine__cats.html,v 1.1 2021/09/05 07:27:13 skrll Exp $ | |--- doc/machine_cats.html.orig 2021-04-22 18:04:13.000000000 +0000 |+++ doc/machine_cats.html -------------------------- Patching file doc/machine_cats.html using Plan A... Hunk #1 succeeded at 46. Hunk #2 succeeded at 80. Hunk #3 succeeded at 96. done => Verifying /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/emulators/gxemul/patches/patch-src_cpus_cpu__arm.c => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/emulators/gxemul/patches/patch-src_cpus_cpu__arm.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_cpus_cpu__arm.c,v 1.1 2021/09/05 07:27:13 skrll Exp $ | |--- src/cpus/cpu_arm.c.orig 2021-09-05 05:56:14.113306233 +0000 |+++ src/cpus/cpu_arm.c -------------------------- Patching file src/cpus/cpu_arm.c using Plan A... Hunk #1 succeeded at 158. done => Verifying /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/emulators/gxemul/patches/patch-src_cpus_cpu__arm__instr.c => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/emulators/gxemul/patches/patch-src_cpus_cpu__arm__instr.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_cpus_cpu__arm__instr.c,v 1.1 2021/09/05 07:27:13 skrll Exp $ | |--- src/cpus/cpu_arm_instr.c.orig 2021-04-22 18:04:18.000000000 +0000 |+++ src/cpus/cpu_arm_instr.c -------------------------- Patching file src/cpus/cpu_arm_instr.c using Plan A... Hunk #1 succeeded at 3534. done => Verifying /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/emulators/gxemul/patches/patch-src_cpus_cpu__arm__instr__dpi.c => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/emulators/gxemul/patches/patch-src_cpus_cpu__arm__instr__dpi.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_cpus_cpu__arm__instr__dpi.c,v 1.1 2021/09/05 07:27:13 skrll Exp $ | |--- src/cpus/cpu_arm_instr_dpi.c.orig 2021-04-22 18:04:18.000000000 +0000 |+++ src/cpus/cpu_arm_instr_dpi.c -------------------------- Patching file src/cpus/cpu_arm_instr_dpi.c using Plan A... Hunk #1 succeeded at 255. done /bin/rm -f /home/pbulk/build/emulators/gxemul/work/gxemul-0.7.0/doc/machine_cats.html.orig ===> Creating toolchain wrappers for gxemul-0.7.0nb1 ===> Configuring for gxemul-0.7.0nb1 => Fixing X linking flags. => Checking for portability problems in extracted files checking which C compiler to use... broken cc detected: cc -pipe -O2 -I/usr/pkg/include The test program: #include #include int main(int argc, char* argv[]) { static int s = 0; int x = 2; // make sure that BCPL style comments work, x ++; // that code and variable declarations can be int y = -2; // mixed, and that the bool type behaves bool a = x; // reasonably. bool b = y; bool c = a + b; int d = a + b; printf("%i,%i,%i,%i,%i", s, a, b, c, d); for (int i = 0; i < 10; ++i) ; return 0; } could not be compiled at all. Please set the CC environment variable to a working C compiler before running the configure script, and make sure that the CFLAGS environment variable is also valid for that compiler (e.g. -std=c99 if needed).