+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/colorls-2.2nb2/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/colorls-2.2nb2/work.log
===> Building for colorls-2.2nb2
--- cmp.o ---
--- stat_flags.o ---
--- ls.o ---
--- print.o ---
--- cmp.o ---
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Du_quad_t=uint64_t -DS_ISTXT=S_ISVTX    -c cmp.c
In file included from cmp.c:55:
extern.h:37:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
   37 | int      acccmp __P((const FTSENT *, const FTSENT *));
      |                 ^~~
extern.h:38:20: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
   38 | int      revacccmp __P((const FTSENT *, const FTSENT *));
      |                    ^~~
extern.h:39:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
   39 | int      modcmp __P((const FTSENT *, const FTSENT *));
      |                 ^~~
extern.h:40:20: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
   40 | int      revmodcmp __P((const FTSENT *, const FTSENT *));
      |                    ^~~
extern.h:41:18: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
   41 | int      namecmp __P((const FTSENT *, const FTSENT *));
      |                  ^~~
extern.h:42:21: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
   42 | int      revnamecmp __P((const FTSENT *, const FTSENT *));
      |                     ^~~
extern.h:43:18: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
   43 | int      statcmp __P((const FTSENT *, const FTSENT *));
      |                  ^~~
extern.h:44:21: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
   44 | int      revstatcmp __P((const FTSENT *, const FTSENT *));
      |                     ^~~
extern.h:46:26: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
   46 | char    *flags_to_string __P((u_long, char *));
      |                          ^~~
extern.h:47:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
   47 | void     prcopy __P((char *, char *, int));
      |                 ^~~
extern.h:48:19: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
   48 | void     printcol __P((DISPLAY *));
      |                   ^~~
extern.h:49:20: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
   49 | void     printlong __P((DISPLAY *));
      |                    ^~~
extern.h:50:20: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
   50 | void     printscol __P((DISPLAY *));
      |                    ^~~
extern.h:51:16: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
   51 | void     usage __P((void));
      |                ^~~
*** [cmp.o] Error code 1

bmake: stopped making "all" in /home/pbulk/build/misc/colorls/work/ls
--- print.o ---
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Du_quad_t=uint64_t -DS_ISTXT=S_ISVTX    -c print.c
--- stat_flags.o ---
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Du_quad_t=uint64_t -DS_ISTXT=S_ISVTX    -c stat_flags.c
--- ls.o ---
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Du_quad_t=uint64_t -DS_ISTXT=S_ISVTX    -c ls.c
In file included from ls.c:79:
extern.h:37:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
   37 | int      acccmp __P((const FTSENT *, const FTSENT *));
      |                 ^~~
extern.h:38:20: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
   38 | int      revacccmp __P((const FTSENT *, const FTSENT *));
      |                    ^~~
extern.h:39:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
   39 | int      modcmp __P((const FTSENT *, const FTSENT *));
      |                 ^~~
extern.h:40:20: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
   40 | int      revmodcmp __P((const FTSENT *, const FTSENT *));
      |                    ^~~
extern.h:41:18: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
   41 | int      namecmp __P((const FTSENT *, const FTSENT *));
      |                  ^~~
extern.h:42:21: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
   42 | int      revnamecmp __P((const FTSENT *, const FTSENT *));
      |                     ^~~
extern.h:43:18: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
   43 | int      statcmp __P((const FTSENT *, const FTSENT *));
      |                  ^~~
extern.h:44:21: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
   44 | int      revstatcmp __P((const FTSENT *, const FTSENT *));
      |                     ^~~
extern.h:46:26: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
   46 | char    *flags_to_string __P((u_long, char *));
      |                          ^~~
extern.h:47:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
   47 | void     prcopy __P((char *, char *, int));
      |                 ^~~
extern.h:48:19: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
   48 | void     printcol __P((DISPLAY *));
      |                   ^~~
extern.h:49:20: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
   49 | void     printlong __P((DISPLAY *));
      |                    ^~~
extern.h:50:20: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
   50 | void     printscol __P((DISPLAY *));
      |                    ^~~
extern.h:51:16: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
   51 | void     usage __P((void));
      |                ^~~
ls.c:81:26: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
   81 | static void      display __P((FTSENT *, FTSENT *));
      |                          ^~~
ls.c:85:28: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
   85 | static int       mastercmp __P((const FTSENT **, const FTSENT **));
      |                            ^~~
ls.c:87:27: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
   87 | static void      traverse __P((int, char **, int));
      |                           ^~~
ls.c:89:25: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
   89 | static void (*printfcn) __P((DISPLAY *));
      |                         ^~~
ls.c:90:23: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
   90 | static int (*sortfcn) __P((const FTSENT *, const FTSENT *));
      |                       ^~~
ls.c: In function 'main':
ls.c:257:25: warning: implicit declaration of function 'usage' [-Wimplicit-function-declaration]
  257 |                         usage();
      |                         ^~~~~
ls.c:307:25: error: 'sortfcn' undeclared (first use in this function)
  307 |                         sortfcn = revnamecmp;
      |                         ^~~~~~~
ls.c:307:25: note: each undeclared identifier is reported only once for each function it appears in
ls.c:307:35: error: 'revnamecmp' undeclared (first use in this function); did you mean 'renameat'?
  307 |                         sortfcn = revnamecmp;
      |                                   ^~~~~~~~~~
      |                                   renameat
ls.c:309:35: error: 'revacccmp' undeclared (first use in this function)
  309 |                         sortfcn = revacccmp;
      |                                   ^~~~~~~~~
ls.c:311:35: error: 'revstatcmp' undeclared (first use in this function)
  311 |                         sortfcn = revstatcmp;
      |                                   ^~~~~~~~~~
ls.c:313:35: error: 'revmodcmp' undeclared (first use in this function)
  313 |                         sortfcn = revmodcmp;
      |                                   ^~~~~~~~~
ls.c:316:35: error: 'namecmp' undeclared (first use in this function)
  316 |                         sortfcn = namecmp;
      |                                   ^~~~~~~
ls.c:318:35: error: 'acccmp' undeclared (first use in this function)
  318 |                         sortfcn = acccmp;
      |                                   ^~~~~~
--- print.o ---
In file included from print.c:64:
extern.h:37:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
   37 | int      acccmp __P((const FTSENT *, const FTSENT *));
      |                 ^~~
extern.h:38:20: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
   38 | int      revacccmp __P((const FTSENT *, const FTSENT *));
      |                    ^~~
extern.h:39:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
   39 | int      modcmp __P((const FTSENT *, const FTSENT *));
      |                 ^~~
extern.h:40:20: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
   40 | int      revmodcmp __P((const FTSENT *, const FTSENT *));
      |                    ^~~
extern.h:41:18: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
   41 | int      namecmp __P((const FTSENT *, const FTSENT *));
      |                  ^~~
extern.h:42:21: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
--- ls.o ---
ls.c:320:35: error: 'statcmp' undeclared (first use in this function); did you mean 'strncmp'?
  320 |                         sortfcn = statcmp;
      |                                   ^~~~~~~
      |                                   strncmp
ls.c:322:35: error: 'modcmp' undeclared (first use in this function); did you mean 'memcmp'?
  322 |                         sortfcn = modcmp;
      |                                   ^~~~~~
      |                                   memcmp
ls.c:327:17: error: 'printfcn' undeclared (first use in this function); did you mean 'printf'?
  327 |                 printfcn = printscol;
      |                 ^~~~~~~~
      |                 printf
ls.c:327:28: error: 'printscol' undeclared (first use in this function)
  327 |                 printfcn = printscol;
      |                            ^~~~~~~~~
ls.c:329:28: error: 'printlong' undeclared (first use in this function)
  329 |                 printfcn = printlong;
      |                            ^~~~~~~~~
--- print.o ---
   42 | int      revnamecmp __P((const FTSENT *, const FTSENT *));
      |                     ^~~
extern.h:43:18: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
   43 | int      statcmp __P((const FTSENT *, const FTSENT *));
      |                  ^~~
extern.h:44:21: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
   44 | int      revstatcmp __P((const FTSENT *, const FTSENT *));
      |                     ^~~
extern.h:46:26: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
   46 | char    *flags_to_string __P((u_long, char *));
      |                          ^~~
extern.h:47:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
   47 | void     prcopy __P((char *, char *, int));
      |                 ^~~
extern.h:48:19: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
   48 | void     printcol __P((DISPLAY *));
      |                   ^~~
--- ls.o ---
ls.c:331:28: error: 'printcol' undeclared (first use in this function); did you mean 'printf'?
  331 |                 printfcn = printcol;
      |                            ^~~~~~~~
      |                            printf
ls.c:334:17: warning: implicit declaration of function 'traverse' [-Wimplicit-function-declaration]
  334 |                 traverse(argc, argv, fts_options);
      |                 ^~~~~~~~
ls.c: At top level:
ls.c:349:1: warning: conflicting types for 'traverse'; have 'void()'
  349 | traverse(argc, argv, options)
      | ^~~~~~~~
ls.c:349:1: error: static declaration of 'traverse' follows non-static declaration
ls.c:334:17: note: previous implicit declaration of 'traverse' with type 'void()'
  334 |                 traverse(argc, argv, fts_options);
      |                 ^~~~~~~~
ls.c: In function 'traverse':
ls.c:358:55: error: 'mastercmp' undeclared (first use in this function); did you mean 'strcmp'?
--- print.o ---
extern.h:49:20: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
   49 | void     printlong __P((DISPLAY *));
      |                    ^~~
extern.h:50:20: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
   50 | void     printscol __P((DISPLAY *));
      |                    ^~~
extern.h:51:16: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
   51 | void     usage __P((void));
      |                ^~~
print.c:66:28: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
   66 | static int      printaname __P((FTSENT *, u_long, u_long));
      |                            ^~~
print.c:67:27: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
   67 | static void     printlink __P((FTSENT *));
      |                           ^~~
print.c:68:27: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
   68 | static void     printtime __P((time_t));
      |                           ^~~
--- ls.o ---
  358 |             fts_open(argv, options, f_nosort ? NULL : mastercmp)) == NULL)
      |                                                       ^~~~~~~~~
      |                                                       strcmp
ls.c:361:9: warning: implicit declaration of function 'display' [-Wimplicit-function-declaration]
  361 |         display(NULL, fts_children(ftsp, 0));
      |         ^~~~~~~
ls.c: At top level:
ls.c:415:1: warning: conflicting types for 'display'; have 'void()'
  415 | display(p, list)
      | ^~~~~~~
ls.c:415:1: error: static declaration of 'display' follows non-static declaration
ls.c:361:9: note: previous implicit declaration of 'display' with type 'void()'
  361 |         display(NULL, fts_children(ftsp, 0));
      |         ^~~~~~~
ls.c: In function 'display':
ls.c:473:25: warning: implicit declaration of function 'prcopy'; did you mean 'uucopy'? [-Wimplicit-function-declaration]
  473 |                         prcopy(cur->fts_name, cur->fts_name, cur->fts_namelen);
--- print.o ---
print.c:69:27: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
   69 | static int      printtype __P((u_int));
      |                           ^~~
print.c: In function 'printscol':
print.c:102:23: warning: implicit declaration of function 'printaname'; did you mean 'ptsname'? [-Wimplicit-function-declaration]
  102 |                 (void)printaname(p, dp->s_inode, dp->s_block);
      |                       ^~~~~~~~~~
      |                       ptsname
print.c: In function 'printlong':
print.c:128:23: warning: implicit declaration of function 'strmode'; did you mean 'strtod'? [-Wimplicit-function-declaration]
  128 |                 (void)strmode(sp->st_mode, buf);
      |                       ^~~~~~~
      |                       strtod
--- ls.o ---
      |                         ^~~~~~
      |                         uucopy
ls.c:489:40: warning: implicit declaration of function 'user_from_uid' [-Wimplicit-function-declaration]
  489 |                                 user = user_from_uid(sp->st_uid, 0);
      |                                        ^~~~~~~~~~~~~
ls.c:489:38: warning: assignment to 'const char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
  489 |                                 user = user_from_uid(sp->st_uid, 0);
      |                                      ^
ls.c:492:41: warning: implicit declaration of function 'group_from_gid' [-Wimplicit-function-declaration]
  492 |                                 group = group_from_gid(sp->st_gid, 0);
      |                                         ^~~~~~~~~~~~~~
ls.c:492:39: warning: assignment to 'const char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
  492 |                                 group = group_from_gid(sp->st_gid, 0);
      |                                       ^
ls.c:552:9: warning: implicit declaration of function 'printfcn'; did you mean 'printf'? [-Wimplicit-function-declaration]
  552 |         printfcn(&d);
      |         ^~~~~~~~
      |         printf
ls.c: In function 'mastercmp':
ls.c:584:25: warning: implicit declaration of function 'namecmp' [-Wimplicit-function-declaration]
  584 |                 return (namecmp(*a, *b));
      |                         ^~~~~~~
ls.c:587:25: warning: implicit declaration of function 'sortfcn' [-Wimplicit-function-declaration]
  587 |                 return (sortfcn(*a, *b));
      |                         ^~~~~~~
--- print.o ---
print.c:138:29: warning: implicit declaration of function 'minor'; did you mean 'mincore'? [-Wimplicit-function-declaration]
  138 |                         if (minor(sp->st_rdev) > 255)
      |                             ^~~~~
      |                             mincore
print.c:140:37: warning: implicit declaration of function 'major' [-Wimplicit-function-declaration]
  140 |                                     major(sp->st_rdev), minor(sp->st_rdev));
      |                                     ^~~~~
print.c:150:25: warning: implicit declaration of function 'printtime' [-Wimplicit-function-declaration]
  150 |                         printtime(sp->st_atime);
      |                         ^~~~~~~~~
print.c:159:31: warning: implicit declaration of function 'printtype' [-Wimplicit-function-declaration]
  159 |                         (void)printtype(sp->st_mode);
      |                               ^~~~~~~~~
print.c:163:25: warning: implicit declaration of function 'printlink'; did you mean 'printlong'? [-Wimplicit-function-declaration]
  163 |                         printlink(p);
      |                         ^~~~~~~~~
      |                         printlong
print.c: At top level:
print.c:252:1: error: static declaration of 'printaname' follows non-static declaration
  252 | printaname(p, inodefield, sizefield)
      | ^~~~~~~~~~
print.c:102:23: note: previous implicit declaration of 'printaname' with type 'int()'
  102 |                 (void)printaname(p, dp->s_inode, dp->s_block);
      |                       ^~~~~~~~~~
print.c:277:1: warning: conflicting types for 'printtime'; have 'void()'
  277 | printtime(ftime)
      | ^~~~~~~~~
print.c:277:1: error: static declaration of 'printtime' follows non-static declaration
print.c:150:25: note: previous implicit declaration of 'printtime' with type 'void()'
  150 |                         printtime(sp->st_atime);
      |                         ^~~~~~~~~
print.c:303:1: error: static declaration of 'printtype' follows non-static declaration
  303 | printtype(mode)
      | ^~~~~~~~~
print.c:159:31: note: previous implicit declaration of 'printtype' with type 'int()'
  159 |                         (void)printtype(sp->st_mode);
      |                               ^~~~~~~~~
print.c:423:1: warning: conflicting types for 'printlink'; have 'void()'
  423 | printlink(p)
      | ^~~~~~~~~
print.c:423:1: error: static declaration of 'printlink' follows non-static declaration
print.c:163:25: note: previous implicit declaration of 'printlink' with type 'void()'
  163 |                         printlink(p);
      |                         ^~~~~~~~~
--- ls.o ---
*** [ls.o] Error code 1

bmake: stopped making "all" in /home/pbulk/build/misc/colorls/work/ls
--- print.o ---
*** [print.o] Error code 1

bmake: stopped making "all" in /home/pbulk/build/misc/colorls/work/ls
bmake: 3 errors

bmake: stopped making "all" in /home/pbulk/build/misc/colorls/work/ls
*** Error code 2

Stop.
bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/misc/colorls
*** Error code 1

Stop.
bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/misc/colorls