+ local run_cmd + run_cmd=run_su + shift + run_su /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/hs-direct-sqlite-2.3.28/work.log + su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/hs-direct-sqlite-2.3.28/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for hs-direct-sqlite-2.3.28 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/hsc2hscall25292-0.rsp" command was: /home/pbulk/build/databases/hs-direct-sqlite/work/.cwrapper/bin/cc -c dist/build/Database/SQLite3/Bindings/Types_hsc_make.c -o dist/build/Database/SQLite3/Bindings/Types_hsc_make.o -pipe -O2 -I/usr/include -I/usr/pkg/include -fPIC -pipe -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: 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' 45 | 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' 45 | 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' 45 | if ((x) < 0) \ | ^ Types.hsc:415:16: error: 'SQLITE_BUSY_TIMEOUT' undeclared (first use in this function) /usr/pkg/lib/ghc-9.6.3/lib/template-hsc.h:45:10: note: in definition of macro 'hsc_const' 45 | 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' 45 | 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' 45 | 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' 45 | 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' 45 | if ((x) < 0) \ | ^ *** Error code 1 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-netbsd-trunk-x86_64/databases/hs-direct-sqlite *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-netbsd-trunk-x86_64/databases/hs-direct-sqlite