=> 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-repmgr-5.5.1nb1 Building against PostgreSQL 19 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 -std=gnu89 -I/usr/pkg/include/postgresql/internal -I/usr/pkg/include -Wall -Wmissing-prototypes -Wmissing-declarations -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 repmgr.o repmgr.c gsed -E 's/REPMGR_VERSION_DATE.*""/REPMGR_VERSION_DATE "2026-11-29"/' repmgr_version.h.in >repmgr_version.h; \ gsed -i -E 's/PG_ACTUAL_VERSION_NUM/PG_ACTUAL_VERSION_NUM 190000/' repmgr_version.h flex -o'configfile-scan.c' configfile-scan.l 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 -std=gnu89 -I/usr/pkg/include/postgresql/internal -I/usr/pkg/include -Wall -Wmissing-prototypes -Wmissing-declarations -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 repmgrd.o repmgrd.c 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 -std=gnu89 -I/usr/pkg/include/postgresql/internal -I/usr/pkg/include -Wall -Wmissing-prototypes -Wmissing-declarations -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 repmgrd-physical.o repmgrd-physical.c 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 -std=gnu89 -I/usr/pkg/include/postgresql/internal -I/usr/pkg/include -Wall -Wmissing-prototypes -Wmissing-declarations -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 configdata.o configdata.c In file included from /tmp/databases/repmgr/work/.buildlink/include/postgresql/server/access/htup_details.h:20:0, from /tmp/databases/repmgr/work/.buildlink/include/postgresql/server/replication/reorderbuffer.h:12, from /tmp/databases/repmgr/work/.buildlink/include/postgresql/server/replication/logicalproto.h:18, from /tmp/databases/repmgr/work/.buildlink/include/postgresql/server/replication/walreceiver.h:21, from repmgr.c:28: /tmp/databases/repmgr/work/.buildlink/include/postgresql/server/access/tupmacs.h: In function 'populate_isnull_array': /tmp/databases/repmgr/work/.buildlink/include/postgresql/server/access/tupmacs.h:61:2: error: 'for' loop initial declarations are only allowed in C99 or C11 mode for (int i = 0; i < nbytes; i++, isnull += 8) ^~~ /tmp/databases/repmgr/work/.buildlink/include/postgresql/server/access/tupmacs.h:61:2: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your code 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 -std=gnu89 -I/usr/pkg/include/postgresql/internal -I/usr/pkg/include -Wall -Wmissing-prototypes -Wmissing-declarations -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 configfile.o configfile.c In file included from /usr/include/assert.h:44:0, from /tmp/databases/repmgr/work/.buildlink/include/postgresql/server/c.h:62, from /tmp/databases/repmgr/work/.buildlink/include/postgresql/server/postgres.h:48, from repmgr.c:24: /tmp/databases/repmgr/work/.buildlink/include/postgresql/server/storage/fd.h: In function 'FileWrite': /tmp/databases/repmgr/work/.buildlink/include/postgresql/server/c.h:1040:25: error: expected specifier-qualifier-list before 'typedef' ((void) sizeof(struct {static_assert(condition, errmessage); char a;})) ^ /tmp/databases/repmgr/work/.buildlink/include/postgresql/server/c.h:1071:3: note: in expansion of macro 'StaticAssertExpr' (StaticAssertExpr(__builtin_types_compatible_p(typeof(varname), typename), \ ^~~~~~~~~~~~~~~~ /tmp/databases/repmgr/work/.buildlink/include/postgresql/server/c.h:1335:3: note: in expansion of macro 'StaticAssertVariableIsOfTypeMacro' (StaticAssertVariableIsOfTypeMacro(expr, const underlying_type), \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/databases/repmgr/work/.buildlink/include/postgresql/server/storage/fd.h:241:15: note: in expansion of macro 'unconstify' .iov_base = unconstify(void *, buffer), ^~~~~~~~~~ In file included from /usr/include/amd64/types.h:39:0, from /usr/include/sys/types.h:45, from /usr/include/sys/stat.h:43, from configfile.c:20: /tmp/databases/repmgr/work/.buildlink/include/postgresql/server/storage/fd.h: In function 'FileWrite': /tmp/databases/repmgr/work/.buildlink/include/postgresql/internal/c.h:1040:25: error: expected specifier-qualifier-list before 'typedef' ((void) sizeof(struct {static_assert(condition, errmessage); char a;})) ^ /tmp/databases/repmgr/work/.buildlink/include/postgresql/internal/c.h:1071:3: note: in expansion of macro 'StaticAssertExpr' (StaticAssertExpr(__builtin_types_compatible_p(typeof(varname), typename), \ ^~~~~~~~~~~~~~~~ /tmp/databases/repmgr/work/.buildlink/include/postgresql/internal/c.h:1335:3: note: in expansion of macro 'StaticAssertVariableIsOfTypeMacro' (StaticAssertVariableIsOfTypeMacro(expr, const underlying_type), \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/databases/repmgr/work/.buildlink/include/postgresql/server/storage/fd.h:241:15: note: in expansion of macro 'unconstify' .iov_base = unconstify(void *, buffer), ^~~~~~~~~~ gmake: *** [: repmgr.o] Error 1 gmake: *** Waiting for unfinished jobs.... configfile.c: At top level: configfile.c:32:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration] const static char *_progname = NULL; ^~~~~ gmake: *** [: configfile.o] Error 1 *** Error code 2 Stop. make[1]: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/databases/repmgr *** Error code 1 Stop. make: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/databases/repmgr