Source: gnucap
Version: 1:0.36~20091207-2
Tags: patch
User: helm...@debian.org
Usertags: rebootstrap

gnucap fails to cross build from source, because it fails to find
gnucap-modelgen. That tool is generated at build time, but since it also
needs to be executed, upstream opted for requiring an existing
gnucap-modelgen for cross builds. Thus "gnucap:native <cross>" should
be added to Build-Depends. That is a self-dependency that is only
effective during cross builds and thus it is fine. After doing so,
gnucap cross builds successfully. Please consider applying the attached
patch.

Helmut
diff --minimal -Nru gnucap-0.36~20091207/debian/changelog 
gnucap-0.36~20091207/debian/changelog
--- gnucap-0.36~20091207/debian/changelog       2011-09-27 21:46:06.000000000 
+0200
+++ gnucap-0.36~20091207/debian/changelog       2017-10-13 10:11:43.000000000 
+0200
@@ -1,3 +1,10 @@
+gnucap (1:0.36~20091207-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Add gnucap:native to Build-Depends. (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Fri, 13 Oct 2017 10:11:43 +0200
+
 gnucap (1:0.36~20091207-2) unstable; urgency=low
 
   * debian/control: Bumped Standards-Version to 3.9.2
diff --minimal -Nru gnucap-0.36~20091207/debian/control 
gnucap-0.36~20091207/debian/control
--- gnucap-0.36~20091207/debian/control 2011-09-27 21:46:06.000000000 +0200
+++ gnucap-0.36~20091207/debian/control 2017-10-13 10:11:41.000000000 +0200
@@ -7,7 +7,7 @@
            Wesley J. Landaker <w...@icecavern.net>
 DM-Upload-Allowed: yes
 Standards-Version: 3.9.2
-Build-Depends: debhelper (>= 8), libreadline-dev
+Build-Depends: debhelper (>= 8), libreadline-dev, gnucap:native <cross>
 #, hevea, texlive
 Homepage: http://gnucap.org
 Vcs-Git: git://git.debian.org/git/pkg-electronics/gnucap.git

Reply via email to