[MacPorts] #33061: ccl 1.7.1 fails to build on OS X Lion
#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
#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 --------------------------------------+------------------------------------- Changes (by macsforever2000@…): * cc: openmaintainer@… (removed) Comment: It is not useful to Cc openmaintainer. -- Ticket URL: <https://trac.macports.org/ticket/33061#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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 --------------------------------------+------------------------------------- Comment(by ryandesign@…): This problem is occurring because you're using Subversion 1.7 or greater; in Subversion 1.6.x and earlier, `svnversion` gave the single-word "exported" response for unversioned directories. -- Ticket URL: <https://trac.macports.org/ticket/33061#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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 --------------------------------------+------------------------------------- Comment(by gary.verhaegen@…): Replying to [comment:2 ryandesign@…]:
This problem is occurring because you're using Subversion 1.7 or greater; in Subversion 1.6.x and earlier, `svnversion` gave the single- word "exported" response for unversioned directories.
Indeed - I should have thought about writing the full versions of the relevant softwares. {{{ $ svn --version svn, version 1.7.2 (r1207936) compiled Jan 24 2012, 23:41:52 Copyright (C) 2011 The Apache Software Foundation. This software consists of contributions made by many people; see the NOTICE file for more information. Subversion is open source software, see http://subversion.apache.org/ The following repository access (RA) modules are available: * ra_neon : Module for accessing a repository via WebDAV protocol using Neon. - handles 'http' scheme - handles 'https' scheme * ra_svn : Module for accessing a repository using the svn network protocol. - with Cyrus SASL authentication - handles 'svn' scheme * ra_local : Module for accessing a repository on local disk. - handles 'file' scheme * ra_serf : Module for accessing a repository via WebDAV protocol using serf. - handles 'http' scheme - handles 'https' scheme }}} -- Ticket URL: <https://trac.macports.org/ticket/33061#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33061: ccl 1.7.1 fails to build on OS X Lion ---------------------------------------+------------------------------------ Reporter: gary.verhaegen@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: fixed | Keywords: Port: ccl | ---------------------------------------+------------------------------------ Changes (by jmr@…): * status: new => closed * resolution: => fixed Comment: 1.8 seems to build OK. -- Ticket URL: <https://trac.macports.org/ticket/33061#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts