🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Bug#1135269: ruby-timers: please make the build reproducible

#898
From: Vagrant Cascadian
Date: Wed, 14 Oct 2026 22:00
120 lines
6252 bytes
--==-=-=
Content-Type: multipart/mixed; boundary="=-=-="

--=-=-=
Content-Type: text/plain

On 2026-09-24, Vagrant Cascadian wrote:
> On 2026-04-30, Chris Lamb wrote:
>> Whilst working on the Reproducible Builds effort [0], we noticed that
>> ruby-timers could not be built reproducibly.
>>
>> This is because the .gemspec file gets evaluated, causing this line:
>>
>>   File.expand_path("~/.gem/release.pem")
>>
>> ... to be rendered in the binary package, leading to the package
>> embedding the build user's home directory.
>>
>> Patch attached.
>
> I can confirm that the patch still applies and fixes the issue.
>
> I would like to perform a Non-Maintainer Upload (NMU) in the coming
> weeks applying this patch.

I have uploaded an NMU to DELAYED/10, debdiff attached. Also prepared a
merge request:

https://salsa.debian.org/ruby-team/ruby-timers/-/merge_requests/1

live well,
  vagrant

--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline; filename=ruby-timers_4.4.0-2.1.debdiff.txt
Content-Transfer-Encoding: quoted-printable

diff -Nru ruby-timers-4.4.0/debian/changelog ruby-timers-4.4.0/debian/chang=
elog
=2D-- ruby-timers-4.4.0/debian/changelog	2026-02-08 18:24:40.000000000 -0800
+++ ruby-timers-4.4.0/debian/changelog	2026-10-14 14:39:23.000000000 -0700
@@ -1,3 +1,13 @@
+ruby-timers (4.4.0-2.1) unstable; urgency=3Dmedium
+
+  * Non-maintainer upload.
+
+  [ Chris Lamb ]
+  * debian/patches: timers.gemspec: Drop cert_chain and signing_key for
+    reproducible builds. (Closes: #1135269)
+
+ -- Vagrant Cascadian <vagrant@reproducible-builds.org>  Wed, 14 Oct 2026 =
14:39:23 -0700
+
 ruby-timers (4.4.0-2) unstable; urgency=3Dmedium
=20
   * Team upload.
diff -Nru ruby-timers-4.4.0/debian/patches/0001-timers.gemspec-Drop-cert_ch=
ain-and-signing_key-for-r.patch ruby-timers-4.4.0/debian/patches/0001-timer=
s.gemspec-Drop-cert_chain-and-signing_key-for-r.patch
=2D-- ruby-timers-4.4.0/debian/patches/0001-timers.gemspec-Drop-cert_chain-=
and-signing_key-for-r.patch	1969-12-31 16:00:00.000000000 -0800
+++ ruby-timers-4.4.0/debian/patches/0001-timers.gemspec-Drop-cert_chain-an=
d-signing_key-for-r.patch	2026-10-14 14:35:41.000000000 -0700
@@ -0,0 +1,27 @@
+From cd272bbe224bb6a0043b9ac13f36932134bddb74 Mon Sep 17 00:00:00 2001
+From: Chris Lamb <lamby@debian.org>
+Date: Thu, 30 Apr 2026 13:09:31 -0700
+Subject: [PATCH] timers.gemspec: Drop cert_chain and signing_key for
+ reproducible builds. (Closes: #1135269)
+
+---
+ timers.gemspec | 3 ---
+ 1 file changed, 3 deletions(-)
+
+diff --git a/timers.gemspec b/timers.gemspec
+index c96a9b0..967b2b2 100644
+--- a/timers.gemspec
++++ b/timers.gemspec
+@@ -10,9 +10,6 @@ Gem::Specification.new do |spec|
+ 	spec.authors =3D ["Tony Arcieri", "Samuel Williams", "Donovan Keme", "Wa=
nder Hillen", "Utenmiki", "Jeremy Hinegardner", "Sean Gregory", "Chuck Reme=
s", "Olle Jonsson", "Ron Evans", "Tommy Ong Gia Phu", "Larry Lv", "Lin Jen-=
Shin", "Ryunosuke Sato", "Atul Bhosale", "Bruno Enten", "Dimitrij Denissenk=
o", "Jesse Cooke", "Klaus Trainer", "Lavir the Whiolet", "Mike Bourgeous", =
"Nicholas Evans", "Patrik Wenger", "Peter Goldstein", "Ryan LeCompte", "Tim=
 Smith", "V=C3=ADt Ondruch", "Will Jessop", "Yoshiki Takagi"]
+ 	spec.license =3D "MIT"
+=20=09
+-	spec.cert_chain  =3D ["release.cert"]
+-	spec.signing_key =3D File.expand_path("~/.gem/release.pem")
+-=09
+ 	spec.homepage =3D "https://github.com/socketry/timers"
+=20=09
+ 	spec.metadata =3D {
+--=20
+2.47.3
+
diff -Nru ruby-timers-4.4.0/debian/patches/series ruby-timers-4.4.0/debian/=
patches/series
=2D-- ruby-timers-4.4.0/debian/patches/series	1969-12-31 16:00:00.000000000=
 -0800
+++ ruby-timers-4.4.0/debian/patches/series	2026-10-14 14:34:54.000000000 -=
0700
@@ -0,0 +1 @@
+0001-timers.gemspec-Drop-cert_chain-and-signing_key-for-r.patch

--=-=-=--

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

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

iHUEARYKAB0WIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCas/6DgAKCRDcUY/If5cW
qm1+AQCTARbSnkhzF4H2Qe0hhp5kN3H8VKUhdGWYvQJBwe2tcAD+Ip+qC2lLGzVc
zKmJBGd9AwvwT+CYYRnRuU3CDkr3Ywk=
=FOD4
-----END PGP SIGNATURE-----
--==-=-=--
Technical Details
Message-ID: <NOfaW-5xpy-3@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!2.eu.feeder.erje.net!feeder.erje.net!fu-berlin.de!bofh.it!news.nic.it!robomod
References: <MPy41-1w7B-1@gated-at.bofh.it> <NGYeR-1ACI-17@gated-at.bofh.it> <MPy41-1w7B-1@gated-at.bofh.it> <NGYeR-1ACI-17@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!2.eu.feeder.erje.net!feeder.erje.net!fu-berlin.de!bofh.it!news.nic.it!robomod
From: Vagrant Cascadian <vagrant@reproducible-builds.org>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1135269: ruby-timers: please make the build reproducible
Date: Thu, 15 Oct 2026 00:00:02 +0200
Message-ID: <NOfaW-5xpy-3@gated-at.bofh.it>
References: <MPy41-1w7B-1@gated-at.bofh.it> <NGYeR-1ACI-17@gated-at.bofh.it> <MPy41-1w7B-1@gated-at.bofh.it> <NGYeR-1ACI-17@gated-at.bofh.it>
X-Original-To: 1135269@bugs.debian.org
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Wed Oct 14 21:57:08 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>, 1135269@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: pkg-ruby-extras-maintainers@lists.alioth.debian.org
X-Debian-Pr-Message: followup 1135269
X-Debian-Pr-Package: src:ruby-timers
X-Debian-Pr-Keywords: patch
X-Debian-Pr-Source: ruby-timers
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/1996847
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 120
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Cc: Chris Lamb <lamby@debian.org>
X-Original-Date: Wed, 14 Oct 2026 14:54:22 -0700
X-Original-Message-ID: <877bjkt0c1.fsf@wireframe>
X-Original-References: <177754909077.2117.12643338034544356608@7ded4f0627f7> <87o6dm1k1v.fsf@wireframe> <177754909077.2117.12643338034544356608@7ded4f0627f7> <87o6dm1k1v.fsf@wireframe>