Blair, when I made the change it searched PATH for svn and ran that.
I think it was jberry who added a ./configure directive to hardcode
the path at configuration time, however if it can't find that path I
believe it still falls back on searching PATH for it. The only reason
it should fail to find svn for you is if you do not, in fact, have an
svn binary in your path.
I'm not sure what your `/usr/bin/true /tmp/svn` line was supposed to
do. /usr/bin/true simply returns 0 and ignores arguments.
Here's a possible solution - in $prefix/etc/ports/sources.conf, we
could have a [nosync] directive after a source to tell dportsync not
to sync it. Would that work for you?
On May 15, 2007, at 1:36 PM, James Berry wrote:
Kevin Ballard (Eridius) made this change. I know he's been thinking
about it and trying to make it work better, but I'd suggest you
enter a dialogue with him, which could end in the "feature" being
pulled or in being made to work to your (and others) satisfaction.
James.
On May 15, 2007, at 10:30 AM, Blair Zajac wrote:
And it also doesn't work if you have a MacPorts install with
everything deactivated, which I do so I can commit the binary build
into a Subversion repository (for checking out on many Mac's).
$ port -d -v selfupdate
DEBUG: Rebuilding the MacPorts base system if needed.
Synchronizing from file:///net/homedirs/blair/Code/MacPorts/dports-spi
Synchronizing from file:///net/homedirs/blair/Code/MacPorts/dports-
macports.org
DEBUG: Couldn't sync dports tree: svn command not found
while executing
"darwinports::selfupdate [array get global_options]"
Error: /opt/local/bin/port: selfupdate failed: Couldn't sync dports
tree: svn command not found
Even trying to hack it by doing this fails:
$ /usr/bin/true /tmp/svn
$ PATH=/tmp:$PATH port -d -v selfupdate
Who made these changes?
I don't see anybody working on this. Can we back out those commits
that did this until it's working fine and reach a consensus on what
its supposed to do, or even if we want it.
--
Kevin Ballard
http://kevin.sb.org
[EMAIL PROTECTED]
http://www.tildesoft.com
_______________________________________________
macports-dev mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo/macports-dev