Your message dated Mon, 11 Apr 2016 16:09:02 +0000
with message-id <[email protected]>
and subject line Bug#815192: fixed in manpages-de 1.12-1
has caused the Debian Bug report #815192,
regarding manpages-de: please make the build reproducible
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
815192: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=815192
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: manpages-de
Version: 1.11-1
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: locale
X-Debbugs-Cc: [email protected]

Hi!

While working on the "reproducible builds" effort [1], we have noticed
that manpages-de could not be built reproducibly.
When processing po files with generate-addendum.sh and using a non-UTF8
locale, grep misdetects them as binary files and embeds the line:
"Binary file (standard input) matches"

The attached patch fixes this by telling grep to treat the input as
text.

Regards,
 Reiner

[1]: https://wiki.debian.org/ReproducibleBuilds
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..7ab0073
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+unicode-grep.patch
diff --git a/debian/patches/unicode-grep.patch b/debian/patches/unicode-grep.patch
new file mode 100644
index 0000000..61212eb
--- /dev/null
+++ b/debian/patches/unicode-grep.patch
@@ -0,0 +1,20 @@
+Author: Reiner Herrmann <[email protected]>
+Description: Fix misdetection as binary input when LC_ALL=C
+
+--- a/po/generate-addendum.sh
++++ b/po/generate-addendum.sh
+@@ -22,10 +22,10 @@
+ # and remove the comment character
+ translators=`sed '/msgid/q;s/^#\s\+//' "$pofile" |
+ # Throw away the common (non translator) lines
+-grep -v "German translation of manpages" |
+-grep -v "This file is distributed under the same license as the manpages-de package." |
+-grep -v "Copyright © of this file:" |
+-grep -v "msgid" |
++grep -a -v "German translation of manpages" |
++grep -a -v "This file is distributed under the same license as the manpages-de package." |
++grep -a -v "Copyright © of this file:" |
++grep -a -v "msgid" |
+ # Split lines to extract the name (and e-mail address)
+ cut -f1 -d","`
+ # Determine number of translators

Attachment: signature.asc
Description: PGP signature


--- End Message ---
--- Begin Message ---
Source: manpages-de
Source-Version: 1.12-1

We believe that the bug you reported is fixed in the latest version of
manpages-de, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Dr. Tobias Quathamer <[email protected]> (supplier of updated manpages-de 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Mon, 11 Apr 2016 16:05:19 +0200
Source: manpages-de
Binary: manpages-de manpages-de-dev
Architecture: source all
Version: 1.12-1
Distribution: unstable
Urgency: medium
Maintainer: Dr. Tobias Quathamer <[email protected]>
Changed-By: Dr. Tobias Quathamer <[email protected]>
Description:
 manpages-de - German manpages
 manpages-de-dev - German development manpages
Closes: 815192
Changes:
 manpages-de (1.12-1) unstable; urgency=medium
 .
   * Imported Upstream version 1.12
     - Make build reproducible by telling grep that all files
       are text, not binary. Thanks to Reiner Herrmann for the
       bug report and patch. Closes: #815192
   * Update to Standards-Version 3.9.7, no changes needed
Checksums-Sha1:
 2f14ad35a1bf419d9ed00448640802f8d6ac149c 2125 manpages-de_1.12-1.dsc
 2c81bff6df11529ce393fc4cc7866a811158dc4e 1475896 manpages-de_1.12.orig.tar.xz
 8b637ed5897dc33554a9bd430cdc5932690702ff 10028 manpages-de_1.12-1.debian.tar.xz
 f7948a2e57cbeb3ce8161aaea14b2e7566a99115 929178 manpages-de-dev_1.12-1_all.deb
 52fbaf0dcdc27c3af35df9bed5555228bf577a74 996136 manpages-de_1.12-1_all.deb
Checksums-Sha256:
 9f0253e1de69b2347b63e42cb8055d58155c85f504f817ab9efa879eaa9b94d0 2125 
manpages-de_1.12-1.dsc
 ad7e49205fdc438eccf69823f406eb5ea6d5fb562a89b6ccac24a07f92b0bb77 1475896 
manpages-de_1.12.orig.tar.xz
 26e56054c645f036aa48811f3c600c950764be7f5eec6bf6207c4f3e70b1c7ea 10028 
manpages-de_1.12-1.debian.tar.xz
 c76ff64de56f641b361d8f8037bdf54fa75706336688bc9b8c4641e260c35a92 929178 
manpages-de-dev_1.12-1_all.deb
 f9f908308ed98e2b496c841f1aaf5efa5796e83041efc5faf2eb3e040a97571d 996136 
manpages-de_1.12-1_all.deb
Files:
 a8739a7cf5a74322718a23b561ec210f 2125 doc optional manpages-de_1.12-1.dsc
 4470a3e1baac8895e860178357af3dfe 1475896 doc optional 
manpages-de_1.12.orig.tar.xz
 3eeb8f84c6d8c041bf8b6742c870e481 10028 doc optional 
manpages-de_1.12-1.debian.tar.xz
 fb2783dee3f8a28710e12f828999aa51 929178 doc optional 
manpages-de-dev_1.12-1_all.deb
 068fa13a9317d54a5b9a65abac6fa74a 996136 doc optional manpages-de_1.12-1_all.deb

-----BEGIN PGP SIGNATURE-----

iQIcBAEBCgAGBQJXC7TZAAoJEBMC8fA26+sZzbMQAI4Ot6D77g7dN0ba+DPNXLly
yycSj2DWoc6K8xcL3+0lyp+R3IJ/DXHKw8Am+tZdRAtDNcyFmXSiwPo79ZurV4T9
leLsD2FpbLcGkqdpctevcLWTC5eCqi2iRM7O0Chhi1lO6Vvf4gFPbWVxVBjcAE2v
NQnOyLSPNxTtVR77jWYNJdOBVFL+2jTayKWY1UOfb1q6rAtRzAnnjo63oh2mZewx
XLVYilXCaBJ2qADdRH4oA4dMjLmi2n723e862kMIsUI9Dx6m1eui6EBck2h/6NwW
dOJWKwii1KZD9G/1SBDVH6stqvDqijk4nj4TmWmUlZyKHHNl7d5VlisxHi6afV42
W8QLesJFXLZlTyeX9lGMkWOsS/Oouur5QqihXZGLlz1Cwes8J7XqPJ2YlPWR4A2L
ttqFbwRAkSU/eU9YmMaWSNZGBOzS3nHXmigg8zaVQSA7sSikZkD/CVt/NJyLo+ux
yuJQOs0nlT2Aw+0HNu/j6qUEwdP9cDRNJWgNFiZX9MrQYTyb3qOLoF+DZKe/1UYG
ArOiLpmvsosIHkT0Z1sAtGiyGQdISEA5GXimI7mC5x1F8wDwpJrnlXsorfuEoqnc
/5u5Vy9AomcFaYonqwGNwFr/5Jc1iQ9Ivx8OXqT4kX2sOXtcM6HererEuyEdObrg
TXBOGJAI3EH5kkq8Evg5
=mRvN
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to