=> Bootstrap dependency digest>=20211023: found digest-20220214 ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for slony1-2.2.11 gmake[1]: Entering directory '/pbulk/work/databases/slony1/work/slony1-2.2.11/src' gmake[2]: Entering directory '/pbulk/work/databases/slony1/work/slony1-2.2.11/src/parsestatements' gcc -O2 -I/usr/pkg/include -I/usr/include -Dz_off_t=long -Wall -Wmissing-prototypes -Wmissing-declarations -fno-common -I/usr/pkg/include -I/usr/include -Dz_off_t=long -I/usr/pkg/include/postgresql -c -o test-scanner.o test-scanner.c gcc -O2 -I/usr/pkg/include -I/usr/include -Dz_off_t=long -Wall -Wmissing-prototypes -Wmissing-declarations -fno-common -I/usr/pkg/include -I/usr/include -Dz_off_t=long -I/usr/pkg/include/postgresql -c -o scanner.o scanner.c gcc -I/usr/pkg/include -I/usr/include -Dz_off_t=long -I/usr/pkg/include/postgresql -O2 -I/usr/pkg/include -I/usr/include -Dz_off_t=long -Wall -Wmissing-prototypes -Wmissing-declarations -fno-common -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -lpq -Wl,-R/usr/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 '/pbulk/work/databases/slony1/work/slony1-2.2.11/src/parsestatements' gmake[2]: Entering directory '/pbulk/work/databases/slony1/work/slony1-2.2.11/src/slon' gcc -O2 -I/usr/pkg/include -I/usr/include -Dz_off_t=long -Wall -Wmissing-prototypes -Wmissing-declarations -fno-common -pthread -I../.. -I../../src/slon -I/usr/pkg/include -I/usr/include -Dz_off_t=long -I/usr/pkg/include/postgresql -c -o slon.o slon.c gcc -O2 -I/usr/pkg/include -I/usr/include -Dz_off_t=long -Wall -Wmissing-prototypes -Wmissing-declarations -fno-common -pthread -I../.. -I../../src/slon -I/usr/pkg/include -I/usr/include -Dz_off_t=long -I/usr/pkg/include/postgresql -c -o runtime_config.o runtime_config.c gcc -O2 -I/usr/pkg/include -I/usr/include -Dz_off_t=long -Wall -Wmissing-prototypes -Wmissing-declarations -fno-common -pthread -I../.. -I../../src/slon -I/usr/pkg/include -I/usr/include -Dz_off_t=long -I/usr/pkg/include/postgresql -c -o local_listen.o local_listen.c gcc -O2 -I/usr/pkg/include -I/usr/include -Dz_off_t=long -Wall -Wmissing-prototypes -Wmissing-declarations -fno-common -pthread -I../.. -I../../src/slon -I/usr/pkg/include -I/usr/include -Dz_off_t=long -I/usr/pkg/include/postgresql -c -o remote_listen.o remote_listen.c gcc -O2 -I/usr/pkg/include -I/usr/include -Dz_off_t=long -Wall -Wmissing-prototypes -Wmissing-declarations -fno-common -pthread -I../.. -I../../src/slon -I/usr/pkg/include -I/usr/include -Dz_off_t=long -I/usr/pkg/include/postgresql -c -o remote_worker.o remote_worker.c gcc -O2 -I/usr/pkg/include -I/usr/include -Dz_off_t=long -Wall -Wmissing-prototypes -Wmissing-declarations -fno-common -pthread -I../.. -I../../src/slon -I/usr/pkg/include -I/usr/include -Dz_off_t=long -I/usr/pkg/include/postgresql -c -o sync_thread.o sync_thread.c gcc -O2 -I/usr/pkg/include -I/usr/include -Dz_off_t=long -Wall -Wmissing-prototypes -Wmissing-declarations -fno-common -pthread -I../.. -I../../src/slon -I/usr/pkg/include -I/usr/include -Dz_off_t=long -I/usr/pkg/include/postgresql -c -o monitor_thread.o monitor_thread.c gcc -O2 -I/usr/pkg/include -I/usr/include -Dz_off_t=long -Wall -Wmissing-prototypes -Wmissing-declarations -fno-common -pthread -I../.. -I../../src/slon -I/usr/pkg/include -I/usr/include -Dz_off_t=long -I/usr/pkg/include/postgresql -c -o cleanup_thread.o cleanup_thread.c In file included from slon.h:20, from sync_thread.c:28: types.h:72:2: error: #error must have a working 64-bit integer datatype 72 | #error must have a working 64-bit integer datatype | ^~~~~ In file included from monitor_thread.c:21: types.h:72:2: error: #error must have a working 64-bit integer datatype 72 | #error must have a working 64-bit integer datatype | ^~~~~ In file included from slon.h:20, from cleanup_thread.c:27: types.h:72:2: error: #error must have a working 64-bit integer datatype 72 | #error must have a working 64-bit integer datatype | ^~~~~ In file included from slon.h:20, from local_listen.c:29: types.h:72:2: error: #error must have a working 64-bit integer datatype 72 | #error must have a working 64-bit integer datatype | ^~~~~ In file included from slon.h:22, from sync_thread.c:28: misc.h:23:38: error: unknown type name 'int64' 23 | extern int slon_scanint64(char *str, int64 *result); | ^~~~~ In file included from slon.h:22, from monitor_thread.c:22: misc.h:23:38: error: unknown type name 'int64' 23 | extern int slon_scanint64(char *str, int64 *result); | ^~~~~ In file included from sync_thread.c:28: slon.h:104:2: error: unknown type name 'int64' 104 | int64 event; | ^~~~~ slon.h:124:2: error: unknown type name 'int64' 124 | int64 last_event; /* last event we have received */ | ^~~~~ In file included from slon.h:22, from cleanup_thread.c:27: misc.h:23:38: error: unknown type name 'int64' 23 | extern int slon_scanint64(char *str, int64 *result); | ^~~~~ In file included from monitor_thread.c:22: slon.h:104:2: error: unknown type name 'int64' 104 | int64 event; | ^~~~~ slon.h:124:2: error: unknown type name 'int64' 124 | int64 last_event; /* last event we have received */ | ^~~~~ slon.h:464:8: error: unknown type name 'int64' 464 | extern int64 rtcfg_setNodeLastEvent(int no_id, int64 event_seq); | ^~~~~ In file included from cleanup_thread.c:27: slon.h:104:2: error: unknown type name 'int64' 104 | int64 event; | ^~~~~ slon.h:124:2: error: unknown type name 'int64' 124 | int64 last_event; /* last event we have received */ | ^~~~~ slon.h:464:8: error: unknown type name 'int64' 464 | extern int64 rtcfg_setNodeLastEvent(int no_id, int64 event_seq); | ^~~~~ slon.h:464:48: error: unknown type name 'int64' 464 | extern int64 rtcfg_setNodeLastEvent(int no_id, int64 event_seq); | ^~~~~ slon.h:465:8: error: unknown type name 'int64' 465 | extern int64 rtcfg_getNodeLastEvent(int no_id); | ^~~~~ slon.h:464:8: error: unknown type name 'int64' 464 | extern int64 rtcfg_setNodeLastEvent(int no_id, int64 event_seq); | ^~~~~ slon.h:464:48: error: unknown type name 'int64' 464 | extern int64 rtcfg_setNodeLastEvent(int no_id, int64 event_seq); | ^~~~~ slon.h:494:8: error: unknown type name 'int64' 494 | extern int64 rtcfg_seq_get(void); | ^~~~~ slon.h:465:8: error: unknown type name 'int64' 465 | extern int64 rtcfg_getNodeLastEvent(int no_id); | ^~~~~ slon.h:494:8: error: unknown type name 'int64' 494 | extern int64 rtcfg_seq_get(void); | ^~~~~ slon.h:464:48: error: unknown type name 'int64' 464 | extern int64 rtcfg_setNodeLastEvent(int no_id, int64 event_seq); | ^~~~~ slon.h:465:8: error: unknown type name 'int64' 465 | extern int64 rtcfg_getNodeLastEvent(int no_id); | ^~~~~ slon.h:537:94: error: unknown type name 'int64' 537 | extern void monitor_state(const char *actor, int node, pid_t conn_pid, const char *activity, int64 event, const char *event_type); | ^~~~~ slon.h:494:8: error: unknown type name 'int64' 494 | extern int64 rtcfg_seq_get(void); | ^~~~~ In file included from slon.h:22, from local_listen.c:29: misc.h:23:38: error: unknown type name 'int64' 23 | extern int slon_scanint64(char *str, int64 *result); | ^~~~~ slon.h:537:94: error: unknown type name 'int64' 537 | extern void monitor_state(const char *actor, int node, pid_t conn_pid, const char *activity, int64 event, const char *event_type); | ^~~~~ slon.h:537:94: error: unknown type name 'int64' 537 | extern void monitor_state(const char *actor, int node, pid_t conn_pid, const char *activity, int64 event, const char *event_type); | ^~~~~ In file included from sync_thread.c:28: slon.h:575:23: error: unknown type name 'int64' 575 | int ev_origin, int64 ev_seqno, | ^~~~~ In file included from monitor_thread.c:22: slon.h:575:23: error: unknown type name 'int64' 575 | int ev_origin, int64 ev_seqno, | ^~~~~ In file included from local_listen.c:29: slon.h:104:2: error: unknown type name 'int64' 104 | int64 event; | ^~~~~ slon.h:124:2: error: unknown type name 'int64' 124 | int64 last_event; /* last event we have received */ | ^~~~~ In file included from cleanup_thread.c:27: slon.h:575:23: error: unknown type name 'int64' 575 | int ev_origin, int64 ev_seqno, | ^~~~~ slon.h:464:8: error: unknown type name 'int64' 464 | extern int64 rtcfg_setNodeLastEvent(int no_id, int64 event_seq); | ^~~~~ slon.h:464:48: error: unknown type name 'int64' 464 | extern int64 rtcfg_setNodeLastEvent(int no_id, int64 event_seq); | ^~~~~ slon.h:465:8: error: unknown type name 'int64' 465 | extern int64 rtcfg_getNodeLastEvent(int no_id); | ^~~~~ sync_thread.c: In function 'syncThread_main': sync_thread.c:65:2: warning: implicit declaration of function 'monitor_state'; did you mean 'initstate'? [-Wimplicit-function-declaration] 65 | monitor_state("local_sync", 0, conn->conn_pid, "thread main loop", 0, "n/a"); | ^~~~~~~~~~~~~ | initstate slon.h:494:8: error: unknown type name 'int64' 494 | extern int64 rtcfg_seq_get(void); | ^~~~~ cleanup_thread.c: In function 'cleanupThread_main': cleanup_thread.c:86:9: warning: implicit declaration of function 'monitor_state'; did you mean 'initstate'? [-Wimplicit-function-declaration] 86 | monitor_state("local_cleanup", 0, conn->conn_pid, "thread main loop", 0, "n/a"); | ^~~~~~~~~~~~~ | initstate In file included from slon.h:20, from runtime_config.c:28: types.h:72:2: error: #error must have a working 64-bit integer datatype 72 | #error must have a working 64-bit integer datatype | ^~~~~ slon.h:537:94: error: unknown type name 'int64' 537 | extern void monitor_state(const char *actor, int node, pid_t conn_pid, const char *activity, int64 event, const char *event_type); | ^~~~~ In file included from local_listen.c:29: slon.h:575:23: error: unknown type name 'int64' 575 | int ev_origin, int64 ev_seqno, | ^~~~~ monitor_thread.c: In function 'monitorThread_main': monitor_thread.c:112:3: warning: implicit declaration of function 'monitor_state'; did you mean 'initstate'? [-Wimplicit-function-declaration] 112 | monitor_state("local_monitor", 0, (pid_t) conn->conn_pid, "thread main loop", 0, "n/a"); | ^~~~~~~~~~~~~ | initstate In file included from slon.h:20, from slon.c:49: types.h:72:2: error: #error must have a working 64-bit integer datatype 72 | #error must have a working 64-bit integer datatype | ^~~~~ In file included from slon.h:20, from remote_worker.c:28: types.h:72:2: error: #error must have a working 64-bit integer datatype 72 | #error must have a working 64-bit integer datatype | ^~~~~ In file included from slon.h:20, from remote_listen.c:28: types.h:72:2: error: #error must have a working 64-bit integer datatype 72 | #error must have a working 64-bit integer datatype | ^~~~~ local_listen.c: In function 'localListenThread_main': cleanup_thread.c: In function 'get_earliest_xid': cleanup_thread.c:308:2: error: unknown type name 'int64' 308 | int64 xid; | ^~~~~ local_listen.c:64:2: warning: implicit declaration of function 'monitor_state'; did you mean 'initstate'? [-Wimplicit-function-declaration] 64 | monitor_state("local_listen", rtcfg_nodeid, conn->conn_pid, "thread main loop", 0, "n/a"); | ^~~~~~~~~~~~~ | initstate In file included from slon.h:22, from slon.c:49: misc.h:23:38: error: unknown type name 'int64' 23 | extern int slon_scanint64(char *str, int64 *result); | ^~~~~ In file included from slon.h:22, from runtime_config.c:28: misc.h:23:38: error: unknown type name 'int64' 23 | extern int slon_scanint64(char *str, int64 *result); | ^~~~~ In file included from slon.c:49: slon.h:104:2: error: unknown type name 'int64' 104 | int64 event; | ^~~~~ monitor_thread.c: At top level: slon.h:124:2: error: unknown type name 'int64' 124 | int64 last_event; /* last event we have received */ | ^~~~~ monitor_thread.c:254:95: error: unknown type name 'int64' 254 | monitor_state(const char *actor, int node, pid_t conn_pid, /* @null@ */ const char *activity, int64 event, /* @null@ */ const char *event_type) | ^~~~~ In file included from runtime_config.c:28: slon.h:104:2: error: unknown type name 'int64' 104 | int64 event; | ^~~~~ slon.h:124:2: error: unknown type name 'int64' 124 | int64 last_event; /* last event we have received */ | ^~~~~ slon.h:464:8: error: unknown type name 'int64' 464 | extern int64 rtcfg_setNodeLastEvent(int no_id, int64 event_seq); | ^~~~~ slon.h:464:8: error: unknown type name 'int64' 464 | extern int64 rtcfg_setNodeLastEvent(int no_id, int64 event_seq); | ^~~~~ slon.h:464:48: error: unknown type name 'int64' 464 | extern int64 rtcfg_setNodeLastEvent(int no_id, int64 event_seq); | ^~~~~ slon.h:465:8: error: unknown type name 'int64' 465 | extern int64 rtcfg_getNodeLastEvent(int no_id); | ^~~~~ slon.h:494:8: error: unknown type name 'int64' 494 | extern int64 rtcfg_seq_get(void); | ^~~~~ slon.h:464:48: error: unknown type name 'int64' 464 | extern int64 rtcfg_setNodeLastEvent(int no_id, int64 event_seq); | ^~~~~ slon.h:465:8: error: unknown type name 'int64' 465 | extern int64 rtcfg_getNodeLastEvent(int no_id); | ^~~~~ slon.h:494:8: error: unknown type name 'int64' 494 | extern int64 rtcfg_seq_get(void); | ^~~~~ slon.h:537:94: error: unknown type name 'int64' 537 | extern void monitor_state(const char *actor, int node, pid_t conn_pid, const char *activity, int64 event, const char *event_type); | ^~~~~ In file included from slon.h:22, from remote_worker.c:28: misc.h:23:38: error: unknown type name 'int64' 23 | extern int slon_scanint64(char *str, int64 *result); | ^~~~~ In file included from slon.h:22, from remote_listen.c:28: misc.h:23:38: error: unknown type name 'int64' 23 | extern int slon_scanint64(char *str, int64 *result); | ^~~~~ slon.h:537:94: error: unknown type name 'int64' 537 | extern void monitor_state(const char *actor, int node, pid_t conn_pid, const char *activity, int64 event, const char *event_type); | ^~~~~ In file included from slon.c:49: slon.h:575:23: error: unknown type name 'int64' 575 | int ev_origin, int64 ev_seqno, | ^~~~~ In file included from remote_worker.c:28: slon.h:104:2: error: unknown type name 'int64' 104 | int64 event; | ^~~~~ slon.h:124:2: error: unknown type name 'int64' 124 | int64 last_event; /* last event we have received */ | ^~~~~ In file included from remote_listen.c:28: slon.h:104:2: error: unknown type name 'int64' 104 | int64 event; | ^~~~~ gmake[2]: *** [: sync_thread.o] Error 1 In file included from runtime_config.c:28: slon.h:575:23: error: unknown type name 'int64' 575 | int ev_origin, int64 ev_seqno, | ^~~~~ gmake[2]: *** Waiting for unfinished jobs.... slon.h:124:2: error: unknown type name 'int64' 124 | int64 last_event; /* last event we have received */ | ^~~~~ slon.h:464:8: error: unknown type name 'int64' 464 | extern int64 rtcfg_setNodeLastEvent(int no_id, int64 event_seq); | ^~~~~ runtime_config.c:62:8: error: unknown type name 'int64' 62 | static int64 cfgseq = 0; | ^~~~~ slon.h:464:8: error: unknown type name 'int64' 464 | extern int64 rtcfg_setNodeLastEvent(int no_id, int64 event_seq); | ^~~~~ slon.h:464:48: error: unknown type name 'int64' 464 | extern int64 rtcfg_setNodeLastEvent(int no_id, int64 event_seq); | ^~~~~ slon.h:465:8: error: unknown type name 'int64' 465 | extern int64 rtcfg_getNodeLastEvent(int no_id); | ^~~~~ slon.h:464:48: error: unknown type name 'int64' 464 | extern int64 rtcfg_setNodeLastEvent(int no_id, int64 event_seq); | ^~~~~ slon.h:465:8: error: unknown type name 'int64' 465 | extern int64 rtcfg_getNodeLastEvent(int no_id); | ^~~~~ slon.h:494:8: error: unknown type name 'int64' 494 | extern int64 rtcfg_seq_get(void); | ^~~~~ slon.h:494:8: error: unknown type name 'int64' 494 | extern int64 rtcfg_seq_get(void); | ^~~~~ runtime_config.c:170:1: error: unknown type name 'int64' 170 | int64 | ^~~~~ slon.h:537:94: error: unknown type name 'int64' 537 | extern void monitor_state(const char *actor, int node, pid_t conn_pid, const char *activity, int64 event, const char *event_type); | ^~~~~ runtime_config.c:171:35: error: unknown type name 'int64' 171 | rtcfg_setNodeLastEvent(int no_id, int64 event_seq) | ^~~~~ slon.h:537:94: error: unknown type name 'int64' 537 | extern void monitor_state(const char *actor, int node, pid_t conn_pid, const char *activity, int64 event, const char *event_type); | ^~~~~ gmake[2]: *** [: cleanup_thread.o] Error 1 runtime_config.c:206:1: error: unknown type name 'int64' 206 | int64 | ^~~~~ In file included from remote_worker.c:28: slon.h:575:23: error: unknown type name 'int64' 575 | int ev_origin, int64 ev_seqno, | ^~~~~ gmake[2]: *** [: monitor_thread.o] Error 1 runtime_config.c: In function 'rtcfg_getNodeLastEvent': runtime_config.c:210:2: error: unknown type name 'int64' 210 | int64 retval; | ^~~~~ In file included from remote_listen.c:28: slon.h:575:23: error: unknown type name 'int64' 575 | int ev_origin, int64 ev_seqno, | ^~~~~ remote_worker.c:65:2: error: unknown type name 'int64' 65 | int64 ev_seqno; | ^~~~~ remote_worker.c:95:2: error: unknown type name 'int64' 95 | int64 con_seqno; | ^~~~~ remote_listen.c: In function 'remoteListenThread_main': remote_listen.c:90:2: error: unknown type name 'int64' 90 | int64 last_config_seq = 0; | ^~~~~ remote_worker.c:210:2: error: unknown type name 'int64' 210 | int64 con_seqno; | ^~~~~ remote_listen.c:91:2: error: unknown type name 'int64' 91 | int64 new_config_seq = 0; | ^~~~~ slon.c: In function 'SlonMain': remote_worker.c:256:8: error: unknown type name 'int64' 256 | static int64 get_last_forwarded_confirm(int origin, int receiver); | ^~~~~ slon.c:595:3: error: unknown type name 'int64' 595 | int64 last_event; | ^~~~~ remote_worker.c: In function 'remoteWorkerThread_main': remote_worker.c:300:2: error: unknown type name 'int64' 300 | int64 curr_config = -1; | ^~~~~ slon.c:610:4: warning: implicit declaration of function 'slon_scanint64' [-Wimplicit-function-declaration] 610 | slon_scanint64(PQgetvalue(res, i, 3), &last_event); | ^~~~~~~~~~~~~~ slon.c:612:4: warning: implicit declaration of function 'rtcfg_setNodeLastEvent'; did you mean 'rtcfg_getNodeLastEvent'? [-Wimplicit-function-declaration] 612 | rtcfg_setNodeLastEvent(no_id, last_event); | ^~~~~~~~~~~~~~~~~~~~~~ | rtcfg_getNodeLastEvent remote_listen.c:230:4: warning: implicit declaration of function 'monitor_state'; did you mean 'initstate'? [-Wimplicit-function-declaration] 230 | monitor_state("remote listener", node->no_id, conn->conn_pid, "thread main loop", 0, "n/a"); | ^~~~~~~~~~~~~ | initstate remote_worker.c:349:2: warning: implicit declaration of function 'monitor_state'; did you mean 'initstate'? [-Wimplicit-function-declaration] 349 | monitor_state(conn_symname, node->no_id, local_conn->conn_pid, "thread main loop", 0, "n/a"); | ^~~~~~~~~~~~~ | initstate In file included from /usr/include/stdio.h:595, from remote_worker.c:16: types.h:5:26: error: expected ')' before 'INT64_MODIFIER' 5 | #define INT64_FORMAT "%" INT64_MODIFIER "d" | ^~~~~~~~~~~~~~ remote_worker.c:518:19: note: in expansion of macro 'INT64_FORMAT' 518 | sprintf(seqbuf, INT64_FORMAT, event->ev_seqno); | ^~~~~~~~~~~~ types.h:5:22: warning: spurious trailing '%' in format [-Wformat=] 5 | #define INT64_FORMAT "%" INT64_MODIFIER "d" | ^~~ remote_worker.c:518:19: note: in expansion of macro 'INT64_FORMAT' 518 | sprintf(seqbuf, INT64_FORMAT, event->ev_seqno); | ^~~~~~~~~~~~ In file included from slon.h:20, from remote_worker.c:28: types.h:5:23: note: format string is defined here 5 | #define INT64_FORMAT "%" INT64_MODIFIER "d" | ^ In file included from /usr/include/stdio.h:595, from remote_listen.c:17: remote_listen.c: In function 'remoteListen_receive_events': runtime_config.c: At top level: types.h:5:26: error: expected ')' before 'INT64_MODIFIER' 5 | #define INT64_FORMAT "%" INT64_MODIFIER "d" | ^~~~~~~~~~~~~~ remote_listen.c:669:22: note: in expansion of macro 'INT64_FORMAT' 669 | sprintf(seqno_buf, INT64_FORMAT, origin->last_event); | ^~~~~~~~~~~~ types.h:5:22: warning: spurious trailing '%' in format [-Wformat=] 5 | #define INT64_FORMAT "%" INT64_MODIFIER "d" | ^~~ remote_listen.c:669:22: note: in expansion of macro 'INT64_FORMAT' 669 | sprintf(seqno_buf, INT64_FORMAT, origin->last_event); | ^~~~~~~~~~~~ runtime_config.c:1276:1: error: unknown type name 'int64' 1276 | int64 | ^~~~~ In file included from slon.h:20, from remote_listen.c:28: types.h:5:23: note: format string is defined here 5 | #define INT64_FORMAT "%" INT64_MODIFIER "d" | ^ runtime_config.c: In function 'rtcfg_seq_get': runtime_config.c:1279:2: error: unknown type name 'int64' 1279 | int64 retval; | ^~~~~ remote_listen.c:754:3: error: unknown type name 'int64' 754 | int64 ev_seqno; | ^~~~~ remote_worker.c:819:5: error: unknown type name 'int64' 819 | int64 last_event_id; | ^~~~~ remote_listen.c:757:10: warning: implicit declaration of function 'slon_scanint64' [-Wimplicit-function-declaration] 757 | (void) slon_scanint64(PQgetvalue(res, tupno, 1), &ev_seqno); | ^~~~~~~~~~~~~~ remote_worker.c:844:6: warning: implicit declaration of function 'rtcfg_setNodeLastEvent'; did you mean 'rtcfg_getNodeLastEvent'? [-Wimplicit-function-declaration] 844 | rtcfg_setNodeLastEvent(no_id, last_event_id); | ^~~~~~~~~~~~~~~~~~~~~~ | rtcfg_getNodeLastEvent remote_listen.c:764:3: warning: implicit declaration of function 'remoteWorker_event'; did you mean 'remoteWorker_wakeup'? [-Wimplicit-function-declaration] 764 | remoteWorker_event(node->no_id, | ^~~~~~~~~~~~~~~~~~ | remoteWorker_wakeup remote_worker.c:1344:8: error: unknown type name 'int64' 1344 | int64 prov_seqno = get_last_forwarded_confirm( | ^~~~~ In file included from slon.h:20, from remote_worker.c:28: types.h:5:26: error: expected ')' before 'INT64_MODIFIER' 5 | #define INT64_FORMAT "%" INT64_MODIFIER "d" | ^~~~~~~~~~~~~~ remote_worker.c:1352:12: note: in expansion of macro 'INT64_FORMAT' 1352 | INT64_FORMAT | ^~~~~~~~~~~~ types.h:5:26: error: expected ')' before 'INT64_MODIFIER' 5 | #define INT64_FORMAT "%" INT64_MODIFIER "d" | ^~~~~~~~~~~~~~ remote_worker.c:1498:71: note: in expansion of macro 'INT64_FORMAT' 1498 | printf("TODO: ********** remoteWorkerThread: node %d - EVENT %d," INT64_FORMAT " %s - unknown event type\n", | ^~~~~~~~~~~~ remote_worker.c:1498:56: warning: format '%d' expects a matching 'int' argument [-Wformat=] 1498 | printf("TODO: ********** remoteWorkerThread: node %d - EVENT %d," INT64_FORMAT " %s - unknown event type\n", | ~^ | | | int remote_worker.c:1498:67: warning: format '%d' expects a matching 'int' argument [-Wformat=] 1498 | printf("TODO: ********** remoteWorkerThread: node %d - EVENT %d," INT64_FORMAT " %s - unknown event type\n", | ~^ | | | int gmake[2]: *** [: runtime_config.o] Error 1 remote_worker.c:1498:12: warning: spurious trailing '%' in format [-Wformat=] 1498 | printf("TODO: ********** remoteWorkerThread: node %d - EVENT %d," INT64_FORMAT " %s - unknown event type\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from slon.h:20, from remote_worker.c:28: types.h:5:23: note: format string is defined here 5 | #define INT64_FORMAT "%" INT64_MODIFIER "d" | ^ gmake[2]: *** [: remote_listen.o] Error 1 remote_worker.c: At top level: remote_worker.c:1834:23: error: unknown type name 'int64' 1834 | int ev_origin, int64 ev_seqno, | ^~~~~ remote_worker.c: In function 'remoteWorker_confirm': remote_worker.c:2092:2: error: unknown type name 'int64' 2092 | int64 con_seqno; | ^~~~~ remote_worker.c:2096:2: warning: implicit declaration of function 'slon_scanint64' [-Wimplicit-function-declaration] 2096 | slon_scanint64(con_seqno_c, &con_seqno); | ^~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:595, from remote_worker.c:16: remote_worker.c: In function 'query_append_event': types.h:5:26: error: expected ')' before 'INT64_MODIFIER' 5 | #define INT64_FORMAT "%" INT64_MODIFIER "d" | ^~~~~~~~~~~~~~ remote_worker.c:2232:18: note: in expansion of macro 'INT64_FORMAT' 2232 | sprintf(seqbuf, INT64_FORMAT, event->ev_seqno); | ^~~~~~~~~~~~ types.h:5:22: warning: spurious trailing '%' in format [-Wformat=] 5 | #define INT64_FORMAT "%" INT64_MODIFIER "d" | ^~~ remote_worker.c:2232:18: note: in expansion of macro 'INT64_FORMAT' 2232 | sprintf(seqbuf, INT64_FORMAT, event->ev_seqno); | ^~~~~~~~~~~~ In file included from slon.h:20, from remote_worker.c:28: types.h:5:23: note: format string is defined here 5 | #define INT64_FORMAT "%" INT64_MODIFIER "d" | ^ In file included from /usr/include/stdio.h:595, from remote_worker.c:16: remote_worker.c: In function 'store_confirm_forward': types.h:5:26: error: expected ')' before 'INT64_MODIFIER' 5 | #define INT64_FORMAT "%" INT64_MODIFIER "d" | ^~~~~~~~~~~~~~ remote_worker.c:2351:18: note: in expansion of macro 'INT64_FORMAT' 2351 | sprintf(seqbuf, INT64_FORMAT, confirm->con_seqno); | ^~~~~~~~~~~~ types.h:5:22: warning: spurious trailing '%' in format [-Wformat=] 5 | #define INT64_FORMAT "%" INT64_MODIFIER "d" | ^~~ remote_worker.c:2351:18: note: in expansion of macro 'INT64_FORMAT' 2351 | sprintf(seqbuf, INT64_FORMAT, confirm->con_seqno); | ^~~~~~~~~~~~ In file included from slon.h:20, from remote_worker.c:28: types.h:5:23: note: format string is defined here 5 | #define INT64_FORMAT "%" INT64_MODIFIER "d" | ^ remote_worker.c: At top level: remote_worker.c:2387:8: error: unknown type name 'int64' 2387 | static int64 | ^~~~~ In file included from /usr/include/stdio.h:595, from remote_worker.c:16: remote_worker.c: In function 'copy_set': types.h:5:26: error: expected ')' before 'INT64_MODIFIER' 5 | #define INT64_FORMAT "%" INT64_MODIFIER "d" | ^~~~~~~~~~~~~~ remote_worker.c:2570:18: note: in expansion of macro 'INT64_FORMAT' 2570 | sprintf(seqbuf, INT64_FORMAT, event->ev_seqno); | ^~~~~~~~~~~~ types.h:5:22: warning: spurious trailing '%' in format [-Wformat=] 5 | #define INT64_FORMAT "%" INT64_MODIFIER "d" | ^~~ remote_worker.c:2570:18: note: in expansion of macro 'INT64_FORMAT' 2570 | sprintf(seqbuf, INT64_FORMAT, event->ev_seqno); | ^~~~~~~~~~~~ In file included from slon.h:20, from remote_worker.c:28: types.h:5:23: note: format string is defined here 5 | #define INT64_FORMAT "%" INT64_MODIFIER "d" | ^ remote_worker.c:2884:3: error: unknown type name 'int64' 2884 | int64 copysize = 0; | ^~~~~ remote_worker.c:3034:18: error: 'int64' undeclared (first use in this function) 3034 | copysize += (int64) len; | ^~~~~ remote_worker.c:3034:18: note: each undeclared identifier is reported only once for each function it appears in remote_worker.c:3034:24: error: expected ';' before 'len' 3034 | copysize += (int64) len; | ^~~~ | ; gmake[2]: *** [: slon.o] Error 1 In file included from slon.h:20, from remote_worker.c:28: types.h:5:26: error: expected ')' before 'INT64_MODIFIER' 5 | #define INT64_FORMAT "%" INT64_MODIFIER "d" | ^~~~~~~~~~~~~~ remote_worker.c:3190:7: note: in expansion of macro 'INT64_FORMAT' 3190 | INT64_FORMAT " bytes copied for table %s\n", | ^~~~~~~~~~~~ remote_worker.c:2884:10: warning: variable 'copysize' set but not used [-Wunused-but-set-variable] 2884 | int64 copysize = 0; | ^~~~~~~~ remote_worker.c: In function 'sync_event': remote_worker.c:3658:2: error: unknown type name 'int64' 3658 | int64 min_ssy_seqno; | ^~~~~ In file included from slon.h:20, from remote_worker.c:28: types.h:5:26: error: expected ')' before 'INT64_MODIFIER' 5 | #define INT64_FORMAT "%" INT64_MODIFIER "d" | ^~~~~~~~~~~~~~ remote_worker.c:3663:55: note: in expansion of macro 'INT64_FORMAT' 3663 | slon_log(SLON_DEBUG2, "remoteWorkerThread_%d: SYNC " INT64_FORMAT | ^~~~~~~~~~~~ In file included from /usr/include/stdio.h:595, from remote_worker.c:16: types.h:5:26: error: expected ')' before 'INT64_MODIFIER' 5 | #define INT64_FORMAT "%" INT64_MODIFIER "d" | ^~~~~~~~~~~~~~ remote_worker.c:3667:18: note: in expansion of macro 'INT64_FORMAT' 3667 | sprintf(seqbuf, INT64_FORMAT, event->ev_seqno); | ^~~~~~~~~~~~ types.h:5:22: warning: spurious trailing '%' in format [-Wformat=] 5 | #define INT64_FORMAT "%" INT64_MODIFIER "d" | ^~~ remote_worker.c:3667:18: note: in expansion of macro 'INT64_FORMAT' 3667 | sprintf(seqbuf, INT64_FORMAT, event->ev_seqno); | ^~~~~~~~~~~~ In file included from slon.h:20, from remote_worker.c:28: types.h:5:23: note: format string is defined here 5 | #define INT64_FORMAT "%" INT64_MODIFIER "d" | ^ remote_worker.c:3787:4: error: unknown type name 'int64' 3787 | int64 prov_seqno; | ^~~~~ In file included from slon.h:20, from remote_worker.c:28: types.h:5:26: error: expected ')' before 'INT64_MODIFIER' 5 | #define INT64_FORMAT "%" INT64_MODIFIER "d" | ^~~~~~~~~~~~~~ remote_worker.c:3807:20: note: in expansion of macro 'INT64_FORMAT' 3807 | "ev_seqno " INT64_FORMAT " for ev_origin %d\n", | ^~~~~~~~~~~~ remote_worker.c:4033:5: error: unknown type name 'int64' 4033 | int64 ssy_seqno; | ^~~~~ In file included from /usr/include/stdio.h:595, from remote_worker.c:16: types.h:5:26: error: expected ')' before 'INT64_MODIFIER' 5 | #define INT64_FORMAT "%" INT64_MODIFIER "d" | ^~~~~~~~~~~~~~ remote_worker.c:4380:30: note: in expansion of macro 'INT64_FORMAT' 4380 | sprintf(min_ssy_seqno_buf, INT64_FORMAT, min_ssy_seqno); | ^~~~~~~~~~~~ types.h:5:22: warning: spurious trailing '%' in format [-Wformat=] 5 | #define INT64_FORMAT "%" INT64_MODIFIER "d" | ^~~ remote_worker.c:4380:30: note: in expansion of macro 'INT64_FORMAT' 4380 | sprintf(min_ssy_seqno_buf, INT64_FORMAT, min_ssy_seqno); | ^~~~~~~~~~~~ In file included from slon.h:20, from remote_worker.c:28: types.h:5:23: note: format string is defined here 5 | #define INT64_FORMAT "%" INT64_MODIFIER "d" | ^ types.h:5:26: error: expected ')' before 'INT64_MODIFIER' 5 | #define INT64_FORMAT "%" INT64_MODIFIER "d" | ^~~~~~~~~~~~~~ remote_worker.c:4525:5: note: in expansion of macro 'INT64_FORMAT' 4525 | INT64_FORMAT " done in %.3f seconds\n", | ^~~~~~~~~~~~ types.h:5:26: error: expected ')' before 'INT64_MODIFIER' 5 | #define INT64_FORMAT "%" INT64_MODIFIER "d" | ^~~~~~~~~~~~~~ remote_worker.c:4531:37: note: in expansion of macro 'INT64_FORMAT' 4531 | "remoteWorkerThread_%d: SYNC " INT64_FORMAT " sync_event timing: " | ^~~~~~~~~~~~ remote_worker.c: In function 'compress_actionseq': remote_worker.c:5265:2: error: unknown type name 'int64' 5265 | int64 curr_number, | ^~~~~ gmake[2]: *** [: local_listen.o] Error 1 gmake[2]: *** [: remote_worker.o] Error 1 gmake[2]: Leaving directory '/pbulk/work/databases/slony1/work/slony1-2.2.11/src/slon' gmake[1]: *** [Makefile:23: all] Error 2 gmake[1]: Leaving directory '/pbulk/work/databases/slony1/work/slony1-2.2.11/src' gmake: *** [GNUmakefile:42: all] Error 2 *** Error code 2 Stop. make[1]: stopped in /usr/pkgsrc/databases/slony1 *** Error code 1 Stop. make: stopped in /usr/pkgsrc/databases/slony1