On 2026-06-23, Robin Jarry wrote:
> I had uploaded 0.11.7-1 a few days ago with a fix for that
> reproducibility issue but it seems the upload wasn't processed.

It seems like the upload was eventually processed, although the fix
included was only a partial fix.

diff --git a/doc/gen-man-pages.sh b/doc/gen-man-pages.sh
index 7112ba6..7bc1969 100755
--- a/doc/gen-man-pages.sh
+++ b/doc/gen-man-pages.sh
@@ -35,7 +35,7 @@ for xml in $groups; do
                -S "2010" \
                -d "$xml_dir" \
                -o "$output_dir" \
-               -D "$(date +%Y-%m-%d ${SOURCE_DATE_EPOCH:+-d 
@${SOURCE_DATE_EPOCH}})" \
+               -D "$(date +%Y-%m-%d ${SOURCE_DATE_EPOCH:+-u -d 
@${SOURCE_DATE_EPOCH}})" \
                "$xml" || [ "$?" -gt 128 ]
 done

The -u (a.k.a. --utc) argument to date is needed for the build to be
independent of the timezone:

  
https://tests.reproducible-builds.org/debian/rb-pkg/forky/amd64/diffoscope-results/libecoli.html

  ./usr/share/man/man3/ec_comp.3.gz

  .TH·EC_COMP·3·2026-06-11·"libecoli"·"Libecoli·Programmer's·Manual"
  vs.
  .TH·EC_COMP·3·2026-06-12·"libecoli"·"Libecoli·Programmer's·Manual"

  Copyright·(C)·2010-2027·Olivier·Matz,·Robin·Jarry.
  vs.
  Copyright·(C)·2010-2026·Olivier·Matz,·Robin·Jarry.

Unfortunately, the Copyright date range at the end of the manpage still
includes the year it was built and not the year from SOURCE_DATE_EPOCH,
so if the package is built in a different calendar year, it will not be
reproducible. I have not figured out a fix for that yet, but am looking
into it...


live well,
  vagrant

Attachment: signature.asc
Description: PGP signature

Reply via email to