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

	curses ncurses pdcurses

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

	PKG_OPTIONS.screen (not defined)

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

        * CURSES_DEFAULT = ncurses

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

        * CURSES_TYPE = ncurses
        * TERMCAP_TYPE = curses

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/pkg/bin/bmake clean' after the changes.
==========================================================================
=> Tool dependency mktools-[0-9]*: found mktools-20250213
=> Tool dependency automake>=1.9: found automake-1.16.5nb3
=> Tool dependency autoconf>=2.58: found autoconf-2.72
=> Tool dependency bsdtar-[0-9]*: found bsdtar-3.7.7nb1
=> Tool dependency gtexinfo>=3.12: found gtexinfo-7.1.1nb1
=> Tool dependency nbpatch-[0-9]*: found nbpatch-20151107
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Full dependency pkg_install-info-[0-9]*: found pkg_install-info-4.5nb3
=> Full dependency ncurses>=6.5: found ncurses-6.5
===> Skipping vulnerability checks.
WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/pkg/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'.
===> Overriding tools for screen-5.0.0nb1
===> Extracting for screen-5.0.0nb1
===> Patching for screen-5.0.0nb1
=> Applying pkgsrc patches for screen-5.0.0nb1
=> Verifying /usr/pkgsrc/misc/screen/patches/patch-Makefile.in
=> Applying pkgsrc patch /usr/pkgsrc/misc/screen/patches/patch-Makefile.in
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-Makefile.in,v 1.2 2025/02/13 19:43:02 rillig Exp $
|
|Add utmp-netbsd.c (created in patch-am) and utmp-netbsd.o.
|Setting the setuid bit is handled by the package Makefile.
|Don't try to leave "screen.old" behind on install.
|
|--- Makefile.in.orig	2025-01-09 19:50:00.054935679 +0000
|+++ Makefile.in
--------------------------
Patching file Makefile.in using Plan A...
Hunk #1 succeeded at 54.
done
=> Verifying /usr/pkgsrc/misc/screen/patches/patch-doc_screen.1
=> Applying pkgsrc patch /usr/pkgsrc/misc/screen/patches/patch-doc_screen.1
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-doc_screen.1,v 1.1 2025/01/09 20:07:03 ktnb Exp $
|
|Update the man page with pkgsrc paths
|
|--- doc/screen.1.orig	2025-01-09 02:42:26.792251218 +0000
|+++ doc/screen.1
--------------------------
Patching file doc/screen.1 using Plan A...
Hunk #1 succeeded at 767.
Hunk #2 succeeded at 780.
Hunk #3 succeeded at 5194.
Hunk #4 succeeded at 5216.
done
=> Verifying /usr/pkgsrc/misc/screen/patches/patch-doc_screen.texinfo
=> Applying pkgsrc patch /usr/pkgsrc/misc/screen/patches/patch-doc_screen.texinfo
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-doc_screen.texinfo,v 1.4 2025/01/09 20:07:03 ktnb Exp $
|
|Fix: Node `Window Settings' lacks menu item for `Mousetrack'
|
|--- doc/screen.texinfo.orig	2024-08-28 19:55:03.000000000 +0000
|+++ doc/screen.texinfo
--------------------------
Patching file doc/screen.texinfo using Plan A...
Hunk #1 succeeded at 2417.
Hunk #2 succeeded at 5249.
Hunk #3 succeeded at 5258.
Hunk #4 succeeded at 5278.
Hunk #5 succeeded at 5290.
Hunk #6 succeeded at 5413.
done
=> Verifying /usr/pkgsrc/misc/screen/patches/patch-etc_etcscreenrc
=> Applying pkgsrc patch /usr/pkgsrc/misc/screen/patches/patch-etc_etcscreenrc
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-etc_etcscreenrc,v 1.1 2025/01/09 20:07:03 ktnb Exp $
|
|Replace configurable paths with tags.
|
|--- etc/etcscreenrc.orig	2015-09-05 19:28:22.000000000 +0000
|+++ etc/etcscreenrc
--------------------------
Patching file etc/etcscreenrc using Plan A...
Hunk #1 succeeded at 1.
done
=> Verifying /usr/pkgsrc/misc/screen/patches/patch-socket.c
=> Applying pkgsrc patch /usr/pkgsrc/misc/screen/patches/patch-socket.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-socket.c,v 1.6 2025/02/13 19:43:02 rillig Exp $
|
|Include <uio.h> for iovec.
|
|--- socket.c.orig	2025-01-09 02:58:51.269455114 +0000
|+++ socket.c
--------------------------
Patching file socket.c using Plan A...
Hunk #1 succeeded at 35.
done
=> Verifying /usr/pkgsrc/misc/screen/patches/patch-termcap.c
=> Applying pkgsrc patch /usr/pkgsrc/misc/screen/patches/patch-termcap.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-termcap.c,v 1.1 2025/01/09 20:07:04 ktnb Exp $
|
|Don't pollute G1 to allow 8-bit encondings.
|
|The original code made the TERMCAP env var longer than 1023 bytes,
|which causes problems.  This is a quick hack but works with our termcap.
|
|--- termcap.c.orig	2025-01-09 02:57:57.777207358 +0000
|+++ termcap.c
--------------------------
Patching file termcap.c using Plan A...
Hunk #1 succeeded at 65.
done
=> Verifying /usr/pkgsrc/misc/screen/patches/patch-utmp-netbsd.c
=> Applying pkgsrc patch /usr/pkgsrc/misc/screen/patches/patch-utmp-netbsd.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-utmp-netbsd.c,v 1.1 2025/01/09 20:07:04 ktnb Exp $
|
|Code to handle the login slot in utmp when utmpx is available.
|Daemons shipped with NetBSD tend to write to both, while 3rd
|party software might write to only one.
|
|--- utmp-netbsd.c.orig	2015-02-13 04:30:05.000000000 +0000
|+++ utmp-netbsd.c
--------------------------
(Creating file utmp-netbsd.c...)
Patching file utmp-netbsd.c using Plan A...
Empty context always matches.
Hunk #1 succeeded at 1.
done
=> Verifying /usr/pkgsrc/misc/screen/patches/patch-window.h
=> Applying pkgsrc patch /usr/pkgsrc/misc/screen/patches/patch-window.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-window.h,v 1.4 2025/01/09 20:07:04 ktnb Exp $
|
|OpenBSD grumbles without the socket definitions
|
|--- window.h.orig	2025-01-09 02:59:07.553319622 +0000
|+++ window.h
--------------------------
Patching file window.h using Plan A...
Hunk #1 succeeded at 33.
done
===> Creating toolchain wrappers for screen-5.0.0nb1
===> Configuring for screen-5.0.0nb1
=> Substituting "paths" in etc/etcscreenrc doc/screen.1
cd /var/work/misc/screen/work/screen-5.0.0 && autoreconf -i
=> 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 for portability problems in extracted files
checking for x86_64-debian-linux-gcc... cc
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 cc accepts -g... yes
checking for cc 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 x86_64-debian-linux-gcc... (cached) cc
checking whether the compiler supports GNU C... (cached) yes
checking whether cc accepts -g... (cached) yes
checking for cc option to enable C11 features... (cached) none needed
checking for gawk... /usr/pkg/bin/nawk
checking for a BSD-compatible install... /bin/install -c -o pbulk -g pbulk
checking for execvpe... yes
checking for seteuid... yes
checking for setegid... yes
checking for setreuid... yes
checking for setresuid... yes
checking for library containing tgetent... -lcurses
checking for library containing crypt... -lcrypt
checking for pty.h... yes
checking for util.h... no
checking for libutil.h... no
checking for library containing openpty... none required
checking for library containing socket... none required
checking for langinfo.h... yes
checking for dirent.h... yes
checking for PAM support... configure: error: no
*** Error code 1

Stop.
bmake[1]: stopped making "configure" in /usr/pkgsrc/misc/screen
*** Error code 1

Stop.
bmake: stopped making "configure" in /usr/pkgsrc/misc/screen