Discussion:
Bug#915027: libxft-dev should be installable for multiple architectures simultaneously
Davy Durham
2018-11-29 16:16:25 UTC
Permalink
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.
Sven Joachim
2018-11-29 17:08:46 UTC
Permalink
Control: tags -1 unreproducible
Post by Davy Durham
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.
Not for me, I can coinstall libxft-dev:amd64 and libxft-dev:i386 just
fine.
Post by Davy Durham
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.
That's already the case:

,----
| $ aptitude show libxft-dev | grep -E Multi-Arch
| Multi-Arch: same
`----
Post by Davy Durham
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.
Most definitely not, libxi-dev and libxtst-dev are also already
"Multi-Arch: same".

My hunch is that you are running unstable and there might be a version
skew for some dependency package (libc6-dev, maybe?) which prevents you
from installing both libxft-dev:amd64 and libxft-dev:i386. If that is
the case, please retry after the next mirror push.

Cheers,
Sven
Debian Bug Tracking System
2018-11-29 17:09:07 UTC
Permalink
Post by Sven Joachim
tags -1 unreproducible
Bug #915027 [libxft-dev] libxft-dev should be installable for multiple architectures simultaneously
Added tag(s) unreproducible.
--
915027: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=915027
Debian Bug Tracking System
Contact ***@bugs.debian.org with problems
Davy Durham
2018-11-29 23:05:36 UTC
Permalink
To be completely transparent, I did this on Ubuntu 16.04, but the
package has not been changed significantly that I can see.  So, that's odd

I got the error when running "apt-get install libxft-dev:i386
libxft-dev:amd64" which gives the conflict error.  If I run "dpkg -i
libxft-dev_2.3.2-1_amd64.deb libxft-dev_2.3.2-1_i386.deb" it will look
like it installs both, but the install of i386 silently replaces the
amd64, and running a dpkg --list would show only i386 as installed.

That's probably basic for you, but that is what I am seeing. Does that
information change anything in your testing?
Post by Sven Joachim
Control: tags -1 unreproducible
Post by Davy Durham
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.
Not for me, I can coinstall libxft-dev:amd64 and libxft-dev:i386 just
fine.
Post by Davy Durham
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.
,----
| $ aptitude show libxft-dev | grep -E Multi-Arch
| Multi-Arch: same
`----
Post by Davy Durham
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.
Most definitely not, libxi-dev and libxtst-dev are also already
"Multi-Arch: same".
My hunch is that you are running unstable and there might be a version
skew for some dependency package (libc6-dev, maybe?) which prevents you
from installing both libxft-dev:amd64 and libxft-dev:i386. If that is
the case, please retry after the next mirror push.
Cheers,
Sven
Debian Bug Tracking System
2018-11-30 08:33:04 UTC
Permalink
fixed 915027 2.3.2-2
Bug #915027 [libxft-dev] libxft-dev should be installable for multiple architectures simultaneously
Marked as fixed in versions xft/2.3.2-2.
thanks
Stopping processing here.

Please contact me if you need assistance.
--
915027: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=915027
Debian Bug Tracking System
Contact ***@bugs.debian.org with problems
Debian Bug Tracking System
2018-11-30 08:33:07 UTC
Permalink
Your message dated Fri, 30 Nov 2018 10:31:09 +0200
with message-id <7e879662-2a43-28c0-67e8-***@debian.org>
and subject line Re: Bug#915027: libxft-dev should be installable for multiple architectures simultaneously
has caused the Debian Bug report #915027,
regarding libxft-dev should be installable for multiple architectures simultaneously
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ***@bugs.debian.org
immediately.)
--
915027: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=915027
Debian Bug Tracking System
Contact ***@bugs.debian.org with problems
Loading...