+ 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/pkg_select-20090308nb8/work.log + su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/pkg_select-20090308nb8/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for pkg_select-20090308nb8 --- main.o --- --- parsedirs.o --- --- main.o --- cc -pipe -O2 -D_FORTIFY_SOURCE=2 -DPKGTOOLS_PATH=\"/usr/pkg/sbin\" -I/usr/pkg/include/ncurses -g -I. -DPKGSRCBASE=\"/data/jenkins/workspace/pkgsrc-el7-trunk-x86_64\" -DPKGDB=\"/usr/pkg/.pkgdb\" -DMAKE=\"/usr/pkg/bin/bmake\" -DCONFPATH=\"/usr/pkg/etc/pkg_select.conf\" -DMIRRORS=\"/usr/pkg/share/pkg_select\" -DBGCOLOR=COLOR_BLUE -DFGCOLOR=COLOR_WHITE -I/usr/pkg/include/ncurses -c main.c --- parsedirs.o --- cc -pipe -O2 -D_FORTIFY_SOURCE=2 -DPKGTOOLS_PATH=\"/usr/pkg/sbin\" -I/usr/pkg/include/ncurses -g -I. -DPKGSRCBASE=\"/data/jenkins/workspace/pkgsrc-el7-trunk-x86_64\" -DPKGDB=\"/usr/pkg/.pkgdb\" -DMAKE=\"/usr/pkg/bin/bmake\" -DCONFPATH=\"/usr/pkg/etc/pkg_select.conf\" -DMIRRORS=\"/usr/pkg/share/pkg_select\" -DBGCOLOR=COLOR_BLUE -DFGCOLOR=COLOR_WHITE -I/usr/pkg/include/ncurses -c parsedirs.c --- main.o --- main.c:40:9: error: expected declaration specifiers or '...' before string constant __RCSID("$Id: main.c,v 1.52 2009/03/07 18:42:23 imil Exp $"); ^ --- parsedirs.o --- In file included from pkg_select.h:44:0, from parsedirs.c:35: curses_helpers.h:45:13: error: conflicting types for 'exit_curses' extern void exit_curses(void); ^ In file included from pkg_select.h:38:0, from parsedirs.c:35: /home/pbulk/build/pkgtools/pkg_select/work/.buildlink/include/ncurses/curses.h:1780:42: note: previous declaration of 'exit_curses' was here extern GCC_NORETURN NCURSES_EXPORT(void) exit_curses (int); ^ parsedirs.c: In function 'get_tree': parsedirs.c:80:2: warning: passing argument 3 of 'scandir' from incompatible pointer type [enabled by default] if ((count = scandir(path, &dlist, checkskip, alphasort)) < 0) ^ In file included from pkg_select.h:39:0, from parsedirs.c:35: /usr/include/dirent.h:255:12: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' extern int scandir (const char *__restrict __dir, ^ parsedirs.c: In function 'pkgfind': parsedirs.c:243:9: warning: passing argument 3 of 'scandir' from incompatible pointer type [enabled by default] if ((ncat = scandir(path, &cat, checkskip, alphasort)) < 0) ^ In file included from pkg_select.h:39:0, from parsedirs.c:35: /usr/include/dirent.h:255:12: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' extern int scandir (const char *__restrict __dir, ^ parsedirs.c:261:17: warning: passing argument 3 of 'scandir' from incompatible pointer type [enabled by default] if ((nlist = scandir(tmp, &list, checkskip, alphasort)) < 0) { ^ In file included from pkg_select.h:39:0, from parsedirs.c:35: /usr/include/dirent.h:255:12: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' extern int scandir (const char *__restrict __dir, ^ *** [parsedirs.o] Error code 1 bmake: stopped in /home/pbulk/build/pkgtools/pkg_select/work/pkg_select-20090308 --- main.o --- In file included from pkg_select.h:44:0, from main.c:47: curses_helpers.h:45:13: error: conflicting types for 'exit_curses' extern void exit_curses(void); ^ In file included from pkg_select.h:38:0, from main.c:47: /home/pbulk/build/pkgtools/pkg_select/work/.buildlink/include/ncurses/curses.h:1780:42: note: previous declaration of 'exit_curses' was here extern GCC_NORETURN NCURSES_EXPORT(void) exit_curses (int); ^ *** [main.o] Error code 1 bmake: stopped in /home/pbulk/build/pkgtools/pkg_select/work/pkg_select-20090308 2 errors bmake: stopped in /home/pbulk/build/pkgtools/pkg_select/work/pkg_select-20090308 *** Error code 2 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/pkgtools/pkg_select *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/pkgtools/pkg_select