+ 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=15 WRKLOG=/tmp/bulklog/postgresql15-repmgr-5.5.0nb2/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent PGSQL_VERSION_REQD=15 WRKLOG=/tmp/bulklog/postgresql15-repmgr-5.5.0nb2/work.log
===> Building for postgresql15-repmgr-5.5.0nb2
Building against PostgreSQL 15
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/libxml2 -I/opt/pkg/include/ncurses -I/usr/include -fPIC -std=gnu89 -I/opt/pkg/include/postgresql/internal -I/opt/pkg/include -Wall -Wmissing-prototypes -Wmissing-declarations  -I. -I./ -I/opt/pkg/include/postgresql/server -I/opt/pkg/include/postgresql/internal  -I/opt/pkg/include/gettext -I/opt/pkg/include -I/opt/pkg/include/libxml2 -I/opt/pkg/include/ncurses -I/usr/include -D_POSIX_PTHREAD_SEMANTICS -I/opt/pkg/include/libxml2 -I/opt/pkg/include   -c -o repmgr.o repmgr.c
gsed -E 's/REPMGR_VERSION_DATE.*""/REPMGR_VERSION_DATE "2025-04-21"/' repmgr_version.h.in >repmgr_version.h; \
gsed -i -E 's/PG_ACTUAL_VERSION_NUM/PG_ACTUAL_VERSION_NUM 150012/' repmgr_version.h
flex  -o'configfile-scan.c' configfile-scan.l
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/libxml2 -I/opt/pkg/include/ncurses -I/usr/include -fPIC -std=gnu89 -I/opt/pkg/include/postgresql/internal -I/opt/pkg/include -Wall -Wmissing-prototypes -Wmissing-declarations  -I. -I./ -I/opt/pkg/include/postgresql/server -I/opt/pkg/include/postgresql/internal  -I/opt/pkg/include/gettext -I/opt/pkg/include -I/opt/pkg/include/libxml2 -I/opt/pkg/include/ncurses -I/usr/include -D_POSIX_PTHREAD_SEMANTICS -I/opt/pkg/include/libxml2 -I/opt/pkg/include   -c -o repmgrd.o repmgrd.c
repmgrd.c: In function 'main':
repmgrd.c:163:63: error: 'REPMGR_VERSION' undeclared (first use in this function); did you mean 'PG_VERSION'?
  163 |                                 printf("%s %s\n", progname(), REPMGR_VERSION);
      |                                                               ^~~~~~~~~~~~~~
      |                                                               PG_VERSION
repmgrd.c:163:63: note: each undeclared identifier is reported only once for each function it appears in
repmgrd.c:400:41: error: 'REPMGR_EXTENSION_NUM' undeclared (first use in this function)
  400 |                                         REPMGR_EXTENSION_NUM, extversions.installed_version_num);
      |                                         ^~~~~~~~~~~~~~~~~~~~
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/libxml2 -I/opt/pkg/include/ncurses -I/usr/include -fPIC -std=gnu89 -I/opt/pkg/include/postgresql/internal -I/opt/pkg/include -Wall -Wmissing-prototypes -Wmissing-declarations  -I. -I./ -I/opt/pkg/include/postgresql/server -I/opt/pkg/include/postgresql/internal  -I/opt/pkg/include/gettext -I/opt/pkg/include -I/opt/pkg/include/libxml2 -I/opt/pkg/include/ncurses -I/usr/include -D_POSIX_PTHREAD_SEMANTICS -I/opt/pkg/include/libxml2 -I/opt/pkg/include   -c -o repmgrd-physical.o repmgrd-physical.c
repmgrd.c:406:44: error: 'REPMGR_EXTENSION_VERSION' undeclared (first use in this function)
  406 |                                            REPMGR_EXTENSION_VERSION,
      |                                            ^~~~~~~~~~~~~~~~~~~~~~~~
gmake: *** [<builtin>: repmgrd.o] Error 1
gmake: *** Waiting for unfinished jobs....
*** Error code 2

Stop.
bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/databases/repmgr
*** Error code 1

Stop.
bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/databases/repmgr