=> Bootstrap dependency digest>=20010302: found digest-20121220 ===> Building for bsdgrep-devel-20071201 cc -O2 -march=i586 -I/usr/include -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wreturn-type -Wcast-qual -Wpointer-arith -Wwrite-strings -Wswitch -Wshadow -Werror -I/usr/include -c binary.c cc -O2 -march=i586 -I/usr/include -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wreturn-type -Wcast-qual -Wpointer-arith -Wwrite-strings -Wswitch -Wshadow -Werror -I/usr/include -c file.c cc -O2 -march=i586 -I/usr/include -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wreturn-type -Wcast-qual -Wpointer-arith -Wwrite-strings -Wswitch -Wshadow -Werror -I/usr/include -c grep.c cc -O2 -march=i586 -I/usr/include -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wreturn-type -Wcast-qual -Wpointer-arith -Wwrite-strings -Wswitch -Wshadow -Werror -I/usr/include -c mmfile.c mmfile.c:56:7: warning: explicitly assigning a variable of type 'const char *' to itself [-Wself-assign] mode = mode; ~~~~ ^ ~~~~ 1 warning generated. cc -O2 -march=i586 -I/usr/include -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wreturn-type -Wcast-qual -Wpointer-arith -Wwrite-strings -Wswitch -Wshadow -Werror -I/usr/include -c queue.c cc -O2 -march=i586 -I/usr/include -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wreturn-type -Wcast-qual -Wpointer-arith -Wwrite-strings -Wswitch -Wshadow -Werror -I/usr/include -c util.c cc -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -o bgrep binary.o file.o grep.o mmfile.o queue.o util.o -lz mmfile.o: In function `mmopen': mmfile.c:(.text+0xd6): undefined reference to `madvise' clang: error: linker command failed with exit code 1 (use -v to see invocation) *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/work/textproc/bsdgrep-devel/work/bsdgrep-20071201 *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/textproc/bsdgrep-devel *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/textproc/bsdgrep-devel