=> Bootstrap dependency digest>=20010302: found digest-20080510
=> Bootstrap dependency fetch-[0-9]*: found fetch-1.7
WARNING: [license.mk] Every package should define a LICENSE.
===> Building for pkg_select-20090308nb2
--- main.o ---
--- parsedirs.o ---
--- tools.o ---
--- file.o ---
--- more.o ---
--- main.o ---
gcc -O3 -pipe -fstack-protector -DPKGTOOLS_PATH=\"/usr/pkg/sbin\" -Wno-format -fno-builtin -I/usr/pkg/include/ncurses -g -I. -DPKGSRCBASE=\"/usr/pkgsrc\" -DPKGDB=\"/var/db/pkg\" -DMAKE=\"/usr/pkg/bin/bmake\" -DCONFPATH=\"/usr/pkg/etc/pkg_select.conf\" -DMIRRORS=\"/usr/pkg/share/pkg_select\" -DBGCOLOR=COLOR_BLUE -DFGCOLOR=COLOR_WHITE -Wno-format -fno-builtin  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wreturn-type -Wcast-qual -Wpointer-arith -Wwrite-strings -Wswitch -Wshadow  -I/usr/pkg/include/ncurses -c main.c
--- parsedirs.o ---
gcc -O3 -pipe -fstack-protector -DPKGTOOLS_PATH=\"/usr/pkg/sbin\" -Wno-format -fno-builtin -I/usr/pkg/include/ncurses -g -I. -DPKGSRCBASE=\"/usr/pkgsrc\" -DPKGDB=\"/var/db/pkg\" -DMAKE=\"/usr/pkg/bin/bmake\" -DCONFPATH=\"/usr/pkg/etc/pkg_select.conf\" -DMIRRORS=\"/usr/pkg/share/pkg_select\" -DBGCOLOR=COLOR_BLUE -DFGCOLOR=COLOR_WHITE -Wno-format -fno-builtin  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wreturn-type -Wcast-qual -Wpointer-arith -Wwrite-strings -Wswitch -Wshadow  -I/usr/pkg/include/ncurses -c parsedirs.c
--- tools.o ---
gcc -O3 -pipe -fstack-protector -DPKGTOOLS_PATH=\"/usr/pkg/sbin\" -Wno-format -fno-builtin -I/usr/pkg/include/ncurses -g -I. -DPKGSRCBASE=\"/usr/pkgsrc\" -DPKGDB=\"/var/db/pkg\" -DMAKE=\"/usr/pkg/bin/bmake\" -DCONFPATH=\"/usr/pkg/etc/pkg_select.conf\" -DMIRRORS=\"/usr/pkg/share/pkg_select\" -DBGCOLOR=COLOR_BLUE -DFGCOLOR=COLOR_WHITE -Wno-format -fno-builtin  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wreturn-type -Wcast-qual -Wpointer-arith -Wwrite-strings -Wswitch -Wshadow  -I/usr/pkg/include/ncurses -c tools.c
--- file.o ---
gcc -O3 -pipe -fstack-protector -DPKGTOOLS_PATH=\"/usr/pkg/sbin\" -Wno-format -fno-builtin -I/usr/pkg/include/ncurses -g -I. -DPKGSRCBASE=\"/usr/pkgsrc\" -DPKGDB=\"/var/db/pkg\" -DMAKE=\"/usr/pkg/bin/bmake\" -DCONFPATH=\"/usr/pkg/etc/pkg_select.conf\" -DMIRRORS=\"/usr/pkg/share/pkg_select\" -DBGCOLOR=COLOR_BLUE -DFGCOLOR=COLOR_WHITE -Wno-format -fno-builtin  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wreturn-type -Wcast-qual -Wpointer-arith -Wwrite-strings -Wswitch -Wshadow  -I/usr/pkg/include/ncurses -c file.c
--- more.o ---
gcc -O3 -pipe -fstack-protector -DPKGTOOLS_PATH=\"/usr/pkg/sbin\" -Wno-format -fno-builtin -I/usr/pkg/include/ncurses -g -I. -DPKGSRCBASE=\"/usr/pkgsrc\" -DPKGDB=\"/var/db/pkg\" -DMAKE=\"/usr/pkg/bin/bmake\" -DCONFPATH=\"/usr/pkg/etc/pkg_select.conf\" -DMIRRORS=\"/usr/pkg/share/pkg_select\" -DBGCOLOR=COLOR_BLUE -DFGCOLOR=COLOR_WHITE -Wno-format -fno-builtin  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wreturn-type -Wcast-qual -Wpointer-arith -Wwrite-strings -Wswitch -Wshadow  -I/usr/pkg/include/ncurses -c more.c
--- main.o ---
main.c:40:9: error: expected declaration specifiers or '...' before string constant
main.c:40:1: warning: data definition has no type or storage class
main.c:40:1: warning: type defaults to 'int' in declaration of '__RCSID'
main.c:40:9: warning: function declaration isn't a prototype
*** [main.o] Error code 1

bmake: stopped in /tmp/pkgsrc/pkgtools/pkg_select/work/pkg_select-20090308
--- parsedirs.o ---
parsedirs.c: In function 'get_tree':
parsedirs.c:80:2: warning: passing argument 3 of 'scandir' from incompatible pointer type
/usr/include/dirent.h:252:12: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)'
parsedirs.c: In function 'pkgfind':
parsedirs.c:243:9: warning: passing argument 3 of 'scandir' from incompatible pointer type
/usr/include/dirent.h:252:12: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)'
parsedirs.c:261:17: warning: passing argument 3 of 'scandir' from incompatible pointer type
/usr/include/dirent.h:252:12: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)'
1 error

bmake: stopped in /tmp/pkgsrc/pkgtools/pkg_select/work/pkg_select-20090308
*** Error code 2

Stop.
bmake: stopped in /usr/pkgsrc/pkgtools/pkg_select
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/pkgtools/pkg_select