Debian Bug report logs - #952493
xavs2: please make the build reproducible

version graph

Package: src:xavs2; Maintainer for src:xavs2 is Debian Multimedia Maintainers <debian-multimedia@lists.debian.org>;

Reported by: "Chris Lamb" <lamby@debian.org>

Date: Tue, 25 Feb 2020 00:06:02 UTC

Severity: wishlist

Tags: patch

Found in version xavs2/1.3-1~exp2

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, reproducible-bugs@lists.alioth.debian.org, Debian Multimedia Maintainers <debian-multimedia@lists.debian.org>:
Bug#952493; Package src:xavs2. (Tue, 25 Feb 2020 00:06:04 GMT) (full text, mbox, link).


Acknowledgement sent to "Chris Lamb" <lamby@debian.org>:
New Bug report received and forwarded. Copy sent to reproducible-bugs@lists.alioth.debian.org, Debian Multimedia Maintainers <debian-multimedia@lists.debian.org>. (Tue, 25 Feb 2020 00:06:04 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: "Chris Lamb" <lamby@debian.org>
To: submit@bugs.debian.org
Subject: xavs2: please make the build reproducible
Date: Mon, 24 Feb 2020 16:02:52 -0800
[Message part 1 (text/plain, inline)]
Source: xavs2
Version: 1.3-1~exp2
Severity: wishlist
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: timestamps
X-Debbugs-Cc: reproducible-bugs@lists.alioth.debian.org

Hi,

Whilst working on the Reproducible Builds effort [0] we noticed that
xavs2 could not be built reproducibly.

Patch attached, although that xavs2 will still vary due to the
embedding the path in calls to assert(...).

 [0] https://reproducible-builds.org/


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby@debian.org / chris-lamb.co.uk
       `-
[xavs2.diff.txt (text/plain, attachment)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Multimedia Maintainers <debian-multimedia@lists.debian.org>:
Bug#952493; Package src:xavs2. (Thu, 10 Sep 2020 23:03:04 GMT) (full text, mbox, link).


Acknowledgement sent to "Chris Lamb" <lamby@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Multimedia Maintainers <debian-multimedia@lists.debian.org>. (Thu, 10 Sep 2020 23:03:04 GMT) (full text, mbox, link).


Message #10 received at 952493@bugs.debian.org (full text, mbox, reply):

From: "Chris Lamb" <lamby@debian.org>
To: 952493@bugs.debian.org, reproducible-bugs@lists.alioth.debian.org
Subject: Re: Bug#952493: xavs2: please make the build reproducible
Date: Thu, 10 Sep 2020 22:58:05 -0000
Dear Maintainer,

> Source: xavs2
> Version: 1.3-1~exp2
> Tags: patch

There hasn't seem to be any update on this bug in 198 days, in which
time the Reproducible Builds effort has come on a long way.

Would you consider applying this patch and uploading?


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby@debian.org / chris-lamb.co.uk
       `-



Information forwarded to debian-bugs-dist@lists.debian.org, Debian Multimedia Maintainers <debian-multimedia@lists.debian.org>:
Bug#952493; Package src:xavs2. (Thu, 10 Dec 2020 18:03:07 GMT) (full text, mbox, link).


Acknowledgement sent to "Chris Lamb" <lamby@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Multimedia Maintainers <debian-multimedia@lists.debian.org>. (Thu, 10 Dec 2020 18:03:07 GMT) (full text, mbox, link).


Message #15 received at 952493@bugs.debian.org (full text, mbox, reply):

From: "Chris Lamb" <lamby@debian.org>
To: 952493@bugs.debian.org, reproducible-bugs@lists.alioth.debian.org
Subject: Re: Bug#952493: xavs2: please make the build reproducible
Date: Thu, 10 Dec 2020 17:58:06 -0000
Chris Lamb wrote:

> [..]

Friendly ping on this?


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby@debian.org / chris-lamb.co.uk
       `-



Information forwarded to debian-bugs-dist@lists.debian.org, Debian Multimedia Maintainers <debian-multimedia@lists.debian.org>:
Bug#952493; Package src:xavs2. (Thu, 01 Dec 2022 22:51:03 GMT) (full text, mbox, link).


Acknowledgement sent to Vagrant Cascadian <vagrant@reproducible-builds.org>:
Extra info received and forwarded to list. Copy sent to Debian Multimedia Maintainers <debian-multimedia@lists.debian.org>. (Thu, 01 Dec 2022 22:51:03 GMT) (full text, mbox, link).


Message #20 received at 952493@bugs.debian.org (full text, mbox, reply):

From: Vagrant Cascadian <vagrant@reproducible-builds.org>
To: Chris Lamb <lamby@debian.org>, 952493@bugs.debian.org
Subject: Re: Bug#952493: xavs2: please make the build reproducible
Date: Thu, 01 Dec 2022 14:46:33 -0800
[Message part 1 (text/plain, inline)]
On 2020-02-24, Chris Lamb wrote:
> Whilst working on the Reproducible Builds effort [0] we noticed that
> xavs2 could not be built reproducibly.
>
> Patch attached, although that xavs2 will still vary due to the
> embedding the path in calls to assert(...).

> --- a/debian/patches/1003_reproducible_build.patch	1969-12-31 16:00:00.000000000 -0800
> --- b/debian/patches/1003_reproducible_build.patch	2020-02-24 15:38:11.940987381 -0800
> @@ -0,0 +1,17 @@
> +Description: Make the build reproducible
> +Author: Chris Lamb <lamby@debian.org>
> +Last-Update: 2020-02-24
> +
> +--- xavs2-1.3.orig/version.sh
> ++++ xavs2-1.3/version.sh
> +@@ -24,7 +24,9 @@ VER_MAJOR=`echo $(($api / 10))`
> + VER_MINOR=`echo $(($api % 10))`
> + 
> + # date and time information
> +-BUILD_TIME=`date "+%Y-%m-%d %H:%M:%S"`
> ++DATE_FMT="+%Y-%m-%d %H:%M:%S"
> ++SOURCE_DATE_EPOCH="${SOURCE_DATE_EPOCH:-$(date +%s)}"
> ++BUILD_TIME=$(date -u -d "@$SOURCE_DATE_EPOCH" "$DATE_FMT" 2>/dev/null || date -u -r "$SOURCE_DATE_EPOCH" "$DATE_FMT" 2>/dev/null || date -u "$DATE_FMT")
> + 
> + # generate the file version.h
> + echo "// ==========================================================================="  > version.h

I can confirm that this patch still works, though the build path issues
still remain.

Though fixing just the timestamp issues should build reproducibly when
the package migrates to testing, as tests.reproducible-builds.org does
not test build path variations, and would make it easier to debug the
remaining issues.


live well,
  vagrant
[signature.asc (application/pgp-signature, inline)]

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Wed May 17 11:13:55 2023; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.