Bug#829441: Package cant be installed for multiple archs (eg. amd64 and i386)

Norbert Lange nolange79 at gmail.com
Sun Jul 3 11:01:14 UTC 2016


Package: libclang-common-3.8-dev
Version: 1:3.8.1-2

Hello,

this is a continuation of Bug Report 771380 (since I dont think it
will be fixed back there).
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=771380
The issue is that you can only install 1 architecture version of the
libraries, producing an i386 executable with sanitizer or rt library
would need the i386 version installed - this is not possible, atleast
nor as long the amd64 version is installed.
The solution is to split up the architecture-dependend files into a
own package and set the multiarch flags correctly.

I did a patch to demonstrate this, I am sure you might find better names.

Thus, installing clang with the i386 libraries could be done simpy by:
apt-get install clang-3.8 libclang-common-3.8-dev:i386

Kind Regards,
Norbert
-------------- next part --------------
A non-text attachment was scrubbed...
Name: common_multiarch.patch
Type: text/x-patch
Size: 6453 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-llvm-team/attachments/20160703/843f39e3/attachment-0001.bin>


More information about the Pkg-llvm-team mailing list