+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent PGSQL_VERSION_REQD=14 WRKLOG=/tmp/bulklog/postgresql14-repmgr-5.3.0nb1/work.log + su pbulk -c '"$@"' make /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent PGSQL_VERSION_REQD=14 WRKLOG=/tmp/bulklog/postgresql14-repmgr-5.3.0nb1/work.log => Bootstrap dependency digest>=20211023: found digest-20211023 ===> Building for postgresql14-repmgr-5.3.0nb1 Building against PostgreSQL 14 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 -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/opt/local/include/ncurses -DLDAP_DEPRECATED -I/usr/include -fPIC -std=gnu89 -I/opt/local/include/postgresql/internal -I/opt/local/include -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/opt/local/include/postgresql/server -I/opt/local/include/postgresql/internal -I/opt/local/include -I/opt/local/include/ncurses -DLDAP_DEPRECATED -I/usr/include -I/opt/local/include/libxml2 -I/opt/local/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 -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/opt/local/include/ncurses -DLDAP_DEPRECATED -I/usr/include -fPIC -shared -Wl,-Bsymbolic -o repmgr.so repmgr.o -L/opt/local/lib -L/opt/local/gcc10/lib/gcc/x86_64-sun-solaris2.11/10.4.0 -Wl,-R/opt/local/gcc10/lib/gcc/x86_64-sun-solaris2.11/10.4.0 -lnsl -lsocket -L/opt/local/lib -Wl,-R/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -L/opt/local/lib -L/opt/local/lib -L/opt/local/lib -L/opt/local/lib -Wl,-R'/opt/local/lib' -L/opt/local/lib -lpq -lintl Undefined first referenced symbol in file pfree repmgr.o TimestampDifference repmgr.o GetNamedLWLockTranche repmgr.o cstring_to_text repmgr.o appendStringInfo repmgr.o text_to_cstring repmgr.o errstart_cold repmgr.o WalRcv repmgr.o GetCurrentTimestamp repmgr.o LWLockAcquire repmgr.o errmsg repmgr.o FreeFile repmgr.o errfinish repmgr.o LWLockRelease repmgr.o errstart repmgr.o MainLWLockArray repmgr.o ShmemInitStruct repmgr.o initStringInfo repmgr.o RequestAddinShmemSpace repmgr.o RequestNamedLWLockTranche repmgr.o AllocateFile repmgr.o errcode repmgr.o errmsg_internal repmgr.o process_shared_preload_libraries_in_progress repmgr.o shmem_startup_hook repmgr.o pg_detoast_datum_packed repmgr.o ld: warning: symbol referencing errors sed -E 's/REPMGR_VERSION_DATE.*""/REPMGR_VERSION_DATE "2024-04-24"/' repmgr_version.h.in >repmgr_version.h; \ sed -i -E 's/PG_ACTUAL_VERSION_NUM/PG_ACTUAL_VERSION_NUM 140001/' repmgr_version.h sed: illegal option -- i usage: sed [-aEn] script [file ...] sed [-aEn] [-e script] ... [-f script_file] ... [file ...] gmake: *** [Makefile:74: repmgr_version.h] Error 1 gmake: *** Deleting file 'repmgr_version.h' *** Error code 2 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-2021Q4-x86_64/databases/repmgr *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-2021Q4-x86_64/databases/repmgr