=> Bootstrap dependency digest>=20010302: found digest-20080510
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 tcl-expat-1.1nb4
shlibtool --mode=compile gcc  -c   -I/usr/pkg/include tclexpat.c
libtool: compile:  gcc -c -I/scratch/textproc/tcl-expat/work/.buildlink/include tclexpat.c  -fPIC -DPIC -o .libs/tclexpat.o
tclexpat.c:374:44: warning: passing 'char *[5]' to parameter of type 'const char **' discards qualifiers in nested pointer types
  if (Tcl_GetIndexFromObj(interp, objv[1], options, "option", 0,
                                           ^~~~~~~
/scratch/textproc/tcl-expat/work/.buildlink/include/tclDecls.h:141:39: note: passing argument to parameter 'tablePtr' here
                                Tcl_Obj * objPtr, CONST84 char ** tablePtr, 
                                                                  ^
/scratch/textproc/tcl-expat/work/.buildlink/include/tcl.h:250:27: note: expanded from:
#   define _ANSI_ARGS_(x)       x
                                ^
tclexpat.c:467:18: warning: conversion specifies type 'int' but the argument has type 'XML_Size' (aka 'unsigned long') [-Wformat]
    sprintf(s, "%d", XML_GetCurrentLineNumber(expat->parser));
                ~^   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                %lu
tclexpat.c:470:18: warning: conversion specifies type 'int' but the argument has type 'XML_Size' (aka 'unsigned long') [-Wformat]
    sprintf(s, "%d", XML_GetCurrentColumnNumber(expat->parser));
                ~^   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                %lu
tclexpat.c:543:48: warning: passing 'char *[12]' to parameter of type 'const char **' discards qualifiers in nested pointer types
    if (Tcl_GetIndexFromObj(interp, objPtr[0], switches,
                                               ^~~~~~~~
/scratch/textproc/tcl-expat/work/.buildlink/include/tclDecls.h:141:39: note: passing argument to parameter 'tablePtr' here
                                Tcl_Obj * objPtr, CONST84 char ** tablePtr, 
                                                                  ^
/scratch/textproc/tcl-expat/work/.buildlink/include/tcl.h:250:27: note: expanded from:
#   define _ANSI_ARGS_(x)       x
                                ^
tclexpat.c:691:34: warning: incompatible pointer types passing 'XML_Parser' (aka 'struct XML_ParserStruct *') to parameter of type 'TclExpatInfo *' (aka 'struct TclExpatInfo *') [-Wincompatible-pointer-types]
    return TclExpatParse(interp, expat->parser, "", 0);
                                 ^~~~~~~~~~~~~
tclexpat.c:817:5: error: non-void function 'TclExpatElementStartHandler' should return a value [-Wreturn-type]
    return;
    ^
tclexpat.c:822:5: error: non-void function 'TclExpatElementStartHandler' should return a value [-Wreturn-type]
    return;
    ^
tclexpat.c:831:88: warning: implicitly declaring C library function 'strlen' with type 'unsigned long (const char *)'
    Tcl_ListObjAppendElement(expat->interp, atList, Tcl_NewStringObj((char *)atPtr[0], strlen(atPtr[0])));
                                                                                       ^
tclexpat.c:831:88: note: please include the header <string.h> or explicitly provide a declaration for 'strlen'
tclexpat.c:861:3: error: non-void function 'TclExpatElementStartHandler' should return a value [-Wreturn-type]
  return;
  ^
tclexpat.c:897:7: error: non-void function 'TclExpatElementEndHandler' should return a value [-Wreturn-type]
      return;
      ^
tclexpat.c:903:5: error: non-void function 'TclExpatElementEndHandler' should return a value [-Wreturn-type]
    return;
    ^
tclexpat.c:931:3: error: non-void function 'TclExpatElementEndHandler' should return a value [-Wreturn-type]
  return;
  ^
tclexpat.c:962:5: error: non-void function 'TclExpatCharacterDataHandler' should return a value [-Wreturn-type]
    return;
    ^
tclexpat.c:990:3: error: non-void function 'TclExpatCharacterDataHandler' should return a value [-Wreturn-type]
  return;
  ^
tclexpat.c:1021:5: error: non-void function 'TclExpatProcessingInstructionHandler' should return a value [-Wreturn-type]
    return;
    ^
tclexpat.c:1050:3: error: non-void function 'TclExpatProcessingInstructionHandler' should return a value [-Wreturn-type]
  return;
  ^
tclexpat.c:1081:5: error: non-void function 'TclExpatDefaultHandler' should return a value [-Wreturn-type]
    return;
    ^
tclexpat.c:1109:3: error: non-void function 'TclExpatDefaultHandler' should return a value [-Wreturn-type]
  return;
  ^
tclexpat.c:1143:5: error: non-void function 'TclExpatUnparsedDeclHandler' should return a value [-Wreturn-type]
    return;
    ^
tclexpat.c:1183:3: error: non-void function 'TclExpatUnparsedDeclHandler' should return a value [-Wreturn-type]
  return;
  ^
tclexpat.c:1216:5: error: non-void function 'TclExpatNotationDeclHandler' should return a value [-Wreturn-type]
    return;
    ^
tclexpat.c:1255:3: error: non-void function 'TclExpatNotationDeclHandler' should return a value [-Wreturn-type]
  return;
  ^
tclexpat.c:1290:5: error: non-void function 'TclExpatUnknownEncodingHandler' should return a value [-Wreturn-type]
    return;
    ^
tclexpat.c:1320:3: error: non-void function 'TclExpatUnknownEncodingHandler' should return a value [-Wreturn-type]
  return;
  ^
tclexpat.c:1353:5: error: non-void function 'TclExpatExternalEntityRefHandler' should return a value [-Wreturn-type]
    return;
    ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
6 warnings and 20 errors generated.
*** Error code 1

Stop.
make: stopped in /scratch/textproc/tcl-expat/work/TclExpat-1.1
*** Error code 1

Stop.
make: stopped in /bulk-data/pkgsrc/textproc/tcl-expat
*** Error code 1

Stop.
make: stopped in /bulk-data/pkgsrc/textproc/tcl-expat
