Problems getting things to work on Mac OS X

Bug #71266 reported by Michael Conrad Tadpol Tilstra
2
Affects Status Importance Assigned to Milestone
Bazaar Subversion Plugin
Invalid
Undecided
Unassigned
subversion
New
Undecided
Unassigned

Bug Description

OS version is 10.4.8, XCode is 2.4.1, using macports. Wrote custom portfiles for: bazaar-ng 0.12, subversion 1.4.2 with patches from debian, and subversion-pythonbindings 1.4.2 with same patches from debian. All other dependancies came from default portfiles.

Then branched bzr.svn from http://people.samba.org/bzr/jelmer/bzr-svn/bzr.dev

running bzr selftest svn, fails, errors all look something like:

======================================================================
ERROR: test_working_inventory (bzrlib.plugins.svn.tests.test_workingtree.TestWorkingTree)

vvvv[log from bzrlib.plugins.svn.tests.test_workingtree.TestWorkingTree.test_working_inventory]
opening SVN RA connection to 'file:///Users/tadpol/test0000.tmp/bzrlib.plugins.svn.tests.test_workingtree.TestWorkingTree.test_working_inventory/work/a'

^^^^[log from bzrlib.plugins.svn.tests.test_workingtree.TestWorkingTree.test_working_inventory]
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/tadpol/.bazaar/plugins/svn/tests/test_workingtree.py", line 177, in test_working_inventory
    self.make_client_and_bzrdir('a', 'dc')
  File "/Users/tadpol/.bazaar/plugins/svn/tests/__init__.py", line 170, in make_client_and_bzrdir
    return BzrDir.open("svn+%s" % repos_url)
  File "/opt/local/lib/python2.4/site-packages/bzrlib/bzrdir.py", line 494, in open
    t = get_transport(base)
  File "/opt/local/lib/python2.4/site-packages/bzrlib/transport/__init__.py", line 1036, in get_transport
    t, last_err = _try_transport_factories(base, factory_list)
  File "/opt/local/lib/python2.4/site-packages/bzrlib/transport/__init__.py", line 1052, in _try_transport_factories
    return factory(base), None
  File "/Users/tadpol/.bazaar/plugins/svn/transport.py", line 108, in __init__
    self.ra = svn.ra.open2(self.svn_url.encode('utf8'), self.callbacks, svn_config, None)
  File "/opt/local/lib/svn-python/libsvn/ra.py", line 350, in svn_ra_open2
    return apply(_ra.svn_ra_open2, args)
TypeError: argument number 3: a 'void *' is expected, 'instance(<libsvn.core.apr_hash_tPtr; proxy of C apr_hash_t instance at _018eb450_p_apr_hash_t>)' is received
======================================================================

Revision history for this message
Michael Conrad Tadpol Tilstra (tadpol) wrote :

So the above backtrace is a bit wrong.

I learned that debian and ubuntu package patches are nested patches. Just applying the patch doesn't do any good, because it just created a directory with lots of stuff. Including the patches I thought I was applying the first time around. Right. stopped trying to do things that way.

Also, I'm pretty sure that getting this plugin working is mostly getting subversion patched right for the python bindings.

So I ended up starting with the patch from: http://librarian.launchpad.net/3263702/python-fixes.patch and getting that to apply to svn 1.4.2. but now when I run make check-swig-py, python drops core. It is doing this in the client tests.

just sorta an update, i guess. If someone wants the patch I'm working with, let me know.

Revision history for this message
Michael Conrad Tadpol Tilstra (tadpol) wrote :

The backtrace of the cored python.

Revision history for this message
Jelmer Vernooij (jelmer) wrote : Re: [Bug 71266] Re: Problems getting things to work on Mac OS X

Reassigning to Subversion, as this is not actually a bzr-svn problem but
with one of its dependencies.

  affects /products/subversion

Jelmer Vernooij (jelmer)
Changed in bzr-svn:
status: Unconfirmed → Rejected
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.