+ 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 --- osdef.h --- --- comm.h --- --- term.h --- --- tty.c --- --- osdef.h --- 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 --- comm.h --- 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 --- term.h --- AWK=/usr/bin/nawk srcdir=. sh ./term.sh --- tty.c --- sh ./tty.sh tty.c --- putenv.o --- 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 putenv.c --- utmp-netbsd.o --- 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-netbsd.c --- term.o --- 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 --- kmapdef.o --- 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 kmapdef.c --- comm.o --- 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 comm.c --- screen.o --- 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 --- ansi.o --- --- fileio.o --- --- ansi.o --- 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 --- fileio.o --- 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 --- mark.o --- 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 --- misc.o --- 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 --- resize.o --- 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 --- socket.o --- 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 --- search.o --- 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 --- tty.o --- 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 --- window.o --- 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 --- utmp.o --- 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 *** [utmp.o] Error code 1 bmake: stopped making "all" in /home/pbulk/build/misc/screen4/work/screen-4.9.1 bmake: 1 error bmake: stopped making "all" in /home/pbulk/build/misc/screen4/work/screen-4.9.1 *** Error code 2 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