+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent PGSQL_VERSION_REQD=16 WRKLOG=/tmp/bulklog/postgresql16-wal2json-2.5/work.log + su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent PGSQL_VERSION_REQD=16 WRKLOG=/tmp/bulklog/postgresql16-wal2json-2.5/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for postgresql16-wal2json-2.5 cc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -pipe -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/ncurses -DLDAP_DEPRECATED -fPIC -fvisibility=hidden -I. -I./ -I/usr/pkg/include/postgresql/server -I/usr/pkg/include/postgresql/internal -I/usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/ncurses -DLDAP_DEPRECATED -D_GNU_SOURCE -I/usr/pkg/include/libxml2 -I/usr/pkg/include -c -o wal2json.o wal2json.c In file included from /home/pbulk/build/databases/postgresql-wal2json/work/.buildlink/include/postgresql/server/access/tupdesc.h:19:0, from /home/pbulk/build/databases/postgresql-wal2json/work/.buildlink/include/postgresql/server/utils/relcache.h:17, from /home/pbulk/build/databases/postgresql-wal2json/work/.buildlink/include/postgresql/server/access/genam.h:21, from wal2json.c:15: wal2json.c: In function 'pg_decode_startup': /home/pbulk/build/databases/postgresql-wal2json/work/.buildlink/include/postgresql/server/nodes/pg_list.h:374:2: error: 'for' loop initial declarations are only allowed in C99 mode for (ForEachState cell##__state = {(lst), 0}; \ ^ wal2json.c:309:2: note: in expansion of macro 'foreach' foreach(option, ctx->output_plugin_options) ^ /home/pbulk/build/databases/postgresql-wal2json/work/.buildlink/include/postgresql/server/nodes/pg_list.h:374:2: note: use option -std=c99 or -std=gnu99 to compile your code for (ForEachState cell##__state = {(lst), 0}; \ ^ wal2json.c:309:2: note: in expansion of macro 'foreach' foreach(option, ctx->output_plugin_options) ^ /home/pbulk/build/databases/postgresql-wal2json/work/.buildlink/include/postgresql/server/nodes/pg_list.h:374:2: error: 'for' loop initial declarations are only allowed in C99 mode for (ForEachState cell##__state = {(lst), 0}; \ ^ wal2json.c:564:5: note: in expansion of macro 'foreach' foreach(lc, selected_actions) ^ wal2json.c: In function 'pg_filter_by_table': /home/pbulk/build/databases/postgresql-wal2json/work/.buildlink/include/postgresql/server/nodes/pg_list.h:374:2: error: 'for' loop initial declarations are only allowed in C99 mode for (ForEachState cell##__state = {(lst), 0}; \ ^ wal2json.c:1546:3: note: in expansion of macro 'foreach' foreach(lc, filter_tables) ^ wal2json.c: In function 'pg_add_by_table': /home/pbulk/build/databases/postgresql-wal2json/work/.buildlink/include/postgresql/server/nodes/pg_list.h:374:2: error: 'for' loop initial declarations are only allowed in C99 mode for (ForEachState cell##__state = {(lst), 0}; \ ^ wal2json.c:1574:3: note: in expansion of macro 'foreach' foreach(lc, add_tables) ^ wal2json.c: In function 'pg_decode_message': /home/pbulk/build/databases/postgresql-wal2json/work/.buildlink/include/postgresql/server/nodes/pg_list.h:374:2: error: 'for' loop initial declarations are only allowed in C99 mode for (ForEachState cell##__state = {(lst), 0}; \ ^ wal2json.c:2403:3: note: in expansion of macro 'foreach' foreach(lc, data->filter_msg_prefixes) ^ /home/pbulk/build/databases/postgresql-wal2json/work/.buildlink/include/postgresql/server/nodes/pg_list.h:374:2: error: 'for' loop initial declarations are only allowed in C99 mode for (ForEachState cell##__state = {(lst), 0}; \ ^ wal2json.c:2421:3: note: in expansion of macro 'foreach' foreach(lc, data->add_msg_prefixes) ^ wal2json.c: In function 'parse_table_identifier': /home/pbulk/build/databases/postgresql-wal2json/work/.buildlink/include/postgresql/server/nodes/pg_list.h:374:2: error: 'for' loop initial declarations are only allowed in C99 mode for (ForEachState cell##__state = {(lst), 0}; \ ^ wal2json.c:2800:2: note: in expansion of macro 'foreach' foreach(lc, qualified_tables) ^ make: *** [wal2json.o] Error 1 *** Error code 2 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/databases/postgresql-wal2json *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/databases/postgresql-wal2json