#16112: hfsrsync port fails to build -------------------------------+-------------------------------------------- Reporter: david@rothlis.net | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.6.0 Keywords: | -------------------------------+-------------------------------------------- $ sudo port build hfsrsync Password: ---> Fetching hfsrsync ---> Attempting to fetch rsync-2.5.5.hfs.tgz from http://archive.macosxlabs.org/rsyncx/ ---> Verifying checksum(s) for hfsrsync ---> Extracting hfsrsync ---> Configuring hfsrsync ---> Building hfsrsync with target all 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_hfsrsync/work/rsync-2.5.5.hfs" && make all " returned error 2 Command output: log.c: In function 'log_transfer': log.c:574: warning: unused parameter 'file' /usr/bin/gcc-4.0 -I. -I. -O2 -DHAVE_CONFIG_H -Wall -W -c backup.c -o backup.o /usr/bin/gcc-4.0 -I. -I. -O2 -DHAVE_CONFIG_H -Wall -W -c options.c -o options.o options.c:23:18: error: popt.h: No such file or directory options.c:325: error: array type has incomplete element type options.c:327: error: 'POPT_ARG_NONE' undeclared here (not in a function) options.c:328: error: 'POPT_ARG_STRING' undeclared here (not in a function) options.c:333: error: 'POPT_ARG_INT' undeclared here (not in a function) options.c: In function 'parse_arguments': options.c:482: error: 'poptContext' undeclared (first use in this function) options.c:482: error: (Each undeclared identifier is reported only once options.c:482: error: for each function it appears in.) options.c:482: error: parse error before 'pc' options.c:488: error: 'pc' undeclared (first use in this function) options.c:488: warning: implicit declaration of function 'poptGetContext' options.c:490: warning: implicit declaration of function 'poptGetNextOpt' options.c:516: warning: implicit declaration of function 'poptGetOptArg' options.c:516: warning: passing argument 1 of 'add_exclude' makes pointer from integer without a cast options.c:520: warning: passing argument 1 of 'add_exclude' makes pointer from integer without a cast options.c:524: warning: passing argument 1 of 'add_exclude_file' makes pointer from integer without a cast options.c:528: warning: passing argument 1 of 'add_exclude_file' makes pointer from integer without a cast options.c:651: warning: implicit declaration of function 'poptBadOption' options.c:651: error: 'POPT_BADOPTION_NOALIAS' undeclared (first use in this function) options.c:652: warning: implicit declaration of function 'poptStrerror' options.c:652: warning: format '%s' expects type 'char *', but argument 5 has type 'int' options.c:652: warning: format '%s' expects type 'char *', but argument 6 has type 'int' options.c:673: warning: implicit declaration of function 'poptGetArgs' options.c:673: warning: assignment makes pointer from integer without a cast make: *** [options.o] Error 1 Error: Status 1 encountered during processing. -- Ticket URL: <http://trac.macports.org/ticket/16112> MacPorts <http://www.macports.org/> Ports system for Mac OS