Package: libxft-dev
Version: 2.3.2-2
Attempting to install libxft-dev for amd64 and i386 at the same time (or
any other arch for that matter) gives an error that they conflict. This
is because the "Package: libxft-dev"section of the debian/control file
does not contain "Multi-arch: same" (see
https://wiki.debian.org/MultiArch/Hints#set_Multi-Arch:_same)which says
that any duplicate files between the two different architectures is fine.
As a working example the libxfixes-dev package's control file contains
this header and does allow installing for both architectures simultaneously.
The -dev package for the two architectures include headers, libs and man
pages. I verified that both architectures install their libs in
arch-specific folders and that the headers and man pages are identical
for the two architectures (making "Multi-Arch: same" safe to use).
Barring some differences in the headers for architectures other than
amd64 and i386, it should be fine to add "Multi-Arch: same" to the
control file.
Thank You.
P.S. The same bug could be filed for libxi-dev, libxtst-dev, (these two
also affect me) and probably many of the other x dev packages. Let me
know if you want me to file separate bug reports for those.