=> 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'.
===> Installing for xemacs-nox11-21.4.17nb7
=> Generating pre-install file lists
cd ./lib-src && /usr/bin/make   CC='cc' CFLAGS='-O2 -Dunix -I/usr/pkg/include -I/usr/include' LDFLAGS='-L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib' CPPFLAGS='-I/usr/pkg/include -I/usr/include' all
cd ./src && /usr/bin/make   CC='cc' CFLAGS='-O2 -Dunix -I/usr/pkg/include -I/usr/include' LDFLAGS='-L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib' CPPFLAGS='-I/usr/pkg/include -I/usr/include' all
./temacs -nd -batch -l /scratch/editors/xemacs-nox11/work/xemacs-21.4.17/src/../lisp/update-elc.el

Loading /scratch/editors/xemacs-nox11/work/xemacs-21.4.17/src/../lisp/update-elc.el...
Loading very-early-lisp...
Loading find-paths.el...
Loading packages.el...
Loading setup-paths.el...
Loading dump-paths.el...
Loading /scratch/editors/xemacs-nox11/work/xemacs-21.4.17/lisp/dumped-lisp.el...
Building finder database ...
Wrote /scratch/editors/xemacs-nox11/work/xemacs-21.4.17/lisp/finder-inf.el
Building finder database ...(done)
rm -f lisp/auto-autoloads.el
/scratch/editors/xemacs-nox11/work/xemacs-21.4.17/src/xemacs -batch -no-autoloads  -l autoload -f batch-update-directory lisp
Updating autoloads in directory /scratch/editors/xemacs-nox11/work/xemacs-21.4.17/lisp...
Generating autoloads for lisp/abbrev.el...
Generating autoloads for lisp/about.el...
Generating autoloads for lisp/alist.el...
Generating autoloads for lisp/apropos.el...
No autoloads found in lisp/auto-save.el
No autoloads found in lisp/auto-show.el
Generating autoloads for lisp/autoload.el...
No autoloads found in lisp/backquote.el
No autoloads found in lisp/blessmail.el
Generating autoloads for lisp/buff-menu.el...
No autoloads found in lisp/buffer.el
Generating autoloads for lisp/build-report.el...
No autoloads found in lisp/byte-optimize.el
No autoloads found in lisp/bytecomp-runtime.el
Generating autoloads for lisp/bytecomp.el...
No autoloads found in lisp/callers-of-rpt.el
No autoloads found in lisp/check-features.el
No autoloads found in lisp/cl-compat.el
No autoloads found in lisp/cl-extra.el
Generating autoloads for lisp/cl-macs.el...
No autoloads found in lisp/cl-seq.el
No autoloads found in lisp/cl.el
No autoloads found in lisp/cmdloop.el
No autoloads found in lisp/code-cmds.el
No autoloads found in lisp/code-files.el
No autoloads found in lisp/code-process.el
No autoloads found in lisp/coding.el
No autoloads found in lisp/compat.el
Generating autoloads for lisp/config.el...
No autoloads found in lisp/console.el
Generating autoloads for lisp/cus-dep.el...
Generating autoloads for lisp/cus-edit.el...
Generating autoloads for lisp/cus-face.el...
Generating autoloads for lisp/cus-file.el...
No autoloads found in lisp/cus-load.el
No autoloads found in lisp/cus-start.el
No autoloads found in lisp/custom-load.el
No autoloads found in lisp/custom.el
No autoloads found in lisp/derived.el
No autoloads found in lisp/device.el
No autoloads found in lisp/dialog-gtk.el
No autoloads found in lisp/dialog-items.el
No autoloads found in lisp/dialog.el
Generating autoloads for lisp/disass.el...
Generating autoloads for lisp/disp-table.el...
No autoloads found in lisp/dragdrop.el
No autoloads found in lisp/dump-paths.el
No autoloads found in lisp/dumped-lisp.el
Generating autoloads for lisp/easymenu.el...
Generating autoloads for lisp/etags.el...
No autoloads found in lisp/events.el
No autoloads found in lisp/extents.el
No autoloads found in lisp/faces.el
No autoloads found in lisp/files-nomule.el
No autoloads found in lisp/files.el
No autoloads found in lisp/fill.el
No autoloads found in lisp/find-paths.el
No autoloads found in lisp/finder-inf.el
Generating autoloads for lisp/finder.el...
No autoloads found in lisp/float-sup.el
Generating autoloads for lisp/font-lock.el...
Generating autoloads for lisp/font-menu.el...
Generating autoloads for lisp/font.el...
No autoloads found in lisp/fontl-hooks.el
No autoloads found in lisp/format.el
No autoloads found in lisp/frame.el
No autoloads found in lisp/gdk.el
No autoloads found in lisp/generic-widgets.el
No autoloads found in lisp/glade.el
No autoloads found in lisp/glyphs.el
No autoloads found in lisp/gnome-widgets.el
No autoloads found in lisp/gnome.el
Generating autoloads for lisp/gnuserv.el...
No autoloads found in lisp/gpm.el
No autoloads found in lisp/gtk-compose.el
No autoloads found in lisp/gtk-extra.el
No autoloads found in lisp/gtk-faces.el
No autoloads found in lisp/gtk-ffi.el
No autoloads found in lisp/gtk-file-dialog.el
Generating autoloads for lisp/gtk-font-menu.el...
No autoloads found in lisp/gtk-glyphs.el
No autoloads found in lisp/gtk-init.el
No autoloads found in lisp/gtk-iso8859-1.el
No autoloads found in lisp/gtk-marshal.el
No autoloads found in lisp/gtk-mouse.el
No autoloads found in lisp/gtk-package.el
No autoloads found in lisp/gtk-password-dialog.el
No autoloads found in lisp/gtk-select.el
No autoloads found in lisp/gtk-widget-accessors.el
No autoloads found in lisp/gtk-widgets.el
No autoloads found in lisp/gtk.el
No autoloads found in lisp/gui.el
No autoloads found in lisp/gutter-items.el
No autoloads found in lisp/gutter.el
Generating autoloads for lisp/help-macro.el...
No autoloads found in lisp/help-nomule.el
No autoloads found in lisp/help.el
Generating autoloads for lisp/hyper-apropos.el...
No autoloads found in lisp/indent.el
Generating autoloads for lisp/info.el...
No autoloads found in lisp/isearch-mode.el
No autoloads found in lisp/iso8859-1.el
Generating autoloads for lisp/itimer-autosave.el...
No autoloads found in lisp/itimer.el
No autoloads found in lisp/keydefs.el
No autoloads found in lisp/keymap.el
No autoloads found in lisp/ldap.el
No autoloads found in lisp/lib-complete.el
No autoloads found in lisp/lisp-mnt.el
No autoloads found in lisp/lisp-mode.el
No autoloads found in lisp/lisp.el
No autoloads found in lisp/list-mode.el
Generating autoloads for lisp/loaddefs.el...
Generating autoloads for lisp/loadhist.el...
No autoloads found in lisp/loadup-el.el
No autoloads found in lisp/loadup.el
No autoloads found in lisp/make-docfile.el
No autoloads found in lisp/map-ynp.el
No autoloads found in lisp/menubar-items.el
No autoloads found in lisp/menubar.el
No autoloads found in lisp/minibuf.el
No autoloads found in lisp/misc.el
No autoloads found in lisp/mode-motion.el
No autoloads found in lisp/modeline.el
No autoloads found in lisp/mouse.el
No autoloads found in lisp/movemail.el
No autoloads found in lisp/msw-faces.el
Generating autoloads for lisp/msw-font-menu.el...
No autoloads found in lisp/msw-glyphs.el
No autoloads found in lisp/msw-init.el
No autoloads found in lisp/msw-mouse.el
No autoloads found in lisp/msw-select.el
No autoloads found in lisp/multicast.el
Generating autoloads for lisp/mwheel.el...
No autoloads found in lisp/objects.el
No autoloads found in lisp/obsolete.el
Generating autoloads for lisp/package-admin.el...
Generating autoloads for lisp/package-get.el...
No autoloads found in lisp/package-info.el
Generating autoloads for lisp/package-net.el...
Generating autoloads for lisp/package-ui.el...
No autoloads found in lisp/packages.el
No autoloads found in lisp/page.el
No autoloads found in lisp/paragraphs.el
No autoloads found in lisp/paths.el
Generating autoloads for lisp/picture.el...
No autoloads found in lisp/printer.el
No autoloads found in lisp/process.el
Generating autoloads for lisp/rect.el...
No autoloads found in lisp/register.el
No autoloads found in lisp/replace.el
No autoloads found in lisp/scrollbar.el
No autoloads found in lisp/select.el
No autoloads found in lisp/setup-paths.el
Generating autoloads for lisp/shadow.el...
No autoloads found in lisp/simple.el
No autoloads found in lisp/site-load.el
Generating autoloads for lisp/sound.el...
No autoloads found in lisp/specifier.el
No autoloads found in lisp/startup.el
No autoloads found in lisp/subr.el
No autoloads found in lisp/symbol-syntax.el
No autoloads found in lisp/symbols.el
No autoloads found in lisp/syntax.el
No autoloads found in lisp/text-mode.el
No autoloads found in lisp/text-props.el
No autoloads found in lisp/toolbar-items.el
No autoloads found in lisp/toolbar.el
No autoloads found in lisp/tty-init.el
No autoloads found in lisp/undo-stack.el
No autoloads found in lisp/update-elc-2.el
No autoloads found in lisp/update-elc.el
Generating autoloads for lisp/userlock.el...
No autoloads found in lisp/version.el
No autoloads found in lisp/very-early-lisp.el
Generating autoloads for lisp/view-less.el...
Generating autoloads for lisp/wid-browse.el...
Generating autoloads for lisp/wid-edit.el...
No autoloads found in lisp/widget.el
No autoloads found in lisp/widgets-gtk.el
No autoloads found in lisp/win32-native.el
No autoloads found in lisp/window-xemacs.el
No autoloads found in lisp/window.el
No autoloads found in lisp/x-compose.el
No autoloads found in lisp/x-faces.el
Generating autoloads for lisp/x-font-menu.el...
No autoloads found in lisp/x-init.el
No autoloads found in lisp/x-iso8859-1.el
No autoloads found in lisp/x-misc.el
No autoloads found in lisp/x-mouse.el
No autoloads found in lisp/x-scrollbar.el
No autoloads found in lisp/x-select.el
Generating autoloads for lisp/x-win-sun.el...
Generating autoloads for lisp/x-win-xfree86.el...
Saving file /scratch/editors/xemacs-nox11/work/xemacs-21.4.17/lisp/auto-autoloads.el...
Wrote /scratch/editors/xemacs-nox11/work/xemacs-21.4.17/lisp/auto-autoloads.el
Wrote /scratch/editors/xemacs-nox11/work/xemacs-21.4.17/lisp/auto-autoloads.el
/scratch/editors/xemacs-nox11/work/xemacs-21.4.17/src/xemacs -batch -vanilla  -f batch-byte-compile lisp/auto-autoloads.el
Loading /scratch/editors/xemacs-nox11/work/xemacs-21.4.17/lisp/auto-autoloads... (file auto-autoloads.el is newer)
Compiling /scratch/editors/xemacs-nox11/work/xemacs-21.4.17/lisp/auto-autoloads.el...
While compiling mswindows-font-menu-font-data in file /scratch/editors/xemacs-nox11/work/xemacs-21.4.17/lisp/auto-autoloads.el:
  ** reference to free variable mswindows-font-regexp
Wrote /scratch/editors/xemacs-nox11/work/xemacs-21.4.17/lisp/auto-autoloads.elc
Done
/scratch/editors/xemacs-nox11/work/xemacs-21.4.17/src/xemacs -batch -vanilla -l cus-dep  -f Custom-make-dependencies lisp
Processing /scratch/editors/xemacs-nox11/work/xemacs-21.4.17/lisp
Generating custom-load.el...
cd ./src && /usr/bin/make   CC='cc' CFLAGS='-O2 -Dunix -I/usr/pkg/include -I/usr/include' LDFLAGS='-L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib' CPPFLAGS='-I/usr/pkg/include -I/usr/include' dump-elcs
./temacs -nd -batch -l /scratch/editors/xemacs-nox11/work/xemacs-21.4.17/src/../lisp/update-elc.el

Loading /scratch/editors/xemacs-nox11/work/xemacs-21.4.17/src/../lisp/update-elc.el...
Loading very-early-lisp...
Loading find-paths.el...
Loading packages.el...
Loading setup-paths.el...
Loading dump-paths.el...
Loading /scratch/editors/xemacs-nox11/work/xemacs-21.4.17/lisp/dumped-lisp.el...
/scratch/editors/xemacs-nox11/work/xemacs-21.4.17/src/xemacs -batch -vanilla  -l update-elc-2.el -f batch-update-elc-2 lisp
Removing old or spurious .elcs in directory tree `lisp'...
Removing out-of-date /scratch/editors/xemacs-nox11/work/xemacs-21.4.17/lisp/custom-load.elc
Removing out-of-date /scratch/editors/xemacs-nox11/work/xemacs-21.4.17/lisp/finder-inf.elc
Removing old or spurious .elcs in directory tree `lisp'...done
Recompiling updated .els in directory tree `lisp'...
Compiling /scratch/editors/xemacs-nox11/work/xemacs-21.4.17/lisp/custom-load.el...
Wrote /scratch/editors/xemacs-nox11/work/xemacs-21.4.17/lisp/custom-load.elc
Compiling /scratch/editors/xemacs-nox11/work/xemacs-21.4.17/lisp/finder-inf.el...
Wrote /scratch/editors/xemacs-nox11/work/xemacs-21.4.17/lisp/finder-inf.elc
Recompiling updated .els in directory tree `lisp'...done
cd /scratch/editors/xemacs-nox11/work/xemacs-21.4.17/man && /usr/bin/make   CC='cc' CFLAGS='-O2 -Dunix -I/usr/pkg/include -I/usr/include' LDFLAGS='-L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib' CPPFLAGS='-I/usr/pkg/include -I/usr/include' info
/scratch/editors/xemacs-nox11/work/xemacs-21.4.17/src/xemacs -vanilla -batch -l check-features.el
./lib-src/make-path /scratch/editors/xemacs-nox11/work/.destdir/usr/pkg/lib/xemacs-21.4.17/etc /scratch/editors/xemacs-nox11/work/.destdir/usr/pkg/lib/xemacs-21.4.17/lisp /scratch/editors/xemacs-nox11/work/.destdir/usr/pkg/lib/xemacs-21.4.17/x86_64--netbsd /scratch/editors/xemacs-nox11/work/.destdir/usr/pkg/lib/xemacs-21.4.17/info /scratch/editors/xemacs-nox11/work/.destdir/usr/pkg/lib/xemacs-21.4.17/x86_64--netbsd  /scratch/editors/xemacs-nox11/work/.destdir/usr/pkg/man/man1 /scratch/editors/xemacs-nox11/work/.destdir/usr/pkg/bin /scratch/editors/xemacs-nox11/work/.destdir/usr/pkg/lib /scratch/editors/xemacs-nox11/work/.destdir/lib /scratch/editors/xemacs-nox11/work/.destdir/usr/pkg/lib/xemacs-21.4.17/lisp  /scratch/editors/xemacs-nox11/work/.destdir/usr/pkg/lib/xemacs/site-lisp /scratch/editors/xemacs-nox11/work/.destdir/usr/pkg/lib/xemacs-21.4.17/x86_64--netbsd/modules /scratch/editors/xemacs-nox11/work/.destdir/usr/pkg/lib/xemacs/site-modules
for subdir in lib-src src; do  (cd ./${subdir} && /usr/bin/make   CC='cc' CFLAGS='-O2 -Dunix -I/usr/pkg/include -I/usr/include' LDFLAGS='-L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib' CPPFLAGS='-I/usr/pkg/include -I/usr/include' install prefix=/scratch/editors/xemacs-nox11/work/.destdir/usr/pkg  exec_prefix=/scratch/editors/xemacs-nox11/work/.destdir/usr/pkg bindir=/scratch/editors/xemacs-nox11/work/.destdir/usr/pkg/bin libdir=/scratch/editors/xemacs-nox11/work/.destdir/lib  archlibdir=/scratch/editors/xemacs-nox11/work/.destdir/usr/pkg/lib/xemacs-21.4.17/x86_64--netbsd) ; done

Installing utilities run internally by XEmacs.
./make-path /scratch/editors/xemacs-nox11/work/.destdir/usr/pkg/lib/xemacs-21.4.17/x86_64--netbsd
if test "`(cd /scratch/editors/xemacs-nox11/work/.destdir/usr/pkg/lib/xemacs-21.4.17/x86_64--netbsd && /bin/pwd)`" != "`/bin/pwd`"; then  for f in gnuserv fakemail wakeup profile make-docfile digest-doc sorted-doc movemail cvtmail yow hexl mmencode; do  (cd .. && /usr/bin/install -c -s -o pbulkXXX -g users -m 755 lib-src/$f /scratch/editors/xemacs-nox11/work/.destdir/usr/pkg/lib/xemacs-21.4.17/x86_64--netbsd/$f) ;  done ;  fi
if test "`(cd /scratch/editors/xemacs-nox11/work/.destdir/usr/pkg/lib/xemacs-21.4.17/x86_64--netbsd && /bin/pwd)`"  != "`(cd /scratch/editors/xemacs-nox11/work/xemacs-21.4.17/lib-src     && /bin/pwd)`"; then  for f in rcs2log vcdiff gzip-el.sh add-big-package.sh; do  (cd .. && /usr/bin/install -c -o pbulkXXX -g users -m 755 /scratch/editors/xemacs-nox11/work/xemacs-21.4.17/lib-src/$f /scratch/editors/xemacs-nox11/work/.destdir/usr/pkg/lib/xemacs-21.4.17/x86_64--netbsd/$f);  done ;  fi

Installing utilities for users to run.
for file in gnuclient ellcc etags ctags b2m ootags ; do  if test ${file} = etags || test ${file} = ctags || test ${file} = b2m ; then  (cd .. && /usr/bin/install -c -s -o pbulkXXX -g users -m 755 lib-src/${file} /scratch/editors/xemacs-nox11/work/.destdir/usr/pkg/bin/xemacs-${file}) ; else  (cd .. && /usr/bin/install -c -s -o pbulkXXX -g users -m 755 lib-src/${file} /scratch/editors/xemacs-nox11/work/.destdir/usr/pkg/bin/${file}) ;  fi  done
for file in gnudoit gnuattach rcs-checkin ; do  if test ${file} = rcs-checkin || test ${file} = send-pr ; then  (cd .. && /usr/bin/install -c -o pbulkXXX -g users -m 755 /scratch/editors/xemacs-nox11/work/xemacs-21.4.17/lib-src/${file} /scratch/editors/xemacs-nox11/work/.destdir/usr/pkg/bin/xemacs-${file}) ; else  (cd .. && /usr/bin/install -c -o pbulkXXX -g users -m 755 /scratch/editors/xemacs-nox11/work/xemacs-21.4.17/lib-src/${file} /scratch/editors/xemacs-nox11/work/.destdir/usr/pkg/bin/${file}) ;  fi  done
./temacs -nd -batch -l /scratch/editors/xemacs-nox11/work/xemacs-21.4.17/src/../lisp/update-elc.el

Loading /scratch/editors/xemacs-nox11/work/xemacs-21.4.17/src/../lisp/update-elc.el...
Loading very-early-lisp...
Loading find-paths.el...
Loading packages.el...
Loading setup-paths.el...
Loading dump-paths.el...
Loading /scratch/editors/xemacs-nox11/work/xemacs-21.4.17/lisp/dumped-lisp.el...
../lib-src/make-path /scratch/editors/xemacs-nox11/work/.destdir/usr/pkg/lib/xemacs-21.4.17/x86_64--netbsd/include /scratch/editors/xemacs-nox11/work/.destdir/usr/pkg/lib/xemacs-21.4.17/x86_64--netbsd/include/m /scratch/editors/xemacs-nox11/work/.destdir/usr/pkg/lib/xemacs-21.4.17/x86_64--netbsd/include/s
Copying include files for ellcc...
if test "`(cd /scratch/editors/xemacs-nox11/work/.destdir/usr/pkg/lib/xemacs-21.4.17/x86_64--netbsd && /bin/pwd)`" !=  "`(cd ./lib-src && /bin/pwd)`"; then  if test -f ../Installation; then  /usr/bin/install -c -o pbulkXXX -g users -m 644 ../Installation /scratch/editors/xemacs-nox11/work/.destdir/usr/pkg/lib/xemacs-21.4.17/x86_64--netbsd/Installation;  fi;  /usr/bin/install -c -o pbulkXXX -g users -m 644 lib-src/config.values /scratch/editors/xemacs-nox11/work/.destdir/usr/pkg/lib/xemacs-21.4.17/x86_64--netbsd/config.values;  /usr/bin/install -c -o pbulkXXX -g users -m 644 lib-src/DOC /scratch/editors/xemacs-nox11/work/.destdir/usr/pkg/lib/xemacs-21.4.17/x86_64--netbsd/DOC;  for subdir in `find /scratch/editors/xemacs-nox11/work/.destdir/usr/pkg/lib/xemacs-21.4.17/x86_64--netbsd -type d ! -name RCS ! -name SCCS ! -name CVS -print` ;  do (cd ${subdir} && rm -f -r RCS CVS SCCS \#* *~) ; done ;  else true; fi
/usr/bin/install -c -s -o pbulkXXX -g users -m 755 src/xemacs /scratch/editors/xemacs-nox11/work/.destdir/usr/pkg/bin/xemacs-21.4.17
chmod 0755 /scratch/editors/xemacs-nox11/work/.destdir/usr/pkg/bin/xemacs-21.4.17
cd /scratch/editors/xemacs-nox11/work/.destdir/usr/pkg/bin && rm -f ./xemacs && ln -s xemacs-21.4.17 ./xemacs
if test "/scratch/editors/xemacs-nox11/work/.destdir/usr/pkg" != "/scratch/editors/xemacs-nox11/work/.destdir/usr/pkg"; then  ./lib-src/make-path /scratch/editors/xemacs-nox11/work/.destdir/usr/pkg/lib/xemacs-21.4.17;  for dir in  lib/xemacs  lib/xemacs-21.4.17/etc  lib/xemacs-21.4.17/info  lib/xemacs-21.4.17/lisp; do  if test ! -d /scratch/editors/xemacs-nox11/work/.destdir/usr/pkg/${dir}; then  ln -s /scratch/editors/xemacs-nox11/work/.destdir/usr/pkg/${dir} /scratch/editors/xemacs-nox11/work/.destdir/usr/pkg/${dir}; fi;  done;  fi
set /scratch/editors/xemacs-nox11/work/.destdir/usr/pkg/lib/xemacs-21.4.17/etc /scratch/editors/xemacs-nox11/work/.destdir/usr/pkg/lib/xemacs-21.4.17/lisp ;  for dir in /scratch/editors/xemacs-nox11/work/.destdir/usr/pkg/lib/xemacs-21.4.17/etc /scratch/editors/xemacs-nox11/work/.destdir/usr/pkg/lib/xemacs-21.4.17/lisp ; do  if test ! -d ${dir} ; then mkdir ${dir} ; fi ;  done ;  for dir in /scratch/editors/xemacs-nox11/work/xemacs-21.4.17/etc /scratch/editors/xemacs-nox11/work/xemacs-21.4.17/lisp ; do  dest=$1 ; shift ;  test -d ${dir}  -a "`(cd ${dir} && /bin/pwd)`" !=  "`(cd ${dest} && /bin/pwd)`"  && (echo "Copying ${dir}..." ;  (cd ${dir} && tar -cf - . ) |  (cd ${dest} && umask 022 && tar -xf - ); chmod 0755 ${dest};  for subdir in `find ${dest} -type d ! -name RCS ! -name SCCS ! -name CVS -print` ; do  (cd ${subdir} && rm -f -r RCS CVS SCCS \#* *~) ;  done) ;  done
Copying /scratch/editors/xemacs-nox11/work/xemacs-21.4.17/etc...
Copying /scratch/editors/xemacs-nox11/work/xemacs-21.4.17/lisp...
if test "`(cd /scratch/editors/xemacs-nox11/work/xemacs-21.4.17/info && /bin/pwd)`" !=  "`(cd /scratch/editors/xemacs-nox11/work/.destdir/usr/pkg/lib/xemacs-21.4.17/info && /bin/pwd)`" && cd /scratch/editors/xemacs-nox11/work/xemacs-21.4.17/info; then  if test ! -f /scratch/editors/xemacs-nox11/work/.destdir/usr/pkg/lib/xemacs-21.4.17/info/dir -a -f dir ; then  /usr/bin/install -c -o pbulkXXX -g users -m 644 /scratch/editors/xemacs-nox11/work/xemacs-21.4.17/info/dir /scratch/editors/xemacs-nox11/work/.destdir/usr/pkg/lib/xemacs-21.4.17/info/dir ;  fi ;  for file in *.info* ; do  /usr/bin/install -c -o pbulkXXX -g users -m 644 ${file} /scratch/editors/xemacs-nox11/work/.destdir/usr/pkg/lib/xemacs-21.4.17/info/${file} ;  chmod 0644 /scratch/editors/xemacs-nox11/work/.destdir/usr/pkg/lib/xemacs-21.4.17/info/${file};  done ;  fi
cd /scratch/editors/xemacs-nox11/work/xemacs-21.4.17/etc &&  for page in xemacs etags ctags gnuserv gnuclient gnuattach gnudoit; do  if test ${page} = etags || test ${page} = ctags ; then  /usr/bin/install -c -o pbulkXXX -g users -m 644 /scratch/editors/xemacs-nox11/work/xemacs-21.4.17/etc/${page}.1 /scratch/editors/xemacs-nox11/work/.destdir/usr/pkg/man/man1/xemacs-${page}.1 ; else  /usr/bin/install -c -o pbulkXXX -g users -m 644 /scratch/editors/xemacs-nox11/work/xemacs-21.4.17/etc/${page}.1 /scratch/editors/xemacs-nox11/work/.destdir/usr/pkg/man/man1/${page}.1 ;  fi  done
If you would like to save approximately 2M of disk space, do
make gzip-el
or you may run 
/scratch/editors/xemacs-nox11/work/xemacs-21.4.17/lib-src/gzip-el.sh lispdir  from the command line.
Where lispdir is where the lisp files were installed, i.e.,
/scratch/editors/xemacs-nox11/work/.destdir/usr/pkg/lib/xemacs-21.4.17/lisp
=> Automatic stripping of debug information
=> Automatic manual page handling
=> Generating post-install file lists
=> Checking file-check results for xemacs-nox11-21.4.17nb7
=> Checking for non-existent script interpreters in xemacs-nox11-21.4.17nb7
=> Checking file permissions in xemacs-nox11-21.4.17nb7
warning: /scratch/editors/xemacs-nox11/work/.destdir/usr/pkg/lib/xemacs-21.4.17/etc/aliases.ksh: executable bit is set on non-executable file.
0 errors and 1 warnings.
=> Checking for missing run-time search paths in xemacs-nox11-21.4.17nb7
=> Checking for work-directory references in xemacs-nox11-21.4.17nb7
ERROR: /usr/pkg/bin/ellcc:	Binary file /scratch/editors/xemacs-nox11/work/.destdir/usr/pkg/bin/ellcc matches
ERROR: /usr/pkg/lib/xemacs-21.4.17/x86_64--netbsd/config.values:	c_switch_all "-DHAVE_CONFIG_H -I/scratch/editors/xemacs-nox11/work/.buildlink/include"
ERROR: /usr/pkg/lib/xemacs-21.4.17/x86_64--netbsd/config.values:	c_switch_general "-DHAVE_CONFIG_H -I/scratch/editors/xemacs-nox11/work/.buildlink/include"
ERROR: /usr/pkg/lib/xemacs-21.4.17/x86_64--netbsd/config.values:	ld_switch_all "-Xlinker -z -Xlinker nocombreloc -L/scratch/editors/xemacs-nox11/work/.buildlink/lib -Wl,-R/usr/pkg/lib"
ERROR: /usr/pkg/lib/xemacs-21.4.17/x86_64--netbsd/config.values:	ld_switch_general "-Xlinker -z -Xlinker nocombreloc -L/scratch/editors/xemacs-nox11/work/.buildlink/lib -Wl,-R/usr/pkg/lib"
ERROR: /usr/pkg/lib/xemacs-21.4.17/x86_64--netbsd/config.values:	EMACS_CONFIG_OPTIONS "--without-ldap --without-xface --without-canna --without-x --without-jpeg --without-png --without-tiff --without-xpm --site-includes=/scratch/editors/xemacs-nox11/work/.buildlink/include --site-libraries=/scratch/editors/xemacs-nox11/work/.buildlink/lib --site-runtime-libraries=/usr/pkg/lib x86_64--netbsd --prefix=/usr/pkg --mandir=/usr/pkg/man/man1 --with-clash-detection --with-mule=yes --with-msw=no --infopath=/usr/pkg/info:/usr/pkg/info"
ERROR: /usr/pkg/lib/xemacs-21.4.17/x86_64--netbsd/include/config.h:	#define EMACS_CONFIG_OPTIONS "--without-ldap --without-xface --without-canna --without-x --without-jpeg --without-png --without-tiff --without-xpm --site-includes=/scratch/editors/xemacs-nox11/work/.buildlink/include --site-libraries=/scratch/editors/xemacs-nox11/work/.buildlink/lib --site-runtime-libraries=/usr/pkg/lib x86_64--netbsd --prefix=/usr/pkg --mandir=/usr/pkg/man/man1 --with-clash-detection --with-mule=yes --with-msw=no --infopath=/usr/pkg/info:/usr/pkg/info"
ERROR: *** The above files still have references to the build directory.
ERROR:     This is possibly an error that should be fixed by unwrapping
ERROR:     the files or adding missing tools to the package makefile!
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/editors/xemacs-nox11
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/editors/xemacs-nox11
