===> Building for mtree-20130908 cc -DHAVE_CONFIG_H -DHAVE_NBCOMPAT_H=1 -I/usr/pkgsrc/work/pkgtools/mtree/work/libnbcompat -I. -I. -O2 -march=i586 -c compare.c compare.c:221:12: warning: format specifies type 'unsigned int' but the argument has type 'dev_t' (aka 'unsigned long long') [-Wformat] tab, s->st_rdev, p->fts_statp->st_rdev); ^~~~~~~~~~ compare.c:221:24: warning: format specifies type 'unsigned int' but the argument has type 'dev_t' (aka 'unsigned long long') [-Wformat] tab, s->st_rdev, p->fts_statp->st_rdev); ^~~~~~~~~~~~~~~~~~~~~ 2 warnings generated. cc -DHAVE_CONFIG_H -DHAVE_NBCOMPAT_H=1 -I/usr/pkgsrc/work/pkgtools/mtree/work/libnbcompat -I. -I. -O2 -march=i586 -c crc.c cc -DHAVE_CONFIG_H -DHAVE_NBCOMPAT_H=1 -I/usr/pkgsrc/work/pkgtools/mtree/work/libnbcompat -I. -I. -O2 -march=i586 -c create.c create.c:226:33: warning: format specifies type 'unsigned int' but the argument has type 'dev_t' (aka 'unsigned long long') [-Wformat] output(&indent, "device=%#x", p->fts_statp->st_rdev); ~~~ ^~~~~~~~~~~~~~~~~~~~~ %#llx 1 warning generated. cc -DHAVE_CONFIG_H -DHAVE_NBCOMPAT_H=1 -I/usr/pkgsrc/work/pkgtools/mtree/work/libnbcompat -I. -I. -O2 -march=i586 -c excludes.c cc -DHAVE_CONFIG_H -DHAVE_NBCOMPAT_H=1 -I/usr/pkgsrc/work/pkgtools/mtree/work/libnbcompat -I. -I. -O2 -march=i586 -c misc.c cc -DHAVE_CONFIG_H -DHAVE_NBCOMPAT_H=1 -I/usr/pkgsrc/work/pkgtools/mtree/work/libnbcompat -I. -I. -O2 -march=i586 -c mtree.c cc -DHAVE_CONFIG_H -DHAVE_NBCOMPAT_H=1 -I/usr/pkgsrc/work/pkgtools/mtree/work/libnbcompat -I. -I. -O2 -march=i586 -c spec.c spec.c:380:26: warning: format specifies type 'unsigned int' but the argument has type 'dev_t' (aka 'unsigned long long') [-Wformat] printf("device=%#x ", cur->st_rdev); ~~~ ^~~~~~~~~~~~ %#llx spec.c:467:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security] mtree_err(error); ^~~~~ 2 warnings generated. cc -DHAVE_CONFIG_H -DHAVE_NBCOMPAT_H=1 -I/usr/pkgsrc/work/pkgtools/mtree/work/libnbcompat -I. -I. -O2 -march=i586 -c verify.c cc -DHAVE_CONFIG_H -DHAVE_NBCOMPAT_H=1 -I/usr/pkgsrc/work/pkgtools/mtree/work/libnbcompat -I. -I. -O2 -march=i586 -c getid.c cc -DHAVE_CONFIG_H -DHAVE_NBCOMPAT_H=1 -I/usr/pkgsrc/work/pkgtools/mtree/work/libnbcompat -I. -I. -O2 -march=i586 -c stat_flags.c cc -DHAVE_CONFIG_H -DHAVE_NBCOMPAT_H=1 -I/usr/pkgsrc/work/pkgtools/mtree/work/libnbcompat -I. -I. -O2 -march=i586 -c pack_dev.c cc -L/usr/pkgsrc/work/pkgtools/mtree/work/libnbcompat -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 /usr/pkgsrc/work/pkgtools/mtree/work/libnbcompat/libnbcompat.a(lchflags.o): In function `lchflags': lchflags.c:(.text+0x4b): undefined reference to `chflags' clang: error: linker command failed with exit code 1 (use -v to see invocation) *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/work/pkgtools/mtree/work/mtree-20130908 *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/pkgtools/mtree *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/pkgtools/mtree