Subject: sendmail install stage is broken
To: None <tech-pkg@netbsd.org>
From: John Klos <john@klos.com>
List: tech-pkg
Date: 10/09/2005 00:06:20
Hi,

On netbsd-2-1-RC5 on macppc, I'm seeing sendmail go through the motions of 
installing, but then I see these problems:

install -c -o root -g wheel -m 0600 statistics /etc/mail/statisticscc -O -I. -I../../include -DNEWDB -DNIS -DMAP_REGEX  -DNETISO -I/usr/local/include -DNETINET6 -DNEEDSGETIPNODE -DTCPWRAPPERS -DMILTER  -I/usr/include -c conf.c
conf.c:3292:27: sys/statvfs.h: No such file or directory
conf.c: In function `freediskspace':
conf.c:3319: error: storage size of `fs' isn't known
*** Error code 1

Stop.
make: stopped in 
/usr/pkgsrc/mail/sendmail/work/sendmail-8.13.4/obj.NetBSD.2.1_RC5.macppc/sendmail

Then...

Making install in:
/usr/pkgsrc/mail/sendmail/work/sendmail-8.13.4/mail.local
Configuration: pfx=, os=NetBSD, rel=2.1_RC5, rbase=2, rroot=2.1_RC5, 
arch=macppc, sfx=, variant=optimized
Making in 
/usr/pkgsrc/mail/sendmail/work/sendmail-8.13.4/obj.NetBSD.2.1_RC5.macppc/mail.local
NOTE: This version of mail.local is not suited for some operating
       systems such as HP-UX and Solaris.  Please consult the
       README file in the mail.local directory.  You can force
       the install using 'Build force-install'.

(this is repeated for lots of other things)

Then...

ls: /usr/local/bin/hoststat: No such file or directory
ls: /usr/local/bin/mailq: No such file or directory
ls: /usr/local/bin/newaliases: No such file or directory
ls: /usr/local/bin/purgestat: No such file or directory
ls: /usr/local/libexec/sendmail/sendmail: No such file or directory
ls: /usr/local/man/cat1/mailq.0: No such file or directory
ls: /usr/local/man/cat1/newaliases.0: No such file or directory
ls: /usr/local/man/cat5/aliases.0: No such file or directory
ls: /usr/local/man/cat8/sendmail.0: No such file or directory
...
===> register-pkg [sendmail-8.13.4] ===> Registering installation for 
sendmail-8.13.4
pkg_create: can't stat `/usr/local/bin/hoststat'
pkg_create: can't stat `/usr/local/bin/mailq'
pkg_create: can't stat `/usr/local/bin/newaliases'
pkg_create: can't stat `/usr/local/bin/purgestat'
pkg_create: can't stat `/usr/local/libexec/sendmail/sendmail'
pkg_create: can't stat `/usr/local/man/cat1/mailq.0'
pkg_create: can't stat `/usr/local/man/cat1/newaliases.0'
pkg_create: can't stat `/usr/local/man/cat5/aliases.0'
pkg_create: can't stat `/usr/local/man/cat8/sendmail.0'


Of course, then, we don't have a working sendmail even though the package 
is registered.

John