Re: #12543: add patch to make bzr svn plugin work

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Re: #12543: add patch to make bzr svn plugin work

Calendar and Contacts Server
#12543: add patch to make bzr svn plugin work
------------------------------------+---------------------------------------
  Reporter:  [hidden email]  |       Owner:  [hidden email]                  
      Type:  enhancement            |      Status:  new                                  
  Priority:  Normal                 |   Milestone:  Port Enhancements                    
 Component:  ports                  |     Version:  1.5.0                                
Resolution:                         |    Keywords:  subversion-python25bindings bazaar-ng
------------------------------------+---------------------------------------
Comment (by [hidden email]):

 I updated this for subversion-python25bindings 1.4.6, bzr 1.0, and bzr-svn
 0.4.5, and ran into the same SWIG errors as ram above. In consequence, bzr
 complained "Installed Subversion version does not have updated Python
 bindings."

 I was able to get around this by installing swig 1.3.27 instead of 1.3.33
 (resurrecting its
 [http://trac.macports.org/projects/macports/browser/trunk/dports/devel/swig/Portfile?rev=14795
 Portfile rev. 14795]). I have not tried any other versions.

 However, trying ''bzr branch !svn+http://some/svn/repo'' now crashes with
 a ''Bus error'' before getting anything done:
 {{{
 Program received signal EXC_BAD_ACCESS, Could not access memory.
 Reason: KERN_PROTECTION_FAILURE at address: 0x00000110
 0x958e056e in sqlite3_set_auxdata ()
 (gdb) bt
 #0  0x958e056e in sqlite3_set_auxdata ()
 #1  0x9590e0b2 in sqlite3RegisterBuiltinFunctions ()
 #2  0x014e0f41 in openDatabase ()
 #3  0x016b082d in connection_init ()
 #4  0x001f4fb0 in type_call ()
 #5  0x0019eac2 in PyObject_Call ()
 #6  0x016b329f in module_connect ()
 #7  0x002332a0 in PyEval_EvalFrameEx ()
 #8  0x00234e4a in PyEval_EvalCodeEx ()
 #9  0x001c324a in function_call ()
 #10 0x0019eac2 in PyObject_Call ()
 #11 0x001a77e6 in instancemethod_call ()
 #12 0x0019eac2 in PyObject_Call ()
 #13 0x001f2907 in slot_tp_init ()
 #14 0x001f4fb0 in type_call ()
 #15 0x0019eac2 in PyObject_Call ()
 #16 0x0023179f in PyEval_EvalFrameEx ()
 #17 0x00233ffb in PyEval_EvalFrameEx ()
 #18 0x00234e4a in PyEval_EvalCodeEx ()
 #19 0x00232fda in PyEval_EvalFrameEx ()
 #20 0x00234e4a in PyEval_EvalCodeEx ()
 #21 0x00232fda in PyEval_EvalFrameEx ()
 #22 0x00234e4a in PyEval_EvalCodeEx ()
 #23 0x001c324a in function_call ()
 #24 0x0019eac2 in PyObject_Call ()
 #25 0x00231435 in PyEval_EvalFrameEx ()
 #26 0x00234e4a in PyEval_EvalCodeEx ()
 #27 0x001c324a in function_call ()
 #28 0x0019eac2 in PyObject_Call ()
 #29 0x00231435 in PyEval_EvalFrameEx ()
 #30 0x00233ffb in PyEval_EvalFrameEx ()
 #31 0x00233ffb in PyEval_EvalFrameEx ()
 #32 0x00233ffb in PyEval_EvalFrameEx ()
 #33 0x00234e4a in PyEval_EvalCodeEx ()
 #34 0x00234f57 in PyEval_EvalCode ()
 #35 0x00258db7 in PyRun_FileExFlags ()
 #36 0x00259163 in PyRun_SimpleFileExFlags ()
 #37 0x002678c8 in Py_Main ()
 #38 0x00001f7c in _start ()
 #39 0x00001ea9 in start ()
 }}}

 I have
 {{{
 buia:~ cwalther$ port installed | grep sqlite
   py25-sqlite3 @2.5.1_1 (active)
   sqlite3 @3.5.4_0 (active)
 }}}

--
Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/12543#comment:9>
MacPorts </projects/macports>
Ports system for Mac OS
_______________________________________________
macports-tickets mailing list
[hidden email]
http://lists.macosforge.org/mailman/listinfo/macports-tickets
Reply | Threaded
Open this post in threaded view
|

Re: #12543: add patch to make bzr svn plugin work

Calendar and Contacts Server
#12543: add patch to make bzr svn plugin work
------------------------------------+---------------------------------------
  Reporter:  [hidden email]  |       Owner:  [hidden email]                  
      Type:  enhancement            |      Status:  new                                  
  Priority:  Normal                 |   Milestone:  Port Enhancements                    
 Component:  ports                  |     Version:  1.6.0                                
Resolution:                         |    Keywords:  subversion-python25bindings bazaar-ng
------------------------------------+---------------------------------------
Changes (by [hidden email]):

  * version:  1.5.0 => 1.6.0

Comment:

 Could you report this on the bzr mailing list <[hidden email]>
 as they may be able to shed some light?

--
Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/12543#comment:10>
MacPorts </projects/macports>
Ports system for Mac OS
_______________________________________________
macports-tickets mailing list
[hidden email]
http://lists.macosforge.org/mailman/listinfo/macports-tickets
Reply | Threaded
Open this post in threaded view
|

Re: #12543: add patch to make bzr svn plugin work

Calendar and Contacts Server
In reply to this post by Calendar and Contacts Server
#12543: add patch to make bzr svn plugin work
------------------------------------+---------------------------------------
  Reporter:  [hidden email]  |       Owner:  [hidden email]                  
      Type:  enhancement            |      Status:  new                                  
  Priority:  Normal                 |   Milestone:  Port Enhancements                    
 Component:  ports                  |     Version:  1.6.0                                
Resolution:                         |    Keywords:  subversion-python25bindings bazaar-ng
------------------------------------+---------------------------------------
Comment (by [hidden email]):

 I'm not sure this is a problem in bzr.

 Here's what I found out so far:

 I uninstalled py25-sqlite3 from MacPorts and tried installing pysqlite
 2.4.0 from source. However, this gave me the same crash. What I noticed is
 that stack frames !#0 and !#1 in the backtrace above come from
 /usr/lib/libsqlite3.0.dylib, while !#2 comes from
 /opt/local/lib/libsqlite3.0.8.6.dylib. So it seems that somehow the Apple
 and MacPorts versions of libsqlite3 get mixed up. I haven't been able to
 find out where the reference to /usr/lib/libsqlite3.0.dylib comes from,
 'otool -L /opt/local/lib/python2.5/site-packages/pysqlite2/_sqlite.so'
 confirms that it's linked only against
 /opt/local/lib/libsqlite3.0.8.6.dylib, and likewise for all other python
 modules I could find.

 I then tried 'port deactivate sqlite3' before building pysqlite 2.4.0 and
 reactivting it afterwards to force the module to be linked against
 /usr/lib/libsqlite3.0.dylib. This worked, and got me a working bzr-svn.

--
Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/12543#comment:11>
MacPorts </projects/macports>
Ports system for Mac OS
_______________________________________________
macports-tickets mailing list
[hidden email]
http://lists.macosforge.org/mailman/listinfo/macports-tickets