=> Bootstrap dependency digest>=20010302: found digest-20160304
===> Skipping vulnerability checks.
WARNING: No /var/db/pkg/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/pkg/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'.
===> Building for pkgin-0.11.2
--- .gdbinit ---
--- pkgindb_create.h ---
--- pkgin.html1 ---
--- .gdbinit ---
rm -f .gdbinit
touch .gdbinit
--- pkgin.html1 ---
#    format  pkgin-0.11.2/pkgin.html1
if test "" != "yes"; then  mandoc -Thtml -Oman=../html%S/%N.html,style=../style.css  pkgin.1 > pkgin.html1.tmp &&  mv pkgin.html1.tmp pkgin.html1;  else  groff -Tlatin1 -mdoc2html pkgin.1   > pkgin.html1.tmp && mv pkgin.html1.tmp pkgin.html1;  fi
--- main.o ---
--- summary.o ---
--- tools.o ---
--- pkgindb.o ---
--- depends.o ---
--- actions.o ---
--- pkglist.o ---
--- download.o ---
--- order.o ---
--- impact.o ---
--- autoremove.o ---
--- fsops.o ---
--- pkgindb_queries.o ---
--- pkg_str.o ---
--- sqlite_callbacks.o ---
--- main.o ---
#   compile  pkgin-0.11.2/main.o
clang -O2 -I/usr/include -I/usr/pkg/include -fPIE   -std=gnu99     -Wno-sign-compare -Wno-pointer-sign  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare    -Wreturn-type -Wswitch -Wshadow -Wcast-qual -Wwrite-strings -Wextra -Wno-unused-parameter -Wno-sign-compare -Wold-style-definition -Wconversion -Wsign-compare -Wformat=2   -Wpointer-sign -Wmissing-noreturn  -Werror    -DHAVE_NBCOMPAT_H=1 -I/data/scratch/pkgtools/pkgin/work/libnbcompat -I/usr/include -I/usr/pkg/include -DPKGIN_VERSION=\""0.11.2 for NetBSD-8.99.19 x86_64"\" -DHAVE_NBCOMPAT_H=1 -I/data/scratch/pkgtools/pkgin/work/libnbcompat -I/usr/include -I/usr/pkg/include -g -DLOCALBASE=\"/usr/pkg\" 			 -DPKG_SYSCONFDIR=\"/usr/pkg/etc\"		 -DPKGIN_DBDIR=\"/var/db/pkgin\"		 -DPKGTOOLS=\"/usr/pkg/sbin\" -DHAVE_CONFIG_H -D_LARGEFILE_SOURCE -D_LARGE_FILES -DCHECK_MACHINE_ARCH=\"x86_64\" -I. -I/usr/pkg/include  -c    main.c
--- summary.o ---
#   compile  pkgin-0.11.2/summary.o
clang -O2 -I/usr/include -I/usr/pkg/include -fPIE   -std=gnu99     -Wno-sign-compare -Wno-pointer-sign  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare    -Wreturn-type -Wswitch -Wshadow -Wcast-qual -Wwrite-strings -Wextra -Wno-unused-parameter -Wno-sign-compare -Wold-style-definition -Wconversion -Wsign-compare -Wformat=2   -Wpointer-sign -Wmissing-noreturn  -Werror    -DHAVE_NBCOMPAT_H=1 -I/data/scratch/pkgtools/pkgin/work/libnbcompat -I/usr/include -I/usr/pkg/include -DPKGIN_VERSION=\""0.11.2 for NetBSD-8.99.19 x86_64"\" -DHAVE_NBCOMPAT_H=1 -I/data/scratch/pkgtools/pkgin/work/libnbcompat -I/usr/include -I/usr/pkg/include -g -DLOCALBASE=\"/usr/pkg\" 			 -DPKG_SYSCONFDIR=\"/usr/pkg/etc\"		 -DPKGIN_DBDIR=\"/var/db/pkgin\"		 -DPKGTOOLS=\"/usr/pkg/sbin\" -DHAVE_CONFIG_H -D_LARGEFILE_SOURCE -D_LARGE_FILES -DCHECK_MACHINE_ARCH=\"x86_64\" -I. -I/usr/pkg/include  -c    summary.c
--- tools.o ---
#   compile  pkgin-0.11.2/tools.o
clang -O2 -I/usr/include -I/usr/pkg/include -fPIE   -std=gnu99     -Wno-sign-compare -Wno-pointer-sign  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare    -Wreturn-type -Wswitch -Wshadow -Wcast-qual -Wwrite-strings -Wextra -Wno-unused-parameter -Wno-sign-compare -Wold-style-definition -Wconversion -Wsign-compare -Wformat=2   -Wpointer-sign -Wmissing-noreturn  -Werror    -DHAVE_NBCOMPAT_H=1 -I/data/scratch/pkgtools/pkgin/work/libnbcompat -I/usr/include -I/usr/pkg/include -DPKGIN_VERSION=\""0.11.2 for NetBSD-8.99.19 x86_64"\" -DHAVE_NBCOMPAT_H=1 -I/data/scratch/pkgtools/pkgin/work/libnbcompat -I/usr/include -I/usr/pkg/include -g -DLOCALBASE=\"/usr/pkg\" 			 -DPKG_SYSCONFDIR=\"/usr/pkg/etc\"		 -DPKGIN_DBDIR=\"/var/db/pkgin\"		 -DPKGTOOLS=\"/usr/pkg/sbin\" -DHAVE_CONFIG_H -D_LARGEFILE_SOURCE -D_LARGE_FILES -DCHECK_MACHINE_ARCH=\"x86_64\" -I. -I/usr/pkg/include  -c    tools.c
--- pkgindb.o ---
#   compile  pkgin-0.11.2/pkgindb.o
clang -O2 -I/usr/include -I/usr/pkg/include -fPIE   -std=gnu99     -Wno-sign-compare -Wno-pointer-sign  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare    -Wreturn-type -Wswitch -Wshadow -Wcast-qual -Wwrite-strings -Wextra -Wno-unused-parameter -Wno-sign-compare -Wold-style-definition -Wconversion -Wsign-compare -Wformat=2   -Wpointer-sign -Wmissing-noreturn  -Werror    -DHAVE_NBCOMPAT_H=1 -I/data/scratch/pkgtools/pkgin/work/libnbcompat -I/usr/include -I/usr/pkg/include -DPKGIN_VERSION=\""0.11.2 for NetBSD-8.99.19 x86_64"\" -DHAVE_NBCOMPAT_H=1 -I/data/scratch/pkgtools/pkgin/work/libnbcompat -I/usr/include -I/usr/pkg/include -g -DLOCALBASE=\"/usr/pkg\" 			 -DPKG_SYSCONFDIR=\"/usr/pkg/etc\"		 -DPKGIN_DBDIR=\"/var/db/pkgin\"		 -DPKGTOOLS=\"/usr/pkg/sbin\" -DHAVE_CONFIG_H -D_LARGEFILE_SOURCE -D_LARGE_FILES -DCHECK_MACHINE_ARCH=\"x86_64\" -I. -I/usr/pkg/include  -c -Wno-format-nonliteral   pkgindb.c
--- depends.o ---
#   compile  pkgin-0.11.2/depends.o
clang -O2 -I/usr/include -I/usr/pkg/include -fPIE   -std=gnu99     -Wno-sign-compare -Wno-pointer-sign  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare    -Wreturn-type -Wswitch -Wshadow -Wcast-qual -Wwrite-strings -Wextra -Wno-unused-parameter -Wno-sign-compare -Wold-style-definition -Wconversion -Wsign-compare -Wformat=2   -Wpointer-sign -Wmissing-noreturn  -Werror    -DHAVE_NBCOMPAT_H=1 -I/data/scratch/pkgtools/pkgin/work/libnbcompat -I/usr/include -I/usr/pkg/include -DPKGIN_VERSION=\""0.11.2 for NetBSD-8.99.19 x86_64"\" -DHAVE_NBCOMPAT_H=1 -I/data/scratch/pkgtools/pkgin/work/libnbcompat -I/usr/include -I/usr/pkg/include -g -DLOCALBASE=\"/usr/pkg\" 			 -DPKG_SYSCONFDIR=\"/usr/pkg/etc\"		 -DPKGIN_DBDIR=\"/var/db/pkgin\"		 -DPKGTOOLS=\"/usr/pkg/sbin\" -DHAVE_CONFIG_H -D_LARGEFILE_SOURCE -D_LARGE_FILES -DCHECK_MACHINE_ARCH=\"x86_64\" -I. -I/usr/pkg/include  -c -Wno-format-nonliteral   depends.c
--- actions.o ---
#   compile  pkgin-0.11.2/actions.o
clang -O2 -I/usr/include -I/usr/pkg/include -fPIE   -std=gnu99     -Wno-sign-compare -Wno-pointer-sign  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare    -Wreturn-type -Wswitch -Wshadow -Wcast-qual -Wwrite-strings -Wextra -Wno-unused-parameter -Wno-sign-compare -Wold-style-definition -Wconversion -Wsign-compare -Wformat=2   -Wpointer-sign -Wmissing-noreturn  -Werror    -DHAVE_NBCOMPAT_H=1 -I/data/scratch/pkgtools/pkgin/work/libnbcompat -I/usr/include -I/usr/pkg/include -DPKGIN_VERSION=\""0.11.2 for NetBSD-8.99.19 x86_64"\" -DHAVE_NBCOMPAT_H=1 -I/data/scratch/pkgtools/pkgin/work/libnbcompat -I/usr/include -I/usr/pkg/include -g -DLOCALBASE=\"/usr/pkg\" 			 -DPKG_SYSCONFDIR=\"/usr/pkg/etc\"		 -DPKGIN_DBDIR=\"/var/db/pkgin\"		 -DPKGTOOLS=\"/usr/pkg/sbin\" -DHAVE_CONFIG_H -D_LARGEFILE_SOURCE -D_LARGE_FILES -DCHECK_MACHINE_ARCH=\"x86_64\" -I. -I/usr/pkg/include  -c -Wno-format-nonliteral   actions.c
--- pkglist.o ---
#   compile  pkgin-0.11.2/pkglist.o
clang -O2 -I/usr/include -I/usr/pkg/include -fPIE   -std=gnu99     -Wno-sign-compare -Wno-pointer-sign  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare    -Wreturn-type -Wswitch -Wshadow -Wcast-qual -Wwrite-strings -Wextra -Wno-unused-parameter -Wno-sign-compare -Wold-style-definition -Wconversion -Wsign-compare -Wformat=2   -Wpointer-sign -Wmissing-noreturn  -Werror    -DHAVE_NBCOMPAT_H=1 -I/data/scratch/pkgtools/pkgin/work/libnbcompat -I/usr/include -I/usr/pkg/include -DPKGIN_VERSION=\""0.11.2 for NetBSD-8.99.19 x86_64"\" -DHAVE_NBCOMPAT_H=1 -I/data/scratch/pkgtools/pkgin/work/libnbcompat -I/usr/include -I/usr/pkg/include -g -DLOCALBASE=\"/usr/pkg\" 			 -DPKG_SYSCONFDIR=\"/usr/pkg/etc\"		 -DPKGIN_DBDIR=\"/var/db/pkgin\"		 -DPKGTOOLS=\"/usr/pkg/sbin\" -DHAVE_CONFIG_H -D_LARGEFILE_SOURCE -D_LARGE_FILES -DCHECK_MACHINE_ARCH=\"x86_64\" -I. -I/usr/pkg/include  -c -Wno-format-nonliteral   pkglist.c
--- order.o ---
#   compile  pkgin-0.11.2/order.o
clang -O2 -I/usr/include -I/usr/pkg/include -fPIE   -std=gnu99     -Wno-sign-compare -Wno-pointer-sign  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare    -Wreturn-type -Wswitch -Wshadow -Wcast-qual -Wwrite-strings -Wextra -Wno-unused-parameter -Wno-sign-compare -Wold-style-definition -Wconversion -Wsign-compare -Wformat=2   -Wpointer-sign -Wmissing-noreturn  -Werror    -DHAVE_NBCOMPAT_H=1 -I/data/scratch/pkgtools/pkgin/work/libnbcompat -I/usr/include -I/usr/pkg/include -DPKGIN_VERSION=\""0.11.2 for NetBSD-8.99.19 x86_64"\" -DHAVE_NBCOMPAT_H=1 -I/data/scratch/pkgtools/pkgin/work/libnbcompat -I/usr/include -I/usr/pkg/include -g -DLOCALBASE=\"/usr/pkg\" 			 -DPKG_SYSCONFDIR=\"/usr/pkg/etc\"		 -DPKGIN_DBDIR=\"/var/db/pkgin\"		 -DPKGTOOLS=\"/usr/pkg/sbin\" -DHAVE_CONFIG_H -D_LARGEFILE_SOURCE -D_LARGE_FILES -DCHECK_MACHINE_ARCH=\"x86_64\" -I. -I/usr/pkg/include  -c    order.c
--- impact.o ---
#   compile  pkgin-0.11.2/impact.o
clang -O2 -I/usr/include -I/usr/pkg/include -fPIE   -std=gnu99     -Wno-sign-compare -Wno-pointer-sign  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare    -Wreturn-type -Wswitch -Wshadow -Wcast-qual -Wwrite-strings -Wextra -Wno-unused-parameter -Wno-sign-compare -Wold-style-definition -Wconversion -Wsign-compare -Wformat=2   -Wpointer-sign -Wmissing-noreturn  -Werror    -DHAVE_NBCOMPAT_H=1 -I/data/scratch/pkgtools/pkgin/work/libnbcompat -I/usr/include -I/usr/pkg/include -DPKGIN_VERSION=\""0.11.2 for NetBSD-8.99.19 x86_64"\" -DHAVE_NBCOMPAT_H=1 -I/data/scratch/pkgtools/pkgin/work/libnbcompat -I/usr/include -I/usr/pkg/include -g -DLOCALBASE=\"/usr/pkg\" 			 -DPKG_SYSCONFDIR=\"/usr/pkg/etc\"		 -DPKGIN_DBDIR=\"/var/db/pkgin\"		 -DPKGTOOLS=\"/usr/pkg/sbin\" -DHAVE_CONFIG_H -D_LARGEFILE_SOURCE -D_LARGE_FILES -DCHECK_MACHINE_ARCH=\"x86_64\" -I. -I/usr/pkg/include  -c    impact.c
--- fsops.o ---
#   compile  pkgin-0.11.2/fsops.o
clang -O2 -I/usr/include -I/usr/pkg/include -fPIE   -std=gnu99     -Wno-sign-compare -Wno-pointer-sign  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare    -Wreturn-type -Wswitch -Wshadow -Wcast-qual -Wwrite-strings -Wextra -Wno-unused-parameter -Wno-sign-compare -Wold-style-definition -Wconversion -Wsign-compare -Wformat=2   -Wpointer-sign -Wmissing-noreturn  -Werror    -DHAVE_NBCOMPAT_H=1 -I/data/scratch/pkgtools/pkgin/work/libnbcompat -I/usr/include -I/usr/pkg/include -DPKGIN_VERSION=\""0.11.2 for NetBSD-8.99.19 x86_64"\" -DHAVE_NBCOMPAT_H=1 -I/data/scratch/pkgtools/pkgin/work/libnbcompat -I/usr/include -I/usr/pkg/include -g -DLOCALBASE=\"/usr/pkg\" 			 -DPKG_SYSCONFDIR=\"/usr/pkg/etc\"		 -DPKGIN_DBDIR=\"/var/db/pkgin\"		 -DPKGTOOLS=\"/usr/pkg/sbin\" -DHAVE_CONFIG_H -D_LARGEFILE_SOURCE -D_LARGE_FILES -DCHECK_MACHINE_ARCH=\"x86_64\" -I. -I/usr/pkg/include  -c    fsops.c
--- pkgindb_queries.o ---
#   compile  pkgin-0.11.2/pkgindb_queries.o
clang -O2 -I/usr/include -I/usr/pkg/include -fPIE   -std=gnu99     -Wno-sign-compare -Wno-pointer-sign  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare    -Wreturn-type -Wswitch -Wshadow -Wcast-qual -Wwrite-strings -Wextra -Wno-unused-parameter -Wno-sign-compare -Wold-style-definition -Wconversion -Wsign-compare -Wformat=2   -Wpointer-sign -Wmissing-noreturn  -Werror    -DHAVE_NBCOMPAT_H=1 -I/data/scratch/pkgtools/pkgin/work/libnbcompat -I/usr/include -I/usr/pkg/include -DPKGIN_VERSION=\""0.11.2 for NetBSD-8.99.19 x86_64"\" -DHAVE_NBCOMPAT_H=1 -I/data/scratch/pkgtools/pkgin/work/libnbcompat -I/usr/include -I/usr/pkg/include -g -DLOCALBASE=\"/usr/pkg\" 			 -DPKG_SYSCONFDIR=\"/usr/pkg/etc\"		 -DPKGIN_DBDIR=\"/var/db/pkgin\"		 -DPKGTOOLS=\"/usr/pkg/sbin\" -DHAVE_CONFIG_H -D_LARGEFILE_SOURCE -D_LARGE_FILES -DCHECK_MACHINE_ARCH=\"x86_64\" -I. -I/usr/pkg/include  -c    pkgindb_queries.c
--- selection.o ---
--- autoremove.o ---
#   compile  pkgin-0.11.2/autoremove.o
clang -O2 -I/usr/include -I/usr/pkg/include -fPIE   -std=gnu99     -Wno-sign-compare -Wno-pointer-sign  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare    -Wreturn-type -Wswitch -Wshadow -Wcast-qual -Wwrite-strings -Wextra -Wno-unused-parameter -Wno-sign-compare -Wold-style-definition -Wconversion -Wsign-compare -Wformat=2   -Wpointer-sign -Wmissing-noreturn  -Werror    -DHAVE_NBCOMPAT_H=1 -I/data/scratch/pkgtools/pkgin/work/libnbcompat -I/usr/include -I/usr/pkg/include -DPKGIN_VERSION=\""0.11.2 for NetBSD-8.99.19 x86_64"\" -DHAVE_NBCOMPAT_H=1 -I/data/scratch/pkgtools/pkgin/work/libnbcompat -I/usr/include -I/usr/pkg/include -g -DLOCALBASE=\"/usr/pkg\" 			 -DPKG_SYSCONFDIR=\"/usr/pkg/etc\"		 -DPKGIN_DBDIR=\"/var/db/pkgin\"		 -DPKGTOOLS=\"/usr/pkg/sbin\" -DHAVE_CONFIG_H -D_LARGEFILE_SOURCE -D_LARGE_FILES -DCHECK_MACHINE_ARCH=\"x86_64\" -I. -I/usr/pkg/include  -c -Wno-format-nonliteral   autoremove.c
--- download.o ---
#   compile  pkgin-0.11.2/download.o
clang -O2 -I/usr/include -I/usr/pkg/include -fPIE   -std=gnu99     -Wno-sign-compare -Wno-pointer-sign  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare    -Wreturn-type -Wswitch -Wshadow -Wcast-qual -Wwrite-strings -Wextra -Wno-unused-parameter -Wno-sign-compare -Wold-style-definition -Wconversion -Wsign-compare -Wformat=2   -Wpointer-sign -Wmissing-noreturn  -Werror    -DHAVE_NBCOMPAT_H=1 -I/data/scratch/pkgtools/pkgin/work/libnbcompat -I/usr/include -I/usr/pkg/include -DPKGIN_VERSION=\""0.11.2 for NetBSD-8.99.19 x86_64"\" -DHAVE_NBCOMPAT_H=1 -I/data/scratch/pkgtools/pkgin/work/libnbcompat -I/usr/include -I/usr/pkg/include -g -DLOCALBASE=\"/usr/pkg\" 			 -DPKG_SYSCONFDIR=\"/usr/pkg/etc\"		 -DPKGIN_DBDIR=\"/var/db/pkgin\"		 -DPKGTOOLS=\"/usr/pkg/sbin\" -DHAVE_CONFIG_H -D_LARGEFILE_SOURCE -D_LARGE_FILES -DCHECK_MACHINE_ARCH=\"x86_64\" -I. -I/usr/pkg/include  -c    download.c
--- sqlite_callbacks.o ---
#   compile  pkgin-0.11.2/sqlite_callbacks.o
clang -O2 -I/usr/include -I/usr/pkg/include -fPIE   -std=gnu99     -Wno-sign-compare -Wno-pointer-sign  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare    -Wreturn-type -Wswitch -Wshadow -Wcast-qual -Wwrite-strings -Wextra -Wno-unused-parameter -Wno-sign-compare -Wold-style-definition -Wconversion -Wsign-compare -Wformat=2   -Wpointer-sign -Wmissing-noreturn  -Werror    -DHAVE_NBCOMPAT_H=1 -I/data/scratch/pkgtools/pkgin/work/libnbcompat -I/usr/include -I/usr/pkg/include -DPKGIN_VERSION=\""0.11.2 for NetBSD-8.99.19 x86_64"\" -DHAVE_NBCOMPAT_H=1 -I/data/scratch/pkgtools/pkgin/work/libnbcompat -I/usr/include -I/usr/pkg/include -g -DLOCALBASE=\"/usr/pkg\" 			 -DPKG_SYSCONFDIR=\"/usr/pkg/etc\"		 -DPKGIN_DBDIR=\"/var/db/pkgin\"		 -DPKGTOOLS=\"/usr/pkg/sbin\" -DHAVE_CONFIG_H -D_LARGEFILE_SOURCE -D_LARGE_FILES -DCHECK_MACHINE_ARCH=\"x86_64\" -I. -I/usr/pkg/include  -c    sqlite_callbacks.c
--- selection.o ---
#   compile  pkgin-0.11.2/selection.o
clang -O2 -I/usr/include -I/usr/pkg/include -fPIE   -std=gnu99     -Wno-sign-compare -Wno-pointer-sign  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare    -Wreturn-type -Wswitch -Wshadow -Wcast-qual -Wwrite-strings -Wextra -Wno-unused-parameter -Wno-sign-compare -Wold-style-definition -Wconversion -Wsign-compare -Wformat=2   -Wpointer-sign -Wmissing-noreturn  -Werror    -DHAVE_NBCOMPAT_H=1 -I/data/scratch/pkgtools/pkgin/work/libnbcompat -I/usr/include -I/usr/pkg/include -DPKGIN_VERSION=\""0.11.2 for NetBSD-8.99.19 x86_64"\" -DHAVE_NBCOMPAT_H=1 -I/data/scratch/pkgtools/pkgin/work/libnbcompat -I/usr/include -I/usr/pkg/include -g -DLOCALBASE=\"/usr/pkg\" 			 -DPKG_SYSCONFDIR=\"/usr/pkg/etc\"		 -DPKGIN_DBDIR=\"/var/db/pkgin\"		 -DPKGTOOLS=\"/usr/pkg/sbin\" -DHAVE_CONFIG_H -D_LARGEFILE_SOURCE -D_LARGE_FILES -DCHECK_MACHINE_ARCH=\"x86_64\" -I. -I/usr/pkg/include  -c -Wno-format-nonliteral   selection.c
--- pkg_str.o ---
#   compile  pkgin-0.11.2/pkg_str.o
clang -O2 -I/usr/include -I/usr/pkg/include -fPIE   -std=gnu99     -Wno-sign-compare -Wno-pointer-sign  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare    -Wreturn-type -Wswitch -Wshadow -Wcast-qual -Wwrite-strings -Wextra -Wno-unused-parameter -Wno-sign-compare -Wold-style-definition -Wconversion -Wsign-compare -Wformat=2   -Wpointer-sign -Wmissing-noreturn  -Werror    -DHAVE_NBCOMPAT_H=1 -I/data/scratch/pkgtools/pkgin/work/libnbcompat -I/usr/include -I/usr/pkg/include -DPKGIN_VERSION=\""0.11.2 for NetBSD-8.99.19 x86_64"\" -DHAVE_NBCOMPAT_H=1 -I/data/scratch/pkgtools/pkgin/work/libnbcompat -I/usr/include -I/usr/pkg/include -g -DLOCALBASE=\"/usr/pkg\" 			 -DPKG_SYSCONFDIR=\"/usr/pkg/etc\"		 -DPKGIN_DBDIR=\"/var/db/pkgin\"		 -DPKGTOOLS=\"/usr/pkg/sbin\" -DHAVE_CONFIG_H -D_LARGEFILE_SOURCE -D_LARGE_FILES -DCHECK_MACHINE_ARCH=\"x86_64\" -I. -I/usr/pkg/include  -c    pkg_str.c
--- tools.o ---
tools.c:102:28: error: format string is not a string literal [-Werror,-Wformat-nonliteral]
        vsnprintf(buffer, MAXLEN, fmt, args);
                                  ^~~
1 error generated.
*** [tools.o] Error code 1

make: stopped in /data/scratch/pkgtools/pkgin/work/pkgin-0.11.2
--- pkgindb.o ---
pkgindb.c:280:1: error: function 'pkgindb_sqlfail' could be declared with attribute 'noreturn' [-Werror,-Wmissing-noreturn]
{
^
pkgindb.c:313:13: error: variable 'db_mtime' is used uninitialized whenever 'if' condition is false [-Werror,-Wsometimes-uninitialized]
        } else if (rc == SQLITE_DONE) {
                   ^~~~~~~~~~~~~~~~~
pkgindb.c:324:6: note: uninitialized use occurs here
        if (db_mtime == st.st_mtime && db_ntime == st.pkgin_nanotime)
            ^~~~~~~~
pkgindb.c:313:9: note: remove the 'if' if its condition is always true
        } else if (rc == SQLITE_DONE) {
               ^~~~~~~~~~~~~~~~~~~~~~~
pkgindb.c:291:21: note: initialize the variable 'db_mtime' to silence this warning
        time_t          db_mtime;
                                ^
                                 = 0
2 errors generated.
*** [pkgindb.o] Error code 1

make: stopped in /data/scratch/pkgtools/pkgin/work/pkgin-0.11.2
--- main.o ---
main.c:340:1: error: function 'usage' could be declared with attribute 'noreturn' [-Werror,-Wmissing-noreturn]
{
^
1 error generated.
*** [main.o] Error code 1

make: stopped in /data/scratch/pkgtools/pkgin/work/pkgin-0.11.2
3 errors

make: stopped in /data/scratch/pkgtools/pkgin/work/pkgin-0.11.2
*** Error code 2

Stop.
make[1]: stopped in /data/pkgsrc/pkgtools/pkgin
*** Error code 1

Stop.
make: stopped in /data/pkgsrc/pkgtools/pkgin