===> Building for postgresql17-repmgr-5.4.1nb6
Building against PostgreSQL 17
clang -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Werror=unguarded-availability-new -Wendif-labels -Wmissing-format-attribute -Wcast-function-type -Wformat-security -fno-strict-aliasing -fwrapv -Wno-unused-command-line-argument -Wno-compound-token-split-by-macro -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -DLDAP_DEPRECATED  -fvisibility=hidden -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 -isysroot /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -I/opt/pkg/include/gettext -I/opt/pkg/include -I/opt/pkg/include/ncurses -DLDAP_DEPRECATED -I/opt/pkg/include/libxml2 -I/opt/pkg/include -I/opt/pkg/include   -c -o repmgr.o repmgr.c
clang -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Werror=unguarded-availability-new -Wendif-labels -Wmissing-format-attribute -Wcast-function-type -Wformat-security -fno-strict-aliasing -fwrapv -Wno-unused-command-line-argument -Wno-compound-token-split-by-macro -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -DLDAP_DEPRECATED  -fvisibility=hidden -bundle -o repmgr.dylib repmgr.o -lcurl -ljson-c -L/opt/pkg/lib -isysroot /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -L/opt/pkg/lib -L/opt/pkg/lib -L/opt/pkg/lib  -Wl,-dead_strip_dylibs  -fvisibility=hidden -L/opt/pkg/lib -lpq -lintl -bundle_loader /opt/pkg/bin/postgres
gsed -E 's/REPMGR_VERSION_DATE.*""/REPMGR_VERSION_DATE "2024-11-17"/' repmgr_version.h.in >repmgr_version.h; \
gsed -i -E 's/PG_ACTUAL_VERSION_NUM/PG_ACTUAL_VERSION_NUM 170000/' repmgr_version.h
clang -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Werror=unguarded-availability-new -Wendif-labels -Wmissing-format-attribute -Wcast-function-type -Wformat-security -fno-strict-aliasing -fwrapv -Wno-unused-command-line-argument -Wno-compound-token-split-by-macro -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -DLDAP_DEPRECATED  -fvisibility=hidden -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 -isysroot /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -I/opt/pkg/include/gettext -I/opt/pkg/include -I/opt/pkg/include/ncurses -DLDAP_DEPRECATED -I/opt/pkg/include/libxml2 -I/opt/pkg/include -I/opt/pkg/include   -c -o repmgr-client.o repmgr-client.c
repmgr-client.c:3185:9: error: use of undeclared identifier 'PG_TEMP_FILE_PREFIX'
                                                  PG_TEMP_FILE_PREFIX);
                                                  ^
1 error generated.
gmake: *** [<builtin>: repmgr-client.o] Error 1
*** Error code 2

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

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