Package: liblo7 Version: 0.28-3 Severity: important Tags: patch I was helping a friend figure out why he couldn't install dssi-vst:i386 on his amd64 Linux Mint 17 without it wanting to remove some other packages.
I pretty quickly noticed that the problem was in fact that installing liblo7:i386 wants to remove liblo7:amd64 because it isn't multiarch enabled. The version of the package in Linux Mint 17 is the same as the one in Ubuntu which is the same as the one in Debian, and since I use Debian, I figure the problem ought to be solved at the root directly. Here is a patch that makes liblo7 multiarch, and it has solved my friends problem and is working fine there. Both 32 and 64bit programs using liblo7 are now happy. -- System Information: Debian Release: 7.7 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.32-5-amd64 (SMP w/8 CPU cores) Locale: LANG=en_CA.UTF8, LC_CTYPE=en_CA.UTF8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash -- Len Sorensen
diff -r -u liblo-0.28/debian/control liblo-0.28.multiarch/debian/control --- liblo-0.28/debian/control 2014-02-10 09:49:11.000000000 -0500 +++ liblo-0.28.multiarch/debian/control 2015-01-05 12:57:53.024415513 -0500 @@ -1,10 +1,10 @@ Source: liblo Priority: optional Section: libs -Build-Depends: cdbs, +Build-Depends: cdbs (>= 0.4.93~), autotools-dev, dh-autoreconf, - debhelper, + debhelper (>= 8.1.3), dh-buildinfo, doxygen Homepage: http://liblo.sourceforge.net/ @@ -49,6 +49,8 @@ Suggests: liblo-dev Depends: ${misc:Depends}, ${shlibs:Depends} +Pre-Depends: ${misc:Pre-Depends} +Multi-Arch: same Description: Lightweight OSC library LibLO is a lightweight, easy to use implementation of the OSC (Open Sound Control) protocol (see diff -r -u liblo-0.28/debian/liblo7.install liblo-0.28.multiarch/debian/liblo7.install --- liblo-0.28/debian/liblo7.install 2014-02-10 09:49:11.000000000 -0500 +++ liblo-0.28.multiarch/debian/liblo7.install 2015-01-05 12:52:16.911371733 -0500 @@ -1 +1 @@ -debian/tmp/usr/lib/lib*.so.* +debian/tmp/usr/lib/*/lib*.so.* diff -r -u liblo-0.28/debian/liblo-dev.install liblo-0.28.multiarch/debian/liblo-dev.install --- liblo-0.28/debian/liblo-dev.install 2014-02-10 09:49:11.000000000 -0500 +++ liblo-0.28.multiarch/debian/liblo-dev.install 2015-01-05 12:55:06.483868874 -0500 @@ -1,5 +1,5 @@ debian/tmp/usr/include/* -debian/tmp/usr/lib/lib*.a -debian/tmp/usr/lib/lib*.so -debian/tmp/usr/lib/pkgconfig/* +debian/tmp/usr/lib/*/lib*.a +debian/tmp/usr/lib/*/lib*.so +debian/tmp/usr/lib/*/pkgconfig/* doc/html usr/share/doc/liblo-dev diff -r -u liblo-0.28/debian/rules liblo-0.28.multiarch/debian/rules --- liblo-0.28/debian/rules 2014-02-10 09:49:11.000000000 -0500 +++ liblo-0.28.multiarch/debian/rules 2015-01-05 12:55:58.806785215 -0500 @@ -27,6 +27,7 @@ # suppress optional build-dependencies CDBS_BUILD_DEPENDS_rules_upstream-tarball = CDBS_BUILD_DEPENDS_rules_utils_copyright-check = +DEB_CONFIGURE_EXTRA_FLAGS += --libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH) pre-build:: test "$(DEB_HOST_ARCH_CPU)" != "sparc"