Subject: Re: Netatalk 1.6.2 locking errors on -current?
To: Hauke Fath <hauke@Espresso.Rhein-Neckar.DE>
From: Frederick Bruckman <>
List: tech-pkg
Date: 09/28/2003 16:01:10
  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.
  Send mail to for more info.

Content-Type: TEXT/PLAIN; charset=US-ASCII

On Sun, 28 Sep 2003, Hauke Fath wrote:

> At 20:29 Uhr -0500 27.9.2003, Frederick Bruckman wrote:
> >
> >It looks like netatalk is up to 1.6.3, and one of the bugs fixed is in
> >AFP negotation. Worth a shot?

> Build in process... Btw, what should I make of (work/netatalk-163/config.log)?

Means nothing to me. Most "configure" tests are expected to fail...

> gmake[3]: Entering directory `/usr/src/pkgsrc/net/netatalk-163/work/netatalk-1.6.3/bin/afppasswd'
> if cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -I../../sys  -I/usr/include -I/usr/include/openssl -D_PATH_AFPDPWFILE=\"/etc/netatalk/afppasswd\"  -I/usr/pkg/include  -I../../sys/netbsd -I/usr/include/kerberosIV -I../../include -O2 -mcpu=v7 -mtune=v7 -I/usr/pkg/include -I../../sys -MT afppasswd.o -MD -MP -MF ".deps/afppasswd.Tpo" \
>   -c -o afppasswd.o `test -f 'afppasswd.c' || echo './'`afppasswd.c; \
> then mv -f ".deps/afppasswd.Tpo" ".deps/afppasswd.Po"; \
> else rm -f ".deps/afppasswd.Tpo"; exit 1; \
> fi
> afppasswd.c: In function `convert_passwd':
> afppasswd.c:89: error: `Key_schedule' undeclared (first use in this function)
> afppasswd.c:89: error: (Each undeclared identifier is reported only once
> afppasswd.c:89: error: for each function it appears in.)
> afppasswd.c:89: error: parse error before "schedule"
> afppasswd.c:108: error: `C_Block' undeclared (first use in this function)
> afppasswd.c:108: error: parse error before ')' token
> afppasswd.c:111: error: parse error before ')' token
> afppasswd.c:115: error: parse error before ')' token
> afppasswd.c:117: error: `schedule' undeclared (first use in this function)
> gmake[3]: *** [afppasswd.o] Error 1
> -- `Key_schedule' is defined in <des.h>, which gets included, and NCOMPAT is set nowhere...

Adding "-save-temps" to CFLAGS shows that <openssl/des.h> is getting
pulled in for <des.h>. I blame buildlink. ;-) The package doesn't
build out-of-the-box either, so it's hard to say for sure.

> Updated files for the package are in
> Any ideas?

With the addition of two patches to change <des.h> to
<kerberosIV/des.h> (attached), I'm able to build it on
NetBSD-1.6ZC/i386. I haven't tried to install and run. The 1.6.1
machine that's serving the files is a K6-2, so a bit slower to build
on than the P4, and I think your set-up would provide a better run
test anyhow.

If the new package fixes the original problem, would you please wrap
this all up in a PR? I think we're in, or approaching, another freeze,
but there's no question this should go in, if it fixes your bug.

Content-Type: TEXT/PLAIN; charset=US-ASCII; name=patch-ai
Content-Transfer-Encoding: BASE64
Content-ID: <>
Content-Description: patch-ai
Content-Disposition: attachment; filename=patch-ai


Content-Type: TEXT/PLAIN; charset=US-ASCII; name=patch-aj
Content-Transfer-Encoding: BASE64
Content-ID: <>
Content-Description: patch-aj
Content-Disposition: attachment; filename=patch-aj