#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: snowleopard | Port: yafc ---------------------------------------+------------------------------------ Comment(by levity@…): There is a patch for this bug, which was also reported on Leopard as #13034. You can apply that patch to Snow Leopard if you edit the port file ({{{/opt/local/var/macports/sources/rsync.macports.org/release/ports/net/yafc/Portfile}}} on my system) by changing "platform darwin 9" near the bottom of the file to "platform darwin 10", or by copying the whole block. However, then I get a different error: {{{ ---> 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: [snip...] if /usr/bin/gcc-4.2 -DSYSCONFDIR=\"/opt/local/etc\" -DHAVE_CONFIG_H -I. -I. -I.. -I. -I.. -I. -I../lib -I../src/ftp -I../src/libmhe -I/opt/local/include -I/opt/local/include -O2 -arch x86_64 -MT utils.o -MD -MP -MF ".deps/utils.Tpo" -c -o utils.o utils.c; \ then mv -f ".deps/utils.Tpo" ".deps/utils.Po"; else rm -f ".deps/utils.Tpo"; exit 1; fi utils.c: In function 'invoke_shell': utils.c:210: warning: missing sentinel in function call utils.c:214: warning: missing sentinel in function call /bin/sh ../libtool --mode=link --tag=CC /usr/bin/gcc-4.2 -O2 -arch x86_64 -L/opt/local/lib -L/opt/local/lib -o yafc main.o alias.o cmd.o commands.o completion.o get.o fxp.o gvars.o lglob.o help.o input.o local.o login.o list.o put.o rm.o tag.o redir.o prompt.o transfer.o rc.o set.o ltag.o bookmark.o utils.o ftp/libftp.a libmhe/libmhe.a ../lib/libfoo.a -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lreadline -lncurses mkdir .libs /usr/bin/gcc-4.2 -O2 -arch x86_64 -o yafc main.o alias.o cmd.o commands.o completion.o get.o fxp.o gvars.o lglob.o help.o input.o local.o login.o list.o put.o rm.o tag.o redir.o prompt.o transfer.o rc.o set.o ltag.o bookmark.o utils.o -L/opt/local/lib ftp/libftp.a libmhe/libmhe.a ../lib/libfoo.a -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lreadline -lncurses Undefined symbols: "_des_read_pw_string", referenced from: _getpass_hook in input.o ld: symbol(s) not found collect2: ld returned 1 exit status make[4]: *** [yafc] Error 1 make[3]: *** [all-recursive] Error 1 make[2]: *** [all] Error 2 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 }}} -- Ticket URL: <http://trac.macports.org/ticket/21755#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS