+ 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/mtree-20130908/work.log
+ su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/mtree-20130908/work.log
WARNING: [license.mk] Every package should define a LICENSE.
===> Building for mtree-20130908
--- compare.o ---
--- crc.o ---
--- compare.o ---
cc -DHAVE_CONFIG_H -DHAVE_NBCOMPAT_H=1 -I/home/pbulk/build/pkgtools/mtree/work/libnbcompat -I. -I. -pipe -O2 -c compare.c
--- crc.o ---
cc -DHAVE_CONFIG_H -DHAVE_NBCOMPAT_H=1 -I/home/pbulk/build/pkgtools/mtree/work/libnbcompat -I. -I. -pipe -O2 -c crc.c
--- compare.o ---
compare.c: In function 'compare':
compare.c:418:7: warning: implicit declaration of function 'MD5File' [-Wimplicit-function-declaration]
   if (MD5File(p->fts_accpath, digestbuf) == NULL) {
       ^~~~~~~
compare.c:418:42: warning: comparison between pointer and integer
   if (MD5File(p->fts_accpath, digestbuf) == NULL) {
                                          ^~
compare.c:435:7: warning: implicit declaration of function 'RMD160File' [-Wimplicit-function-declaration]
   if (RMD160File(p->fts_accpath, digestbuf) == NULL) {
       ^~~~~~~~~~
compare.c:435:45: warning: comparison between pointer and integer
   if (RMD160File(p->fts_accpath, digestbuf) == NULL) {
                                             ^~
compare.c:452:7: warning: implicit declaration of function 'SHA1File'; did you mean 'SHA512_File'? [-Wimplicit-function-declaration]
   if (SHA1File(p->fts_accpath, digestbuf) == NULL) {
       ^~~~~~~~
       SHA512_File
compare.c:452:43: warning: comparison between pointer and integer
   if (SHA1File(p->fts_accpath, digestbuf) == NULL) {
                                           ^~
--- create.o ---
cc -DHAVE_CONFIG_H -DHAVE_NBCOMPAT_H=1 -I/home/pbulk/build/pkgtools/mtree/work/libnbcompat -I. -I. -pipe -O2 -c create.c
--- excludes.o ---
cc -DHAVE_CONFIG_H -DHAVE_NBCOMPAT_H=1 -I/home/pbulk/build/pkgtools/mtree/work/libnbcompat -I. -I. -pipe -O2 -c excludes.c
--- create.o ---
create.c: In function 'statf':
create.c:249:7: warning: implicit declaration of function 'MD5File' [-Wimplicit-function-declaration]
   if (MD5File(p->fts_accpath, digestbuf) == NULL)
       ^~~~~~~
create.c:249:42: warning: comparison between pointer and integer
   if (MD5File(p->fts_accpath, digestbuf) == NULL)
                                          ^~
create.c:256:7: warning: implicit declaration of function 'RMD160File' [-Wimplicit-function-declaration]
   if (RMD160File(p->fts_accpath, digestbuf) == NULL)
       ^~~~~~~~~~
create.c:256:45: warning: comparison between pointer and integer
   if (RMD160File(p->fts_accpath, digestbuf) == NULL)
                                             ^~
create.c:263:7: warning: implicit declaration of function 'SHA1File'; did you mean 'SHA512_File'? [-Wimplicit-function-declaration]
   if (SHA1File(p->fts_accpath, digestbuf) == NULL)
       ^~~~~~~~
       SHA512_File
create.c:263:43: warning: comparison between pointer and integer
   if (SHA1File(p->fts_accpath, digestbuf) == NULL)
                                           ^~
--- misc.o ---
cc -DHAVE_CONFIG_H -DHAVE_NBCOMPAT_H=1 -I/home/pbulk/build/pkgtools/mtree/work/libnbcompat -I. -I. -pipe -O2 -c misc.c
--- mtree.o ---
cc -DHAVE_CONFIG_H -DHAVE_NBCOMPAT_H=1 -I/home/pbulk/build/pkgtools/mtree/work/libnbcompat -I. -I. -pipe -O2 -c mtree.c
--- spec.o ---
cc -DHAVE_CONFIG_H -DHAVE_NBCOMPAT_H=1 -I/home/pbulk/build/pkgtools/mtree/work/libnbcompat -I. -I. -pipe -O2 -c spec.c
--- verify.o ---
cc -DHAVE_CONFIG_H -DHAVE_NBCOMPAT_H=1 -I/home/pbulk/build/pkgtools/mtree/work/libnbcompat -I. -I. -pipe -O2 -c verify.c
--- getid.o ---
cc -DHAVE_CONFIG_H -DHAVE_NBCOMPAT_H=1 -I/home/pbulk/build/pkgtools/mtree/work/libnbcompat -I. -I. -pipe -O2 -c getid.c
--- stat_flags.o ---
cc -DHAVE_CONFIG_H -DHAVE_NBCOMPAT_H=1 -I/home/pbulk/build/pkgtools/mtree/work/libnbcompat -I. -I. -pipe -O2 -c stat_flags.c
--- pack_dev.o ---
cc -DHAVE_CONFIG_H -DHAVE_NBCOMPAT_H=1 -I/home/pbulk/build/pkgtools/mtree/work/libnbcompat -I. -I. -pipe -O2 -c pack_dev.c
pack_dev.c: In function 'pack_native':
pack_dev.c:99:9: warning: implicit declaration of function 'makedev' [-Wimplicit-function-declaration]
   dev = makedev(numbers[0], numbers[1]);
         ^~~~~~~
pack_dev.c:100:7: warning: implicit declaration of function 'major' [-Wimplicit-function-declaration]
   if (major(dev) != numbers[0])
       ^~~~~
pack_dev.c:102:12: warning: implicit declaration of function 'minor'; did you mean 'mknod'? [-Wimplicit-function-declaration]
   else if (minor(dev) != numbers[1])
            ^~~~~
            mknod
--- mtree ---
cc -L/home/pbulk/build/pkgtools/mtree/work/libnbcompat -Wl,-zrelro -Wl,-R/usr/pkg/lib -o mtree compare.o crc.o create.o excludes.o misc.o mtree.o spec.o verify.o  getid.o stat_flags.o pack_dev.o -lutil -lnbcompat
pack_dev.o: In function `pack_native':
pack_dev.c:(.text+0x351): undefined reference to `makedev'
pack_dev.c:(.text+0x35e): undefined reference to `major'
pack_dev.c:(.text+0x386): undefined reference to `minor'
collect2: error: ld returned 1 exit status
*** [mtree] Error code 1

bmake: stopped making "all" in /home/pbulk/build/pkgtools/mtree/work/mtree-20130908
bmake: 1 error

bmake: stopped making "all" in /home/pbulk/build/pkgtools/mtree/work/mtree-20130908
*** Error code 2

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

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