+ 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=12 WRKLOG=/tmp/bulklog/postgresql12-repmgr-5.4.1/work.log + su pbulk -c '"$@"' make /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent PGSQL_VERSION_REQD=12 WRKLOG=/tmp/bulklog/postgresql12-repmgr-5.4.1/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for postgresql12-repmgr-5.4.1 Building against PostgreSQL 12 gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -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/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/gettext -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 -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/local/include -I/opt/local/include/ncurses -DLDAP_DEPRECATED -I/usr/include -fPIC -shared -Wl,-Bsymbolic -o repmgr.so repmgr.o -lcurl -ljson-c -L/opt/local/lib -L/opt/local/gcc12/lib/gcc/x86_64-sun-solaris2.11/12.2.0 -Wl,-R/opt/local/gcc12/lib/gcc/x86_64-sun-solaris2.11/12.2.0 -lnsl -lsocket -L/opt/local/lib -Wl,-R/opt/local/lib -liconv -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -lintl -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 ld: fatal: library -lcurl: not found ld: fatal: file processing errors. No output written to repmgr.so collect2: error: ld returned 1 exit status gmake: *** [/opt/local/lib/postgresql/pgxs/src/makefiles/../../src/Makefile.shlib:314: repmgr.so] Error 1 *** Error code 2 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-trunk-x86_64/databases/repmgr *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-trunk-x86_64/databases/repmgr