#21755: yafc 1.1.1 build fails in OS X 10.6 Snow Lopard ---------------------------------------+------------------------------------ Reporter: ismisunderstood@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.1 Keywords: | Port: yafc ---------------------------------------+------------------------------------ After running port selfupdate; yafc does not install. yafc install fails at build stage with the following output: {{{ ---> Computing dependencies for yafc ---> Fetching yafc ---> Verifying checksum(s) for yafc ---> Extracting yafc ---> Applying patches to yafc ---> Configuring yafc ---> Building yafc 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.1" && /usr/bin/make -j2 all " returned error 2 Command output: Making all in lib if /usr/bin/gcc-4.2 -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 -arch x86_64 -MT xmalloc.o -MD -MP -MF ".deps/xmalloc.Tpo" -c -o xmalloc.o xmalloc.c; \ then mv -f ".deps/xmalloc.Tpo" ".deps/xmalloc.Po"; else rm -f ".deps/xmalloc.Tpo"; exit 1; fi if /usr/bin/gcc-4.2 -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 -arch x86_64 -MT fnmatch.o -MD -MP -MF ".deps/fnmatch.Tpo" -c -o fnmatch.o fnmatch.c; \ then mv -f ".deps/fnmatch.Tpo" ".deps/fnmatch.Po"; else rm -f ".deps/fnmatch.Tpo"; exit 1; fi if /usr/bin/gcc-4.2 -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 -arch x86_64 -MT makepath.o -MD -MP -MF ".deps/makepath.Tpo" -c -o makepath.o makepath.c; \ then mv -f ".deps/makepath.Tpo" ".deps/makepath.Po"; else rm -f ".deps/makepath.Tpo"; exit 1; fi if /usr/bin/gcc-4.2 -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 -arch x86_64 -MT base64.o -MD -MP -MF ".deps/base64.Tpo" -c -o base64.o base64.c; \ then mv -f ".deps/base64.Tpo" ".deps/base64.Po"; else rm -f ".deps/base64.Tpo"; exit 1; fi if /usr/bin/gcc-4.2 -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 -arch x86_64 -MT modechange.o -MD -MP -MF ".deps/modechange.Tpo" -c -o modechange.o modechange.c; \ 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 /usr/bin/gcc-4.2 -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 -arch x86_64 -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 /usr/bin/gcc-4.2 -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 -arch x86_64 -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 /usr/bin/gcc-4.2 -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 -arch x86_64 -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:400: 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[2]: *** Waiting for unfinished jobs.... make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 }}} -- Ticket URL: <http://trac.macports.org/ticket/21755> MacPorts <http://www.macports.org/> Ports system for Mac OS