=> Bootstrap dependency digest>=20010302: found digest-20190127 ===> 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 mailagent-3.0.73.tar.gz => Checksum RMD160 OK for mailagent-3.0.73.tar.gz => Checksum SHA512 OK for mailagent-3.0.73.tar.gz ===> Installing dependencies for mailagent-3.0.73nb9 ========================================================================== The following variables will affect the build process of this package, mailagent-3.0.73nb9. Their current value is shown below: * MAILAGENT_DOMAIN = example.com * MAILAGENT_EMAIL = testuser@example.com * MAILAGENT_FQDN = test.example.com * MAILAGENT_ORGANIZATION = Example Company 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 checkperms>=1.1: found checkperms-1.12 => Build dependency cwrappers>=20150314: found cwrappers-20180325 => Full dependency p5-Perl4-CoreLibs-[0-9]*: found p5-Perl4-CoreLibs-0.004nb2 => Full dependency perl>=5.0: found perl-5.30.0 ===> Overriding tools for mailagent-3.0.73nb9 ===> Extracting for mailagent-3.0.73nb9 if [ `/bin/sh -c umask` != 0022 ]; then echo "Please set umask to 022 before running make,"; echo "or mailagent will not build successfully."; false; fi if [ `/usr/bin/id -u` = 0 ]; then echo "Do not build mailagent as root or it won't pass the sanity tests."; false; fi ===> Patching for mailagent-3.0.73nb9 => Applying pkgsrc patches for mailagent-3.0.73nb9 => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/mail/mailagent/patches/patch-aa => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/mail/mailagent/patches/patch-aa Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-aa,v 1.4 2011/03/06 03:47:27 dholland Exp $ | |Header fixes. | |--- agent/filter/logfile.c.orig 2001-03-17 18:31:21.000000000 +0000 |+++ agent/filter/logfile.c -------------------------- Patching file agent/filter/logfile.c using Plan A... Hunk #1 succeeded at 45. Hunk #2 succeeded at 75. Hunk #3 succeeded at 93. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/mail/mailagent/patches/patch-ab => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/mail/mailagent/patches/patch-ab Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-ab,v 1.1 2011/03/06 03:47:27 dholland Exp $ | |--- agent/filter/environ.c~ 2001-03-17 18:31:20.000000000 +0000 |+++ agent/filter/environ.c -------------------------- Patching file agent/filter/environ.c using Plan A... Hunk #1 succeeded at 38. Hunk #2 succeeded at 57. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/mail/mailagent/patches/patch-ac => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/mail/mailagent/patches/patch-ac Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-ac,v 1.4 2011/03/06 03:47:27 dholland Exp $ | |--- agent/filter/io.c.orig 2001-03-17 18:31:20.000000000 +0000 |+++ agent/filter/io.c -------------------------- Patching file agent/filter/io.c using Plan A... Hunk #1 succeeded at 97. Hunk #2 succeeded at 131. Hunk #3 succeeded at 221. Hunk #4 succeeded at 725. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/mail/mailagent/patches/patch-ad => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/mail/mailagent/patches/patch-ad Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-ad,v 1.1 2011/03/06 03:47:27 dholland Exp $ | |--- agent/filter/hash.c~ 2001-03-17 18:31:20.000000000 +0000 |+++ agent/filter/hash.c -------------------------- Patching file agent/filter/hash.c using Plan A... Hunk #1 succeeded at 27. Hunk #2 succeeded at 44. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/mail/mailagent/patches/patch-ae => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/mail/mailagent/patches/patch-ae Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-ae,v 1.2 2013/06/15 06:09:37 obache Exp $ | |--- agent/filter/misc.c.orig 2001-03-17 18:31:21.000000000 +0000 |+++ agent/filter/misc.c -------------------------- Patching file agent/filter/misc.c using Plan A... Hunk #1 succeeded at 36. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/mail/mailagent/patches/patch-agent_edusers.SH => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/mail/mailagent/patches/patch-agent_edusers.SH Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-agent_edusers.SH,v 1.1 2011/12/14 03:03:47 sbd Exp $ | |--- agent/edusers.SH.orig 2001-03-17 18:31:17.000000000 +0000 |+++ agent/edusers.SH -------------------------- Patching file agent/edusers.SH using Plan A... Hunk #1 succeeded at 18. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/mail/mailagent/patches/patch-agent_filter_lock.c => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/mail/mailagent/patches/patch-agent_filter_lock.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-agent_filter_lock.c,v 1.1 2013/06/15 06:09:37 obache Exp $ | |--- agent/filter/lock.c.orig 2001-03-17 18:31:21.000000000 +0000 |+++ agent/filter/lock.c -------------------------- Patching file agent/filter/lock.c using Plan A... Hunk #1 succeeded at 48. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/mail/mailagent/patches/patch-agent_filter_main.c => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/mail/mailagent/patches/patch-agent_filter_main.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-agent_filter_main.c,v 1.1 2013/06/15 06:09:37 obache Exp $ | |--- agent/filter/main.c.orig 2001-03-17 18:31:21.000000000 +0000 |+++ agent/filter/main.c -------------------------- Patching file agent/filter/main.c using Plan A... Hunk #1 succeeded at 56. Hunk #2 succeeded at 82. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/mail/mailagent/patches/patch-agent_magent.sh => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/mail/mailagent/patches/patch-agent_magent.sh Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-agent_magent.sh,v 1.1 2011/12/14 03:03:47 sbd Exp $ | |--- agent/magent.sh.orig 2001-03-17 18:31:21.000000000 +0000 |+++ agent/magent.sh -------------------------- Patching file agent/magent.sh using Plan A... Hunk #1 succeeded at 17. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/mail/mailagent/patches/patch-agent_maildist.SH => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/mail/mailagent/patches/patch-agent_maildist.SH Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-agent_maildist.SH,v 1.1 2011/12/14 03:03:47 sbd Exp $ | |--- agent/maildist.SH.orig 2001-03-17 18:31:22.000000000 +0000 |+++ agent/maildist.SH -------------------------- Patching file agent/maildist.SH using Plan A... Hunk #1 succeeded at 18. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/mail/mailagent/patches/patch-agent_mailhelp.SH => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/mail/mailagent/patches/patch-agent_mailhelp.SH Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-agent_mailhelp.SH,v 1.1 2011/12/14 03:03:47 sbd Exp $ | |--- agent/mailhelp.SH.orig 2001-03-17 18:31:22.000000000 +0000 |+++ agent/mailhelp.SH -------------------------- Patching file agent/mailhelp.SH using Plan A... Hunk #1 succeeded at 18. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/mail/mailagent/patches/patch-agent_maillist.SH => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/mail/mailagent/patches/patch-agent_maillist.SH Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-agent_maillist.SH,v 1.1 2011/12/14 03:03:47 sbd Exp $ | |--- agent/maillist.SH.orig 2001-03-17 18:31:22.000000000 +0000 |+++ agent/maillist.SH -------------------------- Patching file agent/maillist.SH using Plan A... Hunk #1 succeeded at 18. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/mail/mailagent/patches/patch-agent_mailpatch.SH => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/mail/mailagent/patches/patch-agent_mailpatch.SH Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-agent_mailpatch.SH,v 1.1 2011/12/14 03:03:47 sbd Exp $ | |--- agent/mailpatch.SH.orig 2001-03-17 18:31:22.000000000 +0000 |+++ agent/mailpatch.SH -------------------------- Patching file agent/mailpatch.SH using Plan A... Hunk #1 succeeded at 18. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/mail/mailagent/patches/patch-agent_package.SH => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/mail/mailagent/patches/patch-agent_package.SH Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-agent_package.SH,v 1.1 2011/12/14 03:03:47 sbd Exp $ | |--- agent/package.SH.orig 2001-03-17 18:31:23.000000000 +0000 |+++ agent/package.SH -------------------------- Patching file agent/package.SH using Plan A... Hunk #1 succeeded at 18. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/mail/mailagent/patches/patch-agent_pl_utmp_utmp__ph.c => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/mail/mailagent/patches/patch-agent_pl_utmp_utmp__ph.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-agent_pl_utmp_utmp__ph.c,v 1.1 2013/06/15 06:09:37 obache Exp $ | |--- agent/pl/utmp/utmp_ph.c.orig 2001-03-17 18:31:28.000000000 +0000 |+++ agent/pl/utmp/utmp_ph.c -------------------------- Patching file agent/pl/utmp/utmp_ph.c using Plan A... Hunk #1 succeeded at 50. done ===> Creating toolchain wrappers for mailagent-3.0.73nb9 ===> Configuring for mailagent-3.0.73nb9 echo "#!/bin/sh" > /tmp/mail/mailagent/work/mailagent-3.0.73/config.sh echo "cf_email='testuser@example.com'" >> /tmp/mail/mailagent/work/mailagent-3.0.73/config.sh echo "d_flockonly='define'" >> /tmp/mail/mailagent/work/mailagent-3.0.73/config.sh if [ `echo example.com | tr A-Z a-z` = `echo test.example.com | tr A-Z a-z` ]; then echo "d_hidnet='undef'" >> /tmp/mail/mailagent/work/mailagent-3.0.73/config.sh; echo "hiddennet=''" >> /tmp/mail/mailagent/work/mailagent-3.0.73/config.sh; else echo "d_hidnet='define'" >> /tmp/mail/mailagent/work/mailagent-3.0.73/config.sh; echo "hiddennet='example.com'" >> /tmp/mail/mailagent/work/mailagent-3.0.73/config.sh; fi echo "orgname='Example Company'" >> /tmp/mail/mailagent/work/mailagent-3.0.73/config.sh => Checking for portability problems in extracted files First let's make sure your kit is complete. Checking... Locating common programs... Checking compatibility between /tmp/mail/mailagent/work/.tools/bin/echo and builtin echo (if any)... Symbolic links are supported. Good, your tr supports [:lower:] and [:upper:] to convert case. I see a config.sh file. Shall I use it to set the defaults? [y] Fetching default answers from your old config.sh file... Do you expect to run these scripts and binaries on multiple machines? [n] Installation prefix to use? (~name ok) [/usr/pkg] AFS does not seem to be running... Pathname where the public executables will reside? (~name ok) [/usr/pkg/bin] System manual is in /usr/share/man/man1. Where do the manual pages (source) go? (~name ok) [/usr/pkg/man/man1] Pathname where the private library files will reside? (~name ok) [/usr/pkg/lib/mailagent] Where do you keep publicly executable scripts? (~name ok) [/usr/pkg/bin] Where is perl located on your system? (~name ok) [/usr/pkg/bin/perl] Which memory models are supported? [none] Use which C compiler? [cc] Checking for GNU cc in disguise and/or its version number... Now, how can we feed standard input to your C preprocessor... Directories to use for library searches? [/lib /usr/lib] What optimizer/debugger flag should be used? [-O] Any additional cc flags? [none] Any additional ld flags (NOT including libraries)? [none] Checking your choice of C compiler and flags for coherency... What is the file extension used for shared libraries? [so] Checking for optional libraries... Any additional libraries? [none] Checking for GNU C Library... Shall I use nm to extract C symbols from the libraries? [y] Computing filename position in cpp output for #include directives... access() found. defines the *_OK access constants. bcopy() found. found. setpgrp() found. You have to use setpgrp(pid,pgrp) instead of setpgrp(). dup2() found. fcntl() found. You can have filenames longer than 14 characters. Figuring out host name... Your host name appears to be "cluster036". Right? [y] What is your domain name? [.ki.nu] gethostname() found. Shall I ignore gethostname() from now on? [n] getopt() found. Using instead of . strchr() found. defines the O_* constants... and you have the 3 argument form of open(). rename() found. setpgid() found. setrgid() found. setruid() found. setsid() found. strcasecmp() found. strerror() found. Looks like your knows about 'union wait'... So we'll use that for wait(). vfork() found. Some systems have problems with vfork(). Do you want to use it? [y] tcsetattr() found. You have POSIX termios.h... good! found. found. TIOCNOTTY found in . Using ioctl() call on /dev/tty to void tty association. Great! Looks like we can use the WIFxxx macros. Checking to see how your cpp does stuff like catenate tokens... What is the default editor on your system? [/usr/bin/vi] flock() found. Would you like to use flock style mail spool locking only? [y] Use "hidden" network? [y] What hostname do you wish to advertise? [example.com] Looking for a BSD-compatible install program... Which install program shall I use? (~name ok) [/tmp/mail/mailagent/work/.tools/bin/install] Ok, let's see how we can create nested directories... Checking to see how big your integers are... Where is yet-to-be-read mail spooled? (~name ok) [/var/mail] Mail transport agent to be used? [/usr/sbin/sendmail] In which file is yet-to-be-read mail spooled? (~name ok) [/var/mail/%L] Checking how to generate makefile dependencies on your machine... Name of program to make makefile dependencies? (~name ok) [/tmp/mail/mailagent/work/mailagent-3.0.73/mkdep] Organization: [Example Company] Getting the current patchlevel... What type are process ids on this system declared as? [pid_t] Checking out function prototypes... Maximum register declarations? [6] Root uid = 0 You have void (*signal())() instead of int. Shall I use #! to start up perl? [y] time() found. What type is returned by time() on this system? [time_t] What is the type for user ids returned by getuid()? [uid_t] Where is the utmp file recording logins? [/var/run/utmp] Checking to see how well your C compiler groks the void type... Support flag bits are: 1: basic void declarations. 2: arrays of pointers to functions returning void. 4: operations between pointers to and addresses of void functions. 8: generic void pointers. found. We'll be including . found. We don't need to include if we include . found. Testing to see if we should include , or both. We'll include . found. found. Berkeley/V7 format for full name in /etc/passwd? [y] What is your e-mail address? [testuser@example.com] Subscribe to or unsubscribe from the agent-users mailing list? [neither] Creating config.sh... Doing variable substitutions on .SH files... Extracting Makefile (with variable substitutions) Extracting agent/Makefile (with variable substitutions) Extracting agent/edusers (with variable substitutions) Extracting agent/examples/Makefile (with variable substitutions) Extracting agent/files/Makefile (with variable substitutions) Extracting agent/files/help/Makefile (with variable substitutions) Extracting agent/files/help/addauth (with variable substitutions) Extracting agent/files/help/approve (with variable substitutions) Extracting agent/files/help/delpower (with variable substitutions) Extracting agent/files/help/end (with variable substitutions) Extracting agent/files/help/getauth (with variable substitutions) Extracting agent/files/help/help (with variable substitutions) Extracting agent/files/help/newpower (with variable substitutions) Extracting agent/files/help/passwd (with variable substitutions) Extracting agent/files/help/password (with variable substitutions) Extracting agent/files/help/power (with variable substitutions) Extracting agent/files/help/release (with variable substitutions) Extracting agent/files/help/remauth (with variable substitutions) Extracting agent/files/help/set (with variable substitutions) Extracting agent/files/help/setauth (with variable substitutions) Extracting agent/files/help/user (with variable substitutions) Extracting agent/filter/Makefile (with variable substitutions) Extracting agent/maildist (with variable substitutions) Extracting agent/mailhelp (with variable substitutions) Extracting agent/maillist (with variable substitutions) Extracting agent/mailpatch (with variable substitutions) Extracting agent/man/Makefile (with variable substitutions) Extracting agent/man/edusers.1 (with variable substitutions) Extracting agent/man/mailagent.1 (with variable substitutions) Extracting agent/man/maildist.1 (with variable substitutions) Extracting agent/man/mailhelp.1 (with variable substitutions) Extracting agent/man/maillist.1 (with variable substitutions) Extracting agent/man/mailpatch.1 (with variable substitutions) Extracting agent/man/package.1 (with variable substitutions) Extracting agent/package (with variable substitutions) Extracting agent/pl/Makefile (with variable substitutions) Extracting agent/pl/utmp/Makefile (with variable substitutions) Extracting agent/test/Makefile (with variable substitutions) Extracting config.h (with variable substitutions) Extracting install (with variable substitutions) Run make depend now? [y] Depending in agent... Depending in agent/pl... Depending in agent/pl/utmp... (/tmp/mail/mailagent/work/.tools/bin/sed '/^# DO NOT DELETE/q' Makefile && /tmp/mail/mailagent/work/mailagent-3.0.73/mkdep -I../../.. -- utmp_ph.c | /tmp/mail/mailagent/work/.tools/bin/sed 's/: \.\//: /; s/\/usr\/include[^ ]*//g; /^[ ]*\\$/d' ) > Makefile.new cp Makefile Makefile.bak cp Makefile.new Makefile /tmp/mail/mailagent/work/.tools/bin/rm -f Makefile.new Depending in agent/filter... (/tmp/mail/mailagent/work/.tools/bin/sed '/^# DO NOT DELETE/q' Makefile && /tmp/mail/mailagent/work/mailagent-3.0.73/mkdep -I../.. -- environ.c hash.c io.c lock.c logfile.c main.c misc.c msg.c parser.c user.c getopt.c dup2.c | /tmp/mail/mailagent/work/.tools/bin/sed -e 's:/usr/include[^ ]*::g; s:/usr/include[^ ]*::g; ' -e '/: / b print' -e 'H; d; n; : print' -e 'x; s/\\\n//g' -e 's/ */ /g; s/ :/:/;' -e '/: *$/d' ) > Makefile.new cp Makefile Makefile.bak cp Makefile.new Makefile /tmp/mail/mailagent/work/.tools/bin/rm -f Makefile.new (/tmp/mail/mailagent/work/.tools/bin/sed '/^# DO NOT DELETE/q' Makefile && grep '^\$grep' mailpatch.SH mailhelp.SH maillist.SH maildist.SH package.SH edusers.SH magent.sh | /tmp/mail/mailagent/work/.tools/bin/sed -e "s/^.*' \([^ ]*\) >>\(.*\)/\2: \1/" ) > Makefile.new cp Makefile Makefile.bak cp Makefile.new Makefile /tmp/mail/mailagent/work/.tools/bin/rm -f Makefile.new Now you must run a make.