#18752: libiconv fails to build because configure.cc not set --------------------------------------+------------------------------------- Reporter: dale+macports@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: libiconv --------------------------------------+------------------------------------- When trying to `port -f upgrade libiconv`: {{{ Warning: Group file could not be located. Warning: Group file could not be located. ---> Fetching libiconv ---> Verifying checksum(s) for libiconv ---> Extracting libiconv ---> Applying patches to libiconv ---> Configuring libiconv ---> Building libiconv 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_textproc_libiconv/work/libiconv-1.12" && make CC= -f Makefile.devel && make -j3 all " returned error 2 Command output: O lib/genaliases.c -o genaliases make: O: Command not found make: [lib/aliases.h] Error 127 (ignored) ./genaliases > lib/aliases.gperf 3> canonical.sh 4> canonical_local.sh /bin/sh: ./genaliases: No such file or directory make: *** [lib/aliases.h] Error 127 Error: Unable to upgrade port: 1 }}} Note `CC=` with no value. I know next to nothing about MacPorts, but I suspect this error occurs because the Portfile uses `${configure.cc}` in a place where it is not set. The attached patch applied to the Portfile allows me to rebuild libiconv successfully. -- Ticket URL: <http://trac.macports.org/ticket/18752> MacPorts <http://www.macports.org/> Ports system for Mac OS