Package: sbuild
Version: 0.85.11
Severity: normal
User: reproducible-bui...@lists.alioth.debian.org
Usertags: locale
X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org

Hi,

sbuild fails the reprotest job in salsa CI with differences like this:

│ │ ├── data.tar.xz
│ │ │ ├── data.tar
│ │ │ │ ├── ./usr/share/perl5/Sbuild/Sysconfig.pm
│ │ │ │ │ @@ -29,15 +29,15 @@
│ │ │ │ │  
│ │ │ │ │      @ISA = qw(Exporter);
│ │ │ │ │  
│ │ │ │ │      @EXPORT_OK = qw($version $release_date $compat_mode %paths 
%programs);
│ │ │ │ │  }
│ │ │ │ │  
│ │ │ │ │  our $version = "0.85.11+salsaci+20240920+283";
│ │ │ │ │ +our $release_date = "28 august 2024";
│ │ │ │ │ -our $release_date = "28 August 2024";
│ │ │ │ │  our $compat_mode = 0;
│ │ │ │ │  
│ │ │ │ │  # Paths
│ │ │ │ │  my $prefix = "/usr";
│ │ │ │ │  my $exec_prefix = "${prefix}";
│ │ │ │ │  # Depend on prefix
│ │ │ │ │  my $includedir = "${prefix}/include";

or this:

│ │ ├── 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 buildd-tools-de...@lists.alioth.debian.org
│ │ │ │ │ │  .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 $@
 

Filed here to close it later for the internet points. Thanks!

cheers, josch

Reply via email to