net/yafc fails to build on Leopard

Ryan Schmidt ryandesign at macports.org
Sun Oct 28 23:33:15 PDT 2007


On Oct 29, 2007, at 01:03, Adam Mercer wrote:

> The net/yafc port is failing to build on Leopard, getting the error:
>
> 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
> /opt/local/include/gssapi/gssapi.h:394: 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
> Error: Target org.macports.build returned: shell command " cd
> "/opt/local/var/macports/build/ 
> _Users_ram_opt_macports-10.5_mports_net_yafc/work/yafc-1.1"
> && make all " returned error 2
> Command output: 	then mv -f ".deps/modechange.Tpo"
> ".deps/modechange.Po"; else rm -f ".deps/modechange.Tpo"; exit 1; fi
> modechange.c: In function 'mode_compile':
> modechange.c:86: warning: passing argument 1 of 'oatoi' discards
> qualifiers from pointer target type
> 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
> bashline.o -MD -MP -MF ".deps/bashline.Tpo" -c -o bashline.o
> bashline.c; \
> 	then mv -f ".deps/bashline.Tpo" ".deps/bashline.Po"; else rm -f
> ".deps/bashline.Tpo"; exit 1; fi
> 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
> security.o -MD -MP -MF ".deps/security.Tpo" -c -o security.o
> security.c; \
> 	then mv -f ".deps/security.Tpo" ".deps/security.Po"; else rm -f
> ".deps/security.Tpo"; exit 1; fi
> 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
> krb4.o -MD -MP -MF ".deps/krb4.Tpo" -c -o krb4.o krb4.c; \
> 	then mv -f ".deps/krb4.Tpo" ".deps/krb4.Po"; else rm -f
> ".deps/krb4.Tpo"; exit 1; fi
> krb4.c: In function 'mk_auth':
> krb4.c:161: warning: passing argument 1 of 'des_key_sched' from
> incompatible pointer type
> 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
> kauth.o -MD -MP -MF ".deps/kauth.Tpo" -c -o kauth.o kauth.c; \
> 	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:119: warning: passing argument 2 of 'des_string_to_key' from
> incompatible pointer type
> kauth.c:121: warning: passing argument 1 of 'des_key_sched' from
> incompatible pointer type
> kauth.c:131: warning: passing argument 3 of 'afs_string_to_key' from
> incompatible pointer type
> kauth.c:132: warning: passing argument 1 of 'des_key_sched' from
> incompatible pointer type
> 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
> /opt/local/include/gssapi/gssapi.h:394: 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
>
> Warning: the following items did not execute (for yafc):
> org.macports.activate org.macports.build org.macports.destroot
> org.macports.install
> Error: Status 1 encountered during processing.

You should submit a bug for this problem in Trac. Unfortunately the  
port has no maintainer so someone will have to come up with a  
solution for this.




More information about the macports-users mailing list