Bug#772006: python-clang-3.6: wrong library version in cindex.py

Sebastian Oeste blastmaster at tuxcode.org
Thu Dec 4 10:16:15 UTC 2014


Package: python-clang-3.6
Version: 1:3.6~svn218612-1
Severity: important
Tags: patch

Dear Maintainer,

The current version of this package try to use 'libclang-3.5.so' but in this
version of the libclang library the symbol 'clang_Cursor_getMangling' does not
exists. This cause an exception at the import time of the module cindex.

I see two way's to fix this problem.
1. remove the 'clang_Cursor_GetMangling' function from the functionlist in
   cindex.py to avoid accessing the symbol.
2. change the library to 'libclang-3.6.so' where the symbol is defined.

I prefer the latter one, this works fine for me.


-- System Information:
Debian Release: 8.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages python-clang-3.6 depends on:
ii  python  2.7.8-2

python-clang-3.6 recommends no packages.

python-clang-3.6 suggests no packages.

-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: soname.patch
Type: text/x-diff
Size: 408 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-llvm-team/attachments/20141204/3584a62c/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-llvm-team/attachments/20141204/3584a62c/attachment.sig>


More information about the Pkg-llvm-team mailing list