+ 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:21: warning: implicit declaration of function 'MD5File' [-Wimplicit-function-declaration] 418 | if (MD5File(p->fts_accpath, digestbuf) == NULL) { | ^~~~~~~ compare.c:418:56: warning: comparison between pointer and integer 418 | if (MD5File(p->fts_accpath, digestbuf) == NULL) { | ^~ compare.c:435:21: warning: implicit declaration of function 'RMD160File' [-Wimplicit-function-declaration] 435 | if (RMD160File(p->fts_accpath, digestbuf) == NULL) { | ^~~~~~~~~~ compare.c:435:59: warning: comparison between pointer and integer 435 | if (RMD160File(p->fts_accpath, digestbuf) == NULL) { | ^~ compare.c:452:21: warning: implicit declaration of function 'SHA1File'; did you mean 'SHA512_File'? [-Wimplicit-function-declaration] 452 | if (SHA1File(p->fts_accpath, digestbuf) == NULL) { | ^~~~~~~~ | SHA512_File compare.c:452:57: warning: comparison between pointer and integer 452 | 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 create.c: In function 'statf': create.c:249:21: warning: implicit declaration of function 'MD5File' [-Wimplicit-function-declaration] 249 | if (MD5File(p->fts_accpath, digestbuf) == NULL) | ^~~~~~~ create.c:249:56: warning: comparison between pointer and integer 249 | if (MD5File(p->fts_accpath, digestbuf) == NULL) | ^~ create.c:256:21: warning: implicit declaration of function 'RMD160File' [-Wimplicit-function-declaration] 256 | if (RMD160File(p->fts_accpath, digestbuf) == NULL) | ^~~~~~~~~~ create.c:256:59: warning: comparison between pointer and integer 256 | if (RMD160File(p->fts_accpath, digestbuf) == NULL) | ^~ create.c:263:21: warning: implicit declaration of function 'SHA1File'; did you mean 'SHA512_File'? [-Wimplicit-function-declaration] 263 | if (SHA1File(p->fts_accpath, digestbuf) == NULL) | ^~~~~~~~ | SHA512_File create.c:263:57: warning: comparison between pointer and integer 263 | if (SHA1File(p->fts_accpath, digestbuf) == NULL) | ^~ --- 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 --- 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:23: warning: implicit declaration of function 'makedev' [-Wimplicit-function-declaration] 99 | dev = makedev(numbers[0], numbers[1]); | ^~~~~~~ pack_dev.c:100:21: warning: implicit declaration of function 'major' [-Wimplicit-function-declaration] 100 | if (major(dev) != numbers[0]) | ^~~~~ pack_dev.c:102:26: warning: implicit declaration of function 'minor' [-Wimplicit-function-declaration] 102 | else if (minor(dev) != numbers[1]) | ^~~~~ --- 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 /bin/ld: pack_dev.o: in function `pack_native': pack_dev.c:(.text+0x34e): undefined reference to `makedev' /bin/ld: pack_dev.c:(.text+0x35b): undefined reference to `major' /bin/ld: 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-el9-trunk-x86_64/pkgtools/mtree *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/pkgtools/mtree