Bug#1039741: libapache-poi-java: reproducible builds: timezone-specific timestamp in poi.jar

Jan-Benedict Glaw jbglaw at lug-owl.de
Wed Jun 28 23:36:14 BST 2023


On Wed, 2023-06-28 13:34:31 -0700, Vagrant Cascadian <vagrant at reproducible-builds.org> wrote:
> diff --git a/debian/rules b/debian/rules
> index c94adb7..9ddad46 100755
> --- a/debian/rules
> +++ b/debian/rules
> @@ -10,7 +10,7 @@ VERSION := $(shell echo $(DEB_VERSION_UPSTREAM) | sed 's/+dfsg//')
>  	dh $@ --with maven-repo-helper --with javahelper
>  
>  override_dh_auto_build:
> -	dh_auto_build -- -Dversion.id=$(VERSION) -DDSTAMP=$(shell date '--date=@$(SOURCE_DATE_EPOCH)' +%Y%m%d) jar maven-poms javadocs
> +	dh_auto_build -- -Dversion.id=$(VERSION) -DDSTAMP=$(shell date '--utc --date=@$(SOURCE_DATE_EPOCH)' +%Y%m%d) jar maven-poms javadocs
>  
>  override_dh_auto_test:
>  ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))

IMHO the `--utc` is misplaced within the `--date` quoting.

MfG, JBG

-- 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-java-maintainers/attachments/20230629/ff96f814/attachment-0001.sig>


More information about the pkg-java-maintainers mailing list