Your message dated Fri, 25 Apr 2025 03:49:09 +0000
with message-id <[email protected]>
and subject line Bug#1037269: fixed in freetds 1.5.1+ds-2
has caused the Debian Bug report #1037269,
regarding freetds: reproducible-builds: time derived build number embedded in 
documentation
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1037269: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1037269
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: freetds
Severity: normal
Tags: patch
User: [email protected]
Usertags: timestamps
X-Debbugs-Cc: [email protected]

A build number derived from the build time is embedded in various
/usr/share/doc/freetds-doc/reference/*_source.html files:

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

  #define·TDS_VERSION_BUILD_NUMBER·856
  vs.
  #define·TDS_VERSION_BUILD_NUMBER·1256

The attached patch to configure.ac fixes this by instead using the value of
SOURCE_DATE_EPOCH for the BUILD_NUMBER if it is set, and falling back to
the default behavior if it is not set.

Alternately, I tried instead passing --date=@$SOURCE_DATE_EPOCH to the
various date calls, but for some reason that was not sufficient.


According to my local tests, with this patch applied freetds should build
reproducibly on tests.reproducible-builds.org!

Thanks for maintaining freetds!


live well,
  vagrant
From 0130aad916458fa19aa7f7e5822203a48cf96b9f Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <[email protected]>
Date: Fri, 9 Jun 2023 14:26:15 -0700
Subject: [PATCH 1/3] configure.ac: Use SOURCE_DATE_EPOCH as BUILD_NUMBER if
 set.

https://reproducible-builds.org/docs/source-date-epoch/
---
 configure.ac | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index 73b6d725..a76dc6ec 100644
--- a/configure.ac
+++ b/configure.ac
@@ -40,8 +40,11 @@ fi
 MAJOR=[`echo $ver | sed "s,$match,\1,"`]
 MINOR=[`echo $ver | sed "s,$match,\2,"`]
 SUBVERSION=[`echo $ver | sed "s,$match,\3,"`]
-BUILD_NUMBER="`date +1%j` - 1000 + ( `date +%Y` - 2021 )"
-BUILD_NUMBER="`expr $BUILD_NUMBER \* 366`"
+BUILD_NUMBER=$SOURCE_DATE_EPOCH
+if test -z "$BUILD_NUMBER"; then
+   BUILD_NUMBER="`date +1%j` - 1000 + ( `date +%Y` - 2021 )"
+   BUILD_NUMBER="`expr $BUILD_NUMBER \* 366`"
+fi
 if test "$SUBVERSION" = "9999"; then
 	MINOR=`expr $MINOR - 1`
 fi
-- 
2.39.2

Attachment: signature.asc
Description: PGP signature


--- End Message ---
--- Begin Message ---
Source: freetds
Source-Version: 1.5.1+ds-2
Done: Joseph Nahmias <[email protected]>

We believe that the bug you reported is fixed in the latest version of
freetds, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Joseph Nahmias <[email protected]> (supplier of updated freetds package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Thu, 24 Apr 2025 23:24:21 -0400
Source: freetds
Architecture: source
Version: 1.5.1+ds-2
Distribution: unstable
Urgency: medium
Maintainer: Joseph Nahmias <[email protected]>
Changed-By: Joseph Nahmias <[email protected]>
Closes: 1025534 1037269 1044723 1101118 1102144
Changes:
 freetds (1.5.1+ds-2) unstable; urgency=medium
 .
   [ Carles Pina i Estany ]
   * Added po-debconf Catalan translation (Closes: #1101118)
 .
   [ Joseph Nahmias ]
   * bump Std-Ver; no changes
   * fix dep5 syntax error
   * remove outdated FSF address
   * fix reproducibility of documentation build.
     Thanks to Vagrant Cascadian <[email protected]>
     (Closes: #1037269)
   * tdsodbc: change recommends from libodbc1 to libodbc2.
     Thanks to Hugh McMaster <[email protected]> (Closes: #1025534)
   * d/clean: remove stray testing artifact (Closes: #1044723)
   * add Romanian debconf template translation.
     Thanks to Remus-Gabriel Chelu <[email protected]>
     (Closes: #1102144)
   * debhelper compat 12 -> 13
   * add copyright for new Catalan translation
   * add some simple autopkgtests
   * add missing libc6-dev dep for autopkgtest
   * fix dep5 copyright syntax for public domain files
Checksums-Sha1:
 7e5471c8dc82da8975d7e5c7cc1d011f0da5ec01 2336 freetds_1.5.1+ds-2.dsc
 ae5251a4427d280e4ca46621370cf6f08a8ad860 25908 freetds_1.5.1+ds-2.debian.tar.xz
 1016608c189979b96fc1b8ec5085fccbaeece129 10497 
freetds_1.5.1+ds-2_amd64.buildinfo
Checksums-Sha256:
 7dd1cf949bcf9cba71e77b1a4ba13c8c2d0c5210d1d70d5260331f8e6a594b86 2336 
freetds_1.5.1+ds-2.dsc
 4a18aafce4a1b9e1fc561bfbff0a3d0d46d02429b28fdc490ca96acba6e3cfd1 25908 
freetds_1.5.1+ds-2.debian.tar.xz
 e93a5738fb738a8e6573c0a56b594e8d9b021144c8a12d8841e28b33f45d23b8 10497 
freetds_1.5.1+ds-2_amd64.buildinfo
Files:
 dd2ce380f1a0e15ebb4a9d73dd9f1502 2336 libs optional freetds_1.5.1+ds-2.dsc
 5e66b9ea35f28ba418600aa7aca4133e 25908 libs optional 
freetds_1.5.1+ds-2.debian.tar.xz
 24c52e4caded77906414c90ceba4e34e 10497 libs optional 
freetds_1.5.1+ds-2_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEcxc7CTsDz7hRCK0UsRvZGQeaO5gFAmgLAjoACgkQsRvZGQea
O5gDjQ//Z7x7bNKNU1GJfGOEUsjl5VQ8SxbDSslFeOH1uw7MSscbIApBItxmZPx/
3DJWtDLaFrGABqjV8iARZaEXKjniD6Ik1NoyyMPKGBsV6+kmEvAZUadQJMBBtaBy
hy0VMkPCxpAFsrYxrXBjwNU36E7jlzFy6k/RQWSk0ZasgyGVcBly2drkmqbT/XRu
oEux6mvvKwa1JQDb/5v2WvzBQao1iPF57uopoNRzhh7Mv9Gqkuto120/Rwo9SCTp
UTaqfRbQE3uI90aAj7lO3qA6P/qNKCM1OgQ60Hqt2iwGmoaMnDXhkNU3eVzQkZKM
U1jV4E9MAHm//5TQyhwy0hKPnaeaPI5mmp9LKTc1MlX9l8SKdnsBeaNGd/2VIezS
HbBYo4OMUpd9f0Cx2noKle9iu5CN4yXPO1VOolVRHdzL97qcqpMhKBm5gfG+quM2
0D/ejzDd3TU2jakoqAf2Td0/Wbbm0spZZowsWRg92IJxBAgAOyqQ51DNOU/qMLwX
WC+vxe6fCdX8KYmNGmITLTMjDI50L89t/ueYZGohQP8N6kHcIUoD0LXu/Y9naTiz
F0mNq7ocJ6t9oeiBeULv2xrbCktRuBbx70RqMJ2M0sbUZonr6OAQEAK8lDCpWsCi
kvL2Qv6mj0PVaGRlIZlSpuns+QPUz0Pv0JGy520014NryldU0kA=
=9aey
-----END PGP SIGNATURE-----

Attachment: pgpvDYPHunmei.pgp
Description: PGP signature


--- End Message ---

Reply via email to