[Debian-med-packaging] Bug#950825: gwyddion FTCBFS: misses ruby components

Helmut Grohne helmut at subdivi.de
Fri Feb 7 05:19:16 GMT 2020


Source: gwyddion
Version: 2.55-2
Tags: patch
User: debian-cross at lists.debian.org
Usertags: ftcbfs

gwyddion fails to cross build from source, because dh_install misses the
ruby components. It turns out that the build disables ruby
functionality, because ruby is not executable. That's understandable
given that gwyddion depends on the host ruby. As it does not build a
ruby extension module, it should be using the build ruby. gwyddion
becomes cross buildable once annotating the ruby dependency with :any
(or :native). Please consider applying the attached patch.

Helmut
-------------- next part --------------
diff --minimal -Nru gwyddion-2.55/debian/changelog gwyddion-2.55/debian/changelog
--- gwyddion-2.55/debian/changelog	2019-11-21 16:12:00.000000000 +0100
+++ gwyddion-2.55/debian/changelog	2020-02-07 06:10:29.000000000 +0100
@@ -1,3 +1,10 @@
+gwyddion (2.55-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Annotate ruby dependency with :any. (Closes: #-1)
+
+ -- Helmut Grohne <helmut at subdivi.de>  Fri, 07 Feb 2020 06:10:29 +0100
+
 gwyddion (2.55-2) unstable; urgency=medium
 
   * Team upload.
diff --minimal -Nru gwyddion-2.55/debian/control gwyddion-2.55/debian/control
--- gwyddion-2.55/debian/control	2019-11-21 14:01:50.000000000 +0100
+++ gwyddion-2.55/debian/control	2020-02-07 06:10:28.000000000 +0100
@@ -10,7 +10,7 @@
                libfftw3-dev,
                libminizip-dev,
                libxmu6,
-               ruby,
+               ruby:any,
                libxml2-dev
 Rules-Requires-Root: no
 Standards-Version: 4.4.1


More information about the Debian-med-packaging mailing list