=> 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 postgresql19-wal2json-2.6 gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wmissing-format-attribute -Wold-style-declaration -Wimplicit-fallthrough=5 -Wshadow=compatible-local -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -O2 -Dz_off_t=long -I/usr/include -I/usr/pkg/include/libxml2 -I/usr/include/readline -I/usr/pkg/include -Wstrict-prototypes -Wold-style-definition -fPIC -DPIC -fvisibility=hidden -I. -I./ -I/usr/pkg/include/postgresql/server -I/usr/pkg/include/postgresql/internal -Dz_off_t=long -I/usr/include -I/usr/pkg/include/libxml2 -I/usr/include/readline -I/usr/pkg/include -I/usr/pkg/include/libxml2 -I/usr/pkg/include -I/usr/pkg/include -c -o wal2json.o wal2json.c wal2json.c:128:62: error: unknown type name 'RepOriginId'; did you mean 'ReplOriginId'? static bool pg_filter_by_origin(LogicalDecodingContext *ctx, RepOriginId origin_id); ^~~~~~~~~~~ ReplOriginId wal2json.c: In function '_PG_output_plugin_init': wal2json.c:226:2: warning: implicit declaration of function 'AssertVariableIsOfType'; did you mean 'StaticAssertVariableIsOfType'? [-Wimplicit-function-declaration] AssertVariableIsOfType(&_PG_output_plugin_init, LogicalOutputPluginInit); ^~~~~~~~~~~~~~~~~~~~~~ StaticAssertVariableIsOfType wal2json.c:226:50: error: expected expression before 'LogicalOutputPluginInit' AssertVariableIsOfType(&_PG_output_plugin_init, LogicalOutputPluginInit); ^~~~~~~~~~~~~~~~~~~~~~~ wal2json.c:234:28: error: 'pg_filter_by_origin' undeclared (first use in this function); did you mean 'pg_filter_by_action'? cb->filter_by_origin_cb = pg_filter_by_origin; ^~~~~~~~~~~~~~~~~~~ pg_filter_by_action wal2json.c:234:28: note: each undeclared identifier is reported only once for each function it appears in wal2json.c: At top level: wal2json.c:783:50: error: unknown type name 'RepOriginId'; did you mean 'ReplOriginId'? pg_filter_by_origin(LogicalDecodingContext *ctx, RepOriginId origin_id) ^~~~~~~~~~~ ReplOriginId wal2json.c: In function 'pg_decode_begin_txn_v1': wal2json.c:848:105: error: 'ReorderBufferTXN {aka struct ReorderBufferTXN}' has no member named 'xact_time'; did you mean 'abort_time'? appendStringInfo(ctx->out, "%s\"timestamp\":%s\"%s\",%s", data->ht, data->sp, timestamptz_to_str(txn->xact_time.commit_time), data->nl); ^~~~~~~~~ abort_time wal2json.c: In function 'pg_decode_begin_txn_v2': wal2json.c:881:80: error: 'ReorderBufferTXN {aka struct ReorderBufferTXN}' has no member named 'xact_time'; did you mean 'abort_time'? appendStringInfo(ctx->out, ",\"timestamp\":\"%s\"", timestamptz_to_str(txn->xact_time.commit_time)); ^~~~~~~~~ abort_time wal2json.c: In function 'pg_decode_commit_txn_v2': wal2json.c:997:80: error: 'ReorderBufferTXN {aka struct ReorderBufferTXN}' has no member named 'xact_time'; did you mean 'abort_time'? appendStringInfo(ctx->out, ",\"timestamp\":\"%s\"", timestamptz_to_str(txn->xact_time.commit_time)); ^~~~~~~~~ abort_time wal2json.c: In function 'tuple_to_stringinfo': wal2json.c:1149:60: warning: passing argument 1 of 'VARATT_IS_EXTERNAL_ONDISK' makes pointer from integer without a cast [-Wint-conversion] if (!isnull && typisvarlena && VARATT_IS_EXTERNAL_ONDISK(origval)) ^~~~~~~ In file included from /tmp/databases/postgresql-wal2json/work/.buildlink/include/postgresql/server/access/tupmacs.h:21:0, from /tmp/databases/postgresql-wal2json/work/.buildlink/include/postgresql/server/access/htup_details.h:20, from /tmp/databases/postgresql-wal2json/work/.buildlink/include/postgresql/server/access/relscan.h:17, from /tmp/databases/postgresql-wal2json/work/.buildlink/include/postgresql/server/access/heapam.h:19, from wal2json.c:16: /tmp/databases/postgresql-wal2json/work/.buildlink/include/postgresql/server/varatt.h:362:1: note: expected 'const void *' but argument is of type 'Datum {aka long unsigned int}' VARATT_IS_EXTERNAL_ONDISK(const void *PTR) ^~~~~~~~~~~~~~~~~~~~~~~~~ wal2json.c: In function 'pg_decode_change_v1': wal2json.c:1707:44: error: expected expression before 'LogicalDecodeChangeCB' AssertVariableIsOfType(&pg_decode_change, LogicalDecodeChangeCB); ^~~~~~~~~~~~~~~~~~~~~ wal2json.c: In function 'pg_decode_write_value': wal2json.c:1999:45: warning: passing argument 1 of 'VARATT_IS_EXTERNAL_ONDISK' makes pointer from integer without a cast [-Wint-conversion] if (isvarlena && VARATT_IS_EXTERNAL_ONDISK(value)) ^~~~~ In file included from /tmp/databases/postgresql-wal2json/work/.buildlink/include/postgresql/server/access/tupmacs.h:21:0, from /tmp/databases/postgresql-wal2json/work/.buildlink/include/postgresql/server/access/htup_details.h:20, from /tmp/databases/postgresql-wal2json/work/.buildlink/include/postgresql/server/access/relscan.h:17, from /tmp/databases/postgresql-wal2json/work/.buildlink/include/postgresql/server/access/heapam.h:19, from wal2json.c:16: /tmp/databases/postgresql-wal2json/work/.buildlink/include/postgresql/server/varatt.h:362:1: note: expected 'const void *' but argument is of type 'Datum {aka long unsigned int}' VARATT_IS_EXTERNAL_ONDISK(const void *PTR) ^~~~~~~~~~~~~~~~~~~~~~~~~ wal2json.c: In function 'pg_decode_write_tuple': wal2json.c:2141:68: warning: passing argument 1 of 'VARATT_IS_EXTERNAL_ONDISK' makes pointer from integer without a cast [-Wint-conversion] if (!nulls[i] && attr->attlen == -1 && VARATT_IS_EXTERNAL_ONDISK(values[i])) ^~~~~~ In file included from /tmp/databases/postgresql-wal2json/work/.buildlink/include/postgresql/server/access/tupmacs.h:21:0, from /tmp/databases/postgresql-wal2json/work/.buildlink/include/postgresql/server/access/htup_details.h:20, from /tmp/databases/postgresql-wal2json/work/.buildlink/include/postgresql/server/access/relscan.h:17, from /tmp/databases/postgresql-wal2json/work/.buildlink/include/postgresql/server/access/heapam.h:19, from wal2json.c:16: /tmp/databases/postgresql-wal2json/work/.buildlink/include/postgresql/server/varatt.h:362:1: note: expected 'const void *' but argument is of type 'Datum {aka long unsigned int}' VARATT_IS_EXTERNAL_ONDISK(const void *PTR) ^~~~~~~~~~~~~~~~~~~~~~~~~ wal2json.c: In function 'pg_decode_write_change': wal2json.c:2381:79: error: 'ReorderBufferTXN {aka struct ReorderBufferTXN}' has no member named 'xact_time'; did you mean 'abort_time'? appendStringInfo(ctx->out, ",\"timestamp\":\"%s\"", timestamptz_to_str(txn->xact_time.commit_time)); ^~~~~~~~~ abort_time wal2json.c: In function 'pg_decode_message_v2': wal2json.c:2736:80: error: 'ReorderBufferTXN {aka struct ReorderBufferTXN}' has no member named 'xact_time'; did you mean 'abort_time'? appendStringInfo(ctx->out, ",\"timestamp\":\"%s\"", timestamptz_to_str(txn->xact_time.commit_time)); ^~~~~~~~~ abort_time wal2json.c: In function 'pg_decode_truncate_v2': wal2json.c:2965:80: error: 'ReorderBufferTXN {aka struct ReorderBufferTXN}' has no member named 'xact_time'; did you mean 'abort_time'? appendStringInfo(ctx->out, ",\"timestamp\":\"%s\"", timestamptz_to_str(txn->xact_time.commit_time)); ^~~~~~~~~ abort_time gmake: *** [: wal2json.o] Error 1 *** Error code 2 Stop. make[1]: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/databases/postgresql-wal2json *** Error code 1 Stop. make: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/databases/postgresql-wal2json