=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for xemacs-21.5.35.tar.gz
=> Checksum SHA512 OK for xemacs-21.5.35.tar.gz
===> Installing dependencies for xemacs-21.5.35nb6
==========================================================================
The supported build options for xemacs are:

	canna debug ldap x11 xface xft2

The currently selected options are:

	x11

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

	PKG_OPTIONS.xemacs (not defined)

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

        * JPEG_DEFAULT = jpeg
        * 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 the value
of variables in the first group before continuing.  Be sure to run
`/usr/bin/make clean' after the changes.
==========================================================================
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency gtar-base>=1.13.25: found gtar-base-1.35
=> Tool dependency perl>=5.0: found perl-5.40.0nb1
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Build dependency x11-links>=1.36: found x11-links-1.36
=> Full dependency gdbm>=1.18.1: found gdbm-1.23
=> Full dependency gmp>=5.0.1: found gmp-6.3.0
=> Full dependency jpeg>=9: found jpeg-9f
=> Full dependency png>=1.6.0nb1: found png-1.6.44
=> Full dependency tiff>=4.6.0: found tiff-4.7.0
===> Skipping vulnerability checks.
WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'.
===> Overriding tools for xemacs-21.5.35nb6
===> Extracting for xemacs-21.5.35nb6
cp /usr/pkgsrc/editors/xemacs-current/../../editors/xemacs/files/xemacs.desktop /pbulk/work/editors/xemacs-current/work/xemacs-21.5.35/etc/
===> Patching for xemacs-21.5.35nb6
rm /pbulk/work/editors/xemacs-current/work/xemacs-21.5.35/etc/.cvsignore
rm /pbulk/work/editors/xemacs-current/work/xemacs-21.5.35/lisp/.cvsignore
rm /pbulk/work/editors/xemacs-current/work/xemacs-21.5.35/lisp/mule/.cvsignore
=> Applying pkgsrc patches for xemacs-21.5.35nb6
===> Creating toolchain wrappers for xemacs-21.5.35nb6
===> Configuring for xemacs-21.5.35nb6
=> Fixing paths in XEmacs desktop file
=> 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
checking whether ln -s works... yes
checking build system type... i486--netbsdelf
checking for i486--netbsdelf-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 the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for wchar.h... yes
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 i486--netbsdelf-gcc... (cached) gcc
checking whether the compiler supports GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to enable C11 features... (cached) none needed
You appear to be using GCC version 7.5
checking whether we are using g++... no
checking how to run the C preprocessor... gcc -E
checking for GNU libc... no
Extracting information from the machine- and system-dependent headers...
checking for preferred optimization flags... 
checking for preferred debugging flags... -g
checking for preferred warning flags for XEMACS_CC... -Wall -Wno-switch -Wundef -Wsign-compare -Wno-char-subscripts -Wpacked -Wpointer-arith -Wshadow -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wdeclaration-after-statement  -Wunused-parameter
checking for preferred warning flags for CC... -Wall -Wno-switch -Wundef -Wsign-compare -Wno-char-subscripts -Wpacked -Wpointer-arith -Wshadow -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wdeclaration-after-statement
checking for remaining CFLAGS... -O2 -Dunix -no-pie -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include
checking total value of XE_CFLAGS... -Wall -Wno-switch -Wundef -Wsign-compare -Wno-char-subscripts -Wpacked -Wpointer-arith -Wshadow -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wdeclaration-after-statement  -Wunused-parameter -g  -O2 -Dunix -no-pie -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include
checking total value of CFLAGS... -Wall -Wno-switch -Wundef -Wsign-compare -Wno-char-subscripts -Wpacked -Wpointer-arith -Wshadow -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wdeclaration-after-statement -g  -O2 -Dunix -no-pie -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include
checking for buggy gcc versions... no
checking for compiler version information... gcc (nb4 20200810) 7.5.0
checking for standard C library version information... 
checking for runtime libraries flag... "-Wl,-R"
checking whether __after_morecore_hook exists... no
checking for ar... ar
checking for i486--netbsdelf-ranlib... no
checking for ranlib... ranlib
checking for a BSD-compatible install... /usr/bin/install -c -o pbulk -g users
checking for bison... no
checking for byacc... no
checking for makeinfo >= 4.8... yes
checking for a.out.h... yes
checking for elf.h... yes
checking for cygwin/version.h... no
checking for fcntl.h... yes
checking for libgen.h... yes
checking for locale.h... yes
checking for wchar.h... (cached) yes
checking for mach/mach.h... no
checking for sys/param.h... yes
checking for sys/pstat.h... no
checking for sys/resource.h... yes
checking for sys/time.h... yes
checking for sys/timeb.h... yes
checking for sys/times.h... yes
checking for sys/un.h... yes
checking for sys/user.h... no
checking for sys/vlimit.h... no
checking for ulimit.h... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking for egrep... (cached) /usr/bin/egrep
checking for strsignal... yes
checking for gcc options needed to detect all undeclared functions... none needed
checking whether sys_siglist is declared... yes
checking for utime... yes
checking for size_t... yes
checking for pid_t... yes
checking for uid_t in sys/types.h... yes
checking for mode_t... yes
checking for off_t... yes
checking for ssize_t... yes
checking for socklen_t... yes
checking for struct timeval... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for struct tm.tm_zone... yes
checking for an ANSI C-conforming const... yes
checking whether make sets $(MAKE)... yes
checking whether byte ordering is bigendian... no
checking size of short... 2
checking size of int... 4
checking size of long... 4
checking size of long long... 8
checking size of void *... 4
checking size of double... 8
checking for long file names... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for _LARGEFILE_SOURCE value needed for large files... no
checking size of off_t... 8
checking for sin... no
checking for sin in -lm... yes
checking for mkstemp... yes
checking type of mail spool file locking... 
checking for lockf... yes
checking for flock... yes
checking whether the -xildoff compiler flag is required... no
checking whether ASLR needs to be disabled... no
checking for specified window system... 
checking for pkg-config... /pbulk/work/editors/xemacs-current/work/.tools/bin/pkg-config
checking for X... libraries /usr/X11R7/lib, headers /usr/X11R7/include
checking whether -R must be followed by a space... no
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for Xm/Xm.h... no
checking for X defines extracted by xmkmf... 
checking for X11/Intrinsic.h... yes
checking for XOpenDisplay in -lX11... yes
checking for XShapeSelectInput in -lXext... yes
checking for XtOpenDisplay in -lXt... yes
checking the version of X11 being used... R6
checking for XConvertCase... yes
checking for XtRegisterDrawable... yes
checking for X11/Xlocale.h... yes
checking for X11/Xfuncproto.h... yes
checking for XRegisterIMInstantiateCallback... yes
checking for standard XRegisterIMInstantiateCallback prototype... no
checking for XmuReadBitmapDataFromFile in -lXmu... yes
checking for main in -lXbsd... no
checking for X11/extensions/shape.h... yes
  Using X11.
checking for WM_COMMAND option... yes
checking for X11/Xauth.h... yes
checking for XauGetAuthByAddr in -lXau... yes
checking for module support... 
checking for dlfcn.h... yes
checking for dlopen in -lc... yes
checking how to build dynamic libraries for i486--netbsdelf... 
checking how to produce PIC code... -fPIC
checking if PIC flag -fPIC really works... yes
checking if C compiler can produce shared libraries... yes
checking for ld used by GCC... /usr/bin/ld
checking if the linker is GNU ld... yes
checking for dlerror... yes
checking for _dlerror... no
checking for tt_c.h... no
checking for Tt/tt_c.h... no
checking for desktop/tt_c.h... no
checking for Dt/Dt.h... no
checking for LDAP... 
checking for graphics libraries... 
checking for "FOR_MSW" xpm... no
checking for gif_lib.h... no
checking for inflate in -lc... no
checking for inflate in -lz... yes
checking for X11 graphics libraries... 
checking for the Athena widgets... 
checking for XawScrollbarSetThumb in -lXaw... no
configure: WARNING: Could not find an Athena widget library.
checking for X11/Xaw/ThreeD.h... no
checking for X11/Xaw/XawInit.h... yes
checking for Xm/Xm.h... (cached) no
Error: Could not find a suitable Athena library to build with.
*** Error code 1

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

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