Subject: maildrop on NetBSD/alpha 3.0
To: None <pkgsrc-users@netbsd.org>
From: Steve Kirk <steve@unixnation.net>
List: pkgsrc-users
Date: 11/28/2006 01:01:30
Hi,

I'm having some problems with maildrop on the NetBSD/alpha
platform. Specifically have a Digital 5305 (AlphaServer 1200) running
3.0 generic:

$ uname -a
NetBSD radio.unixnation.net 3.0 NetBSD 3.0 (GENERIC) #0: Sun Dec 18
22:03:18 UTC 2005
riz@faith.netbsd.org:/home/builds/ab/netbsd-3-0-RELEASE/alpha/200512182024Z-obj/home/builds/ab/netbsd-3-0-RELEASE/src/sys/arch/alpha/compile/GENERIC
alpha

I've built maildrop from pkgsrc-2006Q3, updated from CVS on 2006-11-14.
It appears to have compiled ok, certainly nothing that caused it to stop
compiling or required me to make any changes to get it to complete.

I can get it's version information, for example:

$ maildrop -v
maildrop 2.0.0 Copyright 1998-2005 Double Precision, Inc.
GDBM extensions enabled.
Courier Authentication Library extension enabled.
Enabled Berkeley DB instead of GDBM extensions.
Maildir quota extension enabled.
This program is distributed under the terms of the GNU General Public
License. See COPYING for additional information.

However, when trying to do something like:

maildrop -d user -V 7 < test.eml

or even just entering the maildrop command with no arguments, I get the
following:

$ maildrop -d user -V 7 < test.eml
maildrop: authlib: groupid=NNmaildrop: authlib: userid=NNNN
maildrop: Changing to /home/user
Message start at 0 bytes, envelope sender=testsender
pid 25180 (maildrop): unaligned access: va=0x16008f01a pc=0x160228688
ra=0x160228734 sp=0x1ffffd5f0 op=ldl
pid 25180 (maildrop): unaligned access: va=0x16008f01a pc=0x160228818
ra=0x1602288e0 sp=0x1ffffd5f0 op=ldl
pid 25180 (maildrop): unaligned access: va=0x1600bebe2 pc=0x160228688
ra=0x160228734 sp=0x1ffffd5f0 op=ldl
pid 25180 (maildrop): unaligned access: va=0x1600bebe2 pc=0x160228818
ra=0x1602288e0 sp=0x1ffffd5f0 op=ldl
pid 25180 (maildrop): unaligned access: va=0x160211bc2 pc=0x160228688
ra=0x160228734 sp=0x1ffffd5f0 op=ldl
pid 25180 (maildrop): unaligned access: va=0x160211bc2 pc=0x160228818
ra=0x1602288e0 sp=0x1ffffd5f0 op=ldl
pid 25180 (maildrop): unaligned access: va=0x1603625d2 pc=0x160228688
ra=0x160228734 sp=0x1ffffdaa0 op=ldl
pid 25180 (maildrop): unaligned access: va=0x1603625d2 pc=0x160228818
ra=0x1602288e0 sp=0x1ffffdaa0 op=ldl
maildrop: signal 0x06

groupid and userid are equal to the corerct uid and gid of the user,
replaced with 'N' here.

I've not found anything useful via google, and there are no PRs I
can find that list a problem like this on alpha. Has anyone else
experienced a similar issue? Have they been able to resolve it? If not,
I guess I should submit a PR, or do I need to replicate it with
pkgsrc-current first?

I'm also confused by the fact that the package info, and tar.gz files
seem to indicate that this is maildrop 2.0.2, however, maildrop -v seems
to indicate that 2.0.0 is installed. Any ideas?

Cheers,
Steve