Source: log4cplus
Version: 1.0.4-1.2
Severity: normal

Dear Maintainer,
attempt to install the -dev package for armel (to get the static library for 
cross-building) on an amd64 system that already has the native version 
installed fails:

"""
vilius@d21:~$ sudo apt-get install liblog4cplus-dev:armel
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  doxygen libclang1-3.5 libobjc-4.9-dev
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  liblog4cplus-1.0-4:armel
The following packages will be REMOVED:
  liblog4cplus-1.0-4 liblog4cplus-dev
The following NEW packages will be installed:
  liblog4cplus-1.0-4:armel liblog4cplus-dev:armel
0 upgraded, 2 newly installed, 2 to remove and 0 not upgraded.
Need to get 289 kB of archives.
After this operation, 330 kB disk space will be freed.
Do you want to continue? [Y/n] n
Abort.
"""

the armel package would replace the currently installed amd64 package.

#801305 suggests there's been some work to enable multi-arch, so I tried 
building a backport from testing. Unfortunately, amd64 and armel packages of 
version 1.1.2-3.1 still replace one another, probably due to the missing 
architecture qualifier. After adding "Multi-Arch: same" headers to 
debian/control and rebuilding for both architectures I sucessfully co-installed 
for amd64 and armel.


-- System Information:
Debian Release: 8.2
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Reply via email to