=> Bootstrap dependency digest>=20010302: found digest-20190127
===> Building for guile22-2.2.6nb2
/usr/pkg/bin/gmake -C libguile scmconfig.h
gmake[1]: Entering directory '/tmp/pkgbuild/lang/guile22/work/guile-2.2.6/libguile'
  GEN      gen-scmconfig.o
  GEN      gen-scmconfig
  GEN      scmconfig.h
gmake[1]: Leaving directory '/tmp/pkgbuild/lang/guile22/work/guile-2.2.6/libguile'
/usr/pkg/bin/gmake  all-recursive
gmake[1]: Entering directory '/tmp/pkgbuild/lang/guile22/work/guile-2.2.6'
Making all in lib
gmake[2]: Entering directory '/tmp/pkgbuild/lang/guile22/work/guile-2.2.6/lib'
  GEN      alloca.h
  GEN      c++defs.h
  GEN      warn-on-use.h
  GEN      arg-nonnull.h
  GEN      byteswap.h
  GEN      configmake.h
  GEN      dirent.h
  GEN      errno.h
  GEN      fcntl.h
  GEN      iconv.h
  GEN      langinfo.h
  GEN      limits.h
  GEN      locale.h
  GEN      math.h
  GEN      netdb.h
  GEN      poll.h
  GEN      signal.h
  GEN      stdint.h
  GEN      stdio.h
  GEN      stdlib.h
  GEN      string.h
  GEN      sys/file.h
  GEN      sys/select.h
  GEN      sys/socket.h
  GEN      sys/stat.h
  GEN      sys/time.h
  GEN      sys/times.h
  GEN      sys/types.h
  GEN      sys/uio.h
  GEN      time.h
  GEN      unistd.h
  GEN      wchar.h
  GEN      wctype.h
  GEN      arpa/inet.h
/usr/pkg/bin/gmake  all-recursive
gmake[3]: Entering directory '/tmp/pkgbuild/lang/guile22/work/guile-2.2.6/lib'
gmake[4]: Entering directory '/tmp/pkgbuild/lang/guile22/work/guile-2.2.6/lib'
  CC       accept4.lo
  CC       binary-io.lo
  CC       c-ctype.lo
  CC       c-strcasecmp.lo
  CC       c-strncasecmp.lo
  CC       dirname-lgpl.lo
  CC       basename-lgpl.lo
  CC       stripslash.lo
  CC       full-read.lo
  CC       full-write.lo
  CC       localcharset.lo
  CC       malloca.lo
  CC       math.lo
  CC       nproc.lo
  CC       pipe2.lo
  CC       safe-read.lo
  CC       safe-write.lo
  CC       stat-time.lo
  CC       strftime.lo
  CC       striconveh.lo
  CC       sys_socket.lo
  CC       unistd.lo
  CC       wctype-h.lo
  CC       canonicalize-lgpl.lo
  CC       isnand.lo
  CC       isnanf.lo
  CC       isnanl.lo
  CC       putenv.lo
  CC       regex.lo
  CC       rename.lo
  GEN      charset.alias
  GEN      ref-add.sed
  GEN      ref-del.sed
  CCLD     libgnu.la
gmake[4]: Leaving directory '/tmp/pkgbuild/lang/guile22/work/guile-2.2.6/lib'
gmake[3]: Leaving directory '/tmp/pkgbuild/lang/guile22/work/guile-2.2.6/lib'
gmake[2]: Leaving directory '/tmp/pkgbuild/lang/guile22/work/guile-2.2.6/lib'
Making all in meta
gmake[2]: Entering directory '/tmp/pkgbuild/lang/guile22/work/guile-2.2.6/meta'
guile="`echo guile | /tmp/pkgbuild/lang/guile22/work/.tools/bin/sed -e 's,x,x,'`" ; guild="`echo guild | /tmp/pkgbuild/lang/guile22/work/.tools/bin/sed -e 's,x,x,'`" ; installed_guile="/usr/pkg/guile/2.2/bin/$guile" ; /tmp/pkgbuild/lang/guile22/work/.tools/bin/sed -e "s|[@]PACKAGE_NAME[@]|GNU Guile|g" -e "s|[@]PACKAGE_BUGREPORT[@]|bug-guile@gnu.org|g" -e "s|[@]GUILE_EFFECTIVE_VERSION[@]|2.2|g" -e "s|[@]GUILE_VERSION[@]|2.2.6|g" -e "s|[@]GUILE_CFLAGS[@]|-I/usr/pkg/include -I/usr/include  -pthread |g" -e "s|[@]GUILE_LIBS[@]|-Wl,-R/usr/pkg/guile/2.2/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -lcrypt  -lm|g" -e "s|[@]LIBGUILE_INTERFACE[@]|5:1:4|g" -e "s|[@]BDW_GC_CFLAGS[@]|-I/usr/pkg/include |g" -e "s|[@]BDW_GC_LIBS[@]|-Wl,-R/usr/pkg/lib -L/usr/pkg/lib -lgc |g" -e "s|[@]LIB_CLOCK_GETTIME[@]||g" -e "s|[@]LIBGMP[@]|/usr/pkg/lib/libgmp.so -Wl,-rpath -Wl,/usr/pkg/lib|g" -e "s|[@]LIBLTDL[@]|/usr/pkg/lib/libltdl.so -Wl,-rpath -Wl,/usr/pkg/lib|g" -e "s|[@]LIBFFI_LIBS[@]|-Wl,-R/usr/pkg/lib -L/usr/pkg/lib -lffi |g" -e "s|[@]LIBUNISTRING[@]|/usr/pkg/lib/libunistring.so -Wl,-rpath -Wl,/usr/pkg/lib|g" -e "s|[@]LIBICONV[@]||g" -e "s|[@]LIBINTL[@]||g" -e "s|[@]LIBSOCKET[@]||g" -e "s|[@]SERVENT_LIB[@]||g" -e "s|[@]HOSTENT_LIB[@]||g" -e "s|[@]GETADDRINFO_LIB[@]||g" -e "s|[@]INET_NTOP_LIB[@]||g" -e "s|[@]INET_PTON_LIB[@]||g" -e "s|[@]PKG_CONFIG[@]|/tmp/pkgbuild/lang/guile22/work/.tools/bin/pkg-config|g" -e "s|[@]pkgconfigdir[@]|/usr/pkg/guile/2.2/lib/pkgconfig|g" -e "s|[@]prefix[@]|/usr/pkg/guile/2.2|g" -e "s|[@]exec_prefix[@]|/usr/pkg/guile/2.2|g" -e "s|[@]bindir[@]|/usr/pkg/guile/2.2/bin|g" -e "s|[@]libdir[@]|/usr/pkg/guile/2.2/lib|g" -e "s|[@]includedir[@]|/usr/pkg/guile/2.2/include|g" -e "s|[@]datarootdir[@]|/usr/pkg/guile/2.2/share|g" -e "s|[@]datadir[@]|/usr/pkg/guile/2.2/share|g" -e "s|[@]sitedir[@]|/usr/pkg/guile/2.2/share/guile/site/2.2|g" -e "s|[@]guile[@]|$guile|g" -e "s|[@]guild[@]|$guild|g" -e "s|[@]installed_guile[@]|$installed_guile|g" < "guile-config.in" > "guile-config.out"
guile="`echo guile | /tmp/pkgbuild/lang/guile22/work/.tools/bin/sed -e 's,x,x,'`" ; guild="`echo guild | /tmp/pkgbuild/lang/guile22/work/.tools/bin/sed -e 's,x,x,'`" ; installed_guile="/usr/pkg/guile/2.2/bin/$guile" ; /tmp/pkgbuild/lang/guile22/work/.tools/bin/sed -e "s|[@]PACKAGE_NAME[@]|GNU Guile|g" -e "s|[@]PACKAGE_BUGREPORT[@]|bug-guile@gnu.org|g" -e "s|[@]GUILE_EFFECTIVE_VERSION[@]|2.2|g" -e "s|[@]GUILE_VERSION[@]|2.2.6|g" -e "s|[@]GUILE_CFLAGS[@]|-I/usr/pkg/include -I/usr/include  -pthread |g" -e "s|[@]GUILE_LIBS[@]|-Wl,-R/usr/pkg/guile/2.2/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -lcrypt  -lm|g" -e "s|[@]LIBGUILE_INTERFACE[@]|5:1:4|g" -e "s|[@]BDW_GC_CFLAGS[@]|-I/usr/pkg/include |g" -e "s|[@]BDW_GC_LIBS[@]|-Wl,-R/usr/pkg/lib -L/usr/pkg/lib -lgc |g" -e "s|[@]LIB_CLOCK_GETTIME[@]||g" -e "s|[@]LIBGMP[@]|/usr/pkg/lib/libgmp.so -Wl,-rpath -Wl,/usr/pkg/lib|g" -e "s|[@]LIBLTDL[@]|/usr/pkg/lib/libltdl.so -Wl,-rpath -Wl,/usr/pkg/lib|g" -e "s|[@]LIBFFI_LIBS[@]|-Wl,-R/usr/pkg/lib -L/usr/pkg/lib -lffi |g" -e "s|[@]LIBUNISTRING[@]|/usr/pkg/lib/libunistring.so -Wl,-rpath -Wl,/usr/pkg/lib|g" -e "s|[@]LIBICONV[@]||g" -e "s|[@]LIBINTL[@]||g" -e "s|[@]LIBSOCKET[@]||g" -e "s|[@]SERVENT_LIB[@]||g" -e "s|[@]HOSTENT_LIB[@]||g" -e "s|[@]GETADDRINFO_LIB[@]||g" -e "s|[@]INET_NTOP_LIB[@]||g" -e "s|[@]INET_PTON_LIB[@]||g" -e "s|[@]PKG_CONFIG[@]|/tmp/pkgbuild/lang/guile22/work/.tools/bin/pkg-config|g" -e "s|[@]pkgconfigdir[@]|/usr/pkg/guile/2.2/lib/pkgconfig|g" -e "s|[@]prefix[@]|/usr/pkg/guile/2.2|g" -e "s|[@]exec_prefix[@]|/usr/pkg/guile/2.2|g" -e "s|[@]bindir[@]|/usr/pkg/guile/2.2/bin|g" -e "s|[@]libdir[@]|/usr/pkg/guile/2.2/lib|g" -e "s|[@]includedir[@]|/usr/pkg/guile/2.2/include|g" -e "s|[@]datarootdir[@]|/usr/pkg/guile/2.2/share|g" -e "s|[@]datadir[@]|/usr/pkg/guile/2.2/share|g" -e "s|[@]sitedir[@]|/usr/pkg/guile/2.2/share/guile/site/2.2|g" -e "s|[@]guile[@]|$guile|g" -e "s|[@]guild[@]|$guild|g" -e "s|[@]installed_guile[@]|$installed_guile|g" < "guild.in" > "guild.out"
chmod +x "guile-config.out"
chmod +x "guild.out"
mv "guile-config.out" "guile-config"
mv "guild.out" "guild"
guile="`echo guile | /tmp/pkgbuild/lang/guile22/work/.tools/bin/sed -e 's,x,x,'`" ; guild="`echo guild | /tmp/pkgbuild/lang/guile22/work/.tools/bin/sed -e 's,x,x,'`" ; installed_guile="/usr/pkg/guile/2.2/bin/$guile" ; /tmp/pkgbuild/lang/guile22/work/.tools/bin/sed -e "s|[@]PACKAGE_NAME[@]|GNU Guile|g" -e "s|[@]PACKAGE_BUGREPORT[@]|bug-guile@gnu.org|g" -e "s|[@]GUILE_EFFECTIVE_VERSION[@]|2.2|g" -e "s|[@]GUILE_VERSION[@]|2.2.6|g" -e "s|[@]GUILE_CFLAGS[@]|-I/usr/pkg/include -I/usr/include  -pthread |g" -e "s|[@]GUILE_LIBS[@]|-Wl,-R/usr/pkg/guile/2.2/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -lcrypt  -lm|g" -e "s|[@]LIBGUILE_INTERFACE[@]|5:1:4|g" -e "s|[@]BDW_GC_CFLAGS[@]|-I/usr/pkg/include |g" -e "s|[@]BDW_GC_LIBS[@]|-Wl,-R/usr/pkg/lib -L/usr/pkg/lib -lgc |g" -e "s|[@]LIB_CLOCK_GETTIME[@]||g" -e "s|[@]LIBGMP[@]|/usr/pkg/lib/libgmp.so -Wl,-rpath -Wl,/usr/pkg/lib|g" -e "s|[@]LIBLTDL[@]|/usr/pkg/lib/libltdl.so -Wl,-rpath -Wl,/usr/pkg/lib|g" -e "s|[@]LIBFFI_LIBS[@]|-Wl,-R/usr/pkg/lib -L/usr/pkg/lib -lffi |g" -e "s|[@]LIBUNISTRING[@]|/usr/pkg/lib/libunistring.so -Wl,-rpath -Wl,/usr/pkg/lib|g" -e "s|[@]LIBICONV[@]||g" -e "s|[@]LIBINTL[@]||g" -e "s|[@]LIBSOCKET[@]||g" -e "s|[@]SERVENT_LIB[@]||g" -e "s|[@]HOSTENT_LIB[@]||g" -e "s|[@]GETADDRINFO_LIB[@]||g" -e "s|[@]INET_NTOP_LIB[@]||g" -e "s|[@]INET_PTON_LIB[@]||g" -e "s|[@]PKG_CONFIG[@]|/tmp/pkgbuild/lang/guile22/work/.tools/bin/pkg-config|g" -e "s|[@]pkgconfigdir[@]|/usr/pkg/guile/2.2/lib/pkgconfig|g" -e "s|[@]prefix[@]|/usr/pkg/guile/2.2|g" -e "s|[@]exec_prefix[@]|/usr/pkg/guile/2.2|g" -e "s|[@]bindir[@]|/usr/pkg/guile/2.2/bin|g" -e "s|[@]libdir[@]|/usr/pkg/guile/2.2/lib|g" -e "s|[@]includedir[@]|/usr/pkg/guile/2.2/include|g" -e "s|[@]datarootdir[@]|/usr/pkg/guile/2.2/share|g" -e "s|[@]datadir[@]|/usr/pkg/guile/2.2/share|g" -e "s|[@]sitedir[@]|/usr/pkg/guile/2.2/share/guile/site/2.2|g" -e "s|[@]guile[@]|$guile|g" -e "s|[@]guild[@]|$guild|g" -e "s|[@]installed_guile[@]|$installed_guile|g" < "guile-2.2.pc.in" > "guile-2.2.pc.out"
mv "guile-2.2.pc.out" "guile-2.2.pc"
gmake[2]: Leaving directory '/tmp/pkgbuild/lang/guile22/work/guile-2.2.6/meta'
Making all in libguile
gmake[2]: Entering directory '/tmp/pkgbuild/lang/guile22/work/guile-2.2.6/libguile'
  SNARF  alist.x
date: Expected digit in canonical time
date: -d
date: ^
Usage: date [-ajnu] [-d date] [-r seconds] [+format] [[[[[[CC]yy]mm]dd]HH]MM[.SS]]
  GEN      libpath.h
  SNARF  array-handle.x
  SNARF  array-map.x
  SNARF  arrays.x
  SNARF  async.x
  SNARF  atomic.x
  SNARF  backtrace.x
  SNARF  boolean.x
  SNARF  bitvectors.x
  SNARF  bytevectors.x
  SNARF  chars.x
  SNARF  control.x
  SNARF  continuations.x
  SNARF  debug.x
  SNARF  deprecated.x
  SNARF  deprecation.x
  SNARF  dynl.x
  SNARF  dynwind.x
  SNARF  eq.x
  SNARF  error.x
  SNARF  eval.x
  SNARF  evalext.x
  SNARF  expand.x
  SNARF  extensions.x
  SNARF  fdes-finalizers.x
  SNARF  feature.x
  SNARF  filesys.x
  SNARF  fluids.x
  SNARF  foreign.x
  SNARF  fports.x
  SNARF  frames.x
  SNARF  gc-malloc.x
  SNARF  gc.x
  SNARF  gettext.x
  SNARF  generalized-arrays.x
  SNARF  generalized-vectors.x
  SNARF  goops.x
  SNARF  gsubr.x
  SNARF  guardians.x
  SNARF  hash.x
  SNARF  hashtab.x
  SNARF  hooks.x
  SNARF  i18n.x
  SNARF  init.x
i18n.c:160:0: warning: "LC_CTYPE_MASK" redefined
 # define LC_CTYPE_MASK  1
 ^
In file included from ../lib/locale.h:38:0,
                 from i18n.c:36:
/usr/include/locale.h:99:0: note: this is the location of the previous definition
 #define LC_CTYPE_MASK  ((int)(1 << LC_CTYPE))
 ^
i18n.c:161:0: warning: "LC_COLLATE_MASK" redefined
 # define LC_COLLATE_MASK 2
 ^
In file included from ../lib/locale.h:38:0,
                 from i18n.c:36:
/usr/include/locale.h:98:0: note: this is the location of the previous definition
 #define LC_COLLATE_MASK  ((int)(1 << LC_COLLATE))
 ^
i18n.c:162:0: warning: "LC_MESSAGES_MASK" redefined
 # define LC_MESSAGES_MASK 4
 ^
In file included from ../lib/locale.h:38:0,
                 from i18n.c:36:
/usr/include/locale.h:103:0: note: this is the location of the previous definition
 #define LC_MESSAGES_MASK ((int)(1 << LC_MESSAGES))
 ^
i18n.c:163:0: warning: "LC_MONETARY_MASK" redefined
 # define LC_MONETARY_MASK 8
 ^
In file included from ../lib/locale.h:38:0,
                 from i18n.c:36:
/usr/include/locale.h:100:0: note: this is the location of the previous definition
 #define LC_MONETARY_MASK ((int)(1 << LC_MONETARY))
 ^
i18n.c:164:0: warning: "LC_NUMERIC_MASK" redefined
 # define LC_NUMERIC_MASK 16
 ^
In file included from ../lib/locale.h:38:0,
                 from i18n.c:36:
/usr/include/locale.h:101:0: note: this is the location of the previous definition
 #define LC_NUMERIC_MASK  ((int)(1 << LC_NUMERIC))
 ^
i18n.c:165:0: warning: "LC_TIME_MASK" redefined
 # define LC_TIME_MASK  32
 ^
In file included from ../lib/locale.h:38:0,
                 from i18n.c:36:
/usr/include/locale.h:102:0: note: this is the location of the previous definition
 #define LC_TIME_MASK  ((int)(1 << LC_TIME))
 ^
i18n.c:198:0: warning: "LC_ALL_MASK" redefined
 # define LC_ALL_MASK  (LC_CTYPE_MASK   \
 ^
In file included from ../lib/locale.h:38:0,
                 from i18n.c:36:
/usr/include/locale.h:97:0: note: this is the location of the previous definition
 #define LC_ALL_MASK  ((int)~0)
 ^
  SNARF  instructions.x
  SNARF  ioext.x
  SNARF  keywords.x
  SNARF  list.x
  SNARF  load.x
  SNARF  loader.x
  SNARF  macros.x
  SNARF  mallocs.x
  SNARF  memoize.x
  SNARF  modules.x
  SNARF  numbers.x
  SNARF  objprop.x
  SNARF  options.x
  SNARF  pairs.x
  SNARF  ports.x
  SNARF  print.x
  SNARF  procprop.x
  SNARF  procs.x
  SNARF  programs.x
  SNARF  promises.x
  SNARF  r6rs-ports.x
  SNARF  random.x
  SNARF  rdelim.x
  SNARF  read.x
  SNARF  rw.x
  SNARF  scmsigs.x
  SNARF  script.x
  SNARF  simpos.x
  SNARF  smob.x
  SNARF  sort.x
  SNARF  srcprop.x
  SNARF  srfi-1.x
  SNARF  srfi-4.x
  SNARF  srfi-13.x
  SNARF  srfi-14.x
  SNARF  srfi-60.x
  SNARF  stackchk.x
  SNARF  stacks.x
  SNARF  stime.x
  SNARF  strings.x
  SNARF  strorder.x
  SNARF  strports.x
  SNARF  struct.x
  SNARF  symbols.x
  SNARF  syntax.x
  SNARF  threads.x
  SNARF  throw.x
  SNARF  trees.x
  SNARF  unicode.x
  SNARF  uniform.x
  SNARF  values.x
  SNARF  variable.x
  SNARF  vectors.x
  SNARF  version.x
  SNARF  vm.x
  SNARF  vports.x
  SNARF  weak-set.x
  SNARF  weak-table.x
  SNARF  weak-vector.x
  SNARF  posix.x
  SNARF  net_db.x
  SNARF  socket.x
  SNARF  regex-posix.x
/usr/pkg/bin/gmake  all-am
gmake[3]: Entering directory '/tmp/pkgbuild/lang/guile22/work/guile-2.2.6/libguile'
  CC       guile-guile.o
  CC       libguile_2.2_la-alist.lo
  CC       libguile_2.2_la-array-handle.lo
  CC       libguile_2.2_la-array-map.lo
  CC       libguile_2.2_la-arrays.lo
  CC       libguile_2.2_la-async.lo
  CC       libguile_2.2_la-atomic.lo
  CC       libguile_2.2_la-backtrace.lo
  CC       libguile_2.2_la-boolean.lo
  CC       libguile_2.2_la-bitvectors.lo
  CC       libguile_2.2_la-bytevectors.lo
  CC       libguile_2.2_la-chars.lo
  CC       libguile_2.2_la-control.lo
  CC       libguile_2.2_la-continuations.lo
  CC       libguile_2.2_la-debug.lo
  CC       libguile_2.2_la-deprecated.lo
  CC       libguile_2.2_la-deprecation.lo
  CC       libguile_2.2_la-dynstack.lo
  CC       libguile_2.2_la-dynwind.lo
  CC       libguile_2.2_la-eq.lo
  CC       libguile_2.2_la-error.lo
  CC       libguile_2.2_la-eval.lo
  CC       libguile_2.2_la-evalext.lo
  CC       libguile_2.2_la-expand.lo
  CC       libguile_2.2_la-extensions.lo
  CC       libguile_2.2_la-fdes-finalizers.lo
  CC       libguile_2.2_la-feature.lo
  CC       libguile_2.2_la-filesys.lo
  CC       libguile_2.2_la-finalizers.lo
  CC       libguile_2.2_la-fluids.lo
  CC       libguile_2.2_la-foreign.lo
  CC       libguile_2.2_la-foreign-object.lo
  CC       libguile_2.2_la-fports.lo
  CC       libguile_2.2_la-frames.lo
  CC       libguile_2.2_la-gc-malloc.lo
  CC       libguile_2.2_la-gc.lo
  CC       libguile_2.2_la-gettext.lo
gettext.c: In function 'scm_gettext':
gettext.c:123:8: warning: variable 'c_category' set but not used [-Wunused-but-set-variable]
    int c_category;
        ^
gettext.c: In function 'scm_ngettext':
gettext.c:186:8: warning: variable 'c_category' set but not used [-Wunused-but-set-variable]
    int c_category;
        ^
  CC       libguile_2.2_la-generalized-arrays.lo
  CC       libguile_2.2_la-generalized-vectors.lo
  CC       libguile_2.2_la-goops.lo
  CC       libguile_2.2_la-gsubr.lo
  CC       libguile_2.2_la-guardians.lo
  CC       libguile_2.2_la-hash.lo
  CC       libguile_2.2_la-hashtab.lo
  CC       libguile_2.2_la-hooks.lo
  CC       libguile_2.2_la-i18n.lo
i18n.c:160:0: warning: "LC_CTYPE_MASK" redefined
 # define LC_CTYPE_MASK  1
 ^
In file included from ../lib/locale.h:38:0,
                 from i18n.c:36:
/usr/include/locale.h:99:0: note: this is the location of the previous definition
 #define LC_CTYPE_MASK  ((int)(1 << LC_CTYPE))
 ^
i18n.c:161:0: warning: "LC_COLLATE_MASK" redefined
 # define LC_COLLATE_MASK 2
 ^
In file included from ../lib/locale.h:38:0,
                 from i18n.c:36:
/usr/include/locale.h:98:0: note: this is the location of the previous definition
 #define LC_COLLATE_MASK  ((int)(1 << LC_COLLATE))
 ^
i18n.c:162:0: warning: "LC_MESSAGES_MASK" redefined
 # define LC_MESSAGES_MASK 4
 ^
In file included from ../lib/locale.h:38:0,
                 from i18n.c:36:
/usr/include/locale.h:103:0: note: this is the location of the previous definition
 #define LC_MESSAGES_MASK ((int)(1 << LC_MESSAGES))
 ^
i18n.c:163:0: warning: "LC_MONETARY_MASK" redefined
 # define LC_MONETARY_MASK 8
 ^
In file included from ../lib/locale.h:38:0,
                 from i18n.c:36:
/usr/include/locale.h:100:0: note: this is the location of the previous definition
 #define LC_MONETARY_MASK ((int)(1 << LC_MONETARY))
 ^
i18n.c:164:0: warning: "LC_NUMERIC_MASK" redefined
 # define LC_NUMERIC_MASK 16
 ^
In file included from ../lib/locale.h:38:0,
                 from i18n.c:36:
/usr/include/locale.h:101:0: note: this is the location of the previous definition
 #define LC_NUMERIC_MASK  ((int)(1 << LC_NUMERIC))
 ^
i18n.c:165:0: warning: "LC_TIME_MASK" redefined
 # define LC_TIME_MASK  32
 ^
In file included from ../lib/locale.h:38:0,
                 from i18n.c:36:
/usr/include/locale.h:102:0: note: this is the location of the previous definition
 #define LC_TIME_MASK  ((int)(1 << LC_TIME))
 ^
i18n.c:198:0: warning: "LC_ALL_MASK" redefined
 # define LC_ALL_MASK  (LC_CTYPE_MASK   \
 ^
In file included from ../lib/locale.h:38:0,
                 from i18n.c:36:
/usr/include/locale.h:97:0: note: this is the location of the previous definition
 #define LC_ALL_MASK  ((int)~0)
 ^
  CC       libguile_2.2_la-init.lo
  CC       libguile_2.2_la-inline.lo
  CC       libguile_2.2_la-instructions.lo
  CC       libguile_2.2_la-ioext.lo
  CC       libguile_2.2_la-keywords.lo
  CC       libguile_2.2_la-list.lo
  CC       libguile_2.2_la-load.lo
  CC       libguile_2.2_la-loader.lo
  CC       libguile_2.2_la-macros.lo
  CC       libguile_2.2_la-mallocs.lo
  CC       libguile_2.2_la-memoize.lo
  CC       libguile_2.2_la-modules.lo
  CC       libguile_2.2_la-null-threads.lo
  CC       libguile_2.2_la-numbers.lo
  CC       libguile_2.2_la-objprop.lo
  CC       libguile_2.2_la-options.lo
  CC       libguile_2.2_la-pairs.lo
  CC       libguile_2.2_la-poll.lo
  CC       libguile_2.2_la-ports.lo
ports.c: In function 'scm_port_decode_char':
ports.c:1891:27: warning: passing argument 2 of 'iconv' from incompatible pointer type [-Wincompatible-pointer-types]
   done = iconv (input_cd, &input, &input_left, &output, &output_left);
                           ^
In file included from ../lib/iconv.h:27:0,
                 from ports.c:35:
/usr/include/iconv.h:46:8: note: expected 'const char ** restrict' but argument is of type 'char **'
 size_t iconv(iconv_t, const char ** __restrict,
        ^
ports.c: In function 'try_encode_char_to_iconv_buf':
ports.c:3169:27: warning: passing argument 2 of 'iconv' from incompatible pointer type [-Wincompatible-pointer-types]
   res = iconv (output_cd, &input, &input_left, &output, &output_left);
                           ^
In file included from ../lib/iconv.h:27:0,
                 from ports.c:35:
/usr/include/iconv.h:46:8: note: expected 'const char ** restrict' but argument is of type 'char **'
 size_t iconv(iconv_t, const char ** __restrict,
        ^
ports.c:3204:31: warning: passing argument 2 of 'iconv' from incompatible pointer type [-Wincompatible-pointer-types]
       res = iconv (output_cd, &input, &input_left, &output, &output_left);
                               ^
In file included from ../lib/iconv.h:27:0,
                 from ports.c:35:
/usr/include/iconv.h:46:8: note: expected 'const char ** restrict' but argument is of type 'char **'
 size_t iconv(iconv_t, const char ** __restrict,
        ^
ports.c:3215:31: warning: passing argument 2 of 'iconv' from incompatible pointer type [-Wincompatible-pointer-types]
       res = iconv (output_cd, &input, &input_left, &output, &output_left);
                               ^
In file included from ../lib/iconv.h:27:0,
                 from ports.c:35:
/usr/include/iconv.h:46:8: note: expected 'const char ** restrict' but argument is of type 'char **'
 size_t iconv(iconv_t, const char ** __restrict,
        ^
ports.c: In function 'scm_c_can_put_char':
ports.c:3544:32: warning: passing argument 2 of 'iconv' from incompatible pointer type [-Wincompatible-pointer-types]
     result = iconv (output_cd, &input, &input_len, &output, &output_len);
                                ^
In file included from ../lib/iconv.h:27:0,
                 from ports.c:35:
/usr/include/iconv.h:46:8: note: expected 'const char ** restrict' but argument is of type 'char **'
 size_t iconv(iconv_t, const char ** __restrict,
        ^
  CC       libguile_2.2_la-print.lo
  CC       libguile_2.2_la-procprop.lo
  CC       libguile_2.2_la-procs.lo
  CC       libguile_2.2_la-programs.lo
  CC       libguile_2.2_la-promises.lo
  CC       libguile_2.2_la-r6rs-ports.lo
  CC       libguile_2.2_la-random.lo
  CC       libguile_2.2_la-rdelim.lo
  CC       libguile_2.2_la-read.lo
  CC       libguile_2.2_la-rw.lo
  CC       libguile_2.2_la-scmsigs.lo
  CC       libguile_2.2_la-script.lo
  CC       libguile_2.2_la-simpos.lo
  CC       libguile_2.2_la-smob.lo
  CC       libguile_2.2_la-sort.lo
  CC       libguile_2.2_la-srcprop.lo
  CC       libguile_2.2_la-srfi-1.lo
  CC       libguile_2.2_la-srfi-4.lo
  CC       libguile_2.2_la-srfi-13.lo
  CC       libguile_2.2_la-srfi-14.lo
  CC       libguile_2.2_la-srfi-60.lo
  CC       libguile_2.2_la-stackchk.lo
  CC       libguile_2.2_la-stacks.lo
  CC       libguile_2.2_la-stime.lo
  CC       libguile_2.2_la-strings.lo
  CC       libguile_2.2_la-strorder.lo
  CC       libguile_2.2_la-strports.lo
  CC       libguile_2.2_la-struct.lo
  CC       libguile_2.2_la-symbols.lo
  CC       libguile_2.2_la-syntax.lo
  CC       libguile_2.2_la-threads.lo
  CC       libguile_2.2_la-throw.lo
  CC       libguile_2.2_la-trees.lo
  CC       libguile_2.2_la-unicode.lo
  CC       libguile_2.2_la-uniform.lo
  CC       libguile_2.2_la-values.lo
  CC       libguile_2.2_la-variable.lo
  CC       libguile_2.2_la-vectors.lo
  CC       libguile_2.2_la-version.lo
  CC       libguile_2.2_la-vm.lo
  CC       libguile_2.2_la-vports.lo
  CC       libguile_2.2_la-weak-set.lo
  CC       libguile_2.2_la-weak-table.lo
  CC       libguile_2.2_la-weak-vector.lo
  CC       libguile_2.2_la-dynl.lo
  CC       libguile_2.2_la-posix.lo
  CC       libguile_2.2_la-net_db.lo
  CC       libguile_2.2_la-socket.lo
  CC       libguile_2.2_la-regex-posix.lo
  GEN      c-tokenize.o
  GEN      guile_filter_doc_snarfage
  SNARF  alist.doc
  SNARF  array-handle.doc
  SNARF  array-map.doc
  SNARF  arrays.doc
  SNARF  async.doc
  SNARF  atomic.doc
  SNARF  backtrace.doc
  SNARF  boolean.doc
  SNARF  bitvectors.doc
  SNARF  bytevectors.doc
  SNARF  chars.doc
  SNARF  control.doc
  SNARF  continuations.doc
  SNARF  debug.doc
  SNARF  deprecated.doc
  SNARF  deprecation.doc
  SNARF  dynl.doc
  SNARF  dynwind.doc
  SNARF  eq.doc
  SNARF  error.doc
  SNARF  eval.doc
  SNARF  evalext.doc
  SNARF  expand.doc
  SNARF  extensions.doc
  SNARF  fdes-finalizers.doc
  SNARF  feature.doc
  SNARF  filesys.doc
  SNARF  fluids.doc
  SNARF  foreign.doc
  SNARF  fports.doc
  SNARF  gc-malloc.doc
  SNARF  gc.doc
  SNARF  gettext.doc
  SNARF  generalized-arrays.doc
  SNARF  generalized-vectors.doc
  SNARF  goops.doc
  SNARF  gsubr.doc
  SNARF  guardians.doc
  SNARF  hash.doc
  SNARF  hashtab.doc
  SNARF  hooks.doc
  SNARF  i18n.doc
i18n.c:160:0: warning: "LC_CTYPE_MASK" redefined
 # define LC_CTYPE_MASK  1
 ^
In file included from ../lib/locale.h:38:0,
                 from i18n.c:36:
/usr/include/locale.h:99:0: note: this is the location of the previous definition
 #define LC_CTYPE_MASK  ((int)(1 << LC_CTYPE))
 ^
i18n.c:161:0: warning: "LC_COLLATE_MASK" redefined
 # define LC_COLLATE_MASK 2
 ^
In file included from ../lib/locale.h:38:0,
                 from i18n.c:36:
/usr/include/locale.h:98:0: note: this is the location of the previous definition
 #define LC_COLLATE_MASK  ((int)(1 << LC_COLLATE))
 ^
i18n.c:162:0: warning: "LC_MESSAGES_MASK" redefined
 # define LC_MESSAGES_MASK 4
 ^
In file included from ../lib/locale.h:38:0,
                 from i18n.c:36:
/usr/include/locale.h:103:0: note: this is the location of the previous definition
 #define LC_MESSAGES_MASK ((int)(1 << LC_MESSAGES))
 ^
i18n.c:163:0: warning: "LC_MONETARY_MASK" redefined
 # define LC_MONETARY_MASK 8
 ^
In file included from ../lib/locale.h:38:0,
                 from i18n.c:36:
/usr/include/locale.h:100:0: note: this is the location of the previous definition
 #define LC_MONETARY_MASK ((int)(1 << LC_MONETARY))
 ^
i18n.c:164:0: warning: "LC_NUMERIC_MASK" redefined
 # define LC_NUMERIC_MASK 16
 ^
In file included from ../lib/locale.h:38:0,
                 from i18n.c:36:
/usr/include/locale.h:101:0: note: this is the location of the previous definition
 #define LC_NUMERIC_MASK  ((int)(1 << LC_NUMERIC))
 ^
i18n.c:165:0: warning: "LC_TIME_MASK" redefined
 # define LC_TIME_MASK  32
 ^
In file included from ../lib/locale.h:38:0,
                 from i18n.c:36:
/usr/include/locale.h:102:0: note: this is the location of the previous definition
 #define LC_TIME_MASK  ((int)(1 << LC_TIME))
 ^
i18n.c:198:0: warning: "LC_ALL_MASK" redefined
 # define LC_ALL_MASK  (LC_CTYPE_MASK   \
 ^
In file included from ../lib/locale.h:38:0,
                 from i18n.c:36:
/usr/include/locale.h:97:0: note: this is the location of the previous definition
 #define LC_ALL_MASK  ((int)~0)
 ^
  SNARF  init.doc
  SNARF  ioext.doc
  SNARF  keywords.doc
  SNARF  list.doc
  SNARF  load.doc
  SNARF  macros.doc
  SNARF  mallocs.doc
  SNARF  memoize.doc
  SNARF  modules.doc
  SNARF  numbers.doc
  SNARF  objprop.doc
  SNARF  options.doc
  SNARF  pairs.doc
  SNARF  ports.doc
  SNARF  print.doc
  SNARF  procprop.doc
  SNARF  procs.doc
  SNARF  promises.doc
  SNARF  r6rs-ports.doc
  SNARF  random.doc
  SNARF  rdelim.doc
  SNARF  read.doc
  SNARF  rw.doc
  SNARF  scmsigs.doc
  SNARF  script.doc
  SNARF  simpos.doc
  SNARF  smob.doc
  SNARF  sort.doc
  SNARF  srcprop.doc
  SNARF  srfi-1.doc
  SNARF  srfi-4.doc
  SNARF  srfi-13.doc
  SNARF  srfi-14.doc
  SNARF  srfi-60.doc
  SNARF  stackchk.doc
  SNARF  stacks.doc
  SNARF  stime.doc
  SNARF  strings.doc
  SNARF  strorder.doc
  SNARF  strports.doc
  SNARF  struct.doc
  SNARF  symbols.doc
  SNARF  syntax.doc
  SNARF  threads.doc
  SNARF  throw.doc
  SNARF  trees.doc
  SNARF  unicode.doc
  SNARF  uniform.doc
  SNARF  values.doc
  SNARF  variable.doc
  SNARF  vectors.doc
  SNARF  version.doc
  SNARF  vports.doc
  SNARF  weak-set.doc
  SNARF  weak-table.doc
  SNARF  weak-vector.doc
  SNARF  posix.doc
  SNARF  net_db.doc
  SNARF  socket.doc
  SNARF  regex-posix.doc
  CCLD     libguile-2.2.la
.libs/libguile_2.2_la-posix.o: In function `scm_tmpnam':
posix.c:(.text+0x26d8): warning: warning: tmpnam() possibly used unsafely, use mkstemp() or mkdtemp()
  CCLD     guile
./.libs/libguile-2.2.so: warning: warning: tmpnam() possibly used unsafely, use mkstemp() or mkdtemp()
  GEN      guile-procedures.texi
gmake[3]: Leaving directory '/tmp/pkgbuild/lang/guile22/work/guile-2.2.6/libguile'
gmake[2]: Leaving directory '/tmp/pkgbuild/lang/guile22/work/guile-2.2.6/libguile'
Making all in bootstrap
gmake[2]: Entering directory '/tmp/pkgbuild/lang/guile22/work/guile-2.2.6/bootstrap'
  BOOTSTRAP GUILEC ice-9/eval.go
wrote `ice-9/eval.go'
  BOOTSTRAP GUILEC ice-9/psyntax-pp.go
[1]   Killed                  GUILE_AUTO_COMPI...
gmake[2]: *** [Makefile:1931: ice-9/psyntax-pp.go] Error 137
gmake[2]: Leaving directory '/tmp/pkgbuild/lang/guile22/work/guile-2.2.6/bootstrap'
gmake[1]: *** [Makefile:1857: all-recursive] Error 1
gmake[1]: Leaving directory '/tmp/pkgbuild/lang/guile22/work/guile-2.2.6'
gmake: *** [Makefile:1743: all] Error 2
*** Error code 2

Stop.
make[1]: stopped in /usr/pkgsrc/lang/guile22
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/lang/guile22