Source: openjdk-11 Version: 11.0.4+11-1 Severity: normal The openjdk package doesn't use the DH sequencer and didn't benefit from the addition of dh_strip_nondeterminism in the build sequence in debhelper/9.20151004.
Inserting a call to dh_strip_nondeterminism in the build would fix several reproducibility issues, such as the entries order and timestamp in the jar and jmod files, or the permissions in the src.zip files. The call to dh_strip_nondeterminism can be inserted between dh_link and dh_compress: diff --git a/debian/rules b/debian/rules index f02df7b..bacf927 100755 --- a/debian/rules +++ b/debian/rules @@ -1642,6 +1642,7 @@ endif -dh_icons -i $(nodocs) || dh_iconcache -i $(nodocs) # dh_installdebconf -i $(nodocs) dh_link -i $(nodocs) + dh_strip_nondeterminism -i $(nodocs) dh_compress -i $(nodocs) -Xexamples -Xdemo -Xpackage-list -Xelement-list dh_fixperms -i $(nodocs) dh_installdeb -i $(nodocs) @@ -1694,6 +1695,7 @@ endif || dh_iconcache -a $(nodemo) $(nojrez) # dh_installdebconf -a $(nodemo) $(nojrez) dh_link -a $(nodemo) $(nojrez) + dh_strip_nondeterminism -a $(nodemo) $(nojrez) dh_strip -a $(nodemo) $(nojrez) \ -Xlibjvm.so -X.debuginfo --dbg-package=$(p_dbg)