+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/epstool-3.08/work.log
+ su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/epstool-3.08/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
WARNING: [license.mk] Every package should define a LICENSE.
===> Building for epstool-3.08
mkdir ./bin
mkdir ./epsobj
echo "dummy" > ./epsobj/lib.rsp
gcc -I./src -I./epsobj -pipe -O2 -DX11 -DUNIX -DNONAG  -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -fno-builtin -fno-common -Wcast-qual -Wwrite-strings  -g      -o ./epsobj/xnodll.o -c ./src/xnodll.c
gcc -I./src -I./epsobj -pipe -O2 -DX11 -DUNIX -DNONAG  -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -fno-builtin -fno-common -Wcast-qual -Wwrite-strings  -g      -o ./epsobj/cfile.o -c ./src/cfile.c
gcc -I./src -I./epsobj -pipe -O2 -DX11 -DUNIX -DNONAG  -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -fno-builtin -fno-common -Wcast-qual -Wwrite-strings  -g      -o ./epsobj/epstool.o -c -DEPSTOOL_VERSION="3.08" -DEPSTOOL_DATE="2005-06-10" ./src/epstool.c
./src/epstool.c: In function 'calc_device_size':
./src/epstool.c:1716:9: warning: variable 'code' set but not used [-Wunused-but-set-variable]
     int code = 0;
         ^~~~
./src/epstool.c: In function 'epstool_dcs2_composite':
./src/epstool.c:1909:9: warning: variable 'hires_bbox_valid' set but not used [-Wunused-but-set-variable]
     int hires_bbox_valid = 0;
         ^~~~~~~~~~~~~~~~
In file included from /usr/include/fcntl.h:328,
                 from ./src/epstool.c:41:
In function 'open',
    inlined from 'exec_program.constprop' at ./src/epstool.c:2827:15:
/usr/include/bits/fcntl2.h:50:4: error: call to '__open_missing_mode' declared with attribute error: open with O_CREAT or O_TMPFILE in second argument needs 3 arguments
    __open_missing_mode ();
    ^~~~~~~~~~~~~~~~~~~~~~
In function 'open',
    inlined from 'exec_program.constprop' at ./src/epstool.c:2835:15:
/usr/include/bits/fcntl2.h:50:4: error: call to '__open_missing_mode' declared with attribute error: open with O_CREAT or O_TMPFILE in second argument needs 3 arguments
    __open_missing_mode ();
    ^~~~~~~~~~~~~~~~~~~~~~
*** Error code 1

Stop.
bmake: stopped making "all" in /home/pbulk/build/print/epstool/work/epstool-3.08
*** Error code 1

Stop.
bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/print/epstool
*** Error code 1

Stop.
bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/print/epstool