+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/libsecp256k1-0.1/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/libsecp256k1-0.1/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for libsecp256k1-0.1
gcc -I. -I./src -Wall -Wextra -Wno-unused-function -g -O2 -c src/gen_context.c -o gen_context.o
In file included from src/assumptions.h:12,
                 from src/gen_context.c:16:
src/util.h:188:49: error: operator '&&' has no right operand
  188 |      (defined(_LITTLE_ENDIAN) && _LITTLE_ENDIAN == 1) || \
      |                                                 ^~
src/util.h:201:3: error: #error Please make sure that either SECP256K1_LITTLE_ENDIAN or SECP256K1_BIG_ENDIAN is set, see src/util.h.
  201 | # error Please make sure that either SECP256K1_LITTLE_ENDIAN or SECP256K1_BIG_ENDIAN is set, see src/util.h.
      |   ^~~~~
In file included from src/ecmult_gen_impl.h:14,
                 from src/gen_context.c:21:
src/hash_impl.h: In function 'secp256k1_sha256_transform':
src/hash_impl.h:54:52: warning: implicit declaration of function 'BE32' [-Wimplicit-function-declaration]
   54 |     Round(a, b, c, d, e, f, g, h, 0x428a2f98, w0 = BE32(chunk[0]));
      |                                                    ^~~~
src/hash_impl.h:25:64: note: in definition of macro 'Round'
   25 |     uint32_t t1 = (h) + Sigma1(e) + Ch((e), (f), (g)) + (k) + (w); \
      |                                                                ^
gmake: *** [Makefile:1772: gen_context.o] Error 1
*** Error code 2

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/security/libsecp256k1
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/security/libsecp256k1