🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Bug#1136939: mandos: enable reproducible rebuilds by ensuring examples are owned correctly

#902
From: Vagrant Cascadian
Date: Wed, 14 Oct 2026 22:30
118 lines
6304 bytes
--==-=-=
Content-Type: multipart/mixed; boundary="=-=-="

--=-=-=
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On 2026-09-24, Vagrant Cascadian wrote:
> On 2026-05-17, Paul Gevers wrote:
>> I investigated why mandos-client shows up as not being reproducible on=20
>> reproduce.debian.net [1]. I figured out that it is because dh_fixperms=20
>> is skipped on the examples directory. Rebuilding the binaries with the=20
>> examples directory dropped from the exclude line in debian/rules=20
>> resulted in an identical binary package (checked with diffoscope), see=20
>> 0001-dh_fixperms-don-t-apply-on-examples.patch. I also couldn't figure=20
>> out why the Rules-Requires-Root was set, dropping that also resulted in=
=20
>> identical binaries. See 0002-d-control-don-t-use-Rules-Requires-Root.pat=
ch.
>>
>> Paul
>>
>> [1]=20
>> https://reproduce.debian.net/amd64/api/v1/builds/253667/artifacts/645832=
/diffoscope
>
> I can confirm the two patches are still needed and do fix the issue, and
> would like to perform an Non-Maintainer Upload (NMU) in the coming weeks
> to address this.

I have uploaded an NMU to DELAYED/10, debdiff attached (the previous
version had some files not in git... ?).

I have also pushed the changes to salsa.

live well,
  vagrant

--=-=-=
Content-Type: text/plain
Content-Disposition: inline; filename=mandos_1.8.19-1.2.debdiff.txt
Content-Transfer-Encoding: quoted-printable

diff -Nru mandos-1.8.19/debian/changelog mandos-1.8.19/debian/changelog
=2D-- mandos-1.8.19/debian/changelog	2026-05-05 06:44:21.000000000 -0700
+++ mandos-1.8.19/debian/changelog	2026-10-14 15:07:41.000000000 -0700
@@ -1,3 +1,13 @@
+mandos (1.8.19-1.2) unstable; urgency=3Dmedium
+
+  * Non-maintainer upload.
+
+  [ Paul Gevers ]
+  * dh_fixperms: don't apply on examples (Closes: #1136939)
+  * d/control: don't use Rules-Requires-Root
+
+ -- Vagrant Cascadian <vagrant@reproducible-builds.org>  Wed, 14 Oct 2026 =
15:07:41 -0700
+
 mandos (1.8.19-1.1) unstable; urgency=3Dmedium
=20
   * Non-maintainer upload.
diff -Nru mandos-1.8.19/debian/control mandos-1.8.19/debian/control
=2D-- mandos-1.8.19/debian/control	2026-05-05 06:44:21.000000000 -0700
+++ mandos-1.8.19/debian/control	2026-10-14 14:59:32.000000000 -0700
@@ -25,7 +25,6 @@
 Vcs-Browser: https://salsa.debian.org/debian/mandos
 Vcs-Git: https://salsa.debian.org/debian/mandos.git
 Homepage: https://www.recompile.se/mandos
=2DRules-Requires-Root: binary-targets
=20
 Package: mandos
 Architecture: all
diff -Nru mandos-1.8.19/debian/debian/control mandos-1.8.19/debian/debian/c=
ontrol
=2D-- mandos-1.8.19/debian/debian/control	2026-05-05 06:44:21.000000000 -07=
00
+++ mandos-1.8.19/debian/debian/control	1969-12-31 16:00:00.000000000 -0800
@@ -1,6 +0,0 @@
=2DSource: debian
=2DStandards-Version: 4.7.4
=2DMaintainer: Andreas Tille <tille@debian.org>
=2DSection: misc
=2DBuild-Depends:
=2D debhelper-compat (=3D 13),
diff -Nru mandos-1.8.19/debian/gbp.conf mandos-1.8.19/debian/gbp.conf
=2D-- mandos-1.8.19/debian/gbp.conf	2026-05-05 06:44:21.000000000 -0700
+++ mandos-1.8.19/debian/gbp.conf	1969-12-31 16:00:00.000000000 -0800
@@ -1,2 +0,0 @@
=2D[DEFAULT]
=2Dpristine-tar =3D False
diff -Nru mandos-1.8.19/debian/rules mandos-1.8.19/debian/rules
=2D-- mandos-1.8.19/debian/rules	2026-05-05 06:44:21.000000000 -0700
+++ mandos-1.8.19/debian/rules	2026-10-14 14:59:03.000000000 -0700
@@ -50,8 +50,7 @@
 		--exclude etc/mandos/plugins.d \
 		--exclude etc/mandos/plugin-helpers \
 		--exclude usr/lib/$(DEB_HOST_MULTIARCH)/mandos/plugins.d \
=2D		--exclude usr/lib/$(DEB_HOST_MULTIARCH)/mandos/plugin-helpers \
=2D		--exclude usr/share/doc/mandos-client/examples/network-hooks.d/
+		--exclude usr/lib/$(DEB_HOST_MULTIARCH)/mandos/plugin-helpers
 	chmod --recursive g-w -- \
 	"$(CURDIR)/debian/mandos-client/usr/share/doc/mandos-client/examples/netw=
ork-hooks.d"
=20

--=-=-=--

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

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

iHUEARYKAB0WIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCas//+AAKCRDcUY/If5cW
qhfJAP9aSKLvZa1k+gaU5GGj990ndoQXfqpwTSgLyea7aINsBwD+I0VSAlEFEnTb
ESLOA5bpZsMVg9QslnHX2uRCRj+PxAg=
=ZsSu
-----END PGP SIGNATURE-----
--==-=-=--
Technical Details
Message-ID: <NOfDX-5xOp-5@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.furie.org.uk!piper.furie.org.uk!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
References: <MVIDn-5OAR-1@gated-at.bofh.it> <NGYyd-1AJF-7@gated-at.bofh.it> <MVIDn-5OAR-1@gated-at.bofh.it> <NGYyd-1AJF-7@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!news.furie.org.uk!piper.furie.org.uk!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#1136939: mandos: enable reproducible rebuilds by ensuring examples are owned correctly
Date: Thu, 15 Oct 2026 00:30:01 +0200
Message-ID: <NOfDX-5xOp-5@gated-at.bofh.it>
References: <MVIDn-5OAR-1@gated-at.bofh.it> <NGYyd-1AJF-7@gated-at.bofh.it> <MVIDn-5OAR-1@gated-at.bofh.it> <NGYyd-1AJF-7@gated-at.bofh.it>
X-Original-To: 1136939@bugs.debian.org
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Wed Oct 14 22:21:10 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>, 1136939@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: mandos@recompile.se
X-Debian-Pr-Message: followup 1136939
X-Debian-Pr-Package: src:mandos
X-Debian-Pr-Keywords: patch
X-Debian-Pr-Source: mandos
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/1996851
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 118
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Cc: Paul Gevers <elbrus@debian.org>
X-Original-Date: Wed, 14 Oct 2026 15:19:36 -0700
X-Original-Message-ID: <874ieosz5z.fsf@wireframe>
X-Original-References: <8a63519f-1fda-4578-a240-84d34db9b5cb@debian.org> <87ld8q1j5i.fsf@wireframe> <8a63519f-1fda-4578-a240-84d34db9b5cb@debian.org> <87ld8q1j5i.fsf@wireframe>