Control: tag -1 +upstream +fixed-upstream
Control: forwarded -1 https://github.com/mumble-voip/mumble/pull/6333

Hi Chris,

On Mon, 08 Jan 2024 10:24:37 +0000 "Chris Lamb" <la...@debian.org> wrote:
> Source: mumble
> Version: 1.5.517-1
> Severity: wishlist
> Tags: patch
> User: reproducible-bui...@lists.alioth.debian.org
> Usertags: timestamps
> X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org
> 
> Whilst working on the Reproducible Builds effort [0], we noticed that
> mumble could not be built reproducibly.
> 
> Patch attached. CMake is already following the SOURCE_DATE_EPOCH environment
> variable if available, but it needs to be instructed to use the UTC
> timezone.

Thanks for your work on Reproducible Builds!
I went ahead and send your patch upstream and that got accepted.
So I'm attaching a/your patch with all the DEP-3 headers set.

Cheers,
  Diederik
From: Chris Lamb <lamby at debian.org>
Date: Sat, 10 Feb 2024 17:03:16 +0100
Subject: BUILD: Set timezone on release date for reproducibility
Origin: upstream, https://github.com/mumble-voip/mumble/commit/af46c1a909a4a90955bb9a4b3c010f45ce80a986

To make the build reproducible, it's needed to set the timezone as
otherwise the date could vary based on the timezone of the build server.

Link: https://bugs.debian.org/1060254
---
 auxiliary_files/CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/auxiliary_files/CMakeLists.txt b/auxiliary_files/CMakeLists.txt
index 86850e900..30b5962ee 100644
--- a/auxiliary_files/CMakeLists.txt
+++ b/auxiliary_files/CMakeLists.txt
@@ -8,7 +8,7 @@ include(pkg-utils)
 
 if(NOT BUILD_RELEASE_DATE)
 	# If BUILD_RELEASE_DATE has not been set, default to time of build
-	string(TIMESTAMP BUILD_RELEASE_DATE "%Y-%m-%d")
+	string(TIMESTAMP BUILD_RELEASE_DATE "%Y-%m-%d" UTC)
 endif()
 
 if(overlay)
-- 
2.43.0

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to