Opened 17 years ago

Closed 17 years ago

Last modified 16 years ago

#13034 closed defect (fixed)

BUG: yafc 1.1_1 fails to build on Mac OS X 10.5 Leopard

Reported by: skymoo (Adam Mercer) Owned by: skymoo (Adam Mercer)
Priority: Normal Milestone:
Component: ports Version: 1.5.0
Keywords: Cc: skymoo (Adam Mercer)
Port:

Description

net/yafc-1.1_1 fails to build on Leopard with the following 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.

Attachments (1)

yafc-darwin9.diff (1.8 KB) - added by skymoo (Adam Mercer) 17 years ago.
patch to enable building on Mac OS X 10.5 Leopard

Download all attachments as: .zip

Change History (5)

comment:1 Changed 17 years ago by ryandesign (Ryan Carsten Schmidt)

Summary: BUG: net/yafc-1.1_1 fails to build on LeopardBUG: yafc 1.1_1 fails to build on Mac OS X 10.5 Leopard

comment:2 Changed 17 years ago by skymoo (Adam Mercer)

Owner: changed from macports-dev@… to ram@…
Status: newassigned

Changed 17 years ago by skymoo (Adam Mercer)

Attachment: yafc-darwin9.diff added

patch to enable building on Mac OS X 10.5 Leopard

comment:3 Changed 17 years ago by skymoo (Adam Mercer)

Resolution: fixed
Status: assignedclosed

fixed in r31143

comment:4 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.