=> Bootstrap dependency digest>=20010302: found digest-20190127
===> Skipping vulnerability checks.
WARNING: No /var/db/pkg/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'.
===> Building for skytools-3.2nb4
/usr/pkg/bin/python2.7 setup_skytools.py build
for dir in sql doc; do \
	/usr/pkg/bin/gmake -C $dir all DESTDIR= || exit ; \
done
gmake[1]: Entering directory '/scratch/work/databases/skytools/work/skytools-3.2/sql'
for dir in londiste pgq pgq_coop pgq_ext pgq_node ticker txid; do \
  /usr/pkg/bin/gmake -C $dir all \
	DESTDIR="" \
	PG_CONFIG="/scratch/work/databases/skytools/work/.buildlink/bin/pg_config" \
	PG_CPPFLAGS="-DHAVE_CONFIG_H" \
	PYTHON="/usr/pkg/bin/python2.7" \
  || exit ; \
done
gmake[2]: Entering directory '/scratch/work/databases/skytools/work/skytools-3.2/sql/londiste'
running build
running build_py
creating build.sk3
creating build.sk3/lib.netbsd-8.0-i386-2.7
creating build.sk3/lib.netbsd-8.0-i386-2.7/skytools
copying python/skytools/plpy_applyrow.py -> build.sk3/lib.netbsd-8.0-i386-2.7/skytools
copying python/skytools/querybuilder.py -> build.sk3/lib.netbsd-8.0-i386-2.7/skytools
copying python/skytools/scripting.py -> build.sk3/lib.netbsd-8.0-i386-2.7/skytools
copying python/skytools/dbstruct.py -> build.sk3/lib.netbsd-8.0-i386-2.7/skytools
copying python/skytools/timeutil.py -> build.sk3/lib.netbsd-8.0-i386-2.7/skytools
copying python/skytools/sockutil.py -> build.sk3/lib.netbsd-8.0-i386-2.7/skytools
copying python/skytools/fileutil.py -> build.sk3/lib.netbsd-8.0-i386-2.7/skytools
copying python/skytools/sqltools.py -> build.sk3/lib.netbsd-8.0-i386-2.7/skytools
copying python/skytools/_pyquoting.py -> build.sk3/lib.netbsd-8.0-i386-2.7/skytools
copying python/skytools/config.py -> build.sk3/lib.netbsd-8.0-i386-2.7/skytools
copying python/skytools/apipkg.py -> build.sk3/lib.netbsd-8.0-i386-2.7/skytools
copying python/skytools/adminscript.py -> build.sk3/lib.netbsd-8.0-i386-2.7/skytools
copying python/skytools/tnetstrings.py -> build.sk3/lib.netbsd-8.0-i386-2.7/skytools
copying python/skytools/quoting.py -> build.sk3/lib.netbsd-8.0-i386-2.7/skytools
copying python/skytools/dbservice.py -> build.sk3/lib.netbsd-8.0-i386-2.7/skytools
copying python/skytools/checker.py -> build.sk3/lib.netbsd-8.0-i386-2.7/skytools
copying python/skytools/skylog.py -> build.sk3/lib.netbsd-8.0-i386-2.7/skytools
copying python/skytools/gzlog.py -> build.sk3/lib.netbsd-8.0-i386-2.7/skytools
copying python/skytools/utf8.py -> build.sk3/lib.netbsd-8.0-i386-2.7/skytools
copying python/skytools/psycopgwrapper.py -> build.sk3/lib.netbsd-8.0-i386-2.7/skytools
copying python/skytools/hashtext.py -> build.sk3/lib.netbsd-8.0-i386-2.7/skytools
copying python/skytools/__init__.py -> build.sk3/lib.netbsd-8.0-i386-2.7/skytools
copying python/skytools/natsort.py -> build.sk3/lib.netbsd-8.0-i386-2.7/skytools
/usr/pkg/bin/python2.7 ../../scripts/catsql.py structure/install.sql > londiste.sql
/usr/pkg/bin/python2.7 ../../scripts/catsql.py structure/upgrade.sql > londiste.upgrade.sql
copying python/skytools/parsing.py -> build.sk3/lib.netbsd-8.0-i386-2.7/skytools
creating build.sk3/lib.netbsd-8.0-i386-2.7/londiste
copying python/londiste/syncer.py -> build.sk3/lib.netbsd-8.0-i386-2.7/londiste
copying python/londiste/exec_attrs.py -> build.sk3/lib.netbsd-8.0-i386-2.7/londiste
copying python/londiste/util.py -> build.sk3/lib.netbsd-8.0-i386-2.7/londiste
copying python/londiste/table_copy.py -> build.sk3/lib.netbsd-8.0-i386-2.7/londiste
copying python/londiste/playback.py -> build.sk3/lib.netbsd-8.0-i386-2.7/londiste
copying python/londiste/setup.py -> build.sk3/lib.netbsd-8.0-i386-2.7/londiste
copying python/londiste/__init__.py -> build.sk3/lib.netbsd-8.0-i386-2.7/londiste
copying python/londiste/compare.py -> build.sk3/lib.netbsd-8.0-i386-2.7/londiste
copying python/londiste/handler.py -> build.sk3/lib.netbsd-8.0-i386-2.7/londiste
copying python/londiste/repair.py -> build.sk3/lib.netbsd-8.0-i386-2.7/londiste
creating build.sk3/lib.netbsd-8.0-i386-2.7/londiste/handlers
copying python/londiste/handlers/vtable.py -> build.sk3/lib.netbsd-8.0-i386-2.7/londiste/handlers
copying python/londiste/handlers/dispatch.py -> build.sk3/lib.netbsd-8.0-i386-2.7/londiste/handlers
copying python/londiste/handlers/qtable.py -> build.sk3/lib.netbsd-8.0-i386-2.7/londiste/handlers
copying python/londiste/handlers/multimaster.py -> build.sk3/lib.netbsd-8.0-i386-2.7/londiste/handlers
copying python/londiste/handlers/__init__.py -> build.sk3/lib.netbsd-8.0-i386-2.7/londiste/handlers
copying python/londiste/handlers/applyfn.py -> build.sk3/lib.netbsd-8.0-i386-2.7/londiste/handlers
copying python/londiste/handlers/shard.py -> build.sk3/lib.netbsd-8.0-i386-2.7/londiste/handlers
copying python/londiste/handlers/bulk.py -> build.sk3/lib.netbsd-8.0-i386-2.7/londiste/handlers
creating build.sk3/lib.netbsd-8.0-i386-2.7/pgq
copying python/pgq/status.py -> build.sk3/lib.netbsd-8.0-i386-2.7/pgq
copying python/pgq/localconsumer.py -> build.sk3/lib.netbsd-8.0-i386-2.7/pgq
copying python/pgq/event.py -> build.sk3/lib.netbsd-8.0-i386-2.7/pgq
copying python/pgq/producer.py -> build.sk3/lib.netbsd-8.0-i386-2.7/pgq
copying python/pgq/coopconsumer.py -> build.sk3/lib.netbsd-8.0-i386-2.7/pgq
copying python/pgq/baseconsumer.py -> build.sk3/lib.netbsd-8.0-i386-2.7/pgq
copying python/pgq/remoteconsumer.py -> build.sk3/lib.netbsd-8.0-i386-2.7/pgq
copying python/pgq/consumer.py -> build.sk3/lib.netbsd-8.0-i386-2.7/pgq
copying python/pgq/__init__.py -> build.sk3/lib.netbsd-8.0-i386-2.7/pgq
creating build.sk3/lib.netbsd-8.0-i386-2.7/pgq/cascade
copying python/pgq/cascade/worker.py -> build.sk3/lib.netbsd-8.0-i386-2.7/pgq/cascade
copying python/pgq/cascade/nodeinfo.py -> build.sk3/lib.netbsd-8.0-i386-2.7/pgq/cascade
copying python/pgq/cascade/consumer.py -> build.sk3/lib.netbsd-8.0-i386-2.7/pgq/cascade
/usr/pkg/bin/python2.7 ../../scripts/grantfu.py -t -r -d structure/grants.ini > structure/newgrants_londiste.sql
copying python/pgq/cascade/__init__.py -> build.sk3/lib.netbsd-8.0-i386-2.7/pgq/cascade
echo "begin;" > structure/oldgrants_londiste.sql
copying python/pgq/cascade/admin.py -> build.sk3/lib.netbsd-8.0-i386-2.7/pgq/cascade
/usr/pkg/bin/python2.7 ../../scripts/grantfu.py -R -o structure/grants.ini >> structure/oldgrants_londiste.sql
running build_ext
building 'skytools._cquoting' extension
creating build.sk3/temp.netbsd-8.0-i386-2.7
creating build.sk3/temp.netbsd-8.0-i386-2.7/python
creating build.sk3/temp.netbsd-8.0-i386-2.7/python/modules
gcc -fno-strict-aliasing -O2 -D_FORTIFY_SOURCE=2 -pthread -I/usr/include -I/usr/pkg/include -DNDEBUG -O2 -D_FORTIFY_SOURCE=2 -pthread -I/usr/include -I/usr/pkg/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wmissing-prototypes -Wpointer-arith -Wendif-labels -Wdeclaration-after-statement -Wold-style-definition -Wstrict-prototypes -Wundef -Wformat=2 -Wuninitialized -I/usr/pkg/include -I/usr/include -fPIC -I/usr/pkg/include/python2.7 -c python/modules/cquoting.c -o build.sk3/temp.netbsd-8.0-i386-2.7/python/modules/cquoting.o
/usr/pkg/bin/python2.7 ../../scripts/catsql.py londiste.sql structure/ext_postproc.sql > londiste--3.2.sql
cat structure/grants.sql >> structure/oldgrants_londiste.sql
echo "commit;" >> structure/oldgrants_londiste.sql
/usr/pkg/bin/python2.7 ../../scripts/catsql.py londiste.upgrade.sql structure/ext_unpackaged.sql structure/ext_postproc.sql > londiste--unpackaged--3.2.sql
cp londiste.upgrade.sql londiste--3.1--3.2.sql
cp londiste.upgrade.sql londiste--3.1.1--3.2.sql
cp londiste.upgrade.sql londiste--3.1.3--3.2.sql
cp londiste.upgrade.sql londiste--3.1.4--3.2.sql
cp londiste.upgrade.sql londiste--3.1.6--3.2.sql
gmake[2]: Leaving directory '/scratch/work/databases/skytools/work/skytools-3.2/sql/londiste'
gmake[2]: Entering directory '/scratch/work/databases/skytools/work/skytools-3.2/sql/pgq'
python/modules/cquoting.c:783:1: warning: no previous prototype for 'init_cquoting' [-Wmissing-prototypes]
 init_cquoting(void)
 ^
/usr/pkg/bin/python2.7 ../../scripts/catsql.py structure/install.sql > pgq.sql
/usr/pkg/bin/python2.7 ../../scripts/catsql.py structure/upgrade.sql > pgq.upgrade.sql
/usr/pkg/bin/python2.7 ../../scripts/grantfu.py -t -r -d structure/grants.ini > structure/newgrants_pgq.sql
echo "begin;" > structure/oldgrants_pgq.sql
/usr/pkg/bin/python2.7 ../../scripts/grantfu.py -R -o structure/grants.ini >> structure/oldgrants_pgq.sql
for dir in lowlevel triggers; do \
	/usr/pkg/bin/gmake -C $dir all \
		DESTDIR= \
		PG_CONFIG=/scratch/work/databases/skytools/work/.buildlink/bin/pg_config \
	|| exit 1; \
done
cat structure/grants.sql >> structure/oldgrants_pgq.sql
gmake[3]: Entering directory '/scratch/work/databases/skytools/work/skytools-3.2/sql/pgq/lowlevel'
echo "commit;" >> structure/oldgrants_pgq.sql
/usr/pkg/bin/python2.7 ../../scripts/catsql.py pgq.sql structure/ext_postproc.sql > pgq--3.2.sql
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 -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/include/readline -I/usr/pkg/include/krb5 -fPIC -DPIC -DHAVE_CONFIG_H -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/pkg/include/krb5 -I/usr/pkg/include/libxml2 -I/usr/include   -c -o insert_event.o insert_event.c
/usr/pkg/bin/python2.7 ../../scripts/catsql.py pgq.upgrade.sql structure/ext_unpackaged.sql structure/ext_postproc.sql > pgq--unpackaged--3.2.sql
gcc -shared -L/scratch/work/lang/python27/work/Python-2.7.18 -pthread -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib -g -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -Wl,--as-needed -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wmissing-prototypes -Wpointer-arith -Wendif-labels -Wdeclaration-after-statement -Wold-style-definition -Wstrict-prototypes -Wundef -Wformat=2 -Wuninitialized -I/usr/pkg/include -I/usr/include build.sk3/temp.netbsd-8.0-i386-2.7/python/modules/cquoting.o -L/usr/pkg/lib -lpython2.7 -o build.sk3/lib.netbsd-8.0-i386-2.7/skytools/_cquoting.so -g -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -Wl,--as-needed
cp pgq.upgrade.sql pgq--3.1--3.2.sql
cp pgq.upgrade.sql pgq--3.1.1--3.2.sql
cp pgq.upgrade.sql pgq--3.1.2--3.2.sql
cp pgq.upgrade.sql pgq--3.1.3--3.2.sql
cp pgq.upgrade.sql pgq--3.1.6--3.2.sql
/scratch/work/databases/skytools/work/.buildlink/lib/libpython2.7.so: warning: warning: tmpnam() possibly used unsafely, use mkstemp() or mkdtemp()
/scratch/work/databases/skytools/work/.buildlink/lib/libpython2.7.so: warning: warning: tempnam() possibly used unsafely, use mkstemp() or mkdtemp()
building 'skytools._chashtext' extension
gcc -fno-strict-aliasing -O2 -D_FORTIFY_SOURCE=2 -pthread -I/usr/include -I/usr/pkg/include -DNDEBUG -O2 -D_FORTIFY_SOURCE=2 -pthread -I/usr/include -I/usr/pkg/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wmissing-prototypes -Wpointer-arith -Wendif-labels -Wdeclaration-after-statement -Wold-style-definition -Wstrict-prototypes -Wundef -Wformat=2 -Wuninitialized -I/usr/pkg/include -I/usr/include -fPIC -I/usr/pkg/include/python2.7 -c python/modules/hashtext.c -o build.sk3/temp.netbsd-8.0-i386-2.7/python/modules/hashtext.o
python/modules/hashtext.c:422:1: warning: no previous prototype for 'init_chashtext' [-Wmissing-prototypes]
 init_chashtext(void)
 ^
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 -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/include/readline -I/usr/pkg/include/krb5 -fPIC -DPIC -shared -o pgq_lowlevel.so insert_event.o -L/usr/pkg/lib  -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -L/usr/lib -L/usr/lib -L/usr/lib  -Wl,--as-needed -Wl,-R'/usr/pkg/lib'  
gmake[3]: Leaving directory '/scratch/work/databases/skytools/work/skytools-3.2/sql/pgq/lowlevel'
gmake[3]: Entering directory '/scratch/work/databases/skytools/work/skytools-3.2/sql/pgq/triggers'
gcc -shared -L/scratch/work/lang/python27/work/Python-2.7.18 -pthread -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib -g -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -Wl,--as-needed -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wmissing-prototypes -Wpointer-arith -Wendif-labels -Wdeclaration-after-statement -Wold-style-definition -Wstrict-prototypes -Wundef -Wformat=2 -Wuninitialized -I/usr/pkg/include -I/usr/include build.sk3/temp.netbsd-8.0-i386-2.7/python/modules/hashtext.o -L/usr/pkg/lib -lpython2.7 -o build.sk3/lib.netbsd-8.0-i386-2.7/skytools/_chashtext.so -g -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -Wl,--as-needed
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 -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/include/readline -I/usr/pkg/include/krb5 -fPIC -DPIC -DHAVE_CONFIG_H -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/pkg/include/krb5 -I/usr/pkg/include/libxml2 -I/usr/include   -c -o logtriga.o logtriga.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 -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/include/readline -I/usr/pkg/include/krb5 -fPIC -DPIC -DHAVE_CONFIG_H -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/pkg/include/krb5 -I/usr/pkg/include/libxml2 -I/usr/include   -c -o logutriga.o logutriga.c
/scratch/work/databases/skytools/work/.buildlink/lib/libpython2.7.so: warning: warning: tmpnam() possibly used unsafely, use mkstemp() or mkdtemp()
/scratch/work/databases/skytools/work/.buildlink/lib/libpython2.7.so: warning: warning: tempnam() possibly used unsafely, use mkstemp() or mkdtemp()
running build_scripts
creating build.sk3/scripts-2.7
copying and adjusting python/londiste.py -> build.sk3/scripts-2.7
copying and adjusting python/walmgr.py -> build.sk3/scripts-2.7
copying and adjusting scripts/data_maintainer.py -> build.sk3/scripts-2.7
copying and adjusting scripts/queue_mover.py -> build.sk3/scripts-2.7
copying and adjusting scripts/queue_splitter.py -> build.sk3/scripts-2.7
copying and adjusting scripts/scriptmgr.py -> build.sk3/scripts-2.7
copying and adjusting scripts/simple_consumer.py -> build.sk3/scripts-2.7
copying and adjusting scripts/simple_local_consumer.py -> build.sk3/scripts-2.7
copying and adjusting scripts/skytools_upgrade.py -> build.sk3/scripts-2.7
copying and adjusting python/qadmin.py -> build.sk3/scripts-2.7
changing mode of build.sk3/scripts-2.7/londiste.py from 644 to 755
changing mode of build.sk3/scripts-2.7/walmgr.py from 644 to 755
changing mode of build.sk3/scripts-2.7/data_maintainer.py from 644 to 755
changing mode of build.sk3/scripts-2.7/queue_mover.py from 644 to 755
changing mode of build.sk3/scripts-2.7/queue_splitter.py from 644 to 755
changing mode of build.sk3/scripts-2.7/scriptmgr.py from 644 to 755
changing mode of build.sk3/scripts-2.7/simple_consumer.py from 644 to 755
changing mode of build.sk3/scripts-2.7/simple_local_consumer.py from 644 to 755
changing mode of build.sk3/scripts-2.7/skytools_upgrade.py from 644 to 755
changing mode of build.sk3/scripts-2.7/qadmin.py from 644 to 755
logutriga.c: In function 'is_interesting_change':
logutriga.c:57:24: error: invalid type argument of '->' (have 'FormData_pg_attribute {aka struct FormData_pg_attribute}')
   if (tupdesc->attrs[i]->attisdropped)
                        ^
logutriga.c: In function 'pgq_urlenc_row':
logutriga.c:148:24: error: invalid type argument of '->' (have 'FormData_pg_attribute {aka struct FormData_pg_attribute}')
   if (tupdesc->attrs[i]->attisdropped)
                        ^
gmake[3]: *** [<builtin>: logutriga.o] Error 1
gmake[3]: *** Waiting for unfinished jobs....
gmake[3]: Leaving directory '/scratch/work/databases/skytools/work/skytools-3.2/sql/pgq/triggers'
gmake[2]: *** [Makefile:32: sub-all] Error 1
gmake[2]: Leaving directory '/scratch/work/databases/skytools/work/skytools-3.2/sql/pgq'
gmake[1]: *** [Makefile:7: all] Error 2
gmake[1]: Leaving directory '/scratch/work/databases/skytools/work/skytools-3.2/sql'
gmake: *** [Makefile:22: sub-all] Error 2
gmake: *** Waiting for unfinished jobs....
Renaming build.sk3/scripts-2.7/londiste.py -> londiste3
Renaming build.sk3/scripts-2.7/walmgr.py -> walmgr3
Renaming build.sk3/scripts-2.7/data_maintainer.py -> data_maintainer3
Renaming build.sk3/scripts-2.7/queue_mover.py -> queue_mover3
Renaming build.sk3/scripts-2.7/queue_splitter.py -> queue_splitter3
Renaming build.sk3/scripts-2.7/scriptmgr.py -> scriptmgr3
Renaming build.sk3/scripts-2.7/simple_consumer.py -> simple_consumer3
Renaming build.sk3/scripts-2.7/simple_local_consumer.py -> simple_local_consumer3
Renaming build.sk3/scripts-2.7/skytools_upgrade.py -> skytools_upgrade3
Renaming build.sk3/scripts-2.7/qadmin.py -> qadmin
Creating sql/pgq_node/pgq_node.sql
Creating sql/pgq_coop/pgq_coop.sql
Creating sql/pgq_ext/pgq_ext.sql
Creating sql/pgq_node/pgq_node.upgrade.sql
Creating sql/pgq_coop/pgq_coop.upgrade.sql
Creating sql/pgq_ext/pgq_ext.upgrade.sql
*** Error code 2

Stop.
make[1]: stopped in /tree/pkgsrc/databases/skytools
*** Error code 1

Stop.
make: stopped in /tree/pkgsrc/databases/skytools