Source: newt
Version: 0.52.20-1
Tags: patch
User: helm...@debian.org
Usertags: rebootstrap

newt fails to cross build from source (when not passing the build
profile stage1), because its python-ish Build-Depends are not
installable. Typically a python-ish dependency needs to be replaced with
"$origdep:any, lib$origdep" to be compatible with cross building. The
attached patch does that and after applying it, newt cross builds
successfully. Please consider applying it.

Helmut
diff --minimal -Nru newt-0.52.20/debian/changelog newt-0.52.20/debian/changelog
--- newt-0.52.20/debian/changelog       2017-05-03 12:53:05.000000000 +0200
+++ newt-0.52.20/debian/changelog       2018-01-24 20:01:07.000000000 +0100
@@ -1,3 +1,10 @@
+newt (0.52.20-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Update python build-depends for cross building. Closes: #-1
+
+ -- Helmut Grohne <hel...@subdivi.de>  Wed, 24 Jan 2018 20:01:07 +0100
+
 newt (0.52.20-1) unstable; urgency=medium
 
   * New upstream release. Closes: #847729
diff --minimal -Nru newt-0.52.20/debian/control newt-0.52.20/debian/control
--- newt-0.52.20/debian/control 2017-05-03 12:53:05.000000000 +0200
+++ newt-0.52.20/debian/control 2018-01-24 20:01:07.000000000 +0100
@@ -10,8 +10,8 @@
 Build-Depends: sgmltools-lite, libslang2-dev  (>=2.0.4-2), libpopt-dev,
  debhelper (>=10), gettext, libfribidi-dev, tcl8.6-dev, 
  dh-autoreconf, autoconf, dpkg-dev (>= 1.17.14), 
- dh-python <!stage1>, python-all-dev (>= 2.6.6-3~) <!stage1>,  python-all-dbg 
<!stage1>,
- python3-all-dev <!stage1>, python3-all-dbg <!stage1>
+ dh-python <!stage1>, python-all-dev:any (>= 2.6.6-3~) <!stage1>, 
libpython-all-dev (>= 2.6.6-3~) <!stage1>, python-all-dbg:any <!stage1>, 
libpython-all-dbg <!stage1>,
+ python3-all-dev:any <!stage1>, libpython3-all-dev <!stage1>, 
python3-all-dbg:any <!stage1>, libpython3-all-dbg <!stage1>
 
 Package: libnewt-dev
 Architecture: any

Reply via email to