=> 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 '/tmp/databases/slony1/work/slony1-2.2.11/src' gmake[2]: Entering directory '/tmp/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 '/tmp/databases/slony1/work/slony1-2.2.11/src/parsestatements' gmake[2]: Entering directory '/tmp/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 In file included from slon.h:20:0, from local_listen.c:29: types.h:72:2: error: #error must have a working 64-bit integer datatype #error must have a working 64-bit integer datatype ^~~~~ In file included from slon.h:20:0, from slon.c:49: types.h:72:2: error: #error must have a working 64-bit integer datatype #error must have a working 64-bit integer datatype ^~~~~ In file included from slon.h:22:0, from slon.c:49: misc.h:23:38: error: unknown type name 'int64'; did you mean 'int32'? extern int slon_scanint64(char *str, int64 *result); ^~~~~ int32 In file included from slon.h:20:0, from remote_listen.c:28: types.h:72:2: error: #error must have a working 64-bit integer datatype #error must have a working 64-bit integer datatype ^~~~~ In file included from slon.c:49:0: slon.h:104:2: error: unknown type name 'int64' int64 event; ^~~~~ slon.h:124:2: error: unknown type name 'int64' int64 last_event; /* last event we have received */ ^~~~~ In file included from slon.h:20:0, from runtime_config.c:28: types.h:72:2: error: #error must have a working 64-bit integer datatype #error must have a working 64-bit integer datatype ^~~~~ slon.h:464:8: error: unknown type name 'int64' extern int64 rtcfg_setNodeLastEvent(int no_id, int64 event_seq); ^~~~~ In file included from slon.h:22:0, from local_listen.c:29: misc.h:23:38: error: unknown type name 'int64'; did you mean 'int32'? extern int slon_scanint64(char *str, int64 *result); ^~~~~ int32 slon.h:464:48: error: unknown type name 'int64'; did you mean 'int32'? extern int64 rtcfg_setNodeLastEvent(int no_id, int64 event_seq); ^~~~~ int32 slon.h:465:8: error: unknown type name 'int64' extern int64 rtcfg_getNodeLastEvent(int no_id); ^~~~~ In file included from local_listen.c:29:0: slon.h:104:2: error: unknown type name 'int64' int64 event; ^~~~~ slon.h:494:8: error: unknown type name 'int64' extern int64 rtcfg_seq_get(void); ^~~~~ slon.h:124:2: error: unknown type name 'int64' int64 last_event; /* last event we have received */ ^~~~~ slon.h:537:94: error: unknown type name 'int64'; did you mean 'int32'? extern void monitor_state(const char *actor, int node, pid_t conn_pid, const char *activity, int64 event, const char *event_type); ^~~~~ int32 In file included from slon.h:22:0, from remote_listen.c:28: misc.h:23:38: error: unknown type name 'int64'; did you mean 'int32'? extern int slon_scanint64(char *str, int64 *result); ^~~~~ int32 slon.h:464:8: error: unknown type name 'int64' extern int64 rtcfg_setNodeLastEvent(int no_id, int64 event_seq); ^~~~~ In file included from slon.c:49:0: slon.h:575:23: error: unknown type name 'int64'; did you mean 'int32'? int ev_origin, int64 ev_seqno, ^~~~~ int32 In file included from slon.h:22:0, from runtime_config.c:28: misc.h:23:38: error: unknown type name 'int64'; did you mean 'int32'? extern int slon_scanint64(char *str, int64 *result); ^~~~~ int32 slon.h:464:48: error: unknown type name 'int64'; did you mean 'int32'? extern int64 rtcfg_setNodeLastEvent(int no_id, int64 event_seq); ^~~~~ int32 In file included from remote_listen.c:28:0: slon.h:104:2: error: unknown type name 'int64' int64 event; ^~~~~ slon.h:465:8: error: unknown type name 'int64' extern int64 rtcfg_getNodeLastEvent(int no_id); ^~~~~ slon.h:124:2: error: unknown type name 'int64' int64 last_event; /* last event we have received */ ^~~~~ slon.h:494:8: error: unknown type name 'int64' extern int64 rtcfg_seq_get(void); ^~~~~ In file included from runtime_config.c:28:0: slon.h:104:2: error: unknown type name 'int64' int64 event; ^~~~~ slon.h:124:2: error: unknown type name 'int64' int64 last_event; /* last event we have received */ ^~~~~ slon.h:537:94: error: unknown type name 'int64'; did you mean 'int32'? extern void monitor_state(const char *actor, int node, pid_t conn_pid, const char *activity, int64 event, const char *event_type); ^~~~~ int32 slon.h:464:8: error: unknown type name 'int64' extern int64 rtcfg_setNodeLastEvent(int no_id, int64 event_seq); ^~~~~ slon.h:464:8: error: unknown type name 'int64' extern int64 rtcfg_setNodeLastEvent(int no_id, int64 event_seq); ^~~~~ In file included from local_listen.c:29:0: slon.h:575:23: error: unknown type name 'int64'; did you mean 'int32'? int ev_origin, int64 ev_seqno, ^~~~~ int32 slon.h:464:48: error: unknown type name 'int64'; did you mean 'int32'? extern int64 rtcfg_setNodeLastEvent(int no_id, int64 event_seq); ^~~~~ int32 slon.h:465:8: error: unknown type name 'int64' extern int64 rtcfg_getNodeLastEvent(int no_id); ^~~~~ slon.h:464:48: error: unknown type name 'int64'; did you mean 'int32'? extern int64 rtcfg_setNodeLastEvent(int no_id, int64 event_seq); ^~~~~ int32 slon.h:494:8: error: unknown type name 'int64' extern int64 rtcfg_seq_get(void); ^~~~~ slon.h:465:8: error: unknown type name 'int64' extern int64 rtcfg_getNodeLastEvent(int no_id); ^~~~~ slon.h:494:8: error: unknown type name 'int64' extern int64 rtcfg_seq_get(void); ^~~~~ slon.h:537:94: error: unknown type name 'int64'; did you mean 'int32'? extern void monitor_state(const char *actor, int node, pid_t conn_pid, const char *activity, int64 event, const char *event_type); ^~~~~ int32 slon.h:537:94: error: unknown type name 'int64'; did you mean 'int32'? extern void monitor_state(const char *actor, int node, pid_t conn_pid, const char *activity, int64 event, const char *event_type); ^~~~~ int32 local_listen.c: In function 'localListenThread_main': slon.c: In function 'SlonMain': local_listen.c:64:2: warning: implicit declaration of function 'monitor_state'; did you mean 'initstate'? [-Wimplicit-function-declaration] monitor_state("local_listen", rtcfg_nodeid, conn->conn_pid, "thread main loop", 0, "n/a"); ^~~~~~~~~~~~~ initstate slon.c:595:3: error: unknown type name 'int64'; did you mean 'int32'? int64 last_event; ^~~~~ int32 In file included from runtime_config.c:28:0: slon.h:575:23: error: unknown type name 'int64'; did you mean 'int32'? int ev_origin, int64 ev_seqno, ^~~~~ int32 In file included from remote_listen.c:28:0: slon.h:575:23: error: unknown type name 'int64'; did you mean 'int32'? int ev_origin, int64 ev_seqno, ^~~~~ int32 runtime_config.c:62:8: error: unknown type name 'int64' static int64 cfgseq = 0; ^~~~~ remote_listen.c: In function 'remoteListenThread_main': remote_listen.c:90:2: error: unknown type name 'int64'; did you mean 'int32'? int64 last_config_seq = 0; ^~~~~ int32 remote_listen.c:91:2: error: unknown type name 'int64'; did you mean 'int32'? int64 new_config_seq = 0; ^~~~~ int32 slon.c:610:4: warning: implicit declaration of function 'slon_scanint64'; did you mean 'slon_exit'? [-Wimplicit-function-declaration] slon_scanint64(PQgetvalue(res, i, 3), &last_event); ^~~~~~~~~~~~~~ slon_exit runtime_config.c:170:1: error: unknown type name 'int64'; did you mean 'int32'? int64 ^~~~~ int32 runtime_config.c:171:35: error: unknown type name 'int64'; did you mean 'int32'? rtcfg_setNodeLastEvent(int no_id, int64 event_seq) ^~~~~ int32 slon.c:612:4: warning: implicit declaration of function 'rtcfg_setNodeLastEvent'; did you mean 'rtcfg_getNodeLastEvent'? [-Wimplicit-function-declaration] rtcfg_setNodeLastEvent(no_id, last_event); ^~~~~~~~~~~~~~~~~~~~~~ rtcfg_getNodeLastEvent runtime_config.c:206:1: error: unknown type name 'int64'; did you mean 'int32'? int64 ^~~~~ int32 runtime_config.c: In function 'rtcfg_getNodeLastEvent': runtime_config.c:210:2: error: unknown type name 'int64'; did you mean 'int32'? int64 retval; ^~~~~ int32 remote_listen.c:230:4: warning: implicit declaration of function 'monitor_state'; did you mean 'initstate'? [-Wimplicit-function-declaration] monitor_state("remote listener", node->no_id, conn->conn_pid, "thread main loop", 0, "n/a"); ^~~~~~~~~~~~~ initstate In file included from /usr/include/stdio.h:597:0, from remote_listen.c:17: remote_listen.c: In function 'remoteListen_receive_events': types.h:5:26: error: expected ')' before 'INT64_MODIFIER' #define INT64_FORMAT "%" INT64_MODIFIER "d" ^ remote_listen.c:669:22: note: in expansion of macro 'INT64_FORMAT' sprintf(seqno_buf, INT64_FORMAT, origin->last_event); ^~~~~~~~~~~~ types.h:5:22: warning: spurious trailing '%' in format [-Wformat=] #define INT64_FORMAT "%" INT64_MODIFIER "d" ^ remote_listen.c:669:22: note: in expansion of macro 'INT64_FORMAT' sprintf(seqno_buf, INT64_FORMAT, origin->last_event); ^~~~~~~~~~~~ remote_listen.c:754:3: error: unknown type name 'int64'; did you mean 'int32'? int64 ev_seqno; ^~~~~ int32 gmake[2]: *** [: local_listen.o] Error 1 gmake[2]: *** Waiting for unfinished jobs.... runtime_config.c: At top level: remote_listen.c:757:10: warning: implicit declaration of function 'slon_scanint64'; did you mean 'slon_connectdb'? [-Wimplicit-function-declaration] (void) slon_scanint64(PQgetvalue(res, tupno, 1), &ev_seqno); ^~~~~~~~~~~~~~ slon_connectdb runtime_config.c:1276:1: error: unknown type name 'int64'; did you mean 'int32'? int64 ^~~~~ int32 runtime_config.c: In function 'rtcfg_seq_get': runtime_config.c:1279:2: error: unknown type name 'int64'; did you mean 'int32'? int64 retval; ^~~~~ int32 remote_listen.c:764:3: warning: implicit declaration of function 'remoteWorker_event'; did you mean 'remoteWorker_wakeup'? [-Wimplicit-function-declaration] remoteWorker_event(node->no_id, ^~~~~~~~~~~~~~~~~~ remoteWorker_wakeup gmake[2]: *** [: slon.o] Error 1 gmake[2]: *** [: runtime_config.o] Error 1 gmake[2]: *** [: remote_listen.o] Error 1 gmake[2]: Leaving directory '/tmp/databases/slony1/work/slony1-2.2.11/src/slon' gmake[1]: *** [Makefile:23: all] Error 2 gmake[1]: Leaving directory '/tmp/databases/slony1/work/slony1-2.2.11/src' gmake: *** [GNUmakefile:42: all] Error 2 *** Error code 2 Stop. make[1]: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/databases/slony1 *** Error code 1 Stop. make: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/databases/slony1