🚀 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 Wed, 25 Nov 2026 23:20
Bug#1155388: subversion: workaround dh_apache2 sort order
#6225
Author: Vagrant Cascadian
Date: Wed, 25 Nov 2026 23:20
122 lines
5634 bytes
--==-=-=
Content-Type: multipart/mixed; boundary="=-=-="

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

Package: subversion
Severity: normal
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: randomness
X-Debbugs-Cc: reproducible-bugs@lists.alioth.debian.org

The sort order of various modules in the maintainer scripts varies:

=2D-- /srv/rebuilderd/tmp/rebuilderd4BrIIh/inputs/libapache2-mod-svn_1.15.0=
-2_arm64.deb
+++ /srv/rebuilderd/tmp/rebuilderd4BrIIh/out/libapache2-mod-svn_1.15.0-2_ar=
m64.deb
=E2=94=9C=E2=94=80=E2=94=80 control.tar.xz
=E2=94=82 =E2=94=9C=E2=94=80=E2=94=80 control.tar
=E2=94=82 =E2=94=82 =E2=94=9C=E2=94=80=E2=94=80 ./postinst
=E2=94=82 =E2=94=82 =E2=94=82 @@ -1,12 +1,12 @@
=E2=94=82 =E2=94=82 =E2=94=82  #!/bin/sh
=E2=94=82 =E2=94=82 =E2=94=82  set -e
=E2=94=82 =E2=94=82 =E2=94=82  # Automatically added by dh_apache2/UNDECLAR=
ED
=E2=94=82 =E2=94=82 =E2=94=82  if true; then
=E2=94=82 =E2=94=82 =E2=94=82  	if [ -e /usr/share/apache2/apache2-maintscr=
ipt-helper ] ; then
=E2=94=82 =E2=94=82 =E2=94=82  		. /usr/share/apache2/apache2-maintscript-h=
elper
=E2=94=82 =E2=94=82 =E2=94=82 -		for conf in dav_svn authz_svn  ; do
=E2=94=82 =E2=94=82 =E2=94=82 +		for conf in authz_svn dav_svn  ; do
=E2=94=82 =E2=94=82 =E2=94=82  			apache2_invoke enmod $conf  || exit 1
=E2=94=82 =E2=94=82 =E2=94=82  		done
=E2=94=82 =E2=94=82 =E2=94=82  	fi
=E2=94=82 =E2=94=82 =E2=94=82  fi
=E2=94=82 =E2=94=82 =E2=94=82  # End automatically added section

Although since it only varies between two positions, it is likely to
flip back and forth between reproducible and not reproducible.

This issue is currently confirmed by reproduce.debian.net on some
architectures:

  https://reproduce.debian.net/excuses.html?source_name=3Dsubversion

The triggering issue is in apache2-dev, and a fix is a work in progress:

  https://bugs.debian.org/1069907

In the meantime the attached patch works around the issue by specifying
the order in debian/libapache2-mod-svn.apache2.

I believe with this patch applied, subversion should build reproducibly!

Thanks for maintaining subversion!

live well,
  vagrant

--=-=-=
Content-Type: text/x-diff
Content-Disposition: inline;
 filename=0001-Move-installation-of-dav_svn.conf-dav_svn.load-and-a.patch
Content-Transfer-Encoding: quoted-printable

From=208d8ab2453b2347af9e4997df4441140b624f2bbc Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagrant@reproducible-builds.org>
Date: Wed, 25 Nov 2026 14:49:27 -0800
Subject: [PATCH] Move installation of dav_svn.conf, dav_svn.load and
 authz_svn.load into debian/libapache2-mod-svn.apache2.

This works around https://bugs.debian.org/1069907
=2D--
 debian/libapache2-mod-svn.apache2 | 3 +++
 debian/libapache2-mod-svn.install | 3 ---
 2 files changed, 3 insertions(+), 3 deletions(-)
 create mode 100644 debian/libapache2-mod-svn.apache2

diff --git a/debian/libapache2-mod-svn.apache2 b/debian/libapache2-mod-svn.=
apache2
new file mode 100644
index 0000000..7ae71e7
=2D-- /dev/null
+++ b/debian/libapache2-mod-svn.apache2
@@ -0,0 +1,3 @@
+mod debian/dav_svn.conf
+mod debian/dav_svn.load
+mod debian/authz_svn.load
diff --git a/debian/libapache2-mod-svn.install b/debian/libapache2-mod-svn.=
install
index f7e2119..21033af 100644
=2D-- a/debian/libapache2-mod-svn.install
+++ b/debian/libapache2-mod-svn.install
@@ -1,4 +1 @@
=2Ddebian/authz_svn.load                           etc/apache2/mods-availab=
le
=2Ddebian/dav_svn.conf                             etc/apache2/mods-availab=
le
=2Ddebian/dav_svn.load                             etc/apache2/mods-availab=
le
 debian/tmp/usr/lib/apache2/modules/*_svn.so	usr/lib/apache2/modules
=2D-=20
2.47.3


--=-=-=--

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

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

iHUEARYKAB0WIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCawdr3AAKCRDcUY/If5cW
qtYSAP0c+NVPmfLEIjWNysZW+lX+hGE1nhc9OG6fcU4rglGRSQEAqlojGdb0QU5h
1t3qnkYlGS82JMpnScTkFEBIJes3KwI=
=1TIX
-----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