+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent PGSQL_VERSION_REQD=16 WRKLOG=/tmp/bulklog/slony1-2.2.11/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent PGSQL_VERSION_REQD=16 WRKLOG=/tmp/bulklog/slony1-2.2.11/work.log ===> Building for slony1-2.2.11 gmake[1]: Entering directory '/home/pbulk/build/databases/slony1/work/slony1-2.2.11/src' gmake[2]: Entering directory '/home/pbulk/build/databases/slony1/work/slony1-2.2.11/src/parsestatements' gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -Wall -Wmissing-prototypes -Wmissing-declarations -fno-common -I/opt/pkg/include -I/opt/pkg/include/postgresql -c -o test-scanner.o test-scanner.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -Wall -Wmissing-prototypes -Wmissing-declarations -fno-common -I/opt/pkg/include -I/opt/pkg/include/postgresql -c -o scanner.o scanner.c gcc -I/opt/pkg/include -I/opt/pkg/include/postgresql -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -Wall -Wmissing-prototypes -Wmissing-declarations -fno-common -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -lnsl -lsocket -lintl -liconv -L/opt/pkg/lib -lpq -lsocket -R/opt/pkg/lib -o test-scanner test-scanner.c scanner.o ./test-scanner < /dev/null > emptytestresult.log ./test-scanner < ./test_sql.sql > test_sql.log ./test-scanner < ./cstylecomments.sql > cstylecomments.log gmake[2]: Leaving directory '/home/pbulk/build/databases/slony1/work/slony1-2.2.11/src/parsestatements' gmake[2]: Entering directory '/home/pbulk/build/databases/slony1/work/slony1-2.2.11/src/slon' gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -Wall -Wmissing-prototypes -Wmissing-declarations -fno-common -D_REENTRANT -pthread -I../.. -I../../src/slon -I/opt/pkg/include -I/opt/pkg/include/postgresql -c -o slon.o slon.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -Wall -Wmissing-prototypes -Wmissing-declarations -fno-common -D_REENTRANT -pthread -I../.. -I../../src/slon -I/opt/pkg/include -I/opt/pkg/include/postgresql -c -o runtime_config.o runtime_config.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -Wall -Wmissing-prototypes -Wmissing-declarations -fno-common -D_REENTRANT -pthread -I../.. -I../../src/slon -I/opt/pkg/include -I/opt/pkg/include/postgresql -c -o local_listen.o local_listen.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -Wall -Wmissing-prototypes -Wmissing-declarations -fno-common -D_REENTRANT -pthread -I../.. -I../../src/slon -I/opt/pkg/include -I/opt/pkg/include/postgresql -c -o remote_listen.o remote_listen.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -Wall -Wmissing-prototypes -Wmissing-declarations -fno-common -D_REENTRANT -pthread -I../.. -I../../src/slon -I/opt/pkg/include -I/opt/pkg/include/postgresql -c -o remote_worker.o remote_worker.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -Wall -Wmissing-prototypes -Wmissing-declarations -fno-common -D_REENTRANT -pthread -I../.. -I../../src/slon -I/opt/pkg/include -I/opt/pkg/include/postgresql -c -o sync_thread.o sync_thread.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -Wall -Wmissing-prototypes -Wmissing-declarations -fno-common -D_REENTRANT -pthread -I../.. -I../../src/slon -I/opt/pkg/include -I/opt/pkg/include/postgresql -c -o monitor_thread.o monitor_thread.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -Wall -Wmissing-prototypes -Wmissing-declarations -fno-common -D_REENTRANT -pthread -I../.. -I../../src/slon -I/opt/pkg/include -I/opt/pkg/include/postgresql -c -o cleanup_thread.o cleanup_thread.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -Wall -Wmissing-prototypes -Wmissing-declarations -fno-common -D_REENTRANT -pthread -I../.. -I../../src/slon -I/opt/pkg/include -I/opt/pkg/include/postgresql -c -o scheduler.o scheduler.c monitor_thread.c: In function 'monitor_state.part.0': monitor_thread.c:341:25: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 341 | strncpy(ns, actor, len); | ^~~~~~~~~~~~~~~~~~~~~~~ monitor_thread.c:337:23: note: length computed here 337 | len = strlen(actor); | ^~~~~~~~~~~~~ monitor_thread.c:362:25: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 362 | strncpy(ns, activity, len); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ monitor_thread.c:358:23: note: length computed here 358 | len = strlen(activity); | ^~~~~~~~~~~~~~~~ monitor_thread.c:383:25: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 383 | strncpy(ns, event_type, len); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ monitor_thread.c:379:23: note: length computed here 379 | len = strlen(event_type); | ^~~~~~~~~~~~~~~~~~ gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -Wall -Wmissing-prototypes -Wmissing-declarations -fno-common -D_REENTRANT -pthread -I../.. -I../../src/slon -I/opt/pkg/include -I/opt/pkg/include/postgresql -c -o dbutils.o dbutils.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -Wall -Wmissing-prototypes -Wmissing-declarations -fno-common -D_REENTRANT -pthread -I../.. -I../../src/slon -I/opt/pkg/include -I/opt/pkg/include/postgresql -c -o conf-file.o conf-file.c conf-file.l: In function 'ProcessConfigFile': conf-file.l:272:9: warning: label 'cleanup_exit' defined but not used [-Wunused-label] 272 | cleanup_exit: | ^~~~~~~~~~~~ conf-file.c: At top level: conf-file.c:1213:16: warning: 'input' defined but not used [-Wunused-function] 1213 | static int input (void) | ^~~~~ gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -Wall -Wmissing-prototypes -Wmissing-declarations -fno-common -D_REENTRANT -pthread -I../.. -I../../src/slon -I/opt/pkg/include -I/opt/pkg/include/postgresql -c -o confoptions.o confoptions.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -Wall -Wmissing-prototypes -Wmissing-declarations -fno-common -D_REENTRANT -pthread -I../.. -I../../src/slon -I/opt/pkg/include -I/opt/pkg/include/postgresql -c -o misc.o misc.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -Wall -Wmissing-prototypes -Wmissing-declarations -fno-common -D_REENTRANT -pthread -I../.. -I../../src/slon -o slon slon.o runtime_config.o local_listen.o remote_listen.o remote_worker.o sync_thread.o monitor_thread.o cleanup_thread.o scheduler.o dbutils.o conf-file.o confoptions.o misc.o ../parsestatements/scanner.o -D_REENTRANT -pthread -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -lnsl -lsocket -lintl -liconv -L/opt/pkg/lib -lpq -lsocket -R/opt/pkg/lib gmake[2]: Leaving directory '/home/pbulk/build/databases/slony1/work/slony1-2.2.11/src/slon' gmake[2]: Entering directory '/home/pbulk/build/databases/slony1/work/slony1-2.2.11/src/slonik' gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -Wall -Wmissing-prototypes -Wmissing-declarations -fno-common -I../.. -DPGSHARE="\"/opt/pkg/share/postgresql\"" -I/opt/pkg/include -I/opt/pkg/include/postgresql -c -o slonik.o slonik.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -Wall -Wmissing-prototypes -Wmissing-declarations -fno-common -I../.. -DPGSHARE="\"/opt/pkg/share/postgresql\"" -I/opt/pkg/include -I/opt/pkg/include/postgresql -c -o dbutil.o dbutil.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -Wall -Wmissing-prototypes -Wmissing-declarations -fno-common -I../.. -DPGSHARE="\"/opt/pkg/share/postgresql\"" -I/opt/pkg/include -I/opt/pkg/include/postgresql -c -o parser.o parser.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -Wall -Wmissing-prototypes -Wmissing-declarations -fno-common -I../.. -DPGSHARE="\"/opt/pkg/share/postgresql\"" -I/opt/pkg/include -I/opt/pkg/include/postgresql -c -o scan.o scan.c scan.c:2061:16: warning: 'input' defined but not used [-Wunused-function] 2061 | static int input (void) | ^~~~~ slonik.c: In function 'slonik_wait_config_caughtup': slonik.c:6150:9: warning: 'memset' writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 6150 | memset(last_event_array, 0, sizeof(node_list_size * sizeof(int64) * 2)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ slonik.c:6149:28: note: destination object of size 0 allocated by 'malloc' 6149 | last_event_array = malloc(node_list_size * sizeof(int64) * 2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -Wall -Wmissing-prototypes -Wmissing-declarations -fno-common -I../.. -DPGSHARE="\"/opt/pkg/share/postgresql\"" slonik.o dbutil.o parser.o ../parsestatements/scanner.o scan.o -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -lnsl -lsocket -lintl -liconv -L/opt/pkg/lib -lpq -lsocket -R/opt/pkg/lib -o slonik gmake[2]: Leaving directory '/home/pbulk/build/databases/slony1/work/slony1-2.2.11/src/slonik' gmake[2]: Entering directory '/home/pbulk/build/databases/slony1/work/slony1-2.2.11/src/backend' cp ../misc/avl_tree.c avl_tree.c cp ../misc/avl_tree.h avl_tree.h gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -Wall -Wmissing-prototypes -Wmissing-declarations -fno-common -I../.. -fPIC -I/opt/pkg/include -I/opt/pkg/include/postgresql/server -I. -c -o slony1_funcs.o slony1_funcs.c In file included from /home/pbulk/build/databases/slony1/work/.buildlink/include/postgresql/server/postgres.h:46, from slony1_funcs.c:13: slony1_funcs.c: In function 'getClusterStatus': slony1_funcs.c:2515:100: error: passing argument 1 of 'DatumGetCString' makes integer from pointer without a cast [-Wint-conversion] 2515 | elog(ERROR, "Slony-I: Node is uninitialized - cluster %s", DatumGetCString(cluster_name)); | ^~~~~~~~~~~~ | | | Name {aka struct nameData *} /home/pbulk/build/databases/slony1/work/.buildlink/include/postgresql/server/utils/elog.h:147:25: note: in definition of macro 'ereport_domain' 147 | __VA_ARGS__, errfinish(__FILE__, __LINE__, __func__); \ | ^~~~~~~~~~~ /home/pbulk/build/databases/slony1/work/.buildlink/include/postgresql/server/utils/elog.h:240:9: note: in expansion of macro 'ereport' 240 | ereport(elevel, errmsg_internal(__VA_ARGS__)) | ^~~~~~~ slony1_funcs.c:2515:25: note: in expansion of macro 'elog' 2515 | elog(ERROR, "Slony-I: Node is uninitialized - cluster %s", DatumGetCString(cluster_name)); | ^~~~ /home/pbulk/build/databases/slony1/work/.buildlink/include/postgresql/server/postgres.h:335:23: note: expected 'Datum' {aka 'long unsigned int'} but argument is of type 'Name' {aka 'struct nameData *'} 335 | DatumGetCString(Datum X) | ~~~~~~^ gmake[2]: *** [/home/pbulk/build/databases/slony1/work/slony1-2.2.11/Makefile.port:21: slony1_funcs.o] Error 1 gmake[2]: Leaving directory '/home/pbulk/build/databases/slony1/work/slony1-2.2.11/src/backend' gmake[1]: *** [Makefile:23: all] Error 2 gmake[1]: Leaving directory '/home/pbulk/build/databases/slony1/work/slony1-2.2.11/src' gmake: *** [GNUmakefile:42: all] Error 2 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/databases/slony1 *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/databases/slony1