yafc fails to build on Darwin 9 (Leopard)
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_yafc/work/yafc-1.1" && make all " returned error 2
Command output: then mv -f ".deps/kauth.Tpo" ".deps/kauth.Po"; else rm -f ".deps/kauth.Tpo"; exit 1; fi
kauth.c: In function 'cmd_kauth':
kauth.c:57: warning: 'des_cblock' is deprecated
kauth.c:58: warning: 'des_key_schedule' is deprecated
kauth.c:119: warning: 'des_string_to_key' is deprecated (declared at /usr/include/kerberosIV/des.h:190)
kauth.c:119: warning: passing argument 2 of 'des_string_to_key' from incompatible pointer type
kauth.c:121: warning: 'des_key_sched' is deprecated (declared at /usr/include/kerberosIV/des.h:167)
kauth.c:121: warning: passing argument 1 of 'des_key_sched' from incompatible pointer type
kauth.c:123: warning: 'des_pcbc_encrypt' is deprecated (declared at /usr/include/kerberosIV/des.h:173)
kauth.c:123: warning: 'des_cblock' is deprecated
kauth.c:123: warning: 'des_cblock' is deprecated
kauth.c:130: warning: 'afs_string_to_key' is deprecated (declared at /usr/include/kerberosIV/des.h:193)
kauth.c:131: warning: passing argument 3 of 'afs_string_to_key' from incompatible pointer type
kauth.c:132: warning: 'des_key_sched' is deprecated (declared at /usr/include/kerberosIV/des.h:167)
kauth.c:132: warning: passing argument 1 of 'des_key_sched' from incompatible pointer type
kauth.c:133: warning: 'des_pcbc_encrypt' is deprecated (declared at /usr/include/kerberosIV/des.h:173)
kauth.c:133: warning: 'des_cblock' is deprecated
kauth.c:133: warning: 'des_cblock' is deprecated
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I../src -I../src/ftp -I../src/libmhe -I/opt/local/include -I/opt/local/include -O2 -MT gssapi.o -MD -MP -MF ".deps/gssapi.Tpo" -c -o gssapi.o gssapi.c; \
then mv -f ".deps/gssapi.Tpo" ".deps/gssapi.Po"; else rm -f ".deps/gssapi.Tpo"; exit 1; fi
gssapi.c:44:23: error: krb5_err.h: No such file or directory
gssapi.c:75: error: static declaration of 'GSS_C_NT_HOSTBASED_SERVICE' follows non-static declaration
/usr/include/gssapi/gssapi.h:393: error: previous declaration of 'GSS_C_NT_HOSTBASED_SERVICE' was here
gssapi.c: In function 'gss_auth':
gssapi.c:288: error: 'KRB5KDC_ERR_S_PRINCIPAL_UNKNOWN' undeclared (first use in this function)
gssapi.c:288: error: (Each undeclared identifier is reported only once
gssapi.c:288: error: for each function it appears in.)
make[2]: *** [gssapi.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Is
krb5_err.h
available on Leopard? If not, addingnet/kerberos5
as a dependency might fix the problem.