🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.dist
Article #6025

Bug#1151038: eclipse-titan please make the build reproducible for testing migration

#6025
From: 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-----
--==-=-=--
Technical Details
Message-ID: <O37br-dXhq-5@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.bofh.team!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
References: <NONFD-5U3f-13@gated-at.bofh.it> <NONFD-5U3f-13@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.bofh.team!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: Vagrant Cascadian <vagrant@reproducible-builds.org>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1151038: eclipse-titan please make the build reproducible for testing migration
Date: Tue, 24 Nov 2026 23:30:01 +0100
Message-ID: <O37br-dXhq-5@gated-at.bofh.it>
References: <NONFD-5U3f-13@gated-at.bofh.it> <NONFD-5U3f-13@gated-at.bofh.it>
X-Original-To: Jochen Sprickerhof <jspricke@debian.org>, 1151038@bugs.debian.org
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Tue Nov 24 22:27:12 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.451
Reply-To: Vagrant Cascadian <vagrant@reproducible-builds.org>, 1151038@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: mail.pilisig@gmail.com
X-Debian-Pr-Message: followup 1151038
X-Debian-Pr-Package: src:eclipse-titan
X-Debian-Pr-Source: eclipse-titan
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="==-=-=";
	micalg=pgp-sha512; protocol="application/pgp-signature"
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2004804
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 84
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Tue, 24 Nov 2026 14:25:33 -0800
X-Original-Message-ID: <87zeuxuasi.fsf@wireframe>
X-Original-References: <179214715593.213879.7517883139784296730.reportbug@fenchel> <179214715593.213879.7517883139784296730.reportbug@fenchel>