On 2024-09-20, Johannes Schauer Marin Rodrigues wrote:
> │ │ ├── data.tar.xz
> │ │ │ ├── data.tar
> │ │ │ │ ├── ./usr/share/man/man1/buildd-abort.1.gz
> │ │ │ │ │ ├── buildd-abort.1
> │ │ │ │ │ │ @@ -21,15 +21,15 @@
> │ │ │ │ │ │  .ds SCHROOT_SYSCONF_DIR /etc/schroot
> │ │ │ │ │ │  .ds BUILDD_CONF /etc/buildd/buildd.conf
> │ │ │ │ │ │  .ds BUILDD_SYSCONF_DIR /etc/buildd
> │ │ │ │ │ │  .ds SBUILD_CONF /etc/sbuild/sbuild.conf
> │ │ │ │ │ │  .ds SBUILD_SYSCONF_DIR /etc/sbuild
> │ │ │ │ │ │  .ds WANNA_BUILD_LIBEXEC_DIR @WANNA_BUILD_LIBEXEC_DIR@
> │ │ │ │ │ │  .ds SBUILD_LIBEXEC_DIR /usr/libexec/sbuild
> │ │ │ │ │ │ +.ds RELEASE_DATE 28 august 2024
> │ │ │ │ │ │ -.ds RELEASE_DATE 28 August 2024
> │ │ │ │ │ │  .ds VERSION 0.85.11+salsaci+20240920+283
> │ │ │ │ │ │  .ds PACKAGE sbuild
> │ │ │ │ │ │  .ds PACKAGE_URL 
> │ │ │ │ │ │  .ds PACKAGE_BUGREPORT [email protected]
> │ │ │ │ │ │  .ds PACKAGE_STRING sbuild 0.85.11+salsaci+20240920+283
> │ │ │ │ │ │  .ds PACKAGE_VERSION 0.85.11+salsaci+20240920+283
> │ │ │ │ │ │  .ds PACKAGE_TARNAME sbuild
>
> The differing timestamp ("august" versus "August") gets generated in
> ./configure by essentially running:
>
>     $ date --utc --date=$(dpkg-parsechangelog --show-field Timestamp) '+%d %B 
> %Y')

> The issue is fixed by this patch to d/rules:
>
> --- a/debian/rules
> +++ b/debian/rules
> @@ -1,5 +1,8 @@
>  #!/usr/bin/make -f
>  
> +# prevent different timestamps in man pages (see #XXXXX)
> +export LC_ALL=C.UTF-8
> +
>  %:
>         dh $@

Alternately, configure could use ISO dates with --iso-8601 or manually
specifing as "+%Y-%m-%d". This would help other distros that package
sbuild without inheriting the packaging from Debian...


Curiously tests.reproducible-builds.org did not catch this, although it
may be checking different locales, or setting locales through alternate
mechanisms...


live well,
  vagrant

Attachment: signature.asc
Description: PGP signature

Reply via email to