+ 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 -DPKGTOOLS_PATH=\"/usr/pkg/sbin\" -I/usr/pkg/include/ncurses -g -I. -DPKGSRCBASE=\"/data/jenkins/workspace/pkgsrc-el8-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 -DPKGTOOLS_PATH=\"/usr/pkg/sbin\" -I/usr/pkg/include/ncurses -g -I. -DPKGSRCBASE=\"/data/jenkins/workspace/pkgsrc-el8-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 $"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from pkg_select.h:44, 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, from main.c:47: /home/pbulk/build/pkgtools/pkg_select/work/.buildlink/include/ncurses/curses.h:2123:42: note: previous declaration of 'exit_curses' was here extern GCC_NORETURN NCURSES_EXPORT(void) exit_curses (int); ^~~~~~~~~~~ main.c: In function 'nodir_loop': main.c:277:30: warning: comparison between pointer and zero character constant [-Wpointer-compare] if (list != NULL && list[0] != '\0') { ^~ main.c:277:22: note: did you mean to dereference the pointer? if (list != NULL && list[0] != '\0') { ^ *** [main.o] Error code 1 bmake: stopped making "all" in /home/pbulk/build/pkgtools/pkg_select/work/pkg_select-20090308 --- 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' extern void exit_curses(void); ^~~~~~~~~~~ In file included from pkg_select.h:38, from parsedirs.c:35: /home/pbulk/build/pkgtools/pkg_select/work/.buildlink/include/ncurses/curses.h:2123: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:37: warning: passing argument 3 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] if ((count = scandir(path, &dlist, checkskip, alphasort)) < 0) ^~~~~~~~~ In file included from pkg_select.h:39, from parsedirs.c:35: /usr/include/dirent.h:257:13: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' int (*__selector) (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] if ((ncat = scandir(path, &cat, checkskip, alphasort)) < 0) ^~~~~~~~~ In file included from pkg_select.h:39, from parsedirs.c:35: /usr/include/dirent.h:257:13: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' int (*__selector) (const struct dirent *), ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parsedirs.c:261:50: warning: passing argument 3 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] if ((nlist = scandir(tmp, &list, checkskip, alphasort)) < 0) { ^~~~~~~~~ In file included from pkg_select.h:39, from parsedirs.c:35: /usr/include/dirent.h:257:13: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' int (*__selector) (const struct dirent *), ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ *** [parsedirs.o] Error code 1 bmake: stopped making "all" in /home/pbulk/build/pkgtools/pkg_select/work/pkg_select-20090308 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-el8-trunk-x86_64/pkgtools/pkg_select *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/pkgtools/pkg_select