+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/metamail-2.7nb12/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/metamail-2.7nb12/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
WARNING: [license.mk] Every package should define a LICENSE.
=> Checksum BLAKE2s OK for mm2.7.tar.Z
=> Checksum SHA512 OK for mm2.7.tar.Z
===> Installing dependencies for metamail-2.7nb12
==========================================================================
The following variables will affect the build process of this package,
metamail-2.7nb12.  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
`/opt/pkg/bin/bmake clean' after the changes.
==========================================================================
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency bdftopcf-[0-9]*: found bdftopcf-1.1.1
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Full dependency ncurses>=6.3nb1: found ncurses-6.4
===> Overriding tools for metamail-2.7nb12
===> Extracting for metamail-2.7nb12
===> Patching for metamail-2.7nb12
=> Applying pkgsrc patches for metamail-2.7nb12
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/mail/metamail/patches/patch-aa
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/mail/metamail/patches/patch-aa
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-aa,v 1.14 2008/05/10 11:52:14 obache Exp $
|
|--- Makefile.orig	1994-01-26 11:32:33.000000000 -0600
|+++ Makefile	2006-07-20 22:10:32.000000000 -0500
--------------------------
Patching file Makefile using Plan A...
Hunk #1 succeeded at 20.
Hunk #2 succeeded at 38.
Hunk #3 succeeded at 49.
Hunk #4 succeeded at 75.
Hunk #5 succeeded at 94.
Hunk #6 succeeded at 124.
Hunk #7 succeeded at 132.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/mail/metamail/patches/patch-ab
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/mail/metamail/patches/patch-ab
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ab,v 1.8 2005/11/21 09:47:45 rillig Exp $
|
|--- config.h.orig	1993-11-24 09:36:07.000000000 -0600
|+++ config.h
--------------------------
Patching file config.h using Plan A...
Hunk #1 succeeded at 40.
Hunk #2 succeeded at 65.
Hunk #3 succeeded at 106.
Hunk #4 succeeded at 165.
Hunk #5 succeeded at 187.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/mail/metamail/patches/patch-ac
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/mail/metamail/patches/patch-ac
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ac,v 1.4 2004/03/29 02:17:24 snj Exp $
|
|--- bin/audiosend.orig	2004-03-28 18:04:21.000000000 -0800
|+++ bin/audiosend	2004-03-28 18:04:30.000000000 -0800
--------------------------
Patching file bin/audiosend using Plan A...
Hunk #1 succeeded at 86.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/mail/metamail/patches/patch-ad
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/mail/metamail/patches/patch-ad
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ad,v 1.7 2006/09/16 15:29:36 hira Exp $
|
|--- fonts/Makefile.orig	1993-05-31 15:49:27.000000000 -0500
|+++ fonts/Makefile	2006-07-20 21:39:41.000000000 -0500
--------------------------
Patching file fonts/Makefile using Plan A...
Hunk #1 succeeded at 10.
Hunk #2 succeeded at 28.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/mail/metamail/patches/patch-ae
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/mail/metamail/patches/patch-ae
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ae,v 1.6 2012/12/30 05:38:55 dholland Exp $
|
|- use required standard headers
|- make sure index() is available 
|- don't provide own declarations of standard functions
|- fix path to sendmail (although, is this really adequately MI?)
|- buffer length fix
|
|--- metamail/splitmail.c.orig	1994-01-31 22:23:14.000000000 +0000
|+++ metamail/splitmail.c
--------------------------
Patching file metamail/splitmail.c using Plan A...
Hunk #1 succeeded at 21.
Hunk #2 succeeded at 46.
Hunk #3 succeeded at 199.
Hunk #4 succeeded at 344.
Hunk #5 succeeded at 367.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/mail/metamail/patches/patch-af
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/mail/metamail/patches/patch-af
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-af,v 1.5 2012/12/30 05:38:55 dholland Exp $
|
|- use required standard headers
|- don't provide own declarations of standard functions
|- declare own functions
|- use C89
|- don't use gets()
|- ...? (XXX)
|
|--- metamail/mailto.c.orig	1994-02-09 20:30:26.000000000 +0000
|+++ metamail/mailto.c
--------------------------
Patching file metamail/mailto.c using Plan A...
Hunk #1 succeeded at 36.
Hunk #2 succeeded at 52.
Hunk #3 succeeded at 60.
Hunk #4 succeeded at 577.
Hunk #5 succeeded at 1050.
Hunk #6 succeeded at 1135.
Hunk #7 succeeded at 1146.
Hunk #8 succeeded at 1335.
Hunk #9 succeeded at 1748.
Hunk #10 succeeded at 1795.
Hunk #11 succeeded at 1813.
Hunk #12 succeeded at 2077.
Hunk #13 succeeded at 2215.
Hunk #14 succeeded at 2291.
Hunk #15 succeeded at 2357.
Hunk #16 succeeded at 2433.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/mail/metamail/patches/patch-ag
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/mail/metamail/patches/patch-ag
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ag,v 1.3 2004/02/25 03:58:43 snj Exp $
|
|diff -u -r mm2.7.org/src/bin/showaudio mm2.7/src/bin/showaudio
|--- bin/showaudio	Wed Feb  2 16:21:26 1994
|+++ bin/showaudio	Wed May 21 21:34:08 1997
--------------------------
Patching file bin/showaudio using Plan A...
Hunk #1 succeeded at 15.
Hunk #2 succeeded at 59.
Hunk #3 succeeded at 199.
Hunk #4 succeeded at 232.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/mail/metamail/patches/patch-ah
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/mail/metamail/patches/patch-ah
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ah,v 1.3 2004/03/29 02:17:24 snj Exp $
|
|--- man/mailto.1.orig	1994-02-09 12:29:12.000000000 -0800
|+++ man/mailto.1	2004-03-28 18:08:59.000000000 -0800
--------------------------
Patching file man/mailto.1 using Plan A...
Hunk #1 succeeded at 1.
Hunk #2 succeeded at 74.
Hunk #3 succeeded at 230.
Hunk #4 succeeded at 275.
Hunk #5 succeeded at 283.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/mail/metamail/patches/patch-ai
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/mail/metamail/patches/patch-ai
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ai,v 1.4 2015/11/08 20:51:59 dholland Exp $
|
|- clean up junk decls that exist in headers, and include the right headers
|- use fgets instead of gets
|- fix printf to always have format
|- when executing a child metamail, propagate the parents options as much as
|  possible
|- use termios instead of termio/sgtty
|
|--- metamail/metamail.c.orig	1994-02-17 01:57:19.000000000 +0000
|+++ metamail/metamail.c
--------------------------
Patching file metamail/metamail.c using Plan A...
Hunk #1 succeeded at 46.
Hunk #2 succeeded at 79.
Hunk #3 succeeded at 96.
Hunk #4 succeeded at 146.
Hunk #5 succeeded at 518.
Hunk #6 succeeded at 601.
Hunk #7 succeeded at 1224.
Hunk #8 succeeded at 1845.
Hunk #9 succeeded at 1922.
Hunk #10 succeeded at 2044.
Hunk #11 succeeded at 2055.
Hunk #12 succeeded at 2398.
Hunk #13 succeeded at 2662.
Hunk #14 succeeded at 2688.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/mail/metamail/patches/patch-aj
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/mail/metamail/patches/patch-aj
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-aj,v 1.1 2004/02/25 03:58:43 snj Exp $
|
|diff -u -r mm2.7.org/src/bin/showexternal mm2.7/src/bin/showexternal
|--- bin/showexternal	Tue Feb  8 09:39:05 1994
|+++ bin/showexternal	Wed May 21 21:41:39 1997
--------------------------
Patching file bin/showexternal using Plan A...
Hunk #1 succeeded at 15.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/mail/metamail/patches/patch-ak
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/mail/metamail/patches/patch-ak
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ak,v 1.1 2004/02/25 03:58:43 snj Exp $
|
|diff -u -r mm2.7.org/src/bin/showpartial mm2.7/src/bin/showpartial
|--- bin/showpartial	Wed Feb  2 16:21:29 1994
|+++ bin/showpartial	Wed May 21 21:39:49 1997
--------------------------
Patching file bin/showpartial using Plan A...
Hunk #1 succeeded at 2.
Hunk #2 succeeded at 47.
Hunk #3 succeeded at 71.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/mail/metamail/patches/patch-al
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/mail/metamail/patches/patch-al
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-al,v 1.1 2004/02/25 03:58:43 snj Exp $
|
|diff -u -r mm2.7.org/src/bin/showpicture mm2.7/src/bin/showpicture
|--- bin/showpicture	Mon Feb  7 10:59:54 1994
|+++ bin/showpicture	Wed May 21 21:34:59 1997
--------------------------
Patching file bin/showpicture using Plan A...
Hunk #1 succeeded at 15.
Hunk #2 succeeded at 84.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/mail/metamail/patches/patch-am
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/mail/metamail/patches/patch-am
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-am,v 1.1 2004/02/25 03:58:43 snj Exp $
|
|--- man/mailcap.4.orig	2004-02-24 10:35:36.000000000 -0800
|+++ man/mailcap.4	2004-02-24 10:36:52.000000000 -0800
--------------------------
Patching file man/mailcap.4 using Plan A...
Hunk #1 succeeded at 42.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/mail/metamail/patches/patch-an
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/mail/metamail/patches/patch-an
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-an,v 1.1 2004/02/25 03:58:43 snj Exp $
|
|--- man/metasend.1.orig	2004-02-24 10:38:49.000000000 -0800
|+++ man/metasend.1	2004-02-24 10:38:56.000000000 -0800
--------------------------
Patching file man/metasend.1 using Plan A...
Hunk #1 succeeded at 12.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/mail/metamail/patches/patch-ao
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/mail/metamail/patches/patch-ao
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ao,v 1.1 2004/02/25 03:58:43 snj Exp $
|
|--- man/splitmail.1.orig	2004-02-24 10:42:15.000000000 -0800
|+++ man/splitmail.1	2004-02-24 10:42:25.000000000 -0800
--------------------------
Patching file man/splitmail.1 using Plan A...
Hunk #1 succeeded at 16.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/mail/metamail/patches/patch-ap
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/mail/metamail/patches/patch-ap
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ap,v 1.1 2004/03/29 02:17:24 snj Exp $
|
|--- bin/showexternal.orig	2004-03-28 18:05:20.000000000 -0800
|+++ bin/showexternal	2004-03-28 18:05:27.000000000 -0800
--------------------------
Patching file bin/showexternal using Plan A...
Hunk #1 succeeded at 222.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/mail/metamail/patches/patch-aq
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/mail/metamail/patches/patch-aq
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-aq,v 1.1 2004/03/29 02:17:24 snj Exp $
|
|--- bin/mailserver.orig	2004-03-28 18:11:22.000000000 -0800
|+++ bin/mailserver	2004-03-28 18:11:34.000000000 -0800
--------------------------
Patching file bin/mailserver using Plan A...
Hunk #1 succeeded at 68.
Hunk #2 succeeded at 86.
Hunk #3 succeeded at 107.
Hunk #4 succeeded at 135.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/mail/metamail/patches/patch-ar
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/mail/metamail/patches/patch-ar
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ar,v 1.2 2012/10/26 20:27:15 joerg Exp $
|
|--- richmail/richtext.c.orig	1994-02-09 16:31:18.000000000 +0000
|+++ richmail/richtext.c
--------------------------
Patching file richmail/richtext.c using Plan A...
Hunk #1 succeeded at 13.
Hunk #2 succeeded at 77.
Hunk #3 succeeded at 909.
Hunk #4 succeeded at 927.
Hunk #5 succeeded at 989.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/mail/metamail/patches/patch-as
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/mail/metamail/patches/patch-as
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-as,v 1.1 2006/01/22 01:57:44 joerg Exp $
|
|--- metamail/putenv.c.orig	2006-01-22 01:55:38.000000000 +0000
|+++ metamail/putenv.c
--------------------------
Patching file metamail/putenv.c using Plan A...
Hunk #1 succeeded at 19.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/mail/metamail/patches/patch-at
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/mail/metamail/patches/patch-at
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-at,v 1.3 2012/10/26 20:27:15 joerg Exp $
|
|--- metamail/uue.c.orig	1993-07-28 18:31:02.000000000 +0000
|+++ metamail/uue.c
--------------------------
Patching file metamail/uue.c using Plan A...
Hunk #1 succeeded at 30.
Hunk #2 succeeded at 62.
Hunk #3 succeeded at 70.
Hunk #4 succeeded at 82.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/mail/metamail/patches/patch-metamail_codes.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/mail/metamail/patches/patch-metamail_codes.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-metamail_codes.c,v 1.1 2012/10/26 20:27:15 joerg Exp $
|
|--- metamail/codes.c.orig	2012-10-25 19:39:57.000000000 +0000
|+++ metamail/codes.c
--------------------------
Patching file metamail/codes.c using Plan A...
Hunk #1 succeeded at 174.
Hunk #2 succeeded at 350.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/mail/metamail/patches/patch-metamail_shared.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/mail/metamail/patches/patch-metamail_shared.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-metamail_shared.c,v 1.1 2012/12/30 05:38:55 dholland Exp $
|
|- use standard headers
|- don't provide own declarations of standard functions
|- don't cast the return value of malloc
|
|--- metamail/shared.c~	1993-05-16 18:19:32.000000000 +0000
|+++ metamail/shared.c
--------------------------
Patching file metamail/shared.c using Plan A...
Hunk #1 succeeded at 1.
Hunk #2 succeeded at 8.
Hunk #3 succeeded at 19.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/mail/metamail/patches/patch-richmail_iso2022.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/mail/metamail/patches/patch-richmail_iso2022.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-richmail_iso2022.c,v 1.1 2012/10/26 20:27:15 joerg Exp $
|
|--- richmail/iso2022.c.orig	2012-10-25 19:46:36.000000000 +0000
|+++ richmail/iso2022.c
--------------------------
Patching file richmail/iso2022.c using Plan A...
Hunk #1 succeeded at 73.
done
/usr/bin/rm -f /home/pbulk/build/mail/metamail/work/mm2.7/src/bin/*.orig
===> Creating toolchain wrappers for metamail-2.7nb12
===> Configuring for metamail-2.7nb12
=> Adjusting the path to awk
=> Adjusting the path for PKG_SYSCONFDIR.
set -e;								 if /usr/xpg4/bin/grep putenv /usr/include/stdlib.h >/dev/null;		 then								 cd /home/pbulk/build/mail/metamail/work/mm2.7/src/metamail;					 /usr/bin/mv Makefile Makefile.pre-sed;			 /usr/bin/sed -e s/putenv.o//g Makefile.pre-sed >Makefile;	 fi
=> Replacing csh interpreter in bin/* fonts/*.
INFO: [replace-interpreter] Nothing changed in bin/audiocompose.
INFO: [replace-interpreter] Nothing changed in bin/audiosend.
INFO: [replace-interpreter] Nothing changed in bin/extcompose.
INFO: [replace-interpreter] Nothing changed in bin/getfilename.
INFO: [replace-interpreter] Nothing changed in bin/mailserver.
INFO: [replace-interpreter] Nothing changed in bin/metasend.
INFO: [replace-interpreter] Nothing changed in bin/patch-metamail.
INFO: [replace-interpreter] Nothing changed in bin/rcvAppleSingle.
INFO: [replace-interpreter] Nothing changed in bin/showaudio.
INFO: [replace-interpreter] Nothing changed in bin/showexternal.
INFO: [replace-interpreter] Nothing changed in bin/showpartial.
INFO: [replace-interpreter] Nothing changed in bin/showpicture.
INFO: [replace-interpreter] Nothing changed in bin/sndAppleSingle.
INFO: [replace-interpreter] Nothing changed in bin/sun-audio-file.
INFO: [replace-interpreter] Nothing changed in bin/sun-message.csh.
INFO: [replace-interpreter] Nothing changed in bin/sun-to-mime.
INFO: [replace-interpreter] Nothing changed in bin/sun2mime.
INFO: [replace-interpreter] Nothing changed in fonts/Makefile.
INFO: [replace-interpreter] Nothing changed in fonts/Makefile.R4.
INFO: [replace-interpreter] Nothing changed in fonts/Makefile.orig.
INFO: [replace-interpreter] Nothing changed in fonts/Xmailto-hebrew.
INFO: [replace-interpreter] Nothing changed in fonts/Xshownonascii.
INFO: [replace-interpreter] Nothing changed in fonts/fonts.alias.
INFO: [replace-interpreter] Nothing changed in fonts/heb6x13.bdf.
INFO: [replace-interpreter] Nothing changed in fonts/heb8x13.bdf.
INFO: [replace-interpreter] Nothing changed in fonts/heb8x13B.bdf.
=> Checking for portability problems in extracted files