#42358: am-utils fails to compile on Mavericks -----------------------+-------------------------------- Reporter: greeneg@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Keywords: | Port: -----------------------+-------------------------------- When building am-utils, I get the following error: {{{ :info:build /usr/bin/clang -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I/opt/local/include -pipe -Os -arch x86_64 -D_P1003_1B_VISIBLE -D_P1003_1B_VISIBLE -pipe -Os -arch x86_64 -D_P1003_1B_VISIBLE -c nfs_prot_xdr.c -o nfs_prot_xdr.o :info:build misc_rpc.c:160:33: error: too few arguments to function call, expected 3, have 2 :info:build if (!(*arg_xdr) (&msg_xdr, arg)) :info:build ~~~~~~~~~~ ^ :info:build 1 error generated. :info:build make[3]: *** [misc_rpc.lo] Error 1 :info:build make[3]: *** Waiting for unfinished jobs.... :info:build make[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_tarballs_ports_sysutils_am-utils/am-utils/work/am- utils-6.1.5/libamu' :info:build make[2]: *** [all] Error 2 :info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_tarballs_ports_sysutils_am-utils/am-utils/work/am- utils-6.1.5/libamu' :info:build make[1]: *** [all-recursive] Error 1 :info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_tarballs_ports_sysutils_am-utils/am-utils/work/am- utils-6.1.5' :info:build make: *** [all] Error 2 :info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_tarballs_ports_sysutils_am-utils/am-utils/work/am- utils-6.1.5' }}} I'm not positive, but it appears that the RPC headers in Mavericks are incomplete, since I see this further up in the configure stage: {{{ :info:configure checking rpc/xdr.h usability... no :info:configure checking rpc/xdr.h presence... yes :info:configure configure: WARNING: rpc/xdr.h: present but cannot be compiled :info:configure configure: WARNING: rpc/xdr.h: check for missing prerequisite headers? :info:configure configure: WARNING: rpc/xdr.h: see the Autoconf documentation :info:configure configure: WARNING: rpc/xdr.h: section "Present But Cannot Be Compiled" :info:configure configure: WARNING: rpc/xdr.h: proceeding with the preprocessor's result :info:configure configure: WARNING: rpc/xdr.h: in the future, the compiler will take precedence :info:configure configure: WARNING: ## ---------------------------------------------------------------------- ## :info:configure configure: WARNING: ## Report this to https://bugzilla .am-utils.org/ or am-utils@am-utils.org ## :info:configure configure: WARNING: ## ---------------------------------------------------------------------- ## :info:configure checking for rpc/xdr.h... yes }}} Any assistance on getting this to build would be appreciated. Thanks. -- Ticket URL: <https://trac.macports.org/ticket/42358> MacPorts <http://www.macports.org/> Ports system for OS X