Your message dated Sat, 26 Dec 2015 16:20:07 +0000
with message-id <[email protected]>
and subject line Bug#791845: fixed in yacas 1.3.6-1
has caused the Debian Bug report #791845,
regarding yacas: 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.)


-- 
791845: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=791845
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: yacas
Version: 1.3.3-2
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 yacas could not be built reproducibly.
The hints file is sorted differently depending on the configured locale.

The attached patch fixes this by setting LC_ALL to C before sorting.

Regards,
 Reiner

[1]: https://wiki.debian.org/ReproducibleBuilds

diff --git a/debian/patches/02_reproducible-build.patch b/debian/patches/02_reproducible-build.patch
new file mode 100644
index 0000000..da6b98c
--- /dev/null
+++ b/debian/patches/02_reproducible-build.patch
@@ -0,0 +1,16 @@
+Author: Reiner Herrmann <[email protected]>
+Description: normalize locale to get reproducible order
+
+Index: yacas-1.3.3/manmake/Makefile.am
+===================================================================
+--- yacas-1.3.3.orig/manmake/Makefile.am
++++ yacas-1.3.3/manmake/Makefile.am
+@@ -22,7 +22,7 @@ hints: manripper removeduplicates $(REFS
+ 	rm -f hints.unsorted
+ 	for file in ref.book.txt $(REFSOURCES) refprog.book.txt $(REFPROGSOURCES); do \
+ 	./manripper $(srcdir)/"$$file" >> hints.unsorted ; done
+-	sort -t ":" hints.unsorted > hints.sorted
++	LC_ALL=C sort -t ":" hints.unsorted > hints.sorted
+ 	./removeduplicates hints.sorted hints.singlesorted
+ 	echo "::::" > tail.txt
+ 	cat hints.singlesorted tail.txt > hints
diff --git a/debian/patches/series b/debian/patches/series
index f1af840..57cb584 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 01_locchanges.patch
+02_reproducible-build.patch

Attachment: signature.asc
Description: OpenPGP digital signature


--- End Message ---
--- Begin Message ---
Source: yacas
Source-Version: 1.3.6-1

We believe that the bug you reported is fixed in the latest version of
yacas, 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.
Muammar El Khatib <[email protected]> (supplier of updated yacas 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: SHA256

Format: 1.8
Date: Sat, 26 Dec 2015 14:52:39 +0100
Source: yacas
Binary: yacas yacas-doc
Architecture: source amd64 all
Version: 1.3.6-1
Distribution: unstable
Urgency: medium
Maintainer: Muammar El Khatib <[email protected]>
Changed-By: Muammar El Khatib <[email protected]>
Description:
 yacas      - Computer Algebra System
 yacas-doc  - Documentation for Yacas
Closes: 791845
Changes:
 yacas (1.3.6-1) unstable; urgency=medium
 .
   * New upstream release.
   * Bump Standards-Version to 3.9.6. No changes were needed.
   * Updated DH_COMPAT and debhelper build-dependency to version 9.
   * The package compiles using hardening options.
   * In this revision, yacas can be built reproducibly (Closes: #791845).
     Thanks to Reiner Herrmann for providing a patch.
Checksums-Sha1:
 8ffe760cfa61b1c5664de9af42219d810163b731 1888 yacas_1.3.6-1.dsc
 1bc2463041a0de3562ed240c1c97847ce0458d20 1582528 yacas_1.3.6.orig.tar.gz
 f25aef65dff904b9a7a1538460cb50debe41f25f 33156 yacas_1.3.6-1.debian.tar.xz
 b3b7d3f32b01585a5bf3bb29a8c7398d68af0a41 2439068 yacas-dbgsym_1.3.6-1_amd64.deb
 9a56bdf235f53d29adf92bd1df854f06ad4cbc63 2881790 yacas-doc_1.3.6-1_all.deb
 2a81adc5eec2033f31277374aaa855788d8f6a8d 531208 yacas_1.3.6-1_amd64.deb
Checksums-Sha256:
 22e283e7dc115e3b1eec1c10738a3ab8e0ecc860629817d0a5f4c35954ba0d0d 1888 
yacas_1.3.6-1.dsc
 1abfcc1425b1f026ccaa86061172b3d053aba4b7f71dec906dacd314ca939f1e 1582528 
yacas_1.3.6.orig.tar.gz
 08cd09395846d9210233aab998a66cffeed38f1e841e35f329fd3302bfe85b8c 33156 
yacas_1.3.6-1.debian.tar.xz
 ced946074df94fcaca561bfcfd1bc0ee706e388d687f59ea08b919157f4fa15a 2439068 
yacas-dbgsym_1.3.6-1_amd64.deb
 d92cd0a59f497b0f4287050929ded96b327d9b5993cfb4572681b5bec86942e6 2881790 
yacas-doc_1.3.6-1_all.deb
 058b733bc747990bdcebccda7dd1168e9f0e8564ef7a026cdce0560a9dfdc611 531208 
yacas_1.3.6-1_amd64.deb
Files:
 a06ab555315ef65a012f9eb588069f56 1888 math extra yacas_1.3.6-1.dsc
 f7dbb019a4ebc8c6a9393890a7b28cc1 1582528 math extra yacas_1.3.6.orig.tar.gz
 9aa0c91b63947e10b8c7d015d3c8346a 33156 math extra yacas_1.3.6-1.debian.tar.xz
 a0930c7c8b7939c89153b87876f5e88f 2439068 debug extra 
yacas-dbgsym_1.3.6-1_amd64.deb
 4ea98d798bd74fce90b7d65cf1e7ae6b 2881790 doc extra yacas-doc_1.3.6-1_all.deb
 689fee640c7cbb2a54eb713b14bcff30 531208 math extra yacas_1.3.6-1_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCAAGBQJWfreKAAoJEFwpE3JxJG5KC5MQALXuz71T9aiAm5ECNGC4463U
9sd/RAcB83npfx9FO6nF64bbMOQRY3iKOAJkn4KMwdKyrmfpC609eKEQC3Nw0xsm
ZWlfFv17Vd1Q0ery6obUpbZTDRLrS8JVSo2+9SNcmiELXoqTiOWrcWB3VWMk8gol
t+tusViYEHWKA1WaGM6436unW1mPcoXHNLWjFbFI2a/rrR0PLw13oCyOq0F2KCim
LsItZ9afhFp+kzJ8NkSG/DJLvQ3jHIYLPdmc+yNiGAoK0/FL0KkTw+vDy7f4O4U1
O54MsIT1c8yYAS73be19r2P+4Vd2QpGorS0RkpBOk6bcURjicMquUMoWRkBTkGnA
OD/LXZcQYgfYvmANZ8lzcJq+KUcU6KGontR6B9BsAvuq71UF5oQiSYbassfaEln/
LRJmtz2fP33JyF134NLgejBv4zD+6mUU3gxQpXIXJSDr1Kz3wGGtYsp5ihZaNApo
Kt3BSXh996uT7Mmb1fKp15z+4eLnQpP+lGtASkHWUwoqNQR+ty0dv/dkcQEZFnab
0KNbPizWU9DOob2NxGKAZ38bspJVBh7LjVcVHl0mm1rV3zXqhrtDCjDlZB3XppPm
960jpMqHlyaKaZdXcj1jffob9jTWsV+bdxEcGT4nl2HxYt4R1Q3L4Q5fNpPGn5FV
pwix/TCbdzvokxyATkSy
=FlC3
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to