🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.debian.bugs.dist
1 messages
1 total messages Started by Vagrant Cascadian Tue, 24 Nov 2026 22:30
Bug#1151038: eclipse-titan please make the build reproducible for testing migration
#6025
Author: Vagrant Cascadian
Date: Tue, 24 Nov 2026 22:30
84 lines
4367 bytes
--==-=-=
Content-Type: multipart/mixed; boundary="=-=-="

--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

Control: tags 1151038 +patch

On 2026-10-16, Jochen Sprickerhof wrote:
> eclipse-titan currently fails to migrate to testing because it is not
> reproducible:
>
> https://qa.debian.org/excuses.php?package=3Declipse-titan
>
> The problem is that it encodes the current date into a number of
> headers, like:
>
> =E2=94=82 =E2=94=82 =E2=94=9C=E2=94=80=E2=94=80 ./usr/include/titan/RT1/P=
reGenRecordOf.hh
> =E2=94=82 =E2=94=82 =E2=94=82 -// for Debian source builder (sbuild@sbuil=
d) on Fri Jul 31 13:15:28 2026
> =E2=94=82 =E2=94=82 =E2=94=82 +// for Debian source builder (sbuild@sbuil=
d) on Wed Aug  5 17:21:00 2026

I believe the attached patch fixes this, by setting the -D flag in
TTCN_COMPILER_FLAGS which sets the disable_user_info value to avoid
embedding username, hostname or timestamp.

It might also be possible to set via debian/rules, or adjust my patch to
make it something more appropriate for upstream (e.g. make it
conditional on SOURCE_DATE_EPOCH being set?).

live well,
  vagrant

--=-=-=
Content-Type: text/x-diff
Content-Disposition: inline;
 filename=0001-core-Makefile-Add-D-to-TTCN_COMPILER_FLAGS-to-set-di.patch
Content-Transfer-Encoding: quoted-printable

From=205c595babe6904976fb87b2720c5f760053c44f47 Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagrant@reproducible-builds.org>
Date: Tue, 24 Nov 2026 13:38:31 -0800
Subject: [PATCH] core/Makefile: Add -D to TTCN_COMPILER_FLAGS to set
 disable_user_info =3D True.

=2D--
 core/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/core/Makefile b/core/Makefile
index 99f3add..dd35105 100644
=2D-- a/core/Makefile
+++ b/core/Makefile
@@ -66,6 +66,8 @@ GENERATED_OTHERS  :=3D $(GENERATED_LOGGERAPI_SOURCES).com=
piled $(GENERATED_LOGGERC
 GENERATED_OTHERS  +=3D $(PREGENERATED_SOURCES).compiled config_process.out=
put lex.backup
=20
 TTCN_COMPILER_FLAGS :=3D
+# Disable user, hostname and timestamps embedded in header files
+TTCN_COMPILER_FLAGS +=3D -D
 ifeq ($(FUNCTION_TEST_RUNTIME), yes)
   TTCN_COMPILER_FLAGS +=3D -R
 endif
=2D-=20
2.47.3


--=-=-=--

--==-=-=
Content-Type: application/pgp-signature; name="signature.asc"

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

iHUEARYKAB0WIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCawYO3QAKCRDcUY/If5cW
qp5PAP4k4xH7kBf03QebNIDa9FRlGCE41eT0CE20QlKK2w6FlAEA12NbAMzoFVv7
sLBlos32NZ6TecdmzgqrbWdWH3uOfwo=
=PGic
-----END PGP SIGNATURE-----
--==-=-=--
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads