[Reproducible-builds] Bug#826700: strip-nondeterminism: missing Multi-Arch: foreign, breaks cross building of gdbm

Helmut Grohne helmut at subdivi.de
Wed Jun 8 04:08:32 UTC 2016


Package: strip-nondeterminism
Version: 0.018-1
Severity: normal
Tags: patch
User: helmutg at debian.org
Usertags: rebootstrap

Hi reproducible folks,

gdbm started Build-Depending on strip-nondeterminism. Since that package
is Arch:all + Multi-Arch:no (implicitly), the Build-Depends is never
satisfiable in a cross compilation setting.

There are two ways to fix this:
1) Mark strip-nondeterminism Multi-Arch: foreign.
2) Remove Build-Depends: strip-nondeterminism from gdbm.

There are strong clues that the first option is correct:
 * strip-nondeterminism essentially does the same as
   dh-strip-nondeterminism and the latter is a dependency of debhelper,
   which is Multi-Arch foreign. So from the perspective of most packages
   the functionality of strip-nondeterminism is implicitly treated as if
   it were Multi-Arch: foreign already.
 * strip-nondeterminism is architecture-independent and uses only
   architecture-independent perl modules. It does not have maintainer
   scripts either (which would have been a common source for being not
   Multi-Arch: foreign).

I therefore attach a patch to add that marking. If you disagree, please
reassign this bug to src:gdbm to have that Build-Depends removed.

Helmut
-------------- next part --------------
diff --minimal -Nru strip-nondeterminism-0.018/debian/changelog strip-nondeterminism-0.018/debian/changelog
--- strip-nondeterminism-0.018/debian/changelog	2016-05-30 21:07:34.000000000 +0200
+++ strip-nondeterminism-0.018/debian/changelog	2016-06-08 05:55:14.000000000 +0200
@@ -1,3 +1,11 @@
+strip-nondeterminism (0.018-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Mark dh-strip-nondeterminism and strip-nondeterminism Multi-Arch: foreign
+    (Closes: #-1)
+
+ -- Helmut Grohne <helmut at subdivi.de>  Wed, 08 Jun 2016 05:54:22 +0200
+
 strip-nondeterminism (0.018-1) unstable; urgency=medium
 
   * New upstream release:
diff --minimal -Nru strip-nondeterminism-0.018/debian/control strip-nondeterminism-0.018/debian/control
--- strip-nondeterminism-0.018/debian/control	2016-05-30 21:07:03.000000000 +0200
+++ strip-nondeterminism-0.018/debian/control	2016-06-08 05:53:02.000000000 +0200
@@ -40,6 +40,7 @@
  libfile-stripnondeterminism-perl (= ${binary:Version}),
  ${misc:Depends},
  ${perl:Depends},
+Multi-Arch: foreign
 Description: file non-deterministic information stripper ? stand-alone tool
  StripNondeterminism is a library for stripping non-deterministic
  information, such as timestamps and file system order, from files. It
@@ -59,6 +60,7 @@
  libtimedate-perl,
  ${misc:Depends},
  ${perl:Depends},
+Multi-Arch: foreign
 Description: file non-deterministic information stripper ? Debhelper add-on
  StripNondeterminism is a library for stripping non-deterministic
  information, such as timestamps and file system order, from files. It


More information about the Reproducible-builds mailing list