[MacPorts] #20760: MacPorts-1.8.0-rc1: build from tar ball fails to install on Tiger if default source is a local directory maintained with svn
MacPorts
noreply at macports.org
Fri Aug 21 13:30:43 PDT 2009
#20760: MacPorts-1.8.0-rc1: build from tar ball fails to install on Tiger if
default source is a local directory maintained with svn
---------------------------------+------------------------------------------
Reporter: devans@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone: MacPorts 1.8.1
Component: ports | Version: 1.8.0
Keywords: | Port:
---------------------------------+------------------------------------------
Situation:
{{{
Mac OS X 10.4.11 ppc
Xcode 2.5
Upgrading from 1.7.1 using tarball
Default prefix (/opt/local)
}}}
/opt/local/etc/macports/sources.conf contains:
{{{
file:///opt/macports/trunk/dports/ [default]
}}}
which refers to a svn working directory copy of the
trunk port repository
Installation using defaults as follows:
{{{
cd MacPorts-1.8.0-rc1
./configure
make
sudo make install
}}}
make install fails as follows:
{{{
/usr/local/bin/tclsh src/upgrade_sources_conf_default.tcl /opt/local
couldn't execute "svn": no such file or directory
while executing
"while {[gets $sourcesConfChannel line] >= 0} {
set addDefault false
if {!$defaultSeen && ![regexp {^\s*#|^$} $line]} {
if {[regexp {^([\w-..."
(file "src/upgrade_sources_conf_default.tcl" line 34)
make: *** [install] Error 1
}}}
Tiger doesn't come with svn installed in the system directories but
/opt/local/bin/svn is installed from the previous version of Mac Ports but
it's not in the installer's path.
I worked around this by commenting out the svn based source
in sources.conf (install warned it couldn't find a default repository but
didn't fail) and then re-enabling it after installation was complete.
--
Ticket URL: <http://trac.macports.org/ticket/20760>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list