#1142197 sonic-pi-server breaks every time new Erlang upstream is released

Package:
sonic-pi-server
Source:
sonic-pi-server
Description:
Backend server for Sonic Pi
Submitter:
Sergei Golovan
Date:
2026-07-24 23:03:02 UTC
Severity:
normal
Tags:
#1142197#5
Date:
2026-07-16 12:16:22 UTC
From:
To:
Dear Maintainer,

Since sonic-pi-server makes symbolic links to some subdirectories in
/usr/lib/erlang/lib directory for its Tau server, it is bound to break
on every upstream release of Erlang.

Currently, it is broken in unstable, and only autopkgtests prevent Erlang
29.0.3 to migrate to testing, which would cause breackage there.

I suggest to make the dependencies of sonic-pi-server on erlang-base
more strict, and add an upper limit of the required version (it looks
like erlang-base (<< 1:29.0.3+dfsg+) with added "+" at the end, see the
attached patch for the detail). And since erlang-depends does not
provide such a limit automatically (it seems to be a fairly unusual
requirement, all the other packages happily work with the newer
Erlang versions), I've constructed it in debian/rules using grep-status
from the dctrl-tools package) in the patch.

After that, sonic-pi will still require binary-only NMU to adapt to
the new Erlang version, but at least it will not break any existing
installation in unstable (Erlang packages will refuse to be upgraded
for those with sonic-pi-server installed).

If it is okay to you and you approve the patch, I can do NMU to
incorporate it.

#1142197#10
Date:
2026-07-23 19:57:51 UTC
From:
To:
Hi,

Thanks for the fix, I will upload the package with this change.

The goal was to avoid including the system erlang binaries in the Elixir
build of this application. Is there some better way to handle this situation?

#1142197#13
Date:
2026-07-24 22:43:21 UTC
From:
To:
Hello,

Bug #1142197 in sonic-pi reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/multimedia-team/sonic-pi/-/commit/abad394ec6e4b7bccf8df4c328452d0ef4451d46
sonic-pi-server breaks every time new Erlang upstream is released
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1142197

#1142197#24
Date:
2026-07-24 22:53:09 UTC
From:
To:
close 1142197 4.6.0~repack3-3
thanks