+ 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/starbug1-1.6.01nb35/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/starbug1-1.6.01nb35/work.log ===> Building for starbug1-1.6.01nb35 gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/home/pbulk/build/devel/startbug1/work/.home/usr/include -I/usr/include -I/usr/local/include -I. -DVERSION=\"1.6.01\" -DCOPYRIGHT=\"Copyright\ smeghead\ 2007\ -\ 2012\" -DINITIAL_LOCALE=\"en_US\" -DDISPLAY_REMOTE_HOST=0 -DLINK_DISABLED=0 -O3 -Wall -I/opt/pkg/include -c -o list.o list.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/home/pbulk/build/devel/startbug1/work/.home/usr/include -I/usr/include -I/usr/local/include -I. -DVERSION=\"1.6.01\" -DCOPYRIGHT=\"Copyright\ smeghead\ 2007\ -\ 2012\" -DINITIAL_LOCALE=\"en_US\" -DDISPLAY_REMOTE_HOST=0 -DLINK_DISABLED=0 -O3 -Wall -I/opt/pkg/include -c -o simple_string.o simple_string.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/home/pbulk/build/devel/startbug1/work/.home/usr/include -I/usr/include -I/usr/local/include -I. -DVERSION=\"1.6.01\" -DCOPYRIGHT=\"Copyright\ smeghead\ 2007\ -\ 2012\" -DINITIAL_LOCALE=\"en_US\" -DDISPLAY_REMOTE_HOST=0 -DLINK_DISABLED=0 -O3 -Wall -I/opt/pkg/include -c -o data.o data.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/home/pbulk/build/devel/startbug1/work/.home/usr/include -I/usr/include -I/usr/local/include -I. -DVERSION=\"1.6.01\" -DCOPYRIGHT=\"Copyright\ smeghead\ 2007\ -\ 2012\" -DINITIAL_LOCALE=\"en_US\" -DDISPLAY_REMOTE_HOST=0 -DLINK_DISABLED=0 -O3 -Wall -I/opt/pkg/include -c -o dbutil.o dbutil.c dbutil.c: In function 'db_finish': dbutil.c:71:9: warning: variable 'ret' set but not used [-Wunused-but-set-variable] 71 | int ret; | ^~~ gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/home/pbulk/build/devel/startbug1/work/.home/usr/include -I/usr/include -I/usr/local/include -I. -DVERSION=\"1.6.01\" -DCOPYRIGHT=\"Copyright\ smeghead\ 2007\ -\ 2012\" -DINITIAL_LOCALE=\"en_US\" -DDISPLAY_REMOTE_HOST=0 -DLINK_DISABLED=0 -O3 -Wall -I/opt/pkg/include -c -o db_project.o db_project.c db_project.c: In function 'db_register_ticket': db_project.c:308:19: warning: variable 'ctype' set but not used [-Wunused-but-set-variable] 308 | char* ctype; | ^~~~~ db_project.c: In function 'set_tickets_number_sum': db_project.c:497:13: warning: variable 'n' set but not used [-Wunused-but-set-variable] 497 | int n, r; | ^ db_project.c: In function 'db_search_tickets_4_report': db_project.c:646:12: warning: variable 'n' set but not used [-Wunused-but-set-variable] 646 | int r, n; | ^ gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/home/pbulk/build/devel/startbug1/work/.home/usr/include -I/usr/include -I/usr/local/include -I. -DVERSION=\"1.6.01\" -DCOPYRIGHT=\"Copyright\ smeghead\ 2007\ -\ 2012\" -DINITIAL_LOCALE=\"en_US\" -DDISPLAY_REMOTE_HOST=0 -DLINK_DISABLED=0 -O3 -Wall -I/opt/pkg/include -c -o db_top.o db_top.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/home/pbulk/build/devel/startbug1/work/.home/usr/include -I/usr/include -I/usr/local/include -I. -DVERSION=\"1.6.01\" -DCOPYRIGHT=\"Copyright\ smeghead\ 2007\ -\ 2012\" -DINITIAL_LOCALE=\"en_US\" -DDISPLAY_REMOTE_HOST=0 -DLINK_DISABLED=0 -O3 -Wall -I/opt/pkg/include -c -o hook.o hook.c db_project.c: In function 'get_search_sql_string': db_project.c:406:37: warning: '%s' directive writing up to 1023 bytes into a region of size 1022 [-Wformat-overflow=] 406 | sprintf(val, " (%s <= ?) ", name); | ^~ ~~~~ db_project.c:406:21: note: 'sprintf' output between 10 and 1033 bytes into a destination of size 1024 406 | sprintf(val, " (%s <= ?) ", name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db_project.c:409:37: warning: '%s' directive writing up to 1023 bytes into a region of size 1022 [-Wformat-overflow=] 409 | sprintf(val, " (%s >= datetime(current_timestamp, 'utc', '-%s days', 'localtime')) ", | ^~ 410 | name, | ~~~~ db_project.c:409:21: note: 'sprintf' output 66 or more bytes (assuming 1089) into a destination of size 1024 409 | sprintf(val, " (%s >= datetime(current_timestamp, 'utc', '-%s days', 'localtime')) ", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 410 | name, | ~~~~~ 411 | get_condition_valid_value(cond)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db_project.c:403:37: warning: '%s' directive writing up to 1023 bytes into a region of size 1022 [-Wformat-overflow=] 403 | sprintf(val, " (%s >= ?) ", name); | ^~ ~~~~ db_project.c:403:21: note: 'sprintf' output between 10 and 1033 bytes into a destination of size 1024 403 | sprintf(val, " (%s >= ?) ", name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db_project.c:438:39: warning: '%s' directive writing up to 1023 bytes into a region of size 1019 [-Wformat-overflow=] 438 | sprintf(column, "t.id %s, ", sort_type); | ^~ ~~~~~~~~~ db_project.c:438:17: note: 'sprintf' output between 8 and 1031 bytes into a destination of size 1024 438 | sprintf(column, "t.id %s, ", sort_type); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db_project.c:447:48: warning: '%s' directive writing up to 1023 bytes into a region of size 1011 [-Wformat-overflow=] 447 | sprintf(column, "org_m.field%d %s, ", sort->element_type_id, sort_type); | ^~ ~~~~~~~~~ db_project.c:447:17: note: 'sprintf' output between 16 and 1039 bytes into a destination of size 1024 447 | sprintf(column, "org_m.field%d %s, ", sort->element_type_id, sort_type); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db_project.c:444:49: warning: '%s' directive writing up to 1023 bytes into a region of size 1009 [-Wformat-overflow=] 444 | sprintf(column, "m.registerdate %s, ", sort_type); | ^~ ~~~~~~~~~ db_project.c:444:17: note: 'sprintf' output between 18 and 1041 bytes into a destination of size 1024 444 | sprintf(column, "m.registerdate %s, ", sort_type); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db_project.c:441:49: warning: '%s' directive writing up to 1023 bytes into a region of size 1009 [-Wformat-overflow=] 441 | sprintf(column, "t.registerdate %s, ", sort_type); | ^~ ~~~~~~~~~ db_project.c:441:17: note: 'sprintf' output between 18 and 1041 bytes into a destination of size 1024 441 | sprintf(column, "t.registerdate %s, ", sort_type); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db_project.c:450:44: warning: '%s' directive writing up to 1023 bytes into a region of size between 1005 and 1015 [-Wformat-overflow=] 450 | sprintf(column, "m.field%d %s, ", sort->element_type_id, sort_type); | ^~ ~~~~~~~~~ db_project.c:450:17: note: 'sprintf' output between 12 and 1045 bytes into a destination of size 1024 450 | sprintf(column, "m.field%d %s, ", sort->element_type_id, sort_type); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/home/pbulk/build/devel/startbug1/work/.home/usr/include -I/usr/include -I/usr/local/include -I. -DVERSION=\"1.6.01\" -DCOPYRIGHT=\"Copyright\ smeghead\ 2007\ -\ 2012\" -DINITIAL_LOCALE=\"en_US\" -DDISPLAY_REMOTE_HOST=0 -DLINK_DISABLED=0 -O3 -Wall -I/opt/pkg/include -c -o alloc.o alloc.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/home/pbulk/build/devel/startbug1/work/.home/usr/include -I/usr/include -I/usr/local/include -I. -DVERSION=\"1.6.01\" -DCOPYRIGHT=\"Copyright\ smeghead\ 2007\ -\ 2012\" -DINITIAL_LOCALE=\"en_US\" -DDISPLAY_REMOTE_HOST=0 -DLINK_DISABLED=0 -O3 -Wall -I/opt/pkg/include -c -o conv.o conv.c In function 'create_hook_project', inlined from 'exec_hook' at hook.c:136:22: hook.c:102:5: warning: 'strncpy' output may be truncated copying 1023 bytes from a string of length 1023 [-Wstringop-truncation] 102 | strncpy(hook_message->project_id, g_project_code, DEFAULT_LENGTH - 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hook.c: In function 'exec_hook': hook.c:155:36: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] 155 | sprintf(dlpath, "%s%s%s", get_script_dir(script_dir), PATH_SEPERATOR, hook_command); | ^ hook.c:155:13: note: 'sprintf' output 2 or more bytes (assuming 1025) into a destination of size 1024 155 | sprintf(dlpath, "%s%s%s", get_script_dir(script_dir), PATH_SEPERATOR, hook_command); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/home/pbulk/build/devel/startbug1/work/.home/usr/include -I/usr/include -I/usr/local/include -I. -DVERSION=\"1.6.01\" -DCOPYRIGHT=\"Copyright\ smeghead\ 2007\ -\ 2012\" -DINITIAL_LOCALE=\"en_US\" -DDISPLAY_REMOTE_HOST=0 -DLINK_DISABLED=0 -O3 -Wall -I/opt/pkg/include -c -o util.o util.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/home/pbulk/build/devel/startbug1/work/.home/usr/include -I/usr/include -I/usr/local/include -I. -DVERSION=\"1.6.01\" -DCOPYRIGHT=\"Copyright\ smeghead\ 2007\ -\ 2012\" -DINITIAL_LOCALE=\"en_US\" -DDISPLAY_REMOTE_HOST=0 -DLINK_DISABLED=0 -O3 -Wall -I/opt/pkg/include -c -o wiki.o wiki.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/home/pbulk/build/devel/startbug1/work/.home/usr/include -I/usr/include -I/usr/local/include -I. -DVERSION=\"1.6.01\" -DCOPYRIGHT=\"Copyright\ smeghead\ 2007\ -\ 2012\" -DINITIAL_LOCALE=\"en_US\" -DDISPLAY_REMOTE_HOST=0 -DLINK_DISABLED=0 -O3 -Wall -I/opt/pkg/include -c -o csv.o csv.c util.c: In function 'get_base_url': util.c:720:26: warning: comparison between pointer and zero character constant [-Wpointer-compare] 720 | bool is_ssl = (https == '\0') ? false : true; | ^~ util.c:720:20: note: did you mean to dereference the pointer? 720 | bool is_ssl = (https == '\0') ? false : true; | ^ util.c: In function 'set_locale': util.c:839:15: error: passing argument 1 of 'setlocale' makes integer from pointer without a cast [-Wint-conversion] 839 | setlocale("LC_ALL", locale_utf8); | ^~~~~~~~ | | | char * In file included from /usr/include/locale.h:41, from /home/pbulk/build/devel/startbug1/work/.buildlink/include/libintl.h:20, from util.h:5, from util.c:10: /usr/include/iso/locale_iso.h:104:28: note: expected 'int' but argument is of type 'char *' 104 | extern char *setlocale(int, const char *); | ^~~ gmake: *** [: util.o] Error 1 gmake: *** Waiting for unfinished jobs.... db_project.c: In function 'db_get_burndownchart': db_project.c:1516:41: warning: '%02d' directive writing between 2 and 11 bytes into a region of size between 0 and 16 [-Wformat-overflow=] 1516 | sprintf(date_string, "%04d-%02d-%02d 23:59:59", date.tm_year + 1900, date.tm_mon + 1, date.tm_mday); | ^~~~ db_project.c:1516:9: note: 'sprintf' output between 20 and 45 bytes into a destination of size 24 1516 | sprintf(date_string, "%04d-%02d-%02d 23:59:59", date.tm_year + 1900, date.tm_mon + 1, date.tm_mday); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/startbug1 *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/startbug1