=> Bootstrap dependency digest>=20010302: found digest-20121220
===> 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'.
=> Checksum SHA1 OK for emacs-snapshot_20130713.orig.tar.xz
=> Checksum RMD160 OK for emacs-snapshot_20130713.orig.tar.xz
===> Installing dependencies for emacs24-24.3.50.20130713
==========================================================================
The supported build options for emacs24 are:

	dbus gconf gnutls gtk imagemagick motif nextstep
	svg x11 xaw xft2

The currently selected options are:

	dbus gconf gnutls imagemagick svg x11 xaw
	xft2

You can select which build options to use by setting PKG_DEFAULT_OPTIONS
or the following variable.  Its current value is shown:

	PKG_OPTIONS.emacs (not defined)

==========================================================================
==========================================================================
The following variables will affect the build process of this package,
emacs24-24.3.50.20130713.  Their current value is shown below:

        * GAMEDATAMODE = 664
        * GAMES_GROUP = games
        * GAMES_USER = games
        * GIFLIB_IMPLEMENTATION = giflib
        * JPEG_DEFAULT = jpeg
        * VARBASE = /var
        * XAW_TYPE = standard

Based on these variables, the following variables have been set:

        * JPEGBASE (defined, but empty)
        * JPEG_TYPE = jpeg
        * TERMCAP_TYPE = termcap

You may want to abort the process now with CTRL-C and change their value
before continuing.  Be sure to run `/usr/bin/make clean' after
the changes.
==========================================================================
=> Tool dependency automake>=1.9: found automake-1.14
=> Tool dependency autoconf>=2.58: found autoconf-2.69nb2
=> Tool dependency gmake>=3.81: found gmake-3.82nb7
=> Tool dependency checkperms>=1.1: found checkperms-1.11
=> Build dependency renderproto>=0.9.3nb1: found renderproto-0.11.1
=> Build dependency kbproto>=1.0.2: found kbproto-1.0.6
=> Build dependency xproto>=7.0.9: found xproto-7.0.24nb1
=> Build dependency xcb-proto>=1.4: found xcb-proto-1.8
=> Build dependency dri2proto>=2.0: found dri2proto-2.8
=> Build dependency glproto>=1.4.6: found glproto-1.4.16
=> Build dependency damageproto>=1.1.0: found damageproto-1.2.1
=> Build dependency fixesproto>=3.0.0: found fixesproto-5.0
=> Build dependency xextproto>=7.0: found xextproto-7.2.1
=> Build dependency inputproto>=1.4: found inputproto-2.3
=> Build dependency xf86vidmodeproto>=2.3: found xf86vidmodeproto-2.3.1
=> Build dependency xf86driproto>=2.0.3: found xf86driproto-2.1.1
=> Build dependency randrproto>=1.2.0: found randrproto-1.4.0
=> Build dependency xineramaproto>=1.1.1: found xineramaproto-1.2.1
=> Build dependency compositeproto>=0.3.1: found compositeproto-0.4.2
=> Full dependency dbus>=0.91: found dbus-1.6.12nb1
=> Full dependency gconfmm>=2.28.3nb13: found gconfmm-2.28.3nb13
=> Full dependency libXft>=2.3.1nb3: found libXft-2.3.1nb3
=> Full dependency fontconfig>=2.10.93nb2: found fontconfig-2.10.93nb2
=> Full dependency freetype2>=2.4.11: found freetype2-2.4.11
=> Full dependency libXrender>=0.9.2: found libXrender-0.9.8
=> Full dependency png>=1.6.0nb1: found png-1.6.3
=> Full dependency gnutls>=3.0.17: found gnutls-3.2.2
=> Full dependency ImageMagick>=6.8.5.8nb3: found ImageMagick-6.8.6.3
=> Full dependency libSM>=0.99.2: found libSM-1.2.1
=> Full dependency tiff>=4.0.3nb2: found tiff-4.0.3nb3
=> Full dependency librsvg>=2.36.4nb4: found librsvg-2.36.4nb4
=> Full dependency giflib>=5.0.4: found giflib-5.0.4
=> Full dependency libXpm>=3.5.4.2: found libXpm-3.5.10
=> Full dependency libotf>=0.9.13nb2: found libotf-0.9.13nb2
=> Full dependency m17n-lib>=1.6.4nb5: found m17n-lib-1.6.4nb5
=> Full dependency libXaw>=1.0.5: found libXaw-1.0.11
=> Full dependency hicolor-icon-theme>=0.9nb1: found hicolor-icon-theme-0.12
=> Full dependency desktop-file-utils>=0.10nb1: found desktop-file-utils-0.21
===> Overriding tools for emacs24-24.3.50.20130713
===> Extracting for emacs24-24.3.50.20130713
tar: Global extended headers posix ustar archive. Extracting as plain files. Following files might be in the wrong directory or have wrong attributes.
cp /data/pkgsrc/editors/emacs-snapshot/../../editors/emacs23/files/site-init.el /scratch/editors/emacs-snapshot/work/emacs-snapshot-20130713/lisp
cp /data/pkgsrc/editors/emacs-snapshot/files/dragonfly.h /scratch/editors/emacs-snapshot/work/emacs-snapshot-20130713/src/s
/bin/chmod -R go-w /scratch/editors/emacs-snapshot/work/emacs-snapshot-20130713
===> Patching for emacs24-24.3.50.20130713
=> Applying pkgsrc patches for emacs24-24.3.50.20130713
=> Verifying /data/pkgsrc/editors/emacs-snapshot/patches/patch-ad
=> Applying pkgsrc patch /data/pkgsrc/editors/emacs-snapshot/patches/patch-ad
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ad,v 1.3 2013/05/31 23:20:18 minskim Exp $
|
|Magic line to avoid segmentation fault during build (not always happen).
|
|--- lisp/cus-dep.el.orig	2013-05-27 05:08:04.000000000 +0000
|+++ lisp/cus-dep.el
--------------------------
Patching file lisp/cus-dep.el using Plan A...
Hunk #1 succeeded at 70.
done
=> Verifying /data/pkgsrc/editors/emacs-snapshot/patches/patch-ae
=> Applying pkgsrc patch /data/pkgsrc/editors/emacs-snapshot/patches/patch-ae
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ae,v 1.1 2011/03/01 17:57:16 minskim Exp $
|
|The "test" command, as well as the "[" command, are not required to know
|the "==" operator.
|
|--- test/indent/shell.sh.orig	2011-02-24 08:45:25.000000000 +0000
|+++ test/indent/shell.sh
--------------------------
Patching file test/indent/shell.sh using Plan A...
Hunk #1 succeeded at 104 (offset 34 lines).
done
=> Verifying /data/pkgsrc/editors/emacs-snapshot/patches/patch-ag
=> Applying pkgsrc patch /data/pkgsrc/editors/emacs-snapshot/patches/patch-ag
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ag,v 1.4 2013/02/12 04:47:32 minskim Exp $
|
|When running terminfo but compiled for termcap, we cannot assume
|that we actually have anything useable in termcap_term_buffer so just
|use the terminfo fixed size defined ealier.
|
|--- src/term.c.orig	2013-01-31 02:44:41.000000000 +0900
|+++ src/term.c	2013-02-07 23:03:54.000000000 +0900
--------------------------
Patching file src/term.c using Plan A...
Hunk #1 succeeded at 3069 (offset -3 lines).
done
===> Creating toolchain wrappers for emacs24-24.3.50.20130713
src=/usr/pkg/lib/pkgconfig/fixesproto.pc  dst=/scratch/editors/emacs-snapshot/work/.buildlink/lib/pkgconfig/fixesext.pc;  /bin/mkdir -p /scratch/editors/emacs-snapshot/work/.buildlink/lib/pkgconfig;  if test -f ${src}; then  /bin/ln -sf ${src} ${dst};  fi
src=/usr/pkg/lib/pkgconfig/compositeproto.pc  dst=/scratch/editors/emacs-snapshot/work/.buildlink/lib/pkgconfig/compositeext.pc;  /bin/mkdir -p /scratch/editors/emacs-snapshot/work/.buildlink/lib/pkgconfig;  if test -f ${src}; then  /bin/ln -sf ${src} ${dst};  fi
===> Configuring for emacs24-24.3.50.20130713
cd /scratch/editors/emacs-snapshot/work/emacs-snapshot-20130713 && ./autogen.sh
Checking whether you have the necessary tools...
(Read INSTALL.BZR for more details on building Emacs)

Checking for autoconf (need at least version 2.65)...
ok
Checking for automake (need at least version 1.11)...
ok
Your system has the required tools, running autoreconf...
configure.ac:618: installing 'build-aux/compile'
configure.ac:415: installing 'build-aux/config.guess'
configure.ac:415: installing 'build-aux/config.sub'
configure.ac:45: installing 'build-aux/install-sh'
configure.ac:45: installing 'build-aux/missing'
lib/Makefile.am: installing 'build-aux/depcomp'
You can now run `./configure'.
=> Modifying GNU configure scripts to avoid --recheck
=> Replacing config-guess with pkgsrc versions
=> Replacing config-sub with pkgsrc versions
=> Replacing install-sh with pkgsrc version
=> Replacing Perl interpreter in lib-src/grep-changelog.
=> Checking for portability problems in extracted files
configure: WARNING: unrecognized options: --with-crt-dir
checking for a BSD-compatible install... /usr/bin/install -c -o pbulkXXX -g users
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... build-aux/install-sh -c -d
checking for gawk... /usr/bin/awk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking build system type... x86_64--netbsd
checking host system type... x86_64--netbsd
checking for x86_64--netbsd-gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking for egrep... (cached) /usr/bin/egrep
checking for Minix Amsterdam compiler... no
checking for x86_64--netbsd-ar... no
checking for ar... ar
checking for x86_64--netbsd-ranlib... no
checking for ranlib... ranlib
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking whether _XOPEN_SOURCE should be defined... no
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for gcc option to accept ISO C99... none needed
checking for gcc option to accept ISO Standard C... (cached) none needed
checking whether ln -s works for files in the same directory... yes
checking for install-info... /scratch/editors/emacs-snapshot/work/.tools/bin/install-info
checking for gzip... /scratch/editors/emacs-snapshot/work/.tools/bin/gzip
checking for makeinfo... /scratch/editors/emacs-snapshot/work/.tools/bin/makeinfo
checking for -znocombreloc... yes
checking for pkg-config... no
checking for machine/soundcard.h... yes
checking for sys/soundcard.h... yes
checking for soundcard.h... yes
checking for _oss_ioctl in -lossaudio... yes
checking for sys/systeminfo.h... no
checking for coff.h... no
checking for pty.h... no
checking for sys/resource.h... yes
checking for sys/utsname.h... yes
checking for pwd.h... yes
checking for utmp.h... yes
checking for util.h... yes
checking for sys/socket.h... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... yes
checking for pthread.h... yes
checking for malloc/malloc.h... no
checking for maillock.h... no
checking for sys/un.h... yes
checking for dirent.h... yes
checking for execinfo.h... yes
checking for stdio_ext.h... no
checking for getopt.h... yes
checking for sys/time.h... yes
checking for wchar.h... yes
checking for stdint.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for sys/select.h... yes
checking for sys/stat.h... (cached) yes
checking for utime.h... yes
checking if personality LINUX32 can be set... no
checking for term.h... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether sys_siglist is declared... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for net/if.h... yes
checking for ifaddrs.h... yes
checking for net/if_dl.h... yes
checking for struct ifreq.ifr_flags... yes
checking for struct ifreq.ifr_hwaddr... no
checking for struct ifreq.ifr_netmask... no
checking for struct ifreq.ifr_broadaddr... yes
checking for struct ifreq.ifr_addr... yes
checking for struct ifreq.ifr_addr.sa_len... yes
checking whether we are using GNU Make... yes
checking whether gcc understands -MMD -MF... yes
checking for long file names... yes
checking for X... libraries , headers 
checking whether malloc is Doug Lea style... no
checking sys/vlimit.h usability... no
checking sys/vlimit.h presence... no
checking for sys/vlimit.h... no
checking for data_start... no
checking for getpagesize... yes
checking for working mmap... yes
checking for dnet_ntoa in -ldnet... no
checking for main in -lXbsd... no
checking for pthread_atfork in -lpthread... yes
checking for cma_open in -lpthreads... no
checking for Xkb... yes
checking for XrmSetDatabase... yes
checking for XScreenResourceString... yes
checking for XScreenNumberOfScreen... yes
checking X11 version 6... 6 or newer
checking for lgetfilecon in -lselinux... no
checking sys/inotify.h usability... no
checking sys/inotify.h presence... no
checking for sys/inotify.h... no
checking for xaw3d... no
checking for libXaw... yes; using Lucid toolkit
checking X11 toolkit version... 6 or newer
checking for XmuConvertStandardSelection in -lXmu... yes
checking for XShapeQueryExtension in -lXext... yes
checking X11/xpm.h usability... yes
checking X11/xpm.h presence... yes
checking for X11/xpm.h... yes
checking for XpmReadFileToPixmap in -lXpm... yes
checking for XpmReturnAllocPixels preprocessor define... yes
checking jerror.h usability... yes
checking jerror.h presence... yes
checking for jerror.h... yes
checking for jpeg_destroy_compress in -ljpeg... yes
checking png.h usability... yes
checking png.h presence... yes
checking for png.h... yes
checking for png_get_channels in -lpng... yes
checking whether png_longjmp is declared... yes
checking tiffio.h usability... yes
checking tiffio.h presence... yes
checking for tiffio.h... yes
checking for TIFFGetVersion in -ltiff... yes
checking gif_lib.h usability... yes
checking gif_lib.h presence... yes
checking for gif_lib.h... yes
checking for EGifPutExtensionLast in -lgif... no
checking for EGifPutExtensionLast in -lungif... no
configure: error: The following required libraries were not found:
     libgif/libungif
Maybe some development libraries/packages are missing?
If you don't want to link with them give
     --with-gif=no
as options to configure
*** Error code 1

Stop.
make: stopped in /data/pkgsrc/editors/emacs-snapshot
*** Error code 1

Stop.
make: stopped in /data/pkgsrc/editors/emacs-snapshot
