+ 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 WRKLOG=/tmp/bulklog/qDecoder-9.0.1/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake stage-install BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/qDecoder-9.0.1/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
WARNING: [license.mk] Every package should define a LICENSE.
===> Installing for qDecoder-9.0.1
=> Generating pre-install file lists
=> Creating installation directories
(cd src/; make install)
/home/pbulk/build/www/qDecoder/work/.cwrapper/bin/libtool  --mode=compile gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -DHAVE_CONFIG_H -I./ -c -o qFile.o qFile.c
libtool: compile:  gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -DHAVE_CONFIG_H -I./ -c qFile.c  -fPIC -DPIC -o .libs/qFile.o
qFile.c: In function 'qFileLoad':
qFile.c:249:18: warning: implicit declaration of function 'open'; did you mean 'popen'? [-Wimplicit-function-declaration]
  249 |         if((fd = open(filepath, O_RDONLY, 0)) < 0) return NULL;
      |                  ^~~~
      |                  popen
qFile.c:249:33: error: 'O_RDONLY' undeclared (first use in this function)
  249 |         if((fd = open(filepath, O_RDONLY, 0)) < 0) return NULL;
      |                                 ^~~~~~~~
qFile.c:249:33: note: each undeclared identifier is reported only once for each function it appears in
qFile.c: In function 'qFileSave':
qFile.c:403:49: error: 'O_CREAT' undeclared (first use in this function); did you mean 'FCREAT'?
  403 |         if(append == false) fd = open(filepath, O_CREAT|O_WRONLY|O_TRUNC, DEF_FILE_MODE);
      |                                                 ^~~~~~~
      |                                                 FCREAT
qFile.c:403:57: error: 'O_WRONLY' undeclared (first use in this function)
  403 |         if(append == false) fd = open(filepath, O_CREAT|O_WRONLY|O_TRUNC, DEF_FILE_MODE);
      |                                                         ^~~~~~~~
qFile.c:403:66: error: 'O_TRUNC' undeclared (first use in this function); did you mean 'FTRUNC'?
  403 |         if(append == false) fd = open(filepath, O_CREAT|O_WRONLY|O_TRUNC, DEF_FILE_MODE);
      |                                                                  ^~~~~~~
      |                                                                  FTRUNC
qFile.c:404:51: error: 'O_APPEND' undeclared (first use in this function); did you mean 'FAPPEND'?
  404 |         else fd = open(filepath, O_CREAT|O_WRONLY|O_APPEND, DEF_FILE_MODE);
      |                                                   ^~~~~~~~
      |                                                   FAPPEND
*** Error code 1

Stop.
make[1]: stopped in /home/pbulk/build/www/qDecoder/work/qDecoder-9.0.1/src
*** Error code 1

Stop.
bmake: stopped in /home/pbulk/build/www/qDecoder/work/qDecoder-9.0.1
*** Error code 1

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/www/qDecoder
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/www/qDecoder