Bug#838238: libclang1-3.6 shouldn't be Multi-Arch: same

Joe Crayne oh.hello.joe at gmail.com
Sun Sep 18 20:11:25 UTC 2016


Package: libclang1-3.6
Version: 1:3.6.2-3

This package installs the following problematic symlink:

/usr/lib/llvm-3.6/lib/libclang-3.6.so.1 ->
../../x86_64-linux-gnu/libclang-3.6.so.1

This is an architecture-specific file installed to an
architecture-independent path.  Either the installation paths should be
changed, or the Multi-Arch: same header should be replaced with Multi-Arch:
no.

Here is the result of trying to co-install i386 with amd64 variants of the
package:

# apt-get install libclang1-3.6:i386
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
  libclang1-3.6:i386
0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
Need to get 0 B/4,174 kB of archives.
After this operation, 14.4 MB of additional disk space will be used.
(Reading database ... 633354 files and directories currently installed.)
Preparing to unpack .../libclang1-3.6_1%3a3.6.2-3_i386.deb ...
Unpacking libclang1-3.6:i386 (1:3.6.2-3) ...
dpkg: error processing archive
/var/cache/apt/archives/libclang1-3.6_1%3a3.6.2-3_i386.deb (--unpack):
 trying to overwrite shared '/usr/lib/llvm-3.6/lib/libclang-3.6.so.1',
which is different from other instances of package libclang1-3.6:i386
Errors were encountered while processing:
 /var/cache/apt/archives/libclang1-3.6_1%3a3.6.2-3_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-llvm-team/attachments/20160918/f1136e8f/attachment.html>


More information about the Pkg-llvm-team mailing list