← Back to team overview

touch-packages team mailing list archive

[Bug 1414438] [NEW] Incorrect version number in clang library filename.

 

Public bug reported:

File cindex.py in binary package python-clang-3.4 contains reference to
incorrect version of libclang library (3.3 instead of 3.4 as the package
name and metadata would suggest):

aurzenligl@aurzenligl-pc ~/tmp/ubuntu_bugreport $ diff -c /usr/lib/python2.7/dist-packages/clang/cindex.py cindex.corrected.py
*** /usr/lib/python2.7/dist-packages/clang/cindex.py	2015-01-25 14:38:29.277584224 +0100
--- cindex.corrected.py	2015-01-25 14:39:13.785584456 +0100
***************
*** 3358,3364 ****
          elif name == 'Windows':
              file = 'libclang.dll'
          else:
!             file = 'libclang-3.3.so'

          if Config.library_path:
              file = Config.library_path + '/' + file
--- 3358,3364 ----
          elif name == 'Windows':
              file = 'libclang.dll'
          else:
!             file = 'libclang-3.4.so'

          if Config.library_path:
              file = Config.library_path + '/' + file

** Affects: llvm-toolchain-3.4 (Ubuntu)
     Importance: Undecided
         Status: New

** Description changed:

- File cindex.py contains reference to incorrect version of libclang
- library (3.3 instead of 3.4 as the package name and metadata would
- suggest):
+ File cindex.py in binary package python-clang-3.4 contains reference to
+ incorrect version of libclang library (3.3 instead of 3.4 as the package
+ name and metadata would suggest):
  
- aurzenligl@aurzenligl-pc ~/tmp/ubuntu_bugreport $ diff -c /usr/lib/python2.7/dist-packages/clang/cindex.py cindex.corrected.py 
+ aurzenligl@aurzenligl-pc ~/tmp/ubuntu_bugreport $ diff -c /usr/lib/python2.7/dist-packages/clang/cindex.py cindex.corrected.py
  *** /usr/lib/python2.7/dist-packages/clang/cindex.py	2015-01-25 14:38:29.277584224 +0100
  --- cindex.corrected.py	2015-01-25 14:39:13.785584456 +0100
  ***************
  *** 3358,3364 ****
-           elif name == 'Windows':
-               file = 'libclang.dll'
-           else:
+           elif name == 'Windows':
+               file = 'libclang.dll'
+           else:
  !             file = 'libclang-3.3.so'
-   
-           if Config.library_path:
-               file = Config.library_path + '/' + file
+ 
+           if Config.library_path:
+               file = Config.library_path + '/' + file
  --- 3358,3364 ----
-           elif name == 'Windows':
-               file = 'libclang.dll'
-           else:
+           elif name == 'Windows':
+               file = 'libclang.dll'
+           else:
  !             file = 'libclang-3.4.so'
-   
-           if Config.library_path:
-               file = Config.library_path + '/' + file
+ 
+           if Config.library_path:
+               file = Config.library_path + '/' + file

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to llvm-toolchain-3.4 in
Ubuntu.
https://bugs.launchpad.net/bugs/1414438

Title:
  Incorrect version number in clang library filename.

Status in llvm-toolchain-3.4 package in Ubuntu:
  New

Bug description:
  File cindex.py in binary package python-clang-3.4 contains reference
  to incorrect version of libclang library (3.3 instead of 3.4 as the
  package name and metadata would suggest):

  aurzenligl@aurzenligl-pc ~/tmp/ubuntu_bugreport $ diff -c /usr/lib/python2.7/dist-packages/clang/cindex.py cindex.corrected.py
  *** /usr/lib/python2.7/dist-packages/clang/cindex.py	2015-01-25 14:38:29.277584224 +0100
  --- cindex.corrected.py	2015-01-25 14:39:13.785584456 +0100
  ***************
  *** 3358,3364 ****
            elif name == 'Windows':
                file = 'libclang.dll'
            else:
  !             file = 'libclang-3.3.so'

            if Config.library_path:
                file = Config.library_path + '/' + file
  --- 3358,3364 ----
            elif name == 'Windows':
                file = 'libclang.dll'
            else:
  !             file = 'libclang-3.4.so'

            if Config.library_path:
                file = Config.library_path + '/' + file

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/llvm-toolchain-3.4/+bug/1414438/+subscriptions


Follow ups

References