Source: bsdmainutils
Version: 9.0.6
Tags: patch
Usertags: rebootstrap

Dear bsdmainutils maintainers,

While trying to cross build bsdmainutils, I noticed that it was
installing the host architecture python and python-hdate. It then tries
to execute that Python as a build tool, which fails, because the host
architecture is usually not executable during cross compilation.

Since python and python-hdate are only used as build tools, the correct
solution is to always install them for the build architecture. This can
be reflected in the Build-Depends by annotating those packages with

The attached patch implements that proposal. Please consider applying
it. The ":native" is supported in apt and dpkg since wheezy. If in
doubt, don't hesitate to ask for details on the identified problem or
the proposed solution.

As an aside note, I question the use of python-hdate to compute the
Jewish calendar:
 * Since the build date is used to select the year of the calendar file,
   the package is not reproducible. (Ccing the reproducible people)
 * The last build happened in 2014, so the installed calendar is no
   longer useful for day to day use (neither in stable nor in unstable).

diff -Nru bsdmainutils-9.0.6/debian/changelog 
--- bsdmainutils-9.0.6/debian/changelog 2014-10-17 15:42:56.000000000 +0200
+++ bsdmainutils-9.0.6+nmu1/debian/changelog    2015-07-19 15:37:08.000000000 
@@ -1,3 +1,11 @@
+bsdmainutils (9.0.6+nmu1) UNRELEASED; urgency=medium
+  * Non-maintainer upload.
+  * Add :native annotationes to Python-related Build-Depends to facilitate
+    cross dependency satisfiability (Closes: #-1)
+ -- Helmut Grohne <>  Sun, 19 Jul 2015 15:36:38 +0200
 bsdmainutils (9.0.6) unstable; urgency=medium
   * Add Ubuntu 13.04 release date to calendar.ubuntu.
diff -Nru bsdmainutils-9.0.6/debian/control 
--- bsdmainutils-9.0.6/debian/control   2014-08-15 11:49:55.000000000 +0200
+++ bsdmainutils-9.0.6+nmu1/debian/control      2015-07-19 15:36:33.000000000 
@@ -3,7 +3,7 @@
 Priority: important
 Maintainer: Debian Bsdmainutils Team <>
 Uploaders: Giacomo Catenazzi <>, Michael Meskes 
-Build-Depends: debhelper (>= 7), libncurses5-dev, quilt (>= 0.40), python, 
+Build-Depends: debhelper (>= 7), libncurses5-dev, quilt (>= 0.40), 
python:native, python-hdate:native
 Standards-Version: 3.9.5
 Vcs-Git: git://
Reproducible-builds mailing list

Reply via email to