Opened 12 years ago

Closed 12 years ago

#33061 closed defect (fixed)

ccl 1.7.1 fails to build on OS X Lion

Reported by: gary.verhaegen@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: Cc: gwright@…, easye, user-macports.org-trac-20110213@…
Port: ccl

Description

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.

Attachments (1)

main.log (190.7 KB) - added by gary.verhaegen@… 12 years ago.

Download all attachments as: .zip

Change History (6)

Changed 12 years ago by gary.verhaegen@…

Attachment: main.log added

comment:1 Changed 12 years ago by mf2k (Frank Schima)

Cc: openmaintainer@… removed

It is not useful to Cc openmaintainer.

comment:2 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

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.

comment:3 in reply to:  2 Changed 12 years ago by gary.verhaegen@…

Replying to 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

comment:4 Changed 12 years ago by user-macports.org-trac-20110213@…

Cc: user-macports.org-trac-20110213@… added

Cc Me!

comment:5 Changed 12 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed

1.8 seems to build OK.

Note: See TracTickets for help on using tickets.