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
--- cindex.py	2014-12-03 22:36:52.000000000 +0100
+++ /usr/lib/python2.7/dist-packages/clang/cindex.py	2014-12-02 11:33:45.819870140 +0100
@@ -3457,7 +3457,7 @@
         elif name == 'Windows':
             file = 'libclang.dll'
         else:
-            file = 'libclang-3.5.so'
+            file = 'libclang-3.6.so'
 
         if Config.library_path:
             file = Config.library_path + '/' + file

Attachment: signature.asc
Description: Digital signature

Reply via email to