Subject: netatalk: SLP must be disabled if Avahi is enabled Package: netatalk Version: 2.0.3-7 Severity: important Justification: fails to build from source
*** Please type your report below this line *** With the new Avahi patch, the file afp_config.c will fail to build if libslp-dev is installed due to conflicting ifdefs (USE_SRVLOC and USE_ZEROCONF). 107_afpd-zeroconf.patch should either be modified so that this conflict does not occur or srvloc should be explicitly disabled in the configure. Here is the compiler output that included the relevant line numbers: g -Wall -O2 -I../../sys -D_REENTRANT -D_PATH_AFPDDEFVOL=\"/etc/netatalk/AppleVolumes.default\" -D_PATH_AFPDSYSVOL=\"/etc/netatalk/AppleVolumes.system\" -D_PATH_AFPDPWFILE=\"/etc/netatalk/afppasswd\" -D_PATH_AFPDCONF=\"/etc/netatalk/afpd.conf\" -D_PATH_AFPDUAMPATH=\"/usr/lib/netatalk/\" -DAPPLCNAME -DSERVERTEXT=\"/etc/netatalk/msg/\" -c afp_config.c In file included from afp_config.c:54: afp_zeroconf.h:40:8: warning: extra tokens at end of #endif directive afp_config.c: In function 'srvloc_encode': afp_config.c:124: warning: pointer targets in assignment differ in signedness afp_config.c: In function 'DSIConfigInit': afp_config.c:372: error: redeclaration of 'afpovertcp' with no linkage afp_config.c:366: error: previous declaration of 'afpovertcp' was here afp_config.c:373: error: redefinition of 'afp_port' afp_config.c:367: error: previous definition of 'afp_port' was here afp_config.c:374: error: redeclaration of 'hostname' with no linkage afp_config.c:368: error: previous declaration of 'hostname' was here make[4]: *** [afp_config.o] Error 1 -- System Information: Debian Release: lenny/sid Architecture: armel (armv5tejl) Kernel: Linux 2.6.16.57 Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages netatalk depends on: ii cracklib2 2.7-19 pro-active password checker librar ii libc6 2.7-5 GNU C Library: Shared libraries ii libcomerr2 1.40.3-1 common error description library ii libcupsys2 1.3.5-1 Common UNIX Printing System(tm) - ii libdb4.2 4.2.52+dfsg-4 Berkeley v4.2 Database Libraries [ ii libgcc1 1:4.2.2-5 GCC support library ii libgcrypt11 1.4.0-2 LGPL Crypto library - runtime libr ii libgnutls13 2.0.4-1 the GNU TLS library - runtime libr ii libgpg-error0 1.4-2 library for common error values an ii libkrb53 1.6.dfsg.3~beta1-2 MIT Kerberos runtime libraries ii libpam-modules 0.99.7.1-5 Pluggable Authentication Modules f ii libpam-runtime 0.99.7.1-5 Runtime support for the PAM librar ii libpam0g 0.99.7.1-5 Pluggable Authentication Modules l ii libslp1 1.2.1-7.1 OpenSLP libraries ii libssl0.9.8 0.9.8g-3 SSL shared libraries ii libtasn1-3 1.2-1 Manage ASN.1 structures (runtime) ii libwrap0 7.6.dbs-14 Wietse Venema's TCP wrappers libra ii netbase 4.30 Basic TCP/IP networking system ii perl 5.8.8-12 Larry Wall's Practical Extraction ii zlib1g 1:1.2.3.3.dfsg-8 compression library - runtime Versions of packages netatalk recommends: ii db4.2-util 4.2.52+dfsg-4 Berkeley v4.2 Database Utilities ii lsof 4.78.dfsg.1-3 List open files ii rc 1.7.1-3 an implementation of the AT&T Plan ii slpd 1.2.1-7.1 OpenSLP Server (slpd)