Subject: Re: Netatalk 1.6.2 locking errors on -current?
To: Frederick Bruckman <fredb@immanent.net>
From: Hauke Fath <hauke@Espresso.Rhein-Neckar.DE>
List: tech-pkg
Date: 09/28/2003 21:37:51
At 20:29 Uhr -0500 27.9.2003, Frederick Bruckman wrote:
>On Sun, 28 Sep 2003, Hauke Fath wrote:
>
>> I upgraded a 1.5.3 package to 1.6.2, and as a result got locking errors
>> (-54) on any access from Macintosh System 7.6.1 and 9.2.1 clients. Going
>> back to the 1.5.5 package for NetBSD 1.6.1 made the problem go away.
>
>It looks like netatalk is up to 1.6.3, and one of the bugs fixed is in
>AFP negotation. Worth a shot?

As fast as my ss2 can shoot.  ;)

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

[...]

| #include <mount.h>
configure:9807: result: no
configure:9843: checking for mount.h
configure:9850: result: no
configure:9735: checking sys/mount.h usability
configure:9748: cc -c -O2 -mcpu=v7 -mtune=v7 -I/usr/pkg/include
-I/usr/pkg/include conftest
.c >&5
In file included from /usr/include/sys/mount.h:43,
                 from configure:9813:
/usr/include/sys/ucred.h:47: error: `NGROUPS' undeclared here (not in a
function)
/usr/include/sys/ucred.h:55: error: `NGROUPS' undeclared here (not in a
function)
configure:9751: $? = 1
configure: failed program was:
| #line 9738 "configure"
| /* confdefs.h.  */

[...]

| #include <sys/mount.h>
configure:9767: result: no
configure:9771: checking sys/mount.h presence
configure:9782: cc -E   -I/usr/pkg/include conftest.c
configure:9788: $? = 0
configure:9807: result: yes
configure:9827: WARNING: sys/mount.h: present but cannot be compiled
configure:9829: WARNING: sys/mount.h: check for missing prerequisite headers?
configure:9831: WARNING: sys/mount.h: proceeding with the preprocessor's result
configure:9843: checking for sys/mount.h
configure:9850: result: yes
configure:9735: checking statfs.h usability
configure:9748: cc -c -O2 -mcpu=v7 -mtune=v7 -I/usr/pkg/include
-I/usr/pkg/include conftest
.c >&5
configure:9814:20: statfs.h: No such file or directory
configure:9751: $? = 1
configure: failed program was:
| #line 9738 "configure"
| /* confdefs.h.  */

-- FWIW, I saw this during the build of the 1.6.2 package, too.

	hauke


N.B. Uhh - not that easy. Lost in a maze of autoconf, buildlink & friends...

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...

Updated files for the package are in http://la.causeuse.org/hauke/NetBSD/netatalk-163-pkg.tgz
Any ideas?

	hauke

--
/~\  The ASCII Ribbon Campaign
\ /    No HTML/RTF in email
 X     No Word docs in email
/ \  Respect for open standards