Your message dated Fri, 15 Aug 2025 22:02:40 +0000
with message-id <[email protected]>
and subject line Bug#1110519: fixed in rabbitmq-server 4.0.5-6+deb13u1
has caused the Debian Bug report #1110519,
regarding rabbitmq-server broken plugin versions
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1110519: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1110519
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: rabbitmq-server
Version: 4.0.5-6
Tags: patch

Hi,

upstream commit 7bdc82c03 (3.6.10) changed the version detection.

Currently many plugins have version 0.0.0, including the main plugin,
and both `rabbitmqctl version` and `rabbitmqctl status` show 0.0.0,
breaking everything that uses version detection (like the puppet
`puppet-rabbitmq` module).

As far as I can tell updating debian/rules to export the version as
PROJECT_VERSION fixes it (and hopefully doesn't break anything).
From bc9501a9edc996b6ba530194ebb8028aa4f2ef3e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Stefan=20B=C3=BChler?= <[email protected]>
Date: Thu, 7 Aug 2025 15:18:38 +0200
Subject: [PATCH 1/1] Fix plugin versions by exporting PROJECT_VERSION

Upstream 7bdc82c03 (3.6.10) changed the version detection.

Without this many plugins (including the main "rabbit") as version
0.0.0, which breaks all kinds of version detection.
---
 debian/rules | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/debian/rules b/debian/rules
index 537a5261..8d2b8d3a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,7 +2,7 @@
 # -*- makefile -*-
 
 DEB_DESTDIR=debian/rabbitmq-server
-VERSION = $(shell dpkg-parsechangelog -SVersion | sed -e 's/^[[:digit:]]*://' -e 's/[-].*//' -e 's/~/.0/' -e 's/+dfsg1//' | head -n 1)
+export PROJECT_VERSION=$(shell dpkg-parsechangelog -SVersion | sed -e 's/^[[:digit:]]*://' -e 's/[-].*//' -e 's/~/.0/' -e 's/+dfsg1//' | head -n 1)
 
 export LC_ALL=en_US.UTF-8
 export LANG=en_US.UTF-8
@@ -24,7 +24,7 @@ export PREFIX RMQ_ROOTDIR
 
 override_dh_auto_install: PREFIX = /usr
 override_dh_auto_install: RMQ_ROOTDIR = $(PREFIX)/lib/rabbitmq
-override_dh_auto_install: RMQ_ERLAPP_DIR = $(RMQ_ROOTDIR)/lib/rabbitmq_server-$(VERSION)
+override_dh_auto_install: RMQ_ERLAPP_DIR = $(RMQ_ROOTDIR)/lib/rabbitmq_server-$(PROJECT_VERSION)
 override_dh_auto_install:
 	dh_auto_install
 	#dh_auto_install -- DESTDIR=$(DEB_DESTDIR) PREFIX=/usr MAN_DIR=$(DEB_DESTDIR)/usr/share/man
@@ -59,7 +59,7 @@ override_dh_auto_install:
 
 override_dh_install:
 	dh_install
-	sed -i s/%%VSN%%/$(VERSION)/ $(CURDIR)/debian/rabbitmq-server/usr/bin/rabbitmqadmin
+	sed -i s/%%VSN%%/$(PROJECT_VERSION)/ $(CURDIR)/debian/rabbitmq-server/usr/bin/rabbitmqadmin
 
 override_dh_auto_clean:
 	rm -f plugins-src/rabbitmq-server plugins/README
-- 
2.47.2


--- End Message ---
--- Begin Message ---
Source: rabbitmq-server
Source-Version: 4.0.5-6+deb13u1
Done: Thomas Goirand <[email protected]>

We believe that the bug you reported is fixed in the latest version of
rabbitmq-server, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Thomas Goirand <[email protected]> (supplier of updated rabbitmq-server package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Mon, 11 Aug 2025 14:31:10 +0200
Source: rabbitmq-server
Architecture: source
Version: 4.0.5-6+deb13u1
Distribution: trixie
Urgency: medium
Maintainer: Debian OpenStack <[email protected]>
Changed-By: Thomas Goirand <[email protected]>
Closes: 1110519
Changes:
 rabbitmq-server (4.0.5-6+deb13u1) trixie; urgency=medium
 .
   * Fix rabbitmq-server broken plugin versions by applying patch from the BTS.
     Thanks to Stefan Bühler <[email protected]> for it
     (Closes: #1110519).
 .
   [ Andreas Hasenack ]
   * Add many autopkgtest.
Checksums-Sha1:
 39a08cfb35a779a56ee0dd943564983171f73c0d 2990 
rabbitmq-server_4.0.5-6+deb13u1.dsc
 e0f45729a88a54c8f40d7ac35277f6109df458eb 35172 
rabbitmq-server_4.0.5-6+deb13u1.debian.tar.xz
 927b4477100eeb67692fc5556789e351999daa8d 7983 
rabbitmq-server_4.0.5-6+deb13u1_amd64.buildinfo
Checksums-Sha256:
 4861bc5ca088a04a8ae7e2ebf4cbe799097739957623d881a1c799b79ba76da2 2990 
rabbitmq-server_4.0.5-6+deb13u1.dsc
 5843fdc49d7b5d7d85042bd9263ec64d657f4dd361855381a103dd694f85d786 35172 
rabbitmq-server_4.0.5-6+deb13u1.debian.tar.xz
 e622f8c7331e6e0715980ddc4ddd12d33d7001e57836a1f4af47884507eb17cf 7983 
rabbitmq-server_4.0.5-6+deb13u1_amd64.buildinfo
Files:
 1eade489632f483f5a0e229bba05d85a 2990 net optional 
rabbitmq-server_4.0.5-6+deb13u1.dsc
 4f7827b4a67191a75e4ea587b11be3ac 35172 net optional 
rabbitmq-server_4.0.5-6+deb13u1.debian.tar.xz
 caf05792eda60de088151f3d7ad4b768 7983 net optional 
rabbitmq-server_4.0.5-6+deb13u1_amd64.buildinfo

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

iQIzBAEBCgAdFiEEoLGp81CJVhMOekJc1BatFaxrQ/4FAmifhXkACgkQ1BatFaxr
Q/70mA/+IuSZgRunfaNeDbNJNEOeegEK88afJO08UxeUxSUsErdH7Or7Rxm5rtWr
ZTc+1QjdqIvSGdChpObsPac4FeTp2IFatTfGuQBDG0/wvT14MU5BfGh7uH5u4ogz
zPvfEYIrbeVPZTrWE6izHcAAuOa+R3toz0UuJfKI9HKfBsCN+hTgcRacGD3igghA
SK7Bkz9b46fk8OvVtQr6B5xPVNeNriGVK6Td2roRO5YjmdCrGoiH4BYzuhGekpAU
9n6FQ3j1E0PVo6B3jcyJlI6VYcSGq/4RunBJexxucKx+eU0cnxyAwSX4Vxi8SxCe
ygm18D+a7y8fC+HNIuLkpFBOKoLPjat5+0mj+2O/5jD6rgVJtLd3/kC+bdkFBua3
HmOM9aDt57FGCpG1GJcXnwASqEU32EgnlF24TkYQjWcBwsxc8JzS/X1S8YpCvvxv
4YgZknE5OercAW76eVkSpdTLqJqOaGNgO1v7LRkd/mYrqQnQLQVvLrlg9XzXkFZC
1Cp9RFYhz1E7iuwQVTj5njmD5byc69u5C0XuL3b9LI2TwqtioCZ9fudB0Xoi4hem
H96uG15w3Itp7wAFvglYTOHcHGnJwvAt4OY9NW6IIoFfQYt4AIOC6btvUVGav+um
m/3E27soqu4yKxBf8pU7e6OZBxkLWlggoTd0HGX8gprljfddhyw=
=TO5t
-----END PGP SIGNATURE-----

Attachment: pgpIzdh9EJtBN.pgp
Description: PGP signature


--- End Message ---

Reply via email to