Package: ros-message-runtime
Version: 0.4.12-3
Tags: patch
User: [email protected]
Usertags: rebootstrap

ros-message-runtime does not work well for cross compilation. In
general, Architecture: all packages can never satisfy cross
Build-Depends unless marked Multi-Arch: foreign. In this case, such a
marking would be fatal, because ros-message-runtime exposes its
dependency libroscpp-core-dev to users. Clearly having the build
architecture libroscpp-core-dev is not going to help cross builders.
Thus ros-message-runtime should be turned Architecture: any to be able
to transport the architecture constraint to libroscpp-core-dev. While at
it, please also move the .pc file out of /usr/lib/pkgconfig, because the
cross pkg-config does not search that directory. Please consider
applying the attached patch.

Helmut
diff --minimal -Nru ros-message-runtime-0.4.12/debian/changelog 
ros-message-runtime-0.4.12/debian/changelog
--- ros-message-runtime-0.4.12/debian/changelog 2015-12-04 09:51:07.000000000 
+0100
+++ ros-message-runtime-0.4.12/debian/changelog 2018-06-16 22:33:14.000000000 
+0200
@@ -1,3 +1,10 @@
+ros-message-runtime (0.4.12-3.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Turn ros-message-runtime Architecture: any. (Closes: #-1)
+
+ -- Helmut Grohne <[email protected]>  Sat, 16 Jun 2018 22:33:14 +0200
+
 ros-message-runtime (0.4.12-3) unstable; urgency=medium
 
   * Correct replaced versions, Closes: #807014.
diff --minimal -Nru ros-message-runtime-0.4.12/debian/control 
ros-message-runtime-0.4.12/debian/control
--- ros-message-runtime-0.4.12/debian/control   2015-12-04 09:46:47.000000000 
+0100
+++ ros-message-runtime-0.4.12/debian/control   2018-06-16 22:28:09.000000000 
+0200
@@ -12,7 +12,7 @@
 Vcs-Git: 
git://anonscm.debian.org/debian-science/packages/ros/ros-message-runtime.git
 
 Package: ros-message-runtime
-Architecture: all
+Architecture: any
 Replaces: message-runtime (<< 0.4.12-2)
 Breaks: message-runtime (<< 0.4.12-2)
 Depends: ${misc:Depends}, libroscpp-core-dev
diff --minimal -Nru 
ros-message-runtime-0.4.12/debian/ros-message-runtime.install 
ros-message-runtime-0.4.12/debian/ros-message-runtime.install
--- ros-message-runtime-0.4.12/debian/ros-message-runtime.install       
2015-11-24 20:17:23.000000000 +0100
+++ ros-message-runtime-0.4.12/debian/ros-message-runtime.install       
2018-06-16 22:33:06.000000000 +0200
@@ -1,2 +1,2 @@
 usr/share/message_runtime
-usr/lib/*/pkgconfig /usr/lib
+usr/lib/*/pkgconfig
diff --minimal -Nru ros-message-runtime-0.4.12/debian/rules 
ros-message-runtime-0.4.12/debian/rules
--- ros-message-runtime-0.4.12/debian/rules     2015-11-22 23:56:13.000000000 
+0100
+++ ros-message-runtime-0.4.12/debian/rules     2018-06-16 22:33:14.000000000 
+0200
@@ -4,7 +4,7 @@
 %:
        dh $@  --parallel
 
-override_dh_auto_install-indep:
+override_dh_auto_install:
        dh_auto_install --destdir=debian/tmp
 
 get-orig-source:

Reply via email to