#33061: ccl 1.7.1 fails to build on OS X Lion --------------------------------------+------------------------------------- Reporter: gary.verhaegen@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: ccl --------------------------------------+------------------------------------- See attached log. The problem seems to be the following line in the Makefile: {{{ SVN_REVISION=$(shell svnversion || echo "unknown") }}} which outputs {{{Unversioned directory}}} instead of a revision number. As that is two words, when the compilation command is later assembled, the option {{{-DSVN_REVISION=Unversioned directory}}} is incorrectly parsed and the compilation aborts due to the not-found {{{directory}}} file. See the numerous {{{i686-apple-darwin11-llvm-gcc-4.2: directory: No such file or directory}}} lines in the log. ---- Another small problem is that in cases such as this one, when the build does not work, it is not possible to try it again, as it looks like the build script removes the bootstrapping executables whether or not it successfully rebuilt them. ---- I tried to change the Makefile in {{{ccl/lisp-kernel/darwinx8664}}} to include quotes around the {{{SVN_REVISION}}} variable declaration, but that only changed the error message to {{{directory"}}} not found, so I instead tried replacing it directly by {{{unknown}}}, giving {{{ SVN_REVISION=unkown }}} in the {{{Makefile}}} did allow it to compile and finish the installation. And it looks like it's working. -- Ticket URL: <https://trac.macports.org/ticket/33061> MacPorts <http://www.macports.org/> Ports system for Mac OS