=> Bootstrap dependency digest>=20010302: found digest-20111104
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 mailagent-3.0.73nb1
=> Generating pre-install file lists
=> Creating installation directories
Installing in agent...
+ '/scratch/mail/mailagent/work/.tools/bin/install' -c -m 555 mailpatch '/scratch/mail/mailagent/work/.destdir/usr/pkg/bin'
+ '/scratch/mail/mailagent/work/.tools/bin/install' -c -m 555 mailhelp '/scratch/mail/mailagent/work/.destdir/usr/pkg/bin'
+ '/scratch/mail/mailagent/work/.tools/bin/install' -c -m 555 maillist '/scratch/mail/mailagent/work/.destdir/usr/pkg/bin'
+ '/scratch/mail/mailagent/work/.tools/bin/install' -c -m 555 maildist '/scratch/mail/mailagent/work/.destdir/usr/pkg/bin'
+ '/scratch/mail/mailagent/work/.tools/bin/install' -c -m 555 package '/scratch/mail/mailagent/work/.destdir/usr/pkg/bin'
+ '/scratch/mail/mailagent/work/.tools/bin/install' -c -m 555 edusers '/scratch/mail/mailagent/work/.destdir/usr/pkg/bin'
Checking utmp.pl in pl/utmp...
cd pl/utmp; make utmp.pl
`utmp.pl' is up to date.
Continuing in agent...
/scratch/mail/mailagent/work/.tools/bin/install -c -m 555  mailagent /scratch/mail/mailagent/work/.destdir/usr/pkg/bin
Installing in agent/pl...
Installing in agent/pl/utmp...
install in agent/pl/utmp done.
Installing in agent/filter...
+ test -d '/scratch/mail/mailagent/work/.destdir/usr/pkg/lib/mailagent'
+ '/scratch/mail/mailagent/work/.tools/bin/install' -d '/scratch/mail/mailagent/work/.destdir/usr/pkg/lib/mailagent'
cc -c -I../.. -O main.c
main.c:84:8: error: 'main' must return 'int'
public void main(argc, argv, envp)
       ^
main.c:104:12: warning: implicit declaration of function 'getpid' is invalid in C99 [-Wimplicit-function-declaration]
        progpid = getpid();                                     /* Program's PID */
                  ^
main.c:107:8: warning: implicit declaration of function 'getuid' is invalid in C99 [-Wimplicit-function-declaration]
        uid = getuid();
              ^
main.c:108:8: warning: implicit declaration of function 'getgid' is invalid in C99 [-Wimplicit-function-declaration]
        gid = getgid();
              ^
main.c:109:9: warning: implicit declaration of function 'geteuid' is invalid in C99 [-Wimplicit-function-declaration]
        euid = geteuid();
               ^
main.c:110:9: warning: implicit declaration of function 'getegid' is invalid in C99 [-Wimplicit-function-declaration]
        egid = getegid();
               ^
main.c:128:14: warning: implicit declaration of function 'getopt' is invalid in C99 [-Wimplicit-function-declaration]
        while ((c = getopt(argc, argv, "o:tV")) != EOF) {
                    ^
main.c:140:4: warning: implicitly declaring C library function 'exit' with type 'void (int) __attribute__((noreturn))'
                        exit(EX_OK);
                        ^
main.c:140:4: note: please include the header <stdlib.h> or explicitly provide a declaration for 'exit'
main.c:181:2: warning: implicit declaration of function 'my_exit' is invalid in C99 [-Wimplicit-function-declaration]
        my_exit(EX_OK);         /* We did it */
        ^
main.c:188:9: warning: implicit declaration of function 'setruid' is invalid in C99 [-Wimplicit-function-declaration]
        return setruid(ruid);
               ^
main.c:190:9: warning: implicit declaration of function 'setuid' is invalid in C99 [-Wimplicit-function-declaration]
        return setuid(ruid);
               ^
main.c:197:9: warning: implicit declaration of function 'setrgid' is invalid in C99 [-Wimplicit-function-declaration]
        return setrgid(rgid);
               ^
main.c:199:9: warning: implicit declaration of function 'setgid' is invalid in C99 [-Wimplicit-function-declaration]
        return setgid(rgid);
               ^
12 warnings and 1 error generated.
*** Error code 1

Stop.
make: stopped in /scratch/mail/mailagent/work/mailagent-3.0.73/agent/filter
Installing in agent/files...
+ test -d '/scratch/mail/mailagent/work/.destdir/usr/pkg/lib/mailagent'
+ '/scratch/mail/mailagent/work/.tools/bin/install' -c -m 444 agenthelp '/scratch/mail/mailagent/work/.destdir/usr/pkg/lib/mailagent'
+ '/scratch/mail/mailagent/work/.tools/bin/install' -c -m 444 commands '/scratch/mail/mailagent/work/.destdir/usr/pkg/lib/mailagent'
+ '/scratch/mail/mailagent/work/.tools/bin/install' -c -m 444 distribs '/scratch/mail/mailagent/work/.destdir/usr/pkg/lib/mailagent'
+ '/scratch/mail/mailagent/work/.tools/bin/install' -c -m 444 'filter.sh' '/scratch/mail/mailagent/work/.destdir/usr/pkg/lib/mailagent'
+ '/scratch/mail/mailagent/work/.tools/bin/install' -c -m 444 'mailagent.cf' '/scratch/mail/mailagent/work/.destdir/usr/pkg/lib/mailagent'
+ '/scratch/mail/mailagent/work/.tools/bin/install' -c -m 444 proglist '/scratch/mail/mailagent/work/.destdir/usr/pkg/lib/mailagent'
+ '/scratch/mail/mailagent/work/.tools/bin/install' -c -m 444 'chkagent.sh' '/scratch/mail/mailagent/work/.destdir/usr/pkg/lib/mailagent'
+ '/scratch/mail/mailagent/work/.tools/bin/install' -c -m 444 'setup.cf' '/scratch/mail/mailagent/work/.destdir/usr/pkg/lib/mailagent'
+ '/scratch/mail/mailagent/work/.tools/bin/install' -c -m 444 compressors '/scratch/mail/mailagent/work/.destdir/usr/pkg/lib/mailagent'
Installing in agent/files/help...
+ test -d '/scratch/mail/mailagent/work/.destdir/usr/pkg/lib/mailagent'
+ test -d '/scratch/mail/mailagent/work/.destdir/usr/pkg/lib/mailagent/help'
+ '/scratch/mail/mailagent/work/.tools/bin/install' -d '/scratch/mail/mailagent/work/.destdir/usr/pkg/lib/mailagent/help'
+ '/scratch/mail/mailagent/work/.tools/bin/install' -c -m 444 addauth '/scratch/mail/mailagent/work/.destdir/usr/pkg/lib/mailagent/help'
+ '/scratch/mail/mailagent/work/.tools/bin/install' -c -m 444 approve '/scratch/mail/mailagent/work/.destdir/usr/pkg/lib/mailagent/help'
+ '/scratch/mail/mailagent/work/.tools/bin/install' -c -m 444 delpower '/scratch/mail/mailagent/work/.destdir/usr/pkg/lib/mailagent/help'
+ '/scratch/mail/mailagent/work/.tools/bin/install' -c -m 444 end '/scratch/mail/mailagent/work/.destdir/usr/pkg/lib/mailagent/help'
+ '/scratch/mail/mailagent/work/.tools/bin/install' -c -m 444 getauth '/scratch/mail/mailagent/work/.destdir/usr/pkg/lib/mailagent/help'
+ '/scratch/mail/mailagent/work/.tools/bin/install' -c -m 444 help '/scratch/mail/mailagent/work/.destdir/usr/pkg/lib/mailagent/help'
+ '/scratch/mail/mailagent/work/.tools/bin/install' -c -m 444 newpower '/scratch/mail/mailagent/work/.destdir/usr/pkg/lib/mailagent/help'
+ '/scratch/mail/mailagent/work/.tools/bin/install' -c -m 444 passwd '/scratch/mail/mailagent/work/.destdir/usr/pkg/lib/mailagent/help'
+ '/scratch/mail/mailagent/work/.tools/bin/install' -c -m 444 password '/scratch/mail/mailagent/work/.destdir/usr/pkg/lib/mailagent/help'
+ '/scratch/mail/mailagent/work/.tools/bin/install' -c -m 444 power '/scratch/mail/mailagent/work/.destdir/usr/pkg/lib/mailagent/help'
+ '/scratch/mail/mailagent/work/.tools/bin/install' -c -m 444 release '/scratch/mail/mailagent/work/.destdir/usr/pkg/lib/mailagent/help'
+ '/scratch/mail/mailagent/work/.tools/bin/install' -c -m 444 remauth '/scratch/mail/mailagent/work/.destdir/usr/pkg/lib/mailagent/help'
+ '/scratch/mail/mailagent/work/.tools/bin/install' -c -m 444 set '/scratch/mail/mailagent/work/.destdir/usr/pkg/lib/mailagent/help'
+ '/scratch/mail/mailagent/work/.tools/bin/install' -c -m 444 setauth '/scratch/mail/mailagent/work/.destdir/usr/pkg/lib/mailagent/help'
+ '/scratch/mail/mailagent/work/.tools/bin/install' -c -m 444 user '/scratch/mail/mailagent/work/.destdir/usr/pkg/lib/mailagent/help'
install in agent/files/help done.
Installing in agent/man...
install in agent/man done.
Installing in agent/test...
install in agent/test done.
Installing in agent/examples...
+ test -d '/scratch/mail/mailagent/work/.destdir/usr/pkg/lib/mailagent/examples'
+ '/scratch/mail/mailagent/work/.tools/bin/install' -d '/scratch/mail/mailagent/work/.destdir/usr/pkg/lib/mailagent/examples'
+ '/scratch/mail/mailagent/work/.tools/bin/install' -c -m 444 README '/scratch/mail/mailagent/work/.destdir/usr/pkg/lib/mailagent/examples'
+ '/scratch/mail/mailagent/work/.tools/bin/install' -c -m 444 daemon '/scratch/mail/mailagent/work/.destdir/usr/pkg/lib/mailagent/examples'
+ '/scratch/mail/mailagent/work/.tools/bin/install' -c -m 444 mailfolders '/scratch/mail/mailagent/work/.destdir/usr/pkg/lib/mailagent/examples'
+ '/scratch/mail/mailagent/work/.tools/bin/install' -c -m 444 mchk '/scratch/mail/mailagent/work/.destdir/usr/pkg/lib/mailagent/examples'
+ '/scratch/mail/mailagent/work/.tools/bin/install' -c -m 444 mhinc '/scratch/mail/mailagent/work/.destdir/usr/pkg/lib/mailagent/examples'
+ '/scratch/mail/mailagent/work/.tools/bin/install' -c -m 444 nocmds '/scratch/mail/mailagent/work/.destdir/usr/pkg/lib/mailagent/examples'
+ '/scratch/mail/mailagent/work/.tools/bin/install' -c -m 444 profile '/scratch/mail/mailagent/work/.destdir/usr/pkg/lib/mailagent/examples'
+ '/scratch/mail/mailagent/work/.tools/bin/install' -c -m 444 rules '/scratch/mail/mailagent/work/.destdir/usr/pkg/lib/mailagent/examples'
+ '/scratch/mail/mailagent/work/.tools/bin/install' -c -m 444 vacation '/scratch/mail/mailagent/work/.destdir/usr/pkg/lib/mailagent/examples'
install in agent/examples done.
Installing man pages in agent...
Installing man pages in agent/pl...
Installing man pages in agent/pl/utmp...
install.man in agent/pl/utmp done.
Installing man pages in agent/filter...
install.man in agent/filter done.
Installing man pages in agent/files...
Installing man pages in agent/files/help...
install.man in agent/files/help done.
Installing man pages in agent/man...
+ '/scratch/mail/mailagent/work/.tools/bin/install' -c -m 444 'mailagent.1' '/scratch/mail/mailagent/work/.destdir/usr/pkg/man/man1'
+ '/scratch/mail/mailagent/work/.tools/bin/install' -c -m 444 'maildist.1' '/scratch/mail/mailagent/work/.destdir/usr/pkg/man/man1'
+ '/scratch/mail/mailagent/work/.tools/bin/install' -c -m 444 'maillist.1' '/scratch/mail/mailagent/work/.destdir/usr/pkg/man/man1'
+ '/scratch/mail/mailagent/work/.tools/bin/install' -c -m 444 'mailhelp.1' '/scratch/mail/mailagent/work/.destdir/usr/pkg/man/man1'
+ '/scratch/mail/mailagent/work/.tools/bin/install' -c -m 444 'mailpatch.1' '/scratch/mail/mailagent/work/.destdir/usr/pkg/man/man1'
+ '/scratch/mail/mailagent/work/.tools/bin/install' -c -m 444 'package.1' '/scratch/mail/mailagent/work/.destdir/usr/pkg/man/man1'
+ '/scratch/mail/mailagent/work/.tools/bin/install' -c -m 444 'edusers.1' '/scratch/mail/mailagent/work/.destdir/usr/pkg/man/man1'
install.man in agent/man done.
Installing man pages in agent/test...
install.man in agent/test done.
Installing man pages in agent/examples...
install.man in agent/examples done.
/usr/bin/install -d -o pbulkXXX -g users -m 755 /scratch/mail/mailagent/work/.destdir/usr/pkg/share/examples/mailagent
/usr/bin/install -d -o pbulkXXX -g users -m 755 /scratch/mail/mailagent/work/.destdir/usr/pkg/share/examples/mailagent/misc
/bin/cp -pR /scratch/mail/mailagent/work/mailagent-3.0.73/misc/* /scratch/mail/mailagent/work/.destdir/usr/pkg/share/examples/mailagent/misc
=> Automatic manual page handling
=> Generating post-install file lists
pkg_create: can't stat `/scratch/mail/mailagent/work/.destdir/usr/pkg/lib/mailagent/filter'
=> Checking file-check results for mailagent-3.0.73nb1
ERROR: ************************************************************
ERROR: The following files are in the PLIST but not in /usr/pkg:
ERROR:         /scratch/mail/mailagent/work/.destdir/usr/pkg/lib/mailagent/filter
*** Error code 1

Stop.
make: stopped in /bulk-data/pkgsrc/mail/mailagent
*** Error code 1

Stop.
make: stopped in /bulk-data/pkgsrc/mail/mailagent
