Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#1736 closed Defect (Invalid)

Port Mapper Framework Build Fails (Non-Blocking)

Reported by: cmiller Owned by: timothy
Component: Colloquy (Mac) Version: Local Build
Severity: Normal Keywords:


The new Port Mapper framework fails to build on OS X 10.5 with the CollabNet? release of Subversion installed. It errors out on the "Versioning" build script with the following output:

/Users/cmiller/Code/Colloquy/Frameworks/PortMapper/../../build/Port No Subversion revision found at /Users/cmiller/Code/Colloquy/Frameworks/PortMapper/../../build/Port line 17.

A copy of the script is here for reference purposes:

#!/usr/bin/perl -w
# Xcode auto-versioning script for Subversion
# by Axel Andersson, modified by Daniel Jalkut to add
# "--revision HEAD" to the svn info line, which allows
# the latest revision to always be used.
use strict;
die "$0: Must be run from Xcode" unless $ENV{"BUILT_PRODUCTS_DIR"};
# Get the current subversion revision number and use it to set the CFBundleVersion value
my $REV = `export PATH=\$PATH:/usr/local/bin;/usr/bin/env svnversion -n ./`;
my $INFO = "$ENV{BUILT_PRODUCTS_DIR}/$ENV{WRAPPER_NAME}/Resources/Info.plist";
my $version = $REV;
$version =~ s/([\d]*:)(\d+[M|S]*).*/$2/;
die "$0: No Subversion revision found" unless $version;
open(FH, "$INFO") or die "$0: $INFO: $!";
my $info = join("", <FH>);
$info =~ s/([\t ]+<key>BuildRevision<\/key>\n[\t ]+<string>).*?(<\/string>)/$1$version$2/;
open(FH, ">$INFO") or die "$0: $INFO: $!";
print FH $info;

My version of SVN is:

cmiller@cmiller-laptop:~/bin% svn --version                        12:12AM [60]
svn, version 1.6.3 (r38063)
   compiled Jun 23 2009, 16:38:16

Copyright (C) 2000-2009 CollabNet.
Subversion is open source software, see
This product includes software developed by CollabNet (http://www.Collab.Net/).

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

This does not prevent the application from building a working binary, but it is bloody annoying to have an error when I build. If the individual who made the mess could clean it up, that'd be absolutely fantastic.

Change History (2)

comment:1 Changed 11 years ago by zach

  • Resolution set to invalid
  • Status changed from new to closed

Problem with the script, not Colloquy.

comment:2 Changed 11 years ago by cmiller

For future reference this ONLY HAPPENS if your version of Subversion is NOT what shipped with OS X AND if there are two versions of subversion fighting for precedence on your PATH. Otherwise this won't happen.

Note: See TracTickets for help on using tickets.