+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent PYTHON_VERSION_REQD=313 WRKLOG=/tmp/bulklog/libei-1.4.1/work.log + su pbulk -c '"$@"' make /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent PYTHON_VERSION_REQD=313 WRKLOG=/tmp/bulklog/libei-1.4.1/work.log ===> Building for libei-1.4.1 ninja: Entering directory `output' [1/37] Compiling C object src/libutil.a.p/util-bits.c.o [2/37] Compiling C object src/libutil.a.p/util-memfile.c.o [3/37] Compiling C object src/libutil.a.p/util-list.c.o [4/37] Compiling C object src/libutil.a.p/util-logger.c.o [5/37] Compiling C object src/libutil.a.p/util-sources.c.o FAILED: [code=1] src/libutil.a.p/util-sources.c.o gcc -Isrc/libutil.a.p -Isrc -I../src -I. -I.. -I/opt/local/include -I/usr/include -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-unused-parameter -Wmissing-prototypes -Wno-missing-field-initializers -Wstrict-prototypes -Wstrict-prototypes -Wlogical-op -Wpointer-arith -Wuninitialized -Winit-self -Wstrict-prototypes -Wimplicit-fallthrough -Wredundant-decls -Wincompatible-pointer-types -Wformat=2 -Wformat-overflow=2 -Wformat-signedness -Wformat-truncation=2 -Wmissing-declarations -Wshift-overflow=2 -Wstrict-overflow=2 -Wswitch -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_XOPEN_SOURCE=600 -D__EXTENSIONS__=1 -fPIC -MD -MQ src/libutil.a.p/util-sources.c.o -MF src/libutil.a.p/util-sources.c.o.d -o src/libutil.a.p/util-sources.c.o -c ../src/util-sources.c In file included from ../src/util-sources.c:29: /usr/include/sys/epoll.h:1:2: error: #error "This header has been disabled to stop its functionality from being used." 1 | #error "This header has been disabled to stop its functionality from being used." | ^~~~~ ../src/util-sources.c: In function 'source_remove': ../src/util-sources.c:76:9: warning: implicit declaration of function 'epoll_ctl' [-Wimplicit-function-declaration] 76 | epoll_ctl(source->sink->epollfd, EPOLL_CTL_DEL, source->fd, NULL); | ^~~~~~~~~ ../src/util-sources.c:76:42: error: 'EPOLL_CTL_DEL' undeclared (first use in this function) 76 | epoll_ctl(source->sink->epollfd, EPOLL_CTL_DEL, source->fd, NULL); | ^~~~~~~~~~~~~ ../src/util-sources.c:76:42: note: each undeclared identifier is reported only once for each function it appears in ../src/util-sources.c: In function 'sink_new': ../src/util-sources.c:152:18: warning: implicit declaration of function 'epoll_create1' [-Wimplicit-function-declaration] 152 | int fd = epoll_create1(EPOLL_CLOEXEC); | ^~~~~~~~~~~~~ ../src/util-sources.c:152:32: error: 'EPOLL_CLOEXEC' undeclared (first use in this function); did you mean 'O_CLOEXEC'? 152 | int fd = epoll_create1(EPOLL_CLOEXEC); | ^~~~~~~~~~~~~ | O_CLOEXEC ../src/util-sources.c: In function 'sink_dispatch': ../src/util-sources.c:168:28: error: array type has incomplete element type 'struct epoll_event' 168 | struct epoll_event ep[32]; | ^~ ../src/util-sources.c:169:21: warning: implicit declaration of function 'epoll_wait' [-Wimplicit-function-declaration] 169 | int count = epoll_wait(sink->epollfd, ep, sizeof(ep)/sizeof(ep[0]), 0); | ^~~~~~~~~~ ../src/util-sources.c:168:28: warning: unused variable 'ep' [-Wunused-variable] 168 | struct epoll_event ep[32]; | ^~ ../src/util-sources.c: In function 'sink_add_source': ../src/util-sources.c:195:16: error: variable 'e' has initializer but incomplete type 195 | struct epoll_event e = { | ^~~~~~~~~~~ ../src/util-sources.c:196:18: error: 'struct epoll_event' has no member named 'events' 196 | .events = EPOLLIN, | ^~~~~~ ../src/util-sources.c:196:27: error: 'EPOLLIN' undeclared (first use in this function); did you mean 'POLLIN'? 196 | .events = EPOLLIN, | ^~~~~~~ | POLLIN ../src/util-sources.c:196:27: warning: excess elements in struct initializer ../src/util-sources.c:196:27: note: (near initialization for 'e') ../src/util-sources.c:197:18: error: 'struct epoll_event' has no member named 'data' 197 | .data.ptr = source_ref(source), | ^~~~ ../src/util-sources.c:197:29: warning: excess elements in struct initializer 197 | .data.ptr = source_ref(source), | ^~~~~~~~~~ ../src/util-sources.c:197:29: note: (near initialization for 'e') ../src/util-sources.c:195:28: error: storage size of 'e' isn't known 195 | struct epoll_event e = { | ^ ../src/util-sources.c:200:50: error: 'EPOLL_CTL_ADD' undeclared (first use in this function) 200 | int rc = xerrno(epoll_ctl(sink->epollfd, EPOLL_CTL_ADD, source_get_fd(source), &e)); | ^~~~~~~~~~~~~ ../src/util-sources.c:195:28: warning: unused variable 'e' [-Wunused-variable] 195 | struct epoll_event e = { | ^ ../src/util-sources.c: In function 'source_enable_write': ../src/util-sources.c:219:16: error: variable 'e' has initializer but incomplete type 219 | struct epoll_event e = { | ^~~~~~~~~~~ ../src/util-sources.c:220:18: error: 'struct epoll_event' has no member named 'events' 220 | .events = EPOLLIN | (enable ? EPOLLOUT : 0), | ^~~~~~ ../src/util-sources.c:220:27: error: 'EPOLLIN' undeclared (first use in this function); did you mean 'POLLIN'? 220 | .events = EPOLLIN | (enable ? EPOLLOUT : 0), | ^~~~~~~ | POLLIN ../src/util-sources.c:220:47: error: 'EPOLLOUT' undeclared (first use in this function); did you mean 'POLLOUT'? 220 | .events = EPOLLIN | (enable ? EPOLLOUT : 0), | ^~~~~~~~ | POLLOUT ../src/util-sources.c:220:27: warning: excess elements in struct initializer 220 | .events = EPOLLIN | (enable ? EPOLLOUT : 0), | ^~~~~~~ ../src/util-sources.c:220:27: note: (near initialization for 'e') ../src/util-sources.c:221:18: error: 'struct epoll_event' has no member named 'data' 221 | .data.ptr = source, /* sink_add_source ref'd, so we don't need to here */ | ^~~~ ../src/util-sources.c:221:29: warning: excess elements in struct initializer 221 | .data.ptr = source, /* sink_add_source ref'd, so we don't need to here */ | ^~~~~~ ../src/util-sources.c:221:29: note: (near initialization for 'e') ../src/util-sources.c:219:28: error: storage size of 'e' isn't known 219 | struct epoll_event e = { | ^ ../src/util-sources.c:224:58: error: 'EPOLL_CTL_MOD' undeclared (first use in this function) 224 | int rc = xerrno(epoll_ctl(source->sink->epollfd, EPOLL_CTL_MOD, source_get_fd(source), &e)); | ^~~~~~~~~~~~~ ../src/util-sources.c:219:28: warning: unused variable 'e' [-Wunused-variable] 219 | struct epoll_event e = { | ^ [6/37] Compiling C object src/libutil.a.p/util-memmap.c.o [7/37] Compiling C object src/libutil.a.p/util-io.c.o [8/37] Compiling C object src/libutil.a.p/util-strings.c.o ninja: build stopped: subcommand failed. *** Error code 1 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-trunk-x86_64/x11/libei *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-trunk-x86_64/x11/libei