+ 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=52 WRKLOG=/tmp/bulklog/lua52-lanes-3.16.0/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent LUA_VERSION_REQD=52 WRKLOG=/tmp/bulklog/lua52-lanes-3.16.0/work.log ===> Building for lua52-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.2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -fPIC -Wall -O2 -I/opt/pkg/include/lua-5.2 -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.2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -fPIC -Wall -O2 -I/opt/pkg/include/lua-5.2 -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.2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -fPIC -Wall -O2 -I/opt/pkg/include/lua-5.2 -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.2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -fPIC -Wall -O2 -I/opt/pkg/include/lua-5.2 -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!" | ^~~~~ 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': gmake: *** [<builtin>: cancel.o] Error 1 gmake: *** Waiting for unfinished jobs.... 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>: threading.o] Error 1 gmake: *** [<builtin>: lanes.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