Your message dated Thu, 11 Jun 2026 09:50:11 +0000
with message-id <[email protected]>
and subject line Bug#1139624: fixed in rabbitmq-server 4.3.0-3
has caused the Debian Bug report #1139624,
regarding rabbitmq-server: Fails to work with Erlang 29
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.)


-- 
1139624: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1139624
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: rabbitmq-server
Version: 4.0.5-14
Severity: normal
Tags: patch upstream

Dear Maintainer,

I'm planning to update Erlang for Debian 14 (forky) to version 29.
And it appears that rabbitmq-server (4.0.5-14) currently in testing does not 
work
with Erlang 29, and rabbitmq-server (4.3.0-2) currently in unstable
builds fine (with tons of warnings about newly deprecated language
features, which is annoying but harmless) but also doesn't work because
its dependency (horus) uses Erlang internal ASM format which has
been changed in Erlang 29.

The attached patch makes rabbitmq-server working with Erlang 29 while
maintaining compatibility with the currently in unstable Erlang 27.
Please, consider appllying it and/or reporting the bug upstream.

I'm not sure that the patch fixes the bug optimally, it adds the necessary
field to an ASM code just before compiling it, but maybe it'd be
better to add it at the step of constructing the ASM code.

For now I'm setting the severity as normal, I'll bump it after Erlang 29
uploaded to unstable.

Cheers!

-- System Information:
Debian Release: 13.5
  APT prefers stable-security
  APT policy: (500, 'stable-security'), (500, 'stable-debug'), (500, 
'proposed-updates'), (500, 'oldstable-security'), (500, 
'oldstable-proposed-updates'), (500, 'stable'), (500, 'oldstable'), (1, 
'experimental'), (1, 'unstable'), (1, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, arm64

Kernel: Linux 6.12.90+deb13.1-amd64 (SMP w/24 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
--- a/deps/horus/src/horus.erl
+++ b/deps/horus/src/horus.erl
@@ -767,13 +767,29 @@
       Beam :: binary().
 
 compile(Asm) when is_tuple(Asm) ->
+    Asm1 = case list_to_integer(erlang:system_info(otp_release)) >= 29 of
+               true ->
+                   {GeneratedModuleName,
+                    Exports,
+                    Attributes,
+                    Functions1,
+                    Labels} = Asm,
+                   {GeneratedModuleName,
+                    Exports,
+                    Attributes,
+                    #{},
+                    Functions1,
+                    Labels};
+               _ ->
+                   Asm
+               end,
     CompilerOptions = [from_asm,
                        binary,
                        warnings_as_errors,
                        return_errors,
                        return_warnings,
                        deterministic],
-    case compile:forms(Asm, CompilerOptions) of
+    case compile:forms(Asm1, CompilerOptions) of
         {ok, _Module, Beam, []} -> Beam;
         Error                   -> handle_compilation_error(Asm, Error)
     end;
@@ -1569,6 +1585,11 @@
             pass1_process_instructions(Rest, State, Result)
     end;
 pass1_process_instructions(
+  [{line, _} = Instruction | Rest],
+  State,
+  Result) ->
+    pass1_process_instructions(Rest, State, [Instruction | Result]);
+pass1_process_instructions(
   [{executable_line, Index, _Unknown} = Instruction | Rest],
   #state{lines_in_progress = Lines} = State,
   Result) when is_integer(Index) ->

--- End Message ---
--- Begin Message ---
Source: rabbitmq-server
Source-Version: 4.3.0-3
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: Thu, 11 Jun 2026 11:12:14 +0200
Source: rabbitmq-server
Architecture: source
Version: 4.3.0-3
Distribution: unstable
Urgency: medium
Maintainer: Debian OpenStack <[email protected]>
Changed-By: Thomas Goirand <[email protected]>
Closes: 1138887 1139624
Changes:
 rabbitmq-server (4.3.0-3) unstable; urgency=medium
 .
   * Add do-not-deprecate-transient_nonexcl_queues.patch, thanks to Sergei
     Golovan <[email protected]> (Closes: #1138887).
   * Add erlang-29.patch thanks to Sergei Golovan also (Closes: #1139624).
Checksums-Sha1:
 04a6bba1cb9cfaa778b829694fbc13ff001a112f 2720 rabbitmq-server_4.3.0-3.dsc
 bc64db2e9c2d1e49f5d9a84b5e9095921e347497 47116 
rabbitmq-server_4.3.0-3.debian.tar.xz
 3389765c18cdb000ce64e2aa54071a8382af9f9e 8861 
rabbitmq-server_4.3.0-3_amd64.buildinfo
Checksums-Sha256:
 da4a639c4df55d3101c5581371a1dfb7555aca368d0744e951ecd55ce5ac3886 2720 
rabbitmq-server_4.3.0-3.dsc
 add73c7233aa07fd756aaf7803cb9f7a934be810edcff3b78b86cf5f7bc8761b 47116 
rabbitmq-server_4.3.0-3.debian.tar.xz
 aee5d5d1dfcb5e36de0944b4e909b19935a67a20070d2b1a481a4acc1b72082e 8861 
rabbitmq-server_4.3.0-3_amd64.buildinfo
Files:
 1bee86e60025e52fa3834e7e4f708f07 2720 net optional rabbitmq-server_4.3.0-3.dsc
 fd09ec6320ba1881ec0226ab8a891368 47116 net optional 
rabbitmq-server_4.3.0-3.debian.tar.xz
 1c217b3633a3e92293686b800ee08de5 8861 net optional 
rabbitmq-server_4.3.0-3_amd64.buildinfo

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

iQIzBAEBCgAdFiEEoLGp81CJVhMOekJc1BatFaxrQ/4FAmoqfwUACgkQ1BatFaxr
Q/5slg/+OpN8sm+CIOOuCt9WQ05yzyCUPBmPSnBH+mAsG0JnO8azJ95dKQL/SRpC
urJ1FZPOQ18PVOSYyUQffOs8ljRugxmI0VFo5yVtFybv4jRAr4oH70p2yYiCrGez
v4cdBTiJF4dgkCh9A0SPD3xxA9d0Xa2k72Ndw4DbzCfKQU+H3OH/pAXvuxkSu+sK
zJqR4hD6Awdf6a8V5/BNBgCXMbbTG89BmnNs9cvF50Gr8DFlqf5L+QasUIFu9du0
YjRElFZTpjdPXn38/PxIwv+LwFCdHwXg0fzxJreHcMu/D4M8DKKPQArMJ1g5mKkx
HuOrvU2/oaI39u8h0uh4uJW9TOmBdAGSfGMYHf1yUDRFFRUHot6os4qvyDRz7pWs
VtV/eyXpCh8xlS5kZPYEdh5fIksu7RytstKdlQbVZ5tGi2ekrynkvxcmGqtV2qnF
haqC0G1MMnVzadH2OpBFDJpC4I7WaRnDDlRxi6US4Wn5abAaTZlJPNIBVF8N7v97
ASjUd2ySCD4isrYuY6B3JLtMDKeHEdu5xWyRYgJ1N+xmAmuy6gk6a4/FD/EQLjOG
VirBNjccLPokIFAJjxSqH9BUxjoV/8AZj3CGeNmJFGQ5rUpQQxtamTzs6AzC2H+9
ZWxPQKB3GK5qtDw1//PbMZnzzh0KwxuGenZ5fm1Ib6FTJw7u5Qs=
=UJBr
-----END PGP SIGNATURE-----

Attachment: pgpcwMFX5K4wj.pgp
Description: PGP signature


--- End Message ---

Reply via email to