Control: tags 835259 pending

On 2016-08-23, Chris Lamb wrote:
> Whilst working on the Reproducible Builds effort [0], I noticed
> that quvi could not be built reproducibly.

I have pushed the fix to git:

  
https://salsa.debian.org/debian/quvi/-/commit/ee4df0abd727be942ff593c68de110bc6c6e504e

And also pushed the changes to git and uploaded an NMU fixing this issue
to DELAYED/10:

diff -Nru quvi-0.9.5/debian/changelog quvi-0.9.5/debian/changelog
--- quvi-0.9.5/debian/changelog 2022-08-25 07:53:26.000000000 -0700
+++ quvi-0.9.5/debian/changelog 2022-11-17 13:01:22.000000000 -0800
@@ -1,3 +1,12 @@
+quvi (0.9.5-0.2) unstable; urgency=medium
+
+  * Non-maintainer upload.
+
+  [ Chris Lamb ]
+  * Make the build reproducible. (Closes: #835259)
+
+ -- Vagrant Cascadian <vagr...@debian.org>  Thu, 17 Nov 2022 13:01:22 -0800
+
 quvi (0.9.5-0.1) unstable; urgency=high
 
   * Non-maintainer upload.
diff -Nru quvi-0.9.5/debian/patches/reproducible-build.patch 
quvi-0.9.5/debian/patches/reproducible-build.patch
--- quvi-0.9.5/debian/patches/reproducible-build.patch  1969-12-31 
16:00:00.000000000 -0800
+++ quvi-0.9.5/debian/patches/reproducible-build.patch  2022-11-17 
12:59:49.000000000 -0800
@@ -0,0 +1,21 @@
+Description: Make the build reproducible
+Author: Chris Lamb <la...@debian.org>
+Last-Update: 2016-08-23
+
+--- quvi-0.9.4.orig/configure.ac
++++ quvi-0.9.4/configure.ac
+@@ -47,7 +47,13 @@ AC_DEFINE_UNQUOTED([CFLAGS], "$CFLAGS",
+ AC_DEFINE_UNQUOTED([CC], "$CC", [Define to compiler])
+ 
+ AC_PATH_PROG([DATE], [date], [no])
+-AS_IF([test x"$DATE" != "xno"], [build_time=`$DATE +"%F %T %z"`])
++AS_IF([test x"$DATE" != "xno"], [
++  if test x"$SOURCE_DATE_EPOCH" = "x"; then
++    build_time=`$DATE +"%F %T %z"`
++  else
++    build_time=`$DATE --utc --date="@$SOURCE_DATE_EPOCH" +"%F %T %z"`
++  fi
++])
+ AC_DEFINE_UNQUOTED([BUILD_TIME], ["$build_time"], [We have build time])
+ 
+ AC_PATH_PROG([A2X], [a2x], [no])
diff -Nru quvi-0.9.5/debian/patches/series quvi-0.9.5/debian/patches/series
--- quvi-0.9.5/debian/patches/series    2022-08-25 07:45:22.000000000 -0700
+++ quvi-0.9.5/debian/patches/series    2022-11-17 12:59:49.000000000 -0800
@@ -1,2 +1,3 @@
+reproducible-build.patch
 0001-Fix-FTBFS-with-autoconf-2.70.patch
 0002-Avoid-duplicated-symbol-write.patch


This is a partial fix, as quvi still records build paths, but we do not
test build path variations for bookworm/testing on
tests.reproducible-builds.org, so it will at least become reproducible
once it migrates to bookworm!


live well,
  vagrant

Attachment: signature.asc
Description: PGP signature

Reply via email to