+ 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=17 WRKLOG=/tmp/bulklog/postgresql17-repmgr-5.4.1nb6/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent PGSQL_VERSION_REQD=17 WRKLOG=/tmp/bulklog/postgresql17-repmgr-5.4.1nb6/work.log ===> Building for postgresql17-repmgr-5.4.1nb6 Building against PostgreSQL 17 gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wshadow=compatible-local -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/ncurses -I/usr/include -fPIC -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 -I/opt/pkg/include/gettext -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -D_POSIX_PTHREAD_SEMANTICS -I/opt/pkg/include/libxml2 -I/opt/pkg/include -I/opt/pkg/include -c -o repmgr.o repmgr.c gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wshadow=compatible-local -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/ncurses -I/usr/include -fPIC -fvisibility=hidden -shared -o repmgr.so repmgr.o -lcurl -ljson-c -L/opt/pkg/lib -lnsl -lsocket -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -liconv -lintl -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -L/opt/pkg/lib -L/opt/pkg/lib -Wl,-rpath,'/opt/pkg/lib' -fvisibility=hidden -L/opt/pkg/lib -lpq -lintl gsed -E 's/REPMGR_VERSION_DATE.*""/REPMGR_VERSION_DATE "2024-11-09"/' repmgr_version.h.in >repmgr_version.h; \ gsed -i -E 's/PG_ACTUAL_VERSION_NUM/PG_ACTUAL_VERSION_NUM 170000/' repmgr_version.h gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wshadow=compatible-local -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/ncurses -I/usr/include -fPIC -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 -I/opt/pkg/include/gettext -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -D_POSIX_PTHREAD_SEMANTICS -I/opt/pkg/include/libxml2 -I/opt/pkg/include -I/opt/pkg/include -c -o repmgr-client.o repmgr-client.c repmgr-client.c: In function 'copy_remote_files': repmgr-client.c:3185:51: error: 'PG_TEMP_FILE_PREFIX' undeclared (first use in this function) 3185 | PG_TEMP_FILE_PREFIX); | ^~~~~~~~~~~~~~~~~~~ repmgr-client.c:3185:51: note: each undeclared identifier is reported only once for each function it appears in gmake: *** [: repmgr-client.o] Error 1 *** 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