Subject: pkg/25767: mail/sendmail is not installed as expected
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <tecneeq@tecneeq.de>
List: pkgsrc-bugs
Date: 05/31/2004 19:35:49
>Number:         25767
>Category:       pkg
>Synopsis:       mail/sendmail is not installed as expected
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon May 31 19:36:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Karsten Kruse
>Release:        NetBSD 2.0F
>Organization:
>Environment:
NetBSD uberhost.newbie-net.de 2.0F NetBSD 2.0F (UBERHOST) #1: Mon May 31 06:34:44 CEST 2004  karsten@uberhost.newbie-net.de:/usr/src/sys/arch/i386/compile/UBERHOST i386
>Description:
mail/sendmail ist not installed as expected. I updated my system from 1.6ZF to 2.0F and pkg_delete'd everything. Then i used pkg_chk to install everything again (inclusive mail/sendmail) and did a reboot.

Sendmail never started because it was not really installed, it was registered, but there was no /usr/pkg/libexec/sendmail/sendmail binary.

Here is the typescript for make install in /usr/pkgsrc/mail/sendmail:

http://tecneeq.dyndns.org/~karsten/netbsd/sendpr/mail_sendmail.txt

Note that there is an Error, but it is ignored:

cc -O -I. -I../../include -DNEWDB -DNIS -DMAP_REGEX  -DNETISO -I/usr/pkg/include -DNETINET6 -DNEEDSGETIPNODE -DTCPWRAPPERS -DSASL -DMILTER -DSTARTTLS    -I/usr/pkg/include -I/usr/include -c conf.c
conf.c: In function `freediskspace':
conf.c:3297: error: storage size of `fs' isn't known
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/mail/sendmail/work/sendmail-8.12.11/obj.NetBSD.2.0F.i386/sendmail
Making all in:
/usr/pkgsrc/mail/sendmail/work/sendmail-8.12.11/editmap

That seems wrong to me. Pkgsrc should _really_ stop if there is an error. I hope someone knows how to fix it fast, i need my mail ;).
>How-To-Repeat:
cd /usr/pkgsrc/mail/sendmail/
make install
>Fix:
No
>Release-Note:
>Audit-Trail:
>Unformatted: