+ 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/mgdiff-1.0.1nb1/work.log
+ su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/mgdiff-1.0.1nb1/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for mgdiff-1.0.1nb1
--- mgdiff.o ---
--- rundiff.o ---
--- mgdiff.o ---
cc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -O2  -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2     -I/usr/pkg/include    -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L 				-D_POSIX_SOURCE -D_XOPEN_SOURCE 				-D_DEFAULT_SOURCE                                 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 				  				  -DFUNCPROTO=15 -DNARROWPROTO    -Wall -Wstrict-prototypes -Wmissing-prototypes -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -c mgdiff.c
--- rundiff.o ---
cc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -O2  -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2     -I/usr/pkg/include    -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L 				-D_POSIX_SOURCE -D_XOPEN_SOURCE 				-D_DEFAULT_SOURCE                                 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 				  				  -DFUNCPROTO=15 -DNARROWPROTO    -Wall -Wstrict-prototypes -Wmissing-prototypes -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -c rundiff.c
--- mgdiff.o ---
mgdiff.c: In function 'drawit':
mgdiff.c:425:10: warning: variable 'x_selection' set but not used [-Wunused-but-set-variable]
     Side x_selection = NEITHER;
          ^
mgdiff.c: In function 'file_cb':
mgdiff.c:576:2: warning: implicit declaration of function 'reload_both' [-Wimplicit-function-declaration]
  reload_both();
  ^
mgdiff.c: At top level:
--- rundiff.o ---
In file included from rundiff.c:44:0:
mgdiff.h: In function 'xstrdup':
mgdiff.h:97:5: warning: implicit declaration of function 'strdup' [-Wimplicit-function-declaration]
     char *ret = strdup(s);
     ^
mgdiff.h:97:17: warning: incompatible implicit declaration of built-in function 'strdup' [enabled by default]
     char *ret = strdup(s);
                 ^
rundiff.c: In function 'build_diff_info':
rundiff.c:258:3: warning: implicit declaration of function 'snprintf' [-Wimplicit-function-declaration]
   (void) snprintf (cmdline, sizeof (cmdline), "    \"%s %s %s %s\"", prog, args, path1, path2);
   ^
rundiff.c:258:10: warning: incompatible implicit declaration of built-in function 'snprintf' [enabled by default]
   (void) snprintf (cmdline, sizeof (cmdline), "    \"%s %s %s %s\"", prog, args, path1, path2);
          ^
--- mgdiff.o ---
mgdiff.c:2099:6: warning: no previous prototype for 'reload_both' [-Wmissing-prototypes]
 void reload_both(void)
      ^
mgdiff.c:2099:6: warning: conflicting types for 'reload_both' [enabled by default]
mgdiff.c:576:2: note: previous implicit declaration of 'reload_both' was here
  reload_both();
  ^
--- misc.o ---
cc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -O2  -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2     -I/usr/pkg/include    -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L 				-D_POSIX_SOURCE -D_XOPEN_SOURCE 				-D_DEFAULT_SOURCE                                 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 				  				  -DFUNCPROTO=15 -DNARROWPROTO    -Wall -Wstrict-prototypes -Wmissing-prototypes -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -c misc.c
In file included from misc.c:45:0:
mgdiff.h: In function 'xstrdup':
mgdiff.h:97:5: warning: implicit declaration of function 'strdup' [-Wimplicit-function-declaration]
     char *ret = strdup(s);
     ^
mgdiff.h:97:17: warning: incompatible implicit declaration of built-in function 'strdup' [enabled by default]
     char *ret = strdup(s);
                 ^
misc.c: In function 'copy_to_tempfile':
misc.c:91:5: warning: implicit declaration of function 'snprintf' [-Wimplicit-function-declaration]
     snprintf (name, name_len, "/tmp/mgdif-XXXXXX");
     ^
misc.c:91:5: warning: incompatible implicit declaration of built-in function 'snprintf' [enabled by default]
misc.c:92:5: warning: implicit declaration of function 'mkstemp' [-Wimplicit-function-declaration]
     if ((fd = mkstemp(name)) < 0) {
     ^
--- files.o ---
cc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -O2  -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2     -I/usr/pkg/include    -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L 				-D_POSIX_SOURCE -D_XOPEN_SOURCE 				-D_DEFAULT_SOURCE                                 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 				  				  -DFUNCPROTO=15 -DNARROWPROTO    -Wall -Wstrict-prototypes -Wmissing-prototypes -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -c files.c
In file included from files.c:52:0:
mgdiff.h: In function 'xstrdup':
mgdiff.h:97:5: warning: implicit declaration of function 'strdup' [-Wimplicit-function-declaration]
     char *ret = strdup(s);
     ^
mgdiff.h:97:17: warning: incompatible implicit declaration of built-in function 'strdup' [enabled by default]
     char *ret = strdup(s);
                 ^
files.c: In function 'werror':
files.c:150:5: warning: implicit declaration of function 'snprintf' [-Wimplicit-function-declaration]
     (void) snprintf (buffer, sizeof (buffer), "%s: %s", msg1, msg2);
     ^
files.c:150:12: warning: incompatible implicit declaration of built-in function 'snprintf' [enabled by default]
     (void) snprintf (buffer, sizeof (buffer), "%s: %s", msg1, msg2);
            ^
files.c: In function 'dirname':
files.c:300:11: warning: incompatible implicit declaration of built-in function 'strdup' [enabled by default]
     val = strdup (path);
           ^
In file included from files.c:50:0:
files.c: In function 'open_both_files':
files.c:403:10: error: 'caddr_t' undeclared (first use in this function)
         (caddr_t) shell);
          ^
/home/pbulk/build/devel/mgdiff/work/.buildlink/include/Xm/Protocols.h:58:28: note: in definition of macro 'XmAddWMProtocolCallback'
        protocol, callback, closure)
                            ^
files.c:403:10: note: each undeclared identifier is reported only once for each function it appears in
         (caddr_t) shell);
          ^
/home/pbulk/build/devel/mgdiff/work/.buildlink/include/Xm/Protocols.h:58:28: note: in definition of macro 'XmAddWMProtocolCallback'
        protocol, callback, closure)
                            ^
files.c:403:19: error: expected ')' before 'shell'
         (caddr_t) shell);
                   ^
/home/pbulk/build/devel/mgdiff/work/.buildlink/include/Xm/Protocols.h:58:28: note: in definition of macro 'XmAddWMProtocolCallback'
        protocol, callback, closure)
                            ^
files.c: In function 'open_left_file':
files.c:466:10: error: 'caddr_t' undeclared (first use in this function)
         (caddr_t) XtParent (dialog));
          ^
/home/pbulk/build/devel/mgdiff/work/.buildlink/include/Xm/Protocols.h:58:28: note: in definition of macro 'XmAddWMProtocolCallback'
        protocol, callback, closure)
                            ^
files.c:466:19: error: expected ')' before 'XtParent'
         (caddr_t) XtParent (dialog));
                   ^
/home/pbulk/build/devel/mgdiff/work/.buildlink/include/Xm/Protocols.h:58:28: note: in definition of macro 'XmAddWMProtocolCallback'
        protocol, callback, closure)
                            ^
files.c: In function 'open_right_file':
files.c:521:10: error: 'caddr_t' undeclared (first use in this function)
         (caddr_t) XtParent (dialog));
          ^
/home/pbulk/build/devel/mgdiff/work/.buildlink/include/Xm/Protocols.h:58:28: note: in definition of macro 'XmAddWMProtocolCallback'
        protocol, callback, closure)
                            ^
files.c:521:19: error: expected ')' before 'XtParent'
         (caddr_t) XtParent (dialog));
                   ^
/home/pbulk/build/devel/mgdiff/work/.buildlink/include/Xm/Protocols.h:58:28: note: in definition of macro 'XmAddWMProtocolCallback'
        protocol, callback, closure)
                            ^
files.c: In function 'file_save_cb':
files.c:550:9: warning: incompatible implicit declaration of built-in function 'snprintf' [enabled by default]
  (void) snprintf (buffer, sizeof (buffer), "Overwrite \"%s\"?", filename);
         ^
In file included from files.c:50:0:
files.c: In function 'save_file':
files.c:612:10: error: 'caddr_t' undeclared (first use in this function)
         (caddr_t) NULL);
          ^
/home/pbulk/build/devel/mgdiff/work/.buildlink/include/Xm/Protocols.h:58:28: note: in definition of macro 'XmAddWMProtocolCallback'
        protocol, callback, closure)
                            ^
files.c: In function 'save_as_filename':
files.c:712:9: warning: incompatible implicit declaration of built-in function 'snprintf' [enabled by default]
  (void) snprintf (buffer, sizeof (buffer), "Overwrite \"%s\"?", filename);
         ^
*** [files.o] Error code 1

bmake: stopped making "all" in /home/pbulk/build/devel/mgdiff/work/mgdiff
bmake: 1 error

bmake: stopped making "all" in /home/pbulk/build/devel/mgdiff/work/mgdiff
*** Error code 2

Stop.
bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/devel/mgdiff
*** Error code 1

Stop.
bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/devel/mgdiff