=> Bootstrap dependency digest>=20211023: found digest-20220214 ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for hs-direct-sqlite-2.3.28nb1 Preprocessing library for direct-sqlite-2.3.28.. compiling dist/build/Database/SQLite3/Bindings/Types_hsc_make.c failed (exit code 1) rsp file was: "dist/build/Database/SQLite3/Bindings/hsc2hscall8319-0.rsp" command was: /tmp/databases/hs-direct-sqlite/work/.cwrapper/bin/gcc -c dist/build/Database/SQLite3/Bindings/Types_hsc_make.c -o dist/build/Database/SQLite3/Bindings/Types_hsc_make.o -O2 -I/usr/include -I/usr/pkg/include -fPIC -O2 -I/usr/include -I/usr/pkg/include -fPIC -Wl,-zrelro -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -D__GLASGOW_HASKELL__=906 -Dnetbsd_BUILD_OS=1 -Dx86_64_BUILD_ARCH=1 -Dnetbsd_HOST_OS=1 -Dx86_64_HOST_ARCH=1 -I. -Idist/build/. -Ddirect_sqlite_systemlib -Idist/build/autogen -Idist/build/global-autogen -include dist/build/autogen/cabal_macros.h -I/usr/pkg/lib/ghc-9.6.3/lib/../lib/x86_64-netbsd-ghc-9.6.3/bytestring-0.11.5.2/include -I/usr/include -I/usr/pkg/lib/ghc-9.6.3/lib/../lib/x86_64-netbsd-ghc-9.6.3/base-4.18.1.0/include -I/usr/pkg/include -I/usr/pkg/lib/ghc-9.6.3/lib/../lib/x86_64-netbsd-ghc-9.6.3/ghc-bignum-1.3/include -I/usr/pkg/include -I/usr/pkg/lib/ghc-9.6.3/lib/../lib/x86_64-netbsd-ghc-9.6.3/rts-1.0.2/include -I/usr/pkg/include/ error: In file included from dist/build/Database/SQLite3/Bindings/Types_hsc_make.c:1:0: Types.hsc: In function 'main': Types.hsc:409:16: error: 'SQLITE_IOERR_DATA' undeclared (first use in this function); did you mean 'SQLITE_IOERR_FSTAT'? /usr/pkg/lib/ghc-9.6.3/lib/template-hsc.h:45:10: note: in definition of macro 'hsc_const' if ((x) < 0) \ ^ Types.hsc:409:16: note: each undeclared identifier is reported only once for each function it appears in /usr/pkg/lib/ghc-9.6.3/lib/template-hsc.h:45:10: note: in definition of macro 'hsc_const' if ((x) < 0) \ ^ Types.hsc:410:16: error: 'SQLITE_IOERR_CORRUPTFS' undeclared (first use in this function); did you mean 'SQLITE_IOERR_CONVPATH'? /usr/pkg/lib/ghc-9.6.3/lib/template-hsc.h:45:10: note: in definition of macro 'hsc_const' if ((x) < 0) \ ^ Types.hsc:415:16: error: 'SQLITE_BUSY_TIMEOUT' undeclared (first use in this function); did you mean 'SQLITE_BUSY_SNAPSHOT'? /usr/pkg/lib/ghc-9.6.3/lib/template-hsc.h:45:10: note: in definition of macro 'hsc_const' if ((x) < 0) \ ^ Types.hsc:421:16: error: 'SQLITE_CANTOPEN_SYMLINK' undeclared (first use in this function); did you mean 'SQLITE_CANTOPEN_ISDIR'? /usr/pkg/lib/ghc-9.6.3/lib/template-hsc.h:45:10: note: in definition of macro 'hsc_const' if ((x) < 0) \ ^ Types.hsc:424:16: error: 'SQLITE_CORRUPT_INDEX' undeclared (first use in this function); did you mean 'SQLITE_CREATE_INDEX'? /usr/pkg/lib/ghc-9.6.3/lib/template-hsc.h:45:10: note: in definition of macro 'hsc_const' if ((x) < 0) \ ^ Types.hsc:442:16: error: 'SQLITE_CONSTRAINT_PINNED' undeclared (first use in this function); did you mean 'SQLITE_CONSTRAINT_ROWID'? /usr/pkg/lib/ghc-9.6.3/lib/template-hsc.h:45:10: note: in definition of macro 'hsc_const' if ((x) < 0) \ ^ Types.hsc:443:16: error: 'SQLITE_CONSTRAINT_DATATYPE' undeclared (first use in this function); did you mean 'SQLITE_CONSTRAINT_VTAB'? /usr/pkg/lib/ghc-9.6.3/lib/template-hsc.h:45:10: note: in definition of macro 'hsc_const' if ((x) < 0) \ ^ *** Error code 1 Stop. make[1]: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/databases/hs-direct-sqlite *** Error code 1 Stop. make: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/databases/hs-direct-sqlite