+ 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/screen-4.9.1nb2/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/screen-4.9.1nb2/work.log ===> Building for screen-4.9.1nb2 CPP="gcc -E -D_XOPEN_SOURCE=600 -D__EXTENSIONS__ -I/opt/pkg/include/ncurses -DETCSCREENRC='"/etc/opt/pkg/screenrc"' -DSCREENENCODINGS='"/opt/pkg/share/screen/utf8encodings"'" srcdir=. sh ./osdef.sh AWK=/usr/bin/nawk CC="gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/ncurses -D_GNU_SOURCE" srcdir=. sh ./comm.sh AWK=/usr/bin/nawk srcdir=. sh ./term.sh gcc -c -I. -I. -D_XOPEN_SOURCE=600 -D__EXTENSIONS__ -I/opt/pkg/include/ncurses -DETCSCREENRC='"/etc/opt/pkg/screenrc"' -DSCREENENCODINGS='"/opt/pkg/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/ncurses -D_GNU_SOURCE screen.c gcc -c -I. -I. -D_XOPEN_SOURCE=600 -D__EXTENSIONS__ -I/opt/pkg/include/ncurses -DETCSCREENRC='"/etc/opt/pkg/screenrc"' -DSCREENENCODINGS='"/opt/pkg/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/ncurses -D_GNU_SOURCE ansi.c gcc -c -I. -I. -D_XOPEN_SOURCE=600 -D__EXTENSIONS__ -I/opt/pkg/include/ncurses -DETCSCREENRC='"/etc/opt/pkg/screenrc"' -DSCREENENCODINGS='"/opt/pkg/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/ncurses -D_GNU_SOURCE fileio.c gcc -c -I. -I. -D_XOPEN_SOURCE=600 -D__EXTENSIONS__ -I/opt/pkg/include/ncurses -DETCSCREENRC='"/etc/opt/pkg/screenrc"' -DSCREENENCODINGS='"/opt/pkg/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/ncurses -D_GNU_SOURCE mark.c gcc -c -I. -I. -D_XOPEN_SOURCE=600 -D__EXTENSIONS__ -I/opt/pkg/include/ncurses -DETCSCREENRC='"/etc/opt/pkg/screenrc"' -DSCREENENCODINGS='"/opt/pkg/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/ncurses -D_GNU_SOURCE misc.c gcc -c -I. -I. -D_XOPEN_SOURCE=600 -D__EXTENSIONS__ -I/opt/pkg/include/ncurses -DETCSCREENRC='"/etc/opt/pkg/screenrc"' -DSCREENENCODINGS='"/opt/pkg/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/ncurses -D_GNU_SOURCE resize.c gcc -c -I. -I. -D_XOPEN_SOURCE=600 -D__EXTENSIONS__ -I/opt/pkg/include/ncurses -DETCSCREENRC='"/etc/opt/pkg/screenrc"' -DSCREENENCODINGS='"/opt/pkg/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/ncurses -D_GNU_SOURCE socket.c gcc -c -I. -I. -D_XOPEN_SOURCE=600 -D__EXTENSIONS__ -I/opt/pkg/include/ncurses -DETCSCREENRC='"/etc/opt/pkg/screenrc"' -DSCREENENCODINGS='"/opt/pkg/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/ncurses -D_GNU_SOURCE search.c sh ./tty.sh tty.c gcc -c -I. -I. -D_XOPEN_SOURCE=600 -D__EXTENSIONS__ -I/opt/pkg/include/ncurses -DETCSCREENRC='"/etc/opt/pkg/screenrc"' -DSCREENENCODINGS='"/opt/pkg/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/ncurses -D_GNU_SOURCE tty.c gcc -c -I. -I. -D_XOPEN_SOURCE=600 -D__EXTENSIONS__ -I/opt/pkg/include/ncurses -DETCSCREENRC='"/etc/opt/pkg/screenrc"' -DSCREENENCODINGS='"/opt/pkg/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/ncurses -D_GNU_SOURCE term.c gcc -c -I. -I. -D_XOPEN_SOURCE=600 -D__EXTENSIONS__ -I/opt/pkg/include/ncurses -DETCSCREENRC='"/etc/opt/pkg/screenrc"' -DSCREENENCODINGS='"/opt/pkg/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/ncurses -D_GNU_SOURCE window.c gcc -c -I. -I. -D_XOPEN_SOURCE=600 -D__EXTENSIONS__ -I/opt/pkg/include/ncurses -DETCSCREENRC='"/etc/opt/pkg/screenrc"' -DSCREENENCODINGS='"/opt/pkg/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/ncurses -D_GNU_SOURCE utmp.c In file included from screen.h:30, from utmp.c:34: os.h:260:25: error: static declaration of 'getutxent' follows non-static declaration 260 | # define getutent getutxent | ^~~~~~~~~ utmp.c:98:21: note: in expansion of macro 'getutent' 98 | static struct utmp *getutent __P((void)); | ^~~~~~~~ In file included from os.h:253: /usr/include/utmpx.h:131:22: note: previous declaration of 'getutxent' with type 'struct utmpx *(void)' 131 | extern struct utmpx *getutxent(void); | ^~~~~~~~~ os.h:265:25: error: static declaration of 'endutxent' follows non-static declaration 265 | # define endutent endutxent | ^~~~~~~~~ utmp.c:99:13: note: in expansion of macro 'endutent' 99 | static void endutent __P((void)); | ^~~~~~~~ /usr/include/utmpx.h:130:13: note: previous declaration of 'endutxent' with type 'void(void)' 130 | extern void endutxent(void); | ^~~~~~~~~ os.h:264:25: error: static declaration of 'setutxent' follows non-static declaration 264 | # define setutent setutxent | ^~~~~~~~~ utmp.c:101:13: note: in expansion of macro 'setutent' 101 | static void setutent __P((void)); | ^~~~~~~~ /usr/include/utmpx.h:135:13: note: previous declaration of 'setutxent' with type 'void(void)' 135 | extern void setutxent(void); | ^~~~~~~~~ utmp.c: In function 'initutmp': utmp.c:705:7: error: 'utmpfd' undeclared (first use in this function); did you mean 'utmpok'? 705 | if (utmpfd >= 0) | ^~~~~~ | utmpok utmp.c:705:7: note: each undeclared identifier is reported only once for each function it appears in utmp.c: In function 'setutxent': utmp.c:713:7: error: 'utmpfd' undeclared (first use in this function); did you mean 'utmpok'? 713 | if (utmpfd >= 0) | ^~~~~~ | utmpok utmp.c: In function 'endutxent': utmp.c:720:7: error: 'utmpfd' undeclared (first use in this function); did you mean 'utmpok'? 720 | if (utmpfd >= 0) | ^~~~~~ | utmpok utmp.c: In function 'getutxent': utmp.c:728:7: error: 'utmpfd' undeclared (first use in this function); did you mean 'utmpok'? 728 | if (utmpfd < 0 && !initutmp()) | ^~~~~~ | utmpok utmp.c: In function 'getutslot': utmp.c:739:7: error: 'utmpfd' undeclared (first use in this function); did you mean 'utmpok'? 739 | if (utmpfd < 0 && !initutmp()) | ^~~~~~ | utmpok utmp.c: In function 'pututslot': utmp.c:758:7: error: 'utmpfd' undeclared (first use in this function); did you mean 'utmpok'? 758 | if (utmpfd < 0 && !initutmp()) | ^~~~~~ | utmpok *** Error code 1 Stop. bmake: stopped making "all" in /home/pbulk/build/misc/screen4/work/screen-4.9.1 *** Error code 1 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/misc/screen4 *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/misc/screen4