Comment 7 for bug 1244668

Revision history for this message
Tom Dickson (8-launchpad-bombcar-com) wrote :

This happens on Mac OS X Sierra also (workaround by Chamod works if you disable SIP):

$ bzr version-info --check-clean
/usr/local/Cellar/bazaar/2.7.0/libexec/bzrlib/osutils.py:1104: RuntimeWarning: compiletime version 2.7 of module 'bzrlib._chunks_to_lines_pyx' does not match runtime version 2.6
  from bzrlib._chunks_to_lines_pyx import chunks_to_lines
bzr 2.7.0 is too new for pipeline 1.4
/usr/local/Cellar/bazaar/2.7.0/libexec/bzrlib/rio.py:378: RuntimeWarning: compiletime version 2.7 of module 'bzrlib._rio_pyx' does not match runtime version 2.6
  from bzrlib._rio_pyx import (
/usr/local/Cellar/bazaar/2.7.0/libexec/bzrlib/chk_map.py:1728: RuntimeWarning: compiletime version 2.7 of module 'bzrlib._chk_map_pyx' does not match runtime version 2.6
  from bzrlib._chk_map_pyx import (
bzr: ERROR: exceptions.ImportError: Unable to load subvertpy extensions: dlopen(/Library/Python/2.6/site-packages/subvertpy/client.so, 2): Library not loaded: /usr/lib/libsvn_client-1.0.dylib
  Referenced from: /Library/Python/2.6/site-packages/subvertpy/client.so
  Reason: image not found

Traceback (most recent call last):
  File "/usr/local/Cellar/bazaar/2.7.0/libexec/bzrlib/commands.py", line 930, in exception_to_return_code
    return the_callable(*args, **kwargs)
  File "/usr/local/Cellar/bazaar/2.7.0/libexec/bzrlib/commands.py", line 1121, in run_bzr
    ret = run(*run_argv)
  File "/usr/local/Cellar/bazaar/2.7.0/libexec/bzrlib/commands.py", line 673, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/usr/local/Cellar/bazaar/2.7.0/libexec/bzrlib/commands.py", line 697, in run
    return self._operation.run_simple(*args, **kwargs)
  File "/usr/local/Cellar/bazaar/2.7.0/libexec/bzrlib/cleanup.py", line 136, in run_simple
    self.cleanups, self.func, *args, **kwargs)
  File "/usr/local/Cellar/bazaar/2.7.0/libexec/bzrlib/cleanup.py", line 166, in _do_with_cleanups
    result = func(*args, **kwargs)
  File "/usr/local/Cellar/bazaar/2.7.0/libexec/bzrlib/cmd_version_info.py", line 138, in run
    builder.generate(self.outf)
  File "/usr/local/Cellar/bazaar/2.7.0/libexec/bzrlib/version_info_formats/format_rio.py", line 45, in generate
    hook(rev, info)
  File "/Library/Python/2.6/site-packages/bzrlib/plugins/svn/__init__.py", line 424, in update_stanza
    (uuid, branch_path, revno) = extract_svn_foreign_revid(rev)
  File "/Library/Python/2.6/site-packages/bzrlib/plugins/svn/__init__.py", line 410, in extract_svn_foreign_revid
    from bzrlib.plugins.svn.mapping import mapping_registry
  File "/Library/Python/2.6/site-packages/bzrlib/plugins/svn/mapping.py", line 23, in <module>
    from subvertpy import properties
  File "/Library/Python/2.6/site-packages/subvertpy/__init__.py", line 131, in <module>
    raise ImportError("Unable to load subvertpy extensions: %s" % e)
ImportError: Unable to load subvertpy extensions: dlopen(/Library/Python/2.6/site-packages/subvertpy/client.so, 2): Library not loaded: /usr/lib/libsvn_client-1.0.dylib
  Referenced from: /Library/Python/2.6/site-packages/subvertpy/client.so
  Reason: image not found

bzr 2.7.0 on python 2.6.9 (Darwin-16.3.0-x86_64-i386-64bit)
arguments: ['/usr/local/Cellar/bazaar/2.7.0/libexec/bzr', 'version-info',
    '--check-clean']
plugins: bash_completion[2.7.0], bzrtools[2.5.0], changelog_merge[2.7.0],
    colo[0.4.0], email[unknown], explorer[1.3.1dev], fastimport[0.14.0dev],
    git[0.6.11], grep[2.7.0], keychain[0.1.0], launchpad[2.7.0], loom[2.2.0],
    netrc_credential_store[2.7.0], news_merge[2.7.0], pipeline[1.4.0],
    po_merge[2.7.0], qbzr[0.23.1], rewrite[0.6.3], svn[1.2.2], upload[1.1.0],
    weave_fmt[2.7.0], xmloutput[0.8.8]
encoding: 'utf-8', fsenc: 'utf-8', lang: 'en_US.UTF-8'

*** Bazaar has encountered an internal error. This probably indicates a
    bug in Bazaar. You can help us fix it by filing a bug report at
        https://bugs.launchpad.net/bzr/+filebug
    including this traceback and a description of the problem.
bzr: warning: some compiled extensions could not be loaded; see <https://answers.launchpad.net/bzr/+faq/703>