+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/pkg/bin/bmake stage-install BATCH=1 DEPENDS_TARGET=/nonexistent LUA_VERSION_REQD=54 WRKLOG=/tmp/bulklog/screws-0.56nb29/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake stage-install BATCH=1 DEPENDS_TARGET=/nonexistent LUA_VERSION_REQD=54 WRKLOG=/tmp/bulklog/screws-0.56nb29/work.log
===> Installing for screws-0.56nb29
=> Generating pre-install file lists
gmake[1]: Entering directory '/home/pbulk/build/www/screws/work/screws-0.56/src/Server'
[O] Options
 * USE_POLL
 * USE_DEBUG
 * USE_SSL
[screwsd] Env.c
Env.c: In function 'setenv':
Env.c:28:15: error: argument 'var' doesn't match prototype
   28 |         char *var,*val;
      |               ^~~
In file included from main.h:16,
                 from Env.h:5,
                 from Env.c:9:
/usr/include/stdlib.h:250:12: error: prototype declaration
  250 | extern int setenv(const char *, const char *, int);
      |            ^~~~~~
Env.c:28:20: error: argument 'val' doesn't match prototype
   28 |         char *var,*val;
      |                    ^~~
/usr/include/stdlib.h:250:12: error: prototype declaration
  250 | extern int setenv(const char *, const char *, int);
      |            ^~~~~~
Env.c: In function 'setEnv':
Env.c:324:14: warning: implicit declaration of function 'execModule'; did you mean 'execle'? [-Wimplicit-function-declaration]
  324 |         if ( execModule(MOD_ENV) ) return;
      |              ^~~~~~~~~~
      |              execle
gmake[1]: *** [Makefile:24: Env.o] Error 1
gmake[1]: Leaving directory '/home/pbulk/build/www/screws/work/screws-0.56/src/Server'
/usr/bin/bash: line 2: cd: src/Hsml: No such file or directory
/usr/bin/bash: line 2: cd: src/Utils: No such file or directory
/usr/bin/bash: line 2: cd: src/Modules: No such file or directory
Build is done
==> Creating install directories
install -d -m 0755 /home/pbulk/build/www/screws/work/.destdir/opt/pkg
install -d -m 0755 /home/pbulk/build/www/screws/work/.destdir/opt/pkg/sbin /home/pbulk/build/www/screws/work/.destdir/opt/pkg/bin
install -d -m 0755 /home/pbulk/build/www/screws/work/.destdir/opt/pkg/share/doc/screws/examples
install -d -m 0755 /home/pbulk/build/www/screws/work/.destdir/opt/pkg/share/examples/screws
install -d -m 0755 /home/pbulk/build/www/screws/work/.destdir/opt/pkg/lib/screws/
#install -d -m 0755 /home/pbulk/build/www/screws/work/.destdir/opt/pkg/libexec/screws/modules
install -d -m 0755 /home/pbulk/build/www/screws/work/.destdir/opt/pkg/share/man/man1 /home/pbulk/build/www/screws/work/.destdir/opt/pkg/share/man/man5 \
	/home/pbulk/build/www/screws/work/.destdir/opt/pkg/share/man/man8 #/home/pbulk/build/www/screws/work/.destdir/opt/pkg/etc /home/pbulk/build/www/screws/work/.destdir/opt/pkg/var/log
==> Installing binaries
install -c -m 0755 src/Utils/screwsctl /home/pbulk/build/www/screws/work/.destdir/opt/pkg/sbin/
install -c -m 0755 src/Server/screwsd  /home/pbulk/build/www/screws/work/.destdir/opt/pkg/sbin/
install: src/Server/screwsd: stat: No such file or directory
gmake: *** [Makefile:60: install] Error 1
*** Error code 2

Stop.
bmake[1]: stopped making "stage-install" in /data/jenkins/workspace/pkgsrc-upstream-trunk/www/screws
*** Error code 1

Stop.
bmake: stopped making "stage-install" in /data/jenkins/workspace/pkgsrc-upstream-trunk/www/screws