#779566 zsh: Making the build reproducible

Package:
src:zsh
Source:
zsh
Submitter:
Axel Beckert
Date:
2022-07-20 15:09:04 UTC
Severity:
wishlist
Tags:
Blocked By:
Bug Title
778462

  0

faketime: does not work in chroot if /run/shm is not mounted as tmpfs inside the chroot ("sem_open: Function not implemented")

minor stable testing unstable over 9 years ago

#779566#5
Date:
2015-03-02 13:03:13 UTC
From:
To:
Source: zsh
Version: 5.0.7-5
Severity: wishlist
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: timestamps
Control: block -1 by 778462

Hi,

this bug report is only there to track the state of reproducible zsh
builds in Debian.

The current state is visible at
https://reproducible.debian.net/rb-pkg/sid/amd64/zsh.html

The only issue currently are timestamps in PDF documents generated with
pdflatex:
https://wiki.debian.org/ReproducibleBuilds/TimestampsInPDFGeneratedByLaTeX

I've tried to fix that in
https://anonscm.debian.org/cgit/collab-maint/zsh.git/commit/?id=0dc9a03cbd0520a5566fbb264741d221c7972904
but it then started to FTBFS on our Jenkins CI instance at
http://jenkins.grml.org/view/Debian/job/zsh-binaries/architecture=amd64/174/console

It turned out that faketime from Jessie/Sid has issues when being run in
a chroot on a Wheezy host. See https://bugs.debian.org/778462 for the
according bug report and details.

So for now I've reverted the commit mentioned above (and in the notes of
the reproducible builds project) to be able to build zsh again until
#778462 is fixed or another solution turns up.

Chris (or someone else from the reproducible builds project): Can you
please update the notes on
https://reproducible.debian.net/rb-pkg/sid/amd64/zsh.html to mention
that this is no more fixed in git but blocked by #778462? (I've already
mentioned #778462 on
https://wiki.debian.org/ReproducibleBuilds/TimestampsInPDFGeneratedByLaTeX)

		Regards, Axel

#779566#12
Date:
2015-03-02 13:28:38 UTC
From:
To:
Hi Axel,

thanks for this bug and caring about reproducible builds!

done.


cheers,
	Holger

#779566#17
Date:
2022-07-05 19:35:34 UTC
From:
To:
Hi,

zsh seems to be reproducible now (at least 5.9-1). I guess this bug
should be closed.

Best,
Philip

#779566#22
Date:
2022-07-20 15:07:37 UTC
From:
To:
Hi,

zsh builds reproducible since version 5.4.2-1, let's close this bug now.
[It still FTBFS on armhf sometimes, but that's #764650 I guess.]

Cheers,
Philip