+ 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/xjdic-2.4/work.log
+ su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/xjdic-2.4/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
WARNING: [license.mk] Every package should define a LICENSE.
===> Building for xjdic-2.4
--- xjdcomm_cl.o ---
--- xjdfrontend_cl.o ---
--- xjdcomm_cl.o ---
gcc -D__STRICT_BSD__ -DPREFIX=\"/usr/pkg\" -c -DXJDFRONTEND -DXJDCLSERV xjdcomm.c -o xjdcomm_cl.o
--- xjdfrontend_cl.o ---
gcc -D__STRICT_BSD__ -DPREFIX=\"/usr/pkg\" -c -DXJDFRONTEND -DXJDCLSERV xjdfrontend.c -o xjdfrontend_cl.o
In file included from /usr/include/stdio.h:27:0,
                 from xjdfrontend.c:21:
/usr/include/features.h:330:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
 #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
    ^
--- xjdcomm_cl.o ---
In file included from /usr/include/stdio.h:27:0,
                 from xjdcomm.c:21:
/usr/include/features.h:330:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
 #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
    ^
--- xjdfrontend_cl.o ---
xjdfrontend.c: In function 'ioctlraw':
xjdfrontend.c:264:14: error: 'TIOCGETP' undeclared (first use in this function)
     ioctl(0, TIOCGETP, &orig); ioctl(0, TIOCGETP, &new);
              ^
xjdfrontend.c:264:14: note: each undeclared identifier is reported only once for each function it appears in
xjdfrontend.c:265:5: error: invalid use of undefined type 'struct sgttyb'
     new.sg_flags |= CBREAK; new.sg_flags &= ~ECHO;
     ^
xjdfrontend.c:265:21: error: 'CBREAK' undeclared (first use in this function)
     new.sg_flags |= CBREAK; new.sg_flags &= ~ECHO;
                     ^
xjdfrontend.c:265:5: error: invalid use of undefined type 'struct sgttyb'
     new.sg_flags |= CBREAK; new.sg_flags &= ~ECHO;
     ^
xjdfrontend.c:266:14: error: 'TIOCSETP' undeclared (first use in this function)
     ioctl(0, TIOCSETP, &new);
              ^
xjdfrontend.c: In function 'ioctlorig':
xjdfrontend.c:281:13: error: 'TIOCSETP' undeclared (first use in this function)
    ioctl(0, TIOCSETP, &orig);
             ^
xjdfrontend.c: In function 'locale_GetKBStr':
xjdfrontend.c:2284:4: warning: passing argument 3 of 'iconv' from incompatible pointer type [enabled by default]
    if (iconv(descr, &inbuf_p, &inbytesleft, &outbuf_p, &outbytesleft) == -1)
    ^
In file included from xjdfrontend.c:34:0:
/usr/include/iconv.h:42:15: note: expected 'size_t * __restrict__' but argument is of type 'int *'
 extern size_t iconv (iconv_t __cd, char **__restrict __inbuf,
               ^
xjdfrontend.c:2284:4: warning: passing argument 5 of 'iconv' from incompatible pointer type [enabled by default]
    if (iconv(descr, &inbuf_p, &inbytesleft, &outbuf_p, &outbytesleft) == -1)
    ^
In file included from xjdfrontend.c:34:0:
/usr/include/iconv.h:42:15: note: expected 'size_t * __restrict__' but argument is of type 'int *'
 extern size_t iconv (iconv_t __cd, char **__restrict __inbuf,
               ^
xjdfrontend.c: In function 'convert_to_euc':
xjdfrontend.c:2327:2: warning: passing argument 3 of 'iconv' from incompatible pointer type [enabled by default]
  iconv(descr, &in, &inbytesleft, &out, &outlen);
  ^
In file included from xjdfrontend.c:34:0:
/usr/include/iconv.h:42:15: note: expected 'size_t * __restrict__' but argument is of type 'int *'
 extern size_t iconv (iconv_t __cd, char **__restrict __inbuf,
               ^
xjdfrontend.c:2327:2: warning: passing argument 5 of 'iconv' from incompatible pointer type [enabled by default]
  iconv(descr, &in, &inbytesleft, &out, &outlen);
  ^
In file included from xjdfrontend.c:34:0:
/usr/include/iconv.h:42:15: note: expected 'size_t * __restrict__' but argument is of type 'int *'
 extern size_t iconv (iconv_t __cd, char **__restrict __inbuf,
               ^
xjdfrontend.c: In function 'main':
xjdfrontend.c:2946:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
   dicenv = (unsigned char *)getcwd(ENVname,sizeof(ENVname));
            ^
--- xjdcomm_sv.o ---
gcc -D__STRICT_BSD__ -DPREFIX=\"/usr/pkg\" -c -DXJDDIC -DXJDCLSERV -DMMAP xjdcomm.c -o xjdcomm_sv.o
--- xjdfrontend_cl.o ---
*** [xjdfrontend_cl.o] Error code 1

bmake: stopped in /home/pbulk/build/misc/xjdic/work
--- xjdcomm_sv.o ---
In file included from /usr/include/stdio.h:27:0,
                 from xjdcomm.c:21:
/usr/include/features.h:330:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
 #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
    ^
1 error

bmake: stopped in /home/pbulk/build/misc/xjdic/work
*** Error code 2

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/misc/xjdic
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/misc/xjdic