=> Bootstrap dependency digest>=20010302: found digest-20080510
===> 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'.
===> Installing for gnats-4.1.0nb3
=> Generating pre-install file lists
=> Creating installation directories
for d in gnats send-pr doc; do /usr/pkg/bin/gmake -C $d install-gnats; done
gmake[1]: Entering directory `/scratch/databases/gnats/work/gnats-4.1.0/gnats'
gcc -c -I. -I.  -O2 -Dconst=  -W -Wall -ansi -pedantic  -Wstrict-prototypes -Wmissing-prototypes -Wwrite-strings -Wno-format  -DHAVE_CONFIG_H -DGNATSD_USER_ACCESS_FILE=\"/usr/pkg/etc/gnats/gnatsd.user_access\" -DGNATSD_HOST_ACCESS_FILE=\"/usr/pkg/etc/gnats/gnatsd.host_access\" -DDEFAULT_GNATS_SERVICE=\"service-name=support\" -DGLOBAL_DB_LIST_FILE=\"/usr/pkg/etc/gnats/databases\" -DGNATS_USER=\"gnats\" edit.c
In file included from edit.c:21:
./gnats.h:140:12: error: conflicting types for 'asprintf'
extern int asprintf (char **buf, const char *fmt, ...);
           ^
/usr/include/stdio.h:406:6: note: previous declaration is here
int      asprintf(char ** __restrict, const char * __restrict, ...)
         ^
In file included from edit.c:21:
./gnats.h:141:12: error: conflicting types for 'vasprintf'
extern int vasprintf (char **buf, const char *fmt, va_list args);
           ^
/usr/include/stdio.h:413:6: note: previous declaration is here
int      vasprintf(char ** __restrict, const char * __restrict,
         ^
edit.c:440:27: warning: passing 'const char [6]' to parameter of type 'char *' discards qualifiers
      asprintf (&dirPath, "%s/%s", databaseDir (database), 
                          ^~~~~~~
/usr/include/stdio.h:406:58: note: passing argument to parameter here
int      asprintf(char ** __restrict, const char * __restrict, ...)
                                                             ^
edit.c:473:25: warning: passing 'const char [7]' to parameter of type 'char *' discards qualifiers
  asprintf (&bkup_path, "%s.old", old_path);
                        ^~~~~~~~
/usr/include/stdio.h:406:58: note: passing argument to parameter here
int      asprintf(char ** __restrict, const char * __restrict, ...)
                                                             ^
edit.c:500:29: warning: passing 'const char [3]' to parameter of type 'char *' discards qualifiers
  prfile = fopen (new_path, "w+");
                            ^~~~
/usr/include/stdio.h:227:62: note: passing argument to parameter here
FILE    *fopen(const char * __restrict , const char * __restrict);
                                                                ^
edit.c:517:20: warning: passing 'const char [2]' to parameter of type 'char *' discards qualifiers
  fprintf (prfile, "\n");
                   ^~~~
/usr/include/stdio.h:228:57: note: passing argument to parameter here
int      fprintf(FILE * __restrict , const char * __restrict, ...)
                                                            ^
edit.c:874:33: warning: passing 'const char [2]' to parameter of type 'char *' discards qualifiers
      FILE *ifp = fdopen (fdes, "w");
                                ^~~
/usr/include/stdio.h:299:31: note: passing argument to parameter here
FILE    *fdopen(int, const char *);
                                 ^
edit.c:893:18: warning: passing 'const char [7]' to parameter of type 'char *' discards qualifiers
          fprintf (ifp, "%s %s\n", user, processid);
                        ^~~~~~~~~
/usr/include/stdio.h:228:57: note: passing argument to parameter here
int      fprintf(FILE * __restrict , const char * __restrict, ...)
                                                            ^
edit.c:897:18: warning: passing 'const char [4]' to parameter of type 'char *' discards qualifiers
          fprintf (ifp, "%s\n", user);
                        ^~~~~~
/usr/include/stdio.h:228:57: note: passing argument to parameter here
int      fprintf(FILE * __restrict , const char * __restrict, ...)
                                                            ^
edit.c:912:36: warning: passing 'const char [2]' to parameter of type 'char *' discards qualifiers
      FILE *fp = fopen (lock_path, "r");
                                   ^~~
/usr/include/stdio.h:227:62: note: passing argument to parameter here
FILE    *fopen(const char * __restrict , const char * __restrict);
                                                                ^
edit.c:936:42: warning: passing 'const char [19]' to parameter of type 'char *' discards qualifiers
      strftime (date, GNATS_TIME_LENGTH, "%Y-%m-%d:%H:%M:%SZ",
                                         ^~~~~~~~~~~~~~~~~~~~
/usr/include/time.h:100:67: note: passing argument to parameter here
size_t strftime(char * __restrict, size_t, const char * __restrict,
                                                                  ^
edit.c:1026:17: warning: passing 'const char [3]' to parameter of type 'char *' discards qualifiers
  sprintf (pid, "%d", (int) getpid ());
                ^~~~
/usr/include/stdio.h:269:56: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...)
                                                           ^
10 warnings and 2 errors generated.
gmake[1]: *** [edit.o] Error 1
gmake[1]: Leaving directory `/scratch/databases/gnats/work/gnats-4.1.0/gnats'
gmake[1]: Entering directory `/scratch/databases/gnats/work/gnats-4.1.0/send-pr'
/usr/bin/install -c -o pbulkXXX -g users -m 755 send-pr /scratch/databases/gnats/work/.destdir/usr/pkg/bin/send-pr
/usr/bin/install -c -o pbulkXXX -g users -m 755 install-sid /scratch/databases/gnats/work/.destdir/usr/pkg/bin/install-sid
/bin/sh ./../mkinstalldirs /scratch/databases/gnats/work/.destdir/usr/pkg/man/man1/
/usr/bin/install -c -o pbulkXXX -g users -m 644 send-pr.1 /scratch/databases/gnats/work/.destdir/usr/pkg/man/man1/send-pr.1
/bin/sh ./../mkinstalldirs /scratch/databases/gnats/work/.destdir/usr/pkg/man/man8/
/usr/bin/install -c -o pbulkXXX -g users -m 644 install-sid.8 /scratch/databases/gnats/work/.destdir/usr/pkg/man/man8/install-sid.8
/usr/bin/install -c -o pbulkXXX -g users -m 644 ./send-pr.conf /scratch/databases/gnats/work/.destdir/usr/pkg/share/examples/gnats
gmake[1]: Leaving directory `/scratch/databases/gnats/work/gnats-4.1.0/send-pr'
gmake[1]: Entering directory `/scratch/databases/gnats/work/gnats-4.1.0/doc'
for i in gnats.info* gnats-faq.info*; do \
	/usr/bin/install -c -o pbulkXXX -g users -m 644 $i /scratch/databases/gnats/work/.destdir/usr/pkg/info/$i ; \
done
if [ -x "/scratch/databases/gnats/work/.tools/bin/install-info" ]; then \
	/scratch/databases/gnats/work/.tools/bin/install-info /scratch/databases/gnats/work/.destdir/usr/pkg/info/gnats.info /scratch/databases/gnats/work/.destdir/usr/pkg/info/dir; \
	/scratch/databases/gnats/work/.tools/bin/install-info /scratch/databases/gnats/work/.destdir/usr/pkg/info/gnats-faq.info /scratch/databases/gnats/work/.destdir/usr/pkg/info/dir; \
fi
/usr/pkg/bin/gmake -C man install-gnats
gmake[2]: Entering directory `/scratch/databases/gnats/work/gnats-4.1.0/doc/man'
Creating edit-pr.1...
Creating query-pr.1...
Creating dbconfig.5...
Creating databases.5...
Creating gnats.7...
Creating mkcat.8...
Creating queue-pr.8...
Creating file-pr.8...
Creating rmcat.8...
Creating gen-index.8...
Creating gnatsd.8...
Creating mkdb.8...
Creating delete-pr.8...
Creating pr-edit.8...
Creating getclose.8...
/bin/sh ./../../mkinstalldirs /scratch/databases/gnats/work/.destdir/usr/pkg/man/man1/
for i in edit-pr.1 query-pr.1; do \
    /usr/bin/install -c -o pbulkXXX -g users -m 644 $i /scratch/databases/gnats/work/.destdir/usr/pkg/man/man1/$i; \
done
/bin/sh ./../../mkinstalldirs /scratch/databases/gnats/work/.destdir/usr/pkg/man/man5/
for i in dbconfig.5 databases.5; do \
    /usr/bin/install -c -o pbulkXXX -g users -m 644 $i /scratch/databases/gnats/work/.destdir/usr/pkg/man/man5/$i; \
done
/bin/sh ./../../mkinstalldirs /scratch/databases/gnats/work/.destdir/usr/pkg/man/man7/
for i in gnats.7; do \
    /usr/bin/install -c -o pbulkXXX -g users -m 644 $i /scratch/databases/gnats/work/.destdir/usr/pkg/man/man7/$i; \
done
/bin/sh ./../../mkinstalldirs /scratch/databases/gnats/work/.destdir/usr/pkg/man/man8/
for i in mkcat.8 queue-pr.8 file-pr.8 rmcat.8 gen-index.8 gnatsd.8 mkdb.8 delete-pr.8 pr-edit.8 getclose.8; do \
    /usr/bin/install -c -o pbulkXXX -g users -m 644 $i /scratch/databases/gnats/work/.destdir/usr/pkg/man/man8/$i; \
done
gmake[2]: Leaving directory `/scratch/databases/gnats/work/gnats-4.1.0/doc/man'
gmake[1]: Leaving directory `/scratch/databases/gnats/work/gnats-4.1.0/doc'
=> Automatic manual page handling
=> Generating post-install file lists
pkg_create: can't stat `/scratch/databases/gnats/work/.destdir/usr/pkg/bin/edit-pr'
pkg_create: can't stat `/scratch/databases/gnats/work/.destdir/usr/pkg/bin/getclose'
pkg_create: can't stat `/scratch/databases/gnats/work/.destdir/usr/pkg/bin/query-pr'
pkg_create: can't stat `/scratch/databases/gnats/work/.destdir/usr/pkg/libexec/gnats/at-pr'
pkg_create: can't stat `/scratch/databases/gnats/work/.destdir/usr/pkg/libexec/gnats/check-db'
pkg_create: can't stat `/scratch/databases/gnats/work/.destdir/usr/pkg/libexec/gnats/delete-pr'
pkg_create: can't stat `/scratch/databases/gnats/work/.destdir/usr/pkg/libexec/gnats/diff-prs'
pkg_create: can't stat `/scratch/databases/gnats/work/.destdir/usr/pkg/libexec/gnats/file-pr'
pkg_create: can't stat `/scratch/databases/gnats/work/.destdir/usr/pkg/libexec/gnats/gen-index'
pkg_create: can't stat `/scratch/databases/gnats/work/.destdir/usr/pkg/libexec/gnats/gnats-pwconv'
pkg_create: can't stat `/scratch/databases/gnats/work/.destdir/usr/pkg/libexec/gnats/gnatsd'
pkg_create: can't stat `/scratch/databases/gnats/work/.destdir/usr/pkg/libexec/gnats/mail-agent'
pkg_create: can't stat `/scratch/databases/gnats/work/.destdir/usr/pkg/libexec/gnats/mail-query'
pkg_create: can't stat `/scratch/databases/gnats/work/.destdir/usr/pkg/libexec/gnats/mkcat'
pkg_create: can't stat `/scratch/databases/gnats/work/.destdir/usr/pkg/libexec/gnats/mkdb'
pkg_create: can't stat `/scratch/databases/gnats/work/.destdir/usr/pkg/libexec/gnats/pr-age'
pkg_create: can't stat `/scratch/databases/gnats/work/.destdir/usr/pkg/libexec/gnats/pr-edit'
pkg_create: can't stat `/scratch/databases/gnats/work/.destdir/usr/pkg/libexec/gnats/queue-pr'
pkg_create: can't stat `/scratch/databases/gnats/work/.destdir/usr/pkg/libexec/gnats/rmcat'
pkg_create: can't stat `/scratch/databases/gnats/work/.destdir/usr/pkg/share/examples/gnats/databases'
pkg_create: can't stat `/scratch/databases/gnats/work/.destdir/usr/pkg/share/examples/gnats/gnatsd.host_access'
pkg_create: can't stat `/scratch/databases/gnats/work/.destdir/usr/pkg/share/examples/gnats/gnatsd.user_access'
pkg_create: can't stat `/scratch/databases/gnats/work/.destdir/usr/pkg/share/gnats/defaults/addresses'
pkg_create: can't stat `/scratch/databases/gnats/work/.destdir/usr/pkg/share/gnats/defaults/categories'
pkg_create: can't stat `/scratch/databases/gnats/work/.destdir/usr/pkg/share/gnats/defaults/classes'
pkg_create: can't stat `/scratch/databases/gnats/work/.destdir/usr/pkg/share/gnats/defaults/dbconfig'
pkg_create: can't stat `/scratch/databases/gnats/work/.destdir/usr/pkg/share/gnats/defaults/gnatsd.user_access'
pkg_create: can't stat `/scratch/databases/gnats/work/.destdir/usr/pkg/share/gnats/defaults/responsible'
pkg_create: can't stat `/scratch/databases/gnats/work/.destdir/usr/pkg/share/gnats/defaults/states'
pkg_create: can't stat `/scratch/databases/gnats/work/.destdir/usr/pkg/share/gnats/defaults/submitters'
pkg_create: can't stat `/scratch/databases/gnats/work/.destdir/usr/pkg/share/gnats/gnats.el'
ERROR: CONF_FILES_PERMS /scratch/databases/gnats/work/.destdir/usr/pkg/share/examples/gnats/gnatsd.user_access does not exist.
*** Error code 1

Stop.
make: stopped in /bulk-data/pkgsrc/databases/gnats
*** Error code 1

Stop.
make: stopped in /bulk-data/pkgsrc/databases/gnats
