Bug#933209: mark openscad-mcad Multi-Arch: foreign

2019-07-27 Thread Kristian Nielsen
On Sat, 27 Jul 2019 17:06:50 +0200 Helmut Grohne  wrote:

> openscad fails to cross build from source, because its build dependency
> on openscad-mcad is unsatisfiable. In general, Architecture: all

> files (textual). Please mark it Multi-Arch: foreign.

Thanks, Helmut, sounds good. I will prepare a new upload of openscad-mcad
shortly and include this fix (unless you want to NMU it before that).

(Just for reference, the reason for openscad's build-dependency on
openscad-mcad is because it is used in the test suite, which is run as part
of the build. However I assume (?) that a cross build will not run the test
suite and so the build-dependency is actually redundant in this case.
However using Multi-Arch: foreign as suggested seems to be a good solution.)

 - Kristian.



Bug#933209: mark openscad-mcad Multi-Arch: foreign

2019-07-27 Thread Helmut Grohne
Package: openscad-mcad
Version: 2019.02-1
Tags: patch
User: debian-cr...@lists.debian.org
Usertags: cross-satisfiability
Control: affects -1 + src:openscad

openscad fails to cross build from source, because its build dependency
on openscad-mcad is unsatisfiable. In general, Architecture: all
packages can never satisfy cross Build-Depends unless marked Multi-Arch:
foreign or annotated :native. In the case of openscad-mcad, Multi-Arch:
foreign makes sense, because it is a pure data package. It does not have
any dependencies nor maintainer scripts and ships only .scad source
files (textual). Please mark it Multi-Arch: foreign.

Helmut
diff --minimal -Nru openscad-mcad-2019.02/debian/changelog 
openscad-mcad-2019.02/debian/changelog
--- openscad-mcad-2019.02/debian/changelog  2019-02-20 08:16:03.0 
+0100
+++ openscad-mcad-2019.02/debian/changelog  2019-07-27 17:04:07.0 
+0200
@@ -1,3 +1,10 @@
+openscad-mcad (2019.02-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Mark openscad-mcad Multi-Arch: foreign. (Closes: #-1)
+
+ -- Helmut Grohne   Sat, 27 Jul 2019 17:04:07 +0200
+
 openscad-mcad (2019.02-1) unstable; urgency=medium
 
   * New upstream version
diff --minimal -Nru openscad-mcad-2019.02/debian/control 
openscad-mcad-2019.02/debian/control
--- openscad-mcad-2019.02/debian/control2019-02-20 08:16:03.0 
+0100
+++ openscad-mcad-2019.02/debian/control2019-07-27 17:02:47.0 
+0200
@@ -11,6 +11,7 @@
 
 Package: openscad-mcad
 Architecture: all
+Multi-Arch: foreign
 Depends:
  ${misc:Depends}
 Recommends: