+ local run_cmd + run_cmd=run_su + shift + run_su /usr/pkg/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 /usr/pkg/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 cc -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 -I/usr/include -I/usr/pkg/include -I/usr/include/readline -I/usr/include/krb5 -DLDAP_DEPRECATED -fPIC -DPIC -std=gnu89 -I/usr/pkg/include/postgresql/internal -I/usr/pkg/include -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/usr/pkg/include/postgresql/server -I/usr/pkg/include/postgresql/internal -I/usr/include -I/usr/pkg/include -I/usr/include/readline -I/usr/include/krb5 -DLDAP_DEPRECATED -I/usr/pkg/include/libxml2 -I/usr/include -c -o repmgr.o repmgr.c gsed -E 's/REPMGR_VERSION_DATE.*""/REPMGR_VERSION_DATE "2023-10-27"/' repmgr_version.h.in >repmgr_version.h; \ gsed -i -E 's/PG_ACTUAL_VERSION_NUM/PG_ACTUAL_VERSION_NUM 120016/' repmgr_version.h flex -o'configfile-scan.c' configfile-scan.l cc -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 -I/usr/include -I/usr/pkg/include -I/usr/include/readline -I/usr/include/krb5 -DLDAP_DEPRECATED -fPIC -DPIC -std=gnu89 -I/usr/pkg/include/postgresql/internal -I/usr/pkg/include -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/usr/pkg/include/postgresql/server -I/usr/pkg/include/postgresql/internal -I/usr/include -I/usr/pkg/include -I/usr/include/readline -I/usr/include/krb5 -DLDAP_DEPRECATED -I/usr/pkg/include/libxml2 -I/usr/include -c -o log.o log.c log.c: In function '_stderr_log_with_level': log.c:96:3: warning: function '_stderr_log_with_level' might be a candidate for 'gnu_printf' format attribute [-Wsuggest-attribute=format] 96 | vfprintf(stderr, fmt, ap); | ^~~~~~~~ cc -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 -I/usr/include -I/usr/pkg/include -I/usr/include/readline -I/usr/include/krb5 -DLDAP_DEPRECATED -fPIC -DPIC -std=gnu89 -I/usr/pkg/include/postgresql/internal -I/usr/pkg/include -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/usr/pkg/include/postgresql/server -I/usr/pkg/include/postgresql/internal -I/usr/include -I/usr/pkg/include -I/usr/include/readline -I/usr/include/krb5 -DLDAP_DEPRECATED -I/usr/pkg/include/libxml2 -I/usr/include -c -o strutil.o strutil.c strutil.c: In function 'xvsnprintf': strutil.c:40:2: warning: function 'xvsnprintf' might be a candidate for 'gnu_printf' format attribute [-Wsuggest-attribute=format] 40 | retval = vsnprintf(str, size, format, ap); | ^~~~~~ In file included from /usr/include/ctype.h:100, from /home/pbulk/build/databases/repmgr/work/.buildlink/include/postgresql/internal/port.h:16, from /home/pbulk/build/databases/repmgr/work/.buildlink/include/postgresql/internal/c.h:1331, from /home/pbulk/build/databases/repmgr/work/.buildlink/include/postgresql/internal/postgres_fe.h:25, from repmgr.h:65, from strutil.c:24: strutil.c: In function 'trim': strutil.c:493:18: warning: array subscript has type 'char' [-Wchar-subscripts] 493 | while ((isspace(*s2)) && (s2 >= s1)) | ^ strutil.c:502:18: warning: array subscript has type 'char' [-Wchar-subscripts] 502 | while ((isspace(*s1)) && (s1 < s2)) | ^ cc -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 -I/usr/include -I/usr/pkg/include -I/usr/include/readline -I/usr/include/krb5 -DLDAP_DEPRECATED -fPIC -DPIC -std=gnu89 -I/usr/pkg/include/postgresql/internal -I/usr/pkg/include -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/usr/pkg/include/postgresql/server -I/usr/pkg/include/postgresql/internal -I/usr/include -I/usr/pkg/include -I/usr/include/readline -I/usr/include/krb5 -DLDAP_DEPRECATED -I/usr/pkg/include/libxml2 -I/usr/include -c -o controldata.o controldata.c cc -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 -I/usr/include -I/usr/pkg/include -I/usr/include/readline -I/usr/include/krb5 -DLDAP_DEPRECATED -fPIC -DPIC -std=gnu89 -I/usr/pkg/include/postgresql/internal -I/usr/pkg/include -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/usr/pkg/include/postgresql/server -I/usr/pkg/include/postgresql/internal -I/usr/include -I/usr/pkg/include -I/usr/include/readline -I/usr/include/krb5 -DLDAP_DEPRECATED -I/usr/pkg/include/libxml2 -I/usr/include -c -o dirutil.o dirutil.c cc -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 -I/usr/include -I/usr/pkg/include -I/usr/include/readline -I/usr/include/krb5 -DLDAP_DEPRECATED -fPIC -DPIC -std=gnu89 -I/usr/pkg/include/postgresql/internal -I/usr/pkg/include -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/usr/pkg/include/postgresql/server -I/usr/pkg/include/postgresql/internal -I/usr/include -I/usr/pkg/include -I/usr/include/readline -I/usr/include/krb5 -DLDAP_DEPRECATED -I/usr/pkg/include/libxml2 -I/usr/include -c -o compat.o compat.c cc -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 -I/usr/include -I/usr/pkg/include -I/usr/include/readline -I/usr/include/krb5 -DLDAP_DEPRECATED -fPIC -DPIC -std=gnu89 -I/usr/pkg/include/postgresql/internal -I/usr/pkg/include -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/usr/pkg/include/postgresql/server -I/usr/pkg/include/postgresql/internal -I/usr/include -I/usr/pkg/include -I/usr/include/readline -I/usr/include/krb5 -DLDAP_DEPRECATED -I/usr/pkg/include/libxml2 -I/usr/include -c -o dbutils.o dbutils.c cc -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 -I/usr/include -I/usr/pkg/include -I/usr/include/readline -I/usr/include/krb5 -DLDAP_DEPRECATED -fPIC -DPIC -std=gnu89 -I/usr/pkg/include/postgresql/internal -I/usr/pkg/include -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/usr/pkg/include/postgresql/server -I/usr/pkg/include/postgresql/internal -I/usr/include -I/usr/pkg/include -I/usr/include/readline -I/usr/include/krb5 -DLDAP_DEPRECATED -I/usr/pkg/include/libxml2 -I/usr/include -c -o sysutils.o sysutils.c dbutils.c: In function 'log_db_error': dbutils.c:80:2: warning: function 'log_db_error' might be a candidate for 'gnu_printf' format attribute [-Wsuggest-attribute=format] 80 | retval = vsnprintf(buf, MAXLEN, fmt, ap); | ^~~~~~ cc -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 -I/usr/include -I/usr/pkg/include -I/usr/include/readline -I/usr/include/krb5 -DLDAP_DEPRECATED -fPIC -DPIC -std=gnu89 -I/usr/pkg/include/postgresql/internal -I/usr/pkg/include -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/usr/pkg/include/postgresql/server -I/usr/pkg/include/postgresql/internal -I/usr/include -I/usr/pkg/include -I/usr/include/readline -I/usr/include/krb5 -DLDAP_DEPRECATED -I/usr/pkg/include/libxml2 -I/usr/include -c -o pgbackupapi.o pgbackupapi.c pgbackupapi.c:21:10: fatal error: curl/curl.h: No such file or directory 21 | #include | ^~~~~~~~~~~~~ compilation terminated. gmake: *** [: pgbackupapi.o] Error 1 gmake: *** Waiting for unfinished jobs.... *** Error code 2 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-netbsd-trunk-x86_64/databases/repmgr *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-netbsd-trunk-x86_64/databases/repmgr