Your message dated Tue, 5 Jul 2022 21:42:04 +0200
with message-id <[email protected]>
and subject line Re: yasm: please make the package build reproducible
has caused the Debian Bug report #784541,
regarding yasm: please make the package 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.)
--
784541: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=784541
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: yasm
Version: 1.3.0-2
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: timestamps
Hi!
While working on the “reproducible builds” effort [1], we have noticed
that yasm could not be built reproducibly.
The attached patch removes the build date from the version strings.
Once applied, yasm can be built reproducibly in our current experimental
framework.
[1]: https://wiki.debian.org/ReproducibleBuilds
--
Lunar .''`.
[email protected] : :Ⓐ : # apt-get install anarchism
`. `'`
`-
diff -Nru yasm-1.3.0/debian/changelog yasm-1.3.0/debian/changelog
--- yasm-1.3.0/debian/changelog 2015-05-03 21:00:33.000000000 +0000
+++ yasm-1.3.0/debian/changelog 2015-05-06 14:02:59.000000000 +0000
@@ -1,3 +1,11 @@
+yasm (1.3.0-2.0~reproducible1) UNRELEASED; urgency=low
+
+ * Make the package build reproducible:
+ - 110_remove_build_date.diff: remove compilation date from
+ version strings.
+
+ -- Jérémy Bobbio <[email protected]> Wed, 06 May 2015 14:00:31 +0000
+
yasm (1.3.0-2) unstable; urgency=medium
* 100_ytasm_parsing_error.diff: fix more bugs in argument parsing.
diff -Nru yasm-1.3.0/debian/patches/110_remove_build_date.diff yasm-1.3.0/debian/patches/110_remove_build_date.diff
--- yasm-1.3.0/debian/patches/110_remove_build_date.diff 1970-01-01 00:00:00.000000000 +0000
+++ yasm-1.3.0/debian/patches/110_remove_build_date.diff 2015-05-06 14:04:29.000000000 +0000
@@ -0,0 +1,37 @@
+Description: Remove build date from version strings
+ In order to make the package build reproducibly, we remove the compilation
+ date from the version strings. At least in the context of Debian we know
+ the exact source code and we record the build environment. Both are more
+ meaningful information.
+Author: Jérémy Bobbio <[email protected]>
+
+--- yasm-1.3.0.orig/frontends/tasm/tasm.c
++++ yasm-1.3.0/frontends/tasm/tasm.c
+@@ -228,7 +228,6 @@ static opt_option options[] =
+ /* version message */
+ /*@observer@*/ static const char *version_msg[] = {
+ PACKAGE_STRING,
+- "Compiled on " __DATE__ ".",
+ "Copyright (c) 2001-2010 Peter Johnson and other Yasm developers.",
+ "Run yasm --license for licensing overview and summary."
+ };
+--- yasm-1.3.0.orig/frontends/vsyasm/vsyasm.c
++++ yasm-1.3.0/frontends/vsyasm/vsyasm.c
+@@ -220,7 +220,6 @@ static opt_option options[] =
+ /* version message */
+ /*@observer@*/ static const char *version_msg[] = {
+ PACKAGE_STRING,
+- "Compiled on " __DATE__ ".",
+ "Copyright (c) 2001-2010 Peter Johnson and other Yasm developers.",
+ "Run yasm --license for licensing overview and summary."
+ };
+--- yasm-1.3.0.orig/frontends/yasm/yasm.c
++++ yasm-1.3.0/frontends/yasm/yasm.c
+@@ -217,7 +217,6 @@ static opt_option options[] =
+ /* version message */
+ /*@observer@*/ static const char *version_msg[] = {
+ PACKAGE_STRING,
+- "Compiled on " __DATE__ ".",
+ "Copyright (c) 2001-2014 Peter Johnson and other Yasm developers.",
+ "Run yasm --license for licensing overview and summary."
+ };
diff -Nru yasm-1.3.0/debian/patches/series yasm-1.3.0/debian/patches/series
--- yasm-1.3.0/debian/patches/series 2015-05-03 19:58:07.000000000 +0000
+++ yasm-1.3.0/debian/patches/series 2015-05-06 14:03:09.000000000 +0000
@@ -1 +1,2 @@
100_ytasm_parsing_error.diff
+110_remove_build_date.diff
signature.asc
Description: Digital signature
--- End Message ---
--- Begin Message ---
Hi,
yasm builds reproducible for years now - closing this bug.
Feel free to reopen if I missed something.
Best,
Philip
OpenPGP_signature
Description: OpenPGP digital signature
--- End Message ---