[MacPorts] #12543: add patch to make bzr svn plugin work

MacPorts trac at macosforge.org
Sun Dec 30 02:12:19 PST 2007


#12543: add patch to make bzr svn plugin work
------------------------------------+---------------------------------------
  Reporter:  darwin at kastenbalg.org  |       Owner:  blair at orcaware.com                   
      Type:  enhancement            |      Status:  new                                  
  Priority:  Normal                 |   Milestone:  Port Enhancements                    
 Component:  ports                  |     Version:  1.6.0                                
Resolution:                         |    Keywords:  subversion-python25bindings bazaar-ng
------------------------------------+---------------------------------------
Comment (by cwalther at gmx.ch):

 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


More information about the macports-tickets mailing list