=> Bootstrap dependency digest>=20010302: found digest-20160304
WARNING: [license.mk] Every package should define a LICENSE.
===> 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 clisp-gdbm-2.49nb2
/usr/pkg/bin/clisp -norc -q -c ./gdbm.lisp -o ./
WARNING: locale: no encoding 646, using ISO-8859-1
;; Compiling file /data/scratch/databases/clisp-gdbm/work/clisp-2.49/modules/gdbm/gdbm.lisp ...
;; Wrote file /data/scratch/databases/clisp-gdbm/work/clisp-2.49/modules/gdbm/gdbm.fas
0 errors, 0 warnings
/usr/pkg/bin/clisp -norc -q -C /usr/pkg/lib/clisp/linkkit/modprep ./gdbm.c ./
WARNING: locale: no encoding 646, using ISO-8859-1
;; MODPREP: "./gdbm.c" --> #P"gdbm.m.c"
;; MODPREP: reading "./gdbm.c": 17,192 bytes, 405 lines
;; MODPREP: 69 objects, 15 DEFUNs, 1 DEFVAR (1 init)
;; packages: ("GDBM")
MODPREP: wrote gdbm.m.c (49,857 bytes)
clang -I/usr/pkg/include -I/usr/include -I/usr/pkg/include -I/usr/include -O2 -I/usr/pkg/include -I/usr/include -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wmissing-declarations -O -DNO_SINGLEMAP -DNO_TRIVIALMAP -DENABLE_UNICODE -DDYNAMIC_FFI -DDYNAMIC_MODULES -I. -fPIC -I/usr/pkg/lib/clisp/linkkit  -c gdbm.m.c -o gdbm.o
./gdbm.c:782:5: error: use of undeclared identifier 'GDBM_ERR_UNKNOWN_ERROR'
  { GDBM_UNKNOWN_UPDATE, &(O(object_Kunknown_update)) },
    ^
/data/scratch/databases/clisp-gdbm/work/.buildlink/include/gdbm.h:227:30: note: expanded from macro 'GDBM_UNKNOWN_UPDATE'
# define GDBM_UNKNOWN_UPDATE GDBM_ERR_UNKNOWN_ERROR
                             ^
./gdbm.c:806:10: error: invalid application of 'sizeof' to an incomplete type 'const c_lisp_pair_t []'
  (sizeof(check_gdbm_errno_table)/sizeof(c_lisp_pair_t))-1,
         ^~~~~~~~~~~~~~~~~~~~~~~~
./gdbm.c:133:32: warning: incompatible function pointer types passing 'void (*)(void)' to parameter of type 'void (*)(const char *)' [-Wincompatible-function-pointer-types]
                               (void (*)(void))error_gdbm));
                               ^~~~~~~~~~~~~~~~~~~~~~~~~~
./gdbm.c:127:58: note: expanded from macro 'SYSCALL'
#define SYSCALL(statement) begin_blocking_system_call(); statement; end_blocking_system_call()
                                                         ^~~~~~~~~
/data/scratch/databases/clisp-gdbm/work/.buildlink/lib/clisp/linkkit/clisp.h:4115:104: note: expanded from macro 'with_string_0'
#define with_string_0(string,encoding,ascizvar,statement) with_string_0_help_(string,encoding,ascizvar,statement,ascizvar##_len,ascizvar##_offset,ascizvar##_string,ascizvar##_bytelen,ascizvar##_data,ASSERT,NOTREACHED)
                                                                                                       ^~~~~~~~~
/data/scratch/databases/clisp-gdbm/work/.buildlink/lib/clisp/linkkit/clisp.h:4113:4325: note: expanded from macro 'with_string_0_help_'
/data/scratch/databases/clisp-gdbm/work/.buildlink/include/gdbm.h:115:15: note: passing argument to parameter here
                            void (*)(const char *));
                                   ^
./gdbm.c:593:47: warning: unused parameter 'module' [-Wunused-parameter]
void module__gdbm__init_function_1 (module_t* module)
                                              ^
./gdbm.c:624:47: warning: unused parameter 'module' [-Wunused-parameter]
void module__gdbm__init_function_2 (module_t* module)
                                              ^
./gdbm.c:629:45: warning: unused parameter 'module' [-Wunused-parameter]
void module__gdbm__fini_function (module_t* module)
                                            ^
4 warnings and 2 errors generated.
*** Error code 1

Stop.
make: stopped in /data/scratch/databases/clisp-gdbm/work/clisp-2.49/modules/gdbm
*** Error code 1

Stop.
make[1]: stopped in /data/pkgsrc/databases/clisp-gdbm
*** Error code 1

Stop.
make: stopped in /data/pkgsrc/databases/clisp-gdbm