+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent LUA_VERSION_REQD=54 WRKLOG=/tmp/bulklog/lua54-lanes-3.16.0/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent LUA_VERSION_REQD=54 WRKLOG=/tmp/bulklog/lua54-lanes-3.16.0/work.log
===> Building for lua54-lanes-3.16.0
Makefile:66: *** 'pkg-config' existed but did not know of 'lua[5.1]' - Good luck!
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/lua-5.4 -I/opt/pkg/include -I/opt/pkg/include/ncurses -fPIC -Wall -O2  -I/opt/pkg/include/lua-5.4 -I/opt/pkg/include -I/opt/pkg/include/ncurses  -c -o lanes.o lanes.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/lua-5.4 -I/opt/pkg/include -I/opt/pkg/include/ncurses -fPIC -Wall -O2  -I/opt/pkg/include/lua-5.4 -I/opt/pkg/include -I/opt/pkg/include/ncurses  -c -o cancel.o cancel.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/lua-5.4 -I/opt/pkg/include -I/opt/pkg/include/ncurses -fPIC -Wall -O2  -I/opt/pkg/include/lua-5.4 -I/opt/pkg/include -I/opt/pkg/include/ncurses  -c -o compat.o compat.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/lua-5.4 -I/opt/pkg/include -I/opt/pkg/include/ncurses -fPIC -Wall -O2  -I/opt/pkg/include/lua-5.4 -I/opt/pkg/include -I/opt/pkg/include/ncurses  -c -o threading.o threading.c
In file included from threading.h:12,
                 from cancel.c:39:
platform.h:21:4: error: #error "Unknown platform!"
   21 |   #error "Unknown platform!"
      |    ^~~~~
In file included from lanes.h:5,
                 from lanes.c:88:
platform.h:21:4: error: #error "Unknown platform!"
   21 |   #error "Unknown platform!"
      |    ^~~~~
In file included from threading.h:12,
                 from threading.c:56:
platform.h:21:4: error: #error "Unknown platform!"
   21 |   #error "Unknown platform!"
      |    ^~~~~
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/lua-5.4 -I/opt/pkg/include -I/opt/pkg/include/ncurses -fPIC -Wall -O2  -I/opt/pkg/include/lua-5.4 -I/opt/pkg/include -I/opt/pkg/include/ncurses  -c -o tools.o tools.c
gmake: *** [<builtin>: cancel.o] Error 1
gmake: *** Waiting for unfinished jobs....
threading.c:756:25: error: #error "Unknown OS: not implemented!"
  756 | #                       error "Unknown OS: not implemented!"
      |                         ^~~~~
threading.c: In function 'THREAD_CREATE':
threading.c:817:51: error: '_PRIO_MODE' undeclared (first use in this function)
  817 |         PT_CALL( pthread_attr_setschedpolicy( &a, _PRIO_MODE));
      |                                                   ^~~~~~~~~~
threading.c:606:37: note: in definition of macro 'PT_CALL'
  606 |   #define PT_CALL( call ) { int rc= call; if (rc!=0) _PT_FAIL( rc, #call, __FILE__, __LINE__ ); }
      |                                     ^~~~
threading.c:817:51: note: each undeclared identifier is reported only once for each function it appears in
  817 |         PT_CALL( pthread_attr_setschedpolicy( &a, _PRIO_MODE));
      |                                                   ^~~~~~~~~~
threading.c:606:37: note: in definition of macro 'PT_CALL'
  606 |   #define PT_CALL( call ) { int rc= call; if (rc!=0) _PT_FAIL( rc, #call, __FILE__, __LINE__ ); }
      |                                     ^~~~
threading.c: In function 'THREAD_SET_PRIORITY':
threading.c:888:57: error: '_PRIO_MODE' undeclared (first use in this function)
  888 |         PT_CALL( pthread_setschedparam( pthread_self(), _PRIO_MODE, &sp));
      |                                                         ^~~~~~~~~~
threading.c:606:37: note: in definition of macro 'PT_CALL'
  606 |   #define PT_CALL( call ) { int rc= call; if (rc!=0) _PT_FAIL( rc, #call, __FILE__, __LINE__ ); }
      |                                     ^~~~
threading.c: In function 'THREAD_SET_AFFINITY':
threading.c:901:5: error: unknown type name 'cpu_set_t'
  901 |     cpu_set_t cpuset;
      |     ^~~~~~~~~
threading.c:902:5: warning: implicit declaration of function 'CPU_ZERO'; did you mean 'FP_ZERO'? [-Wimplicit-function-declaration]
  902 |     CPU_ZERO( &cpuset);
      |     ^~~~~~~~
      |     FP_ZERO
threading.c:908:13: warning: implicit declaration of function 'CPU_SET' [-Wimplicit-function-declaration]
  908 |             CPU_SET( bit, &cpuset);
      |             ^~~~~~~
threading.c:919:14: warning: implicit declaration of function 'pthread_setaffinity_np'; did you mean 'pthread_setname_np'? [-Wimplicit-function-declaration]
  919 |     PT_CALL( pthread_setaffinity_np( pthread_self(), sizeof(cpu_set_t), &cpuset));
      |              ^~~~~~~~~~~~~~~~~~~~~~
threading.c:606:37: note: in definition of macro 'PT_CALL'
  606 |   #define PT_CALL( call ) { int rc= call; if (rc!=0) _PT_FAIL( rc, #call, __FILE__, __LINE__ ); }
      |                                     ^~~~
threading.c:919:61: error: 'cpu_set_t' undeclared (first use in this function); did you mean 'cpuset'?
  919 |     PT_CALL( pthread_setaffinity_np( pthread_self(), sizeof(cpu_set_t), &cpuset));
      |                                                             ^~~~~~~~~
threading.c:606:37: note: in definition of macro 'PT_CALL'
  606 |   #define PT_CALL( call ) { int rc= call; if (rc!=0) _PT_FAIL( rc, #call, __FILE__, __LINE__ ); }
      |                                     ^~~~
gmake: *** [<builtin>: lanes.o] Error 1
gmake: *** [<builtin>: threading.o] Error 1
In file included from threading.h:12,
                 from tools.h:5,
                 from tools.c:43:
platform.h:21:4: error: #error "Unknown platform!"
   21 |   #error "Unknown platform!"
      |    ^~~~~
tools.c: In function 'inter_copy_keyvaluepair':
tools.c:1429:35: warning: implicit declaration of function 'alloca' [-Wimplicit-function-declaration]
 1429 |                 valPath = (char*) alloca( bufLen);
      |                                   ^~~~~~
tools.c:1429:35: warning: incompatible implicit declaration of built-in function 'alloca' [-Wbuiltin-declaration-mismatch]
tools.c:1437:35: warning: incompatible implicit declaration of built-in function 'alloca' [-Wbuiltin-declaration-mismatch]
 1437 |                 valPath = (char*) alloca( strlen( upName_) + 32 + 3);
      |                                   ^~~~~~
tools.c:1444:35: warning: incompatible implicit declaration of built-in function 'alloca' [-Wbuiltin-declaration-mismatch]
 1444 |                 valPath = (char*) alloca( strlen( upName_) + 32 + 3);
      |                                   ^~~~~~
tools.c:1450:35: warning: incompatible implicit declaration of built-in function 'alloca' [-Wbuiltin-declaration-mismatch]
 1450 |                 valPath = (char*) alloca( strlen( upName_) + 16 + 5);
      |                                   ^~~~~~
tools.c:1456:35: warning: incompatible implicit declaration of built-in function 'alloca' [-Wbuiltin-declaration-mismatch]
 1456 |                 valPath = (char*) alloca( strlen( upName_) + 8);
      |                                   ^~~~~~
In file included from deep.h:11,
                 from tools.h:6:
tools.c: At top level:
tools.c:1480:34: warning: 'CLONABLES_CACHE_KEY' defined but not used [-Wunused-const-variable=]
 1480 | static DECLARE_CONST_UNIQUE_KEY( CLONABLES_CACHE_KEY, 0xD04EE018B3DEE8F5);
      |                                  ^~~~~~~~~~~~~~~~~~~
uniquekey.h:20:62: note: in definition of macro 'DECLARE_CONST_UNIQUE_KEY'
   20 | #define DECLARE_CONST_UNIQUE_KEY( name_, p_) UniqueKey const name_ = { MAKE_UNIQUE_KEY( p_)}
      |                                                              ^~~~~
gmake: *** [<builtin>: tools.o] Error 1
*** Error code 2

Stop.
bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/parallel/lua-lanes
*** Error code 1

Stop.
bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/parallel/lua-lanes