+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/pkg_select-20090308nb8/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/pkg_select-20090308nb8/work.log ===> Building for pkg_select-20090308nb8 --- main.o --- --- parsedirs.o --- --- tools.o --- --- file.o --- --- main.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DPKGTOOLS_PATH=\"/opt/pkg/sbin\" -I/opt/pkg/include/ncurses -g -I. -DPKGSRCBASE=\"/data/jenkins/workspace/pkgsrc-upstream-trunk\" -DPKGDB=\"/var/opt/pkg/.pkgdb\" -DMAKE=\"/opt/pkg/bin/bmake\" -DCONFPATH=\"/etc/opt/pkg/pkg_select.conf\" -DMIRRORS=\"/opt/pkg/share/pkg_select\" -DBGCOLOR=COLOR_BLUE -DFGCOLOR=COLOR_WHITE -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wreturn-type -Wcast-qual -Wpointer-arith -Wwrite-strings -Wswitch -Wshadow -DHAVE_NBCOMPAT_H=1 -I/home/pbulk/build/pkgtools/pkg_select/work/libnbcompat -I/opt/pkg/include/ncurses -c main.c --- parsedirs.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DPKGTOOLS_PATH=\"/opt/pkg/sbin\" -I/opt/pkg/include/ncurses -g -I. -DPKGSRCBASE=\"/data/jenkins/workspace/pkgsrc-upstream-trunk\" -DPKGDB=\"/var/opt/pkg/.pkgdb\" -DMAKE=\"/opt/pkg/bin/bmake\" -DCONFPATH=\"/etc/opt/pkg/pkg_select.conf\" -DMIRRORS=\"/opt/pkg/share/pkg_select\" -DBGCOLOR=COLOR_BLUE -DFGCOLOR=COLOR_WHITE -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wreturn-type -Wcast-qual -Wpointer-arith -Wwrite-strings -Wswitch -Wshadow -DHAVE_NBCOMPAT_H=1 -I/home/pbulk/build/pkgtools/pkg_select/work/libnbcompat -I/opt/pkg/include/ncurses -c parsedirs.c --- tools.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DPKGTOOLS_PATH=\"/opt/pkg/sbin\" -I/opt/pkg/include/ncurses -g -I. -DPKGSRCBASE=\"/data/jenkins/workspace/pkgsrc-upstream-trunk\" -DPKGDB=\"/var/opt/pkg/.pkgdb\" -DMAKE=\"/opt/pkg/bin/bmake\" -DCONFPATH=\"/etc/opt/pkg/pkg_select.conf\" -DMIRRORS=\"/opt/pkg/share/pkg_select\" -DBGCOLOR=COLOR_BLUE -DFGCOLOR=COLOR_WHITE -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wreturn-type -Wcast-qual -Wpointer-arith -Wwrite-strings -Wswitch -Wshadow -DHAVE_NBCOMPAT_H=1 -I/home/pbulk/build/pkgtools/pkg_select/work/libnbcompat -I/opt/pkg/include/ncurses -c tools.c --- file.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DPKGTOOLS_PATH=\"/opt/pkg/sbin\" -I/opt/pkg/include/ncurses -g -I. -DPKGSRCBASE=\"/data/jenkins/workspace/pkgsrc-upstream-trunk\" -DPKGDB=\"/var/opt/pkg/.pkgdb\" -DMAKE=\"/opt/pkg/bin/bmake\" -DCONFPATH=\"/etc/opt/pkg/pkg_select.conf\" -DMIRRORS=\"/opt/pkg/share/pkg_select\" -DBGCOLOR=COLOR_BLUE -DFGCOLOR=COLOR_WHITE -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wreturn-type -Wcast-qual -Wpointer-arith -Wwrite-strings -Wswitch -Wshadow -DHAVE_NBCOMPAT_H=1 -I/home/pbulk/build/pkgtools/pkg_select/work/libnbcompat -I/opt/pkg/include/ncurses -c file.c --- parsedirs.o --- In file included from pkg_select.h:44, from parsedirs.c:35: curses_helpers.h:45:13: error: conflicting types for 'exit_curses'; have 'void(void)' 45 | extern void exit_curses(void); | ^~~~~~~~~~~ In file included from pkg_select.h:38: /home/pbulk/build/pkgtools/pkg_select/work/.buildlink/include/ncurses/curses.h:2123:42: note: previous declaration of 'exit_curses' with type 'void(int)' 2123 | extern GCC_NORETURN NCURSES_EXPORT(void) exit_curses (int); | ^~~~~~~~~~~ --- main.o --- In file included from pkg_select.h:44, from main.c:47: curses_helpers.h:45:13: error: conflicting types for 'exit_curses'; have 'void(void)' 45 | extern void exit_curses(void); | ^~~~~~~~~~~ In file included from pkg_select.h:38: /home/pbulk/build/pkgtools/pkg_select/work/.buildlink/include/ncurses/curses.h:2123:42: note: previous declaration of 'exit_curses' with type 'void(int)' 2123 | extern GCC_NORETURN NCURSES_EXPORT(void) exit_curses (int); | ^~~~~~~~~~~ main.c: In function 'nodir_loop': main.c:277:37: warning: comparison between pointer and zero character constant [-Wpointer-compare] 277 | if (list != NULL && list[0] != '\0') { | ^~ main.c:277:29: note: did you mean to dereference the pointer? 277 | if (list != NULL && list[0] != '\0') { | ^ --- parsedirs.o --- parsedirs.c: In function 'get_tree': parsedirs.c:80:44: warning: passing argument 3 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] 80 | if ((count = scandir(path, &dlist, checkskip, alphasort)) < 0) | ^~~~~~~~~ | | | int (*)(struct dirent *) In file included from pkg_select.h:39: /usr/include/dirent.h:106:33: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' 106 | int (*)(const struct dirent *), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parsedirs.c: In function 'pkgfind': parsedirs.c:243:41: warning: passing argument 3 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] 243 | if ((ncat = scandir(path, &cat, checkskip, alphasort)) < 0) | ^~~~~~~~~ | | | int (*)(struct dirent *) /usr/include/dirent.h:106:33: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' 106 | int (*)(const struct dirent *), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parsedirs.c:261:50: warning: passing argument 3 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] 261 | if ((nlist = scandir(tmp, &list, checkskip, alphasort)) < 0) { | ^~~~~~~~~ | | | int (*)(struct dirent *) /usr/include/dirent.h:106:33: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' 106 | int (*)(const struct dirent *), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ *** [parsedirs.o] Error code 1 bmake: stopped making "all" in /home/pbulk/build/pkgtools/pkg_select/work/pkg_select-20090308 --- main.o --- *** [main.o] Error code 1 bmake: stopped making "all" in /home/pbulk/build/pkgtools/pkg_select/work/pkg_select-20090308 --- tools.o --- tools.c: In function 'tcpclient': tools.c:155:9: warning: implicit declaration of function 'bzero' [-Wimplicit-function-declaration] 155 | bzero(&sa, sizeof sa); | ^~~~~ tools.c:155:9: warning: incompatible implicit declaration of built-in function 'bzero' [-Wbuiltin-declaration-mismatch] tools.c:165:9: warning: implicit declaration of function 'bcopy' [-Wimplicit-function-declaration] 165 | bcopy(he->h_addr_list[0],&sa.sin_addr, he->h_length); | ^~~~~ tools.c:165:9: warning: incompatible implicit declaration of built-in function 'bcopy' [-Wbuiltin-declaration-mismatch] tools.c: In function 'strreplace': tools.c:208:25: warning: 'strncat' specified bound depends on the length of the source argument [-Wstringop-overflow=] 208 | strncat(buf, to, tolen); | ^~~~~~~~~~~~~~~~~~~~~~~ tools.c:204:17: note: length computed here 204 | tolen = strlen(to) + 1; | ^~~~~~~~~~ bmake: 2 errors bmake: stopped making "all" in /home/pbulk/build/pkgtools/pkg_select/work/pkg_select-20090308 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/pkgtools/pkg_select *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/pkgtools/pkg_select