Source: erlang-jose
Version: 1.11.12-1
Severity: normal
Tags: ftbfs patch
Dear Maintainer,
erlang-jose currently fails to build from the source using Erlang 29
from experimental. Erlang 29 is planned to be shipped with Debian 14
(forky), and after it will be uploaded to unstable this bug will become
grave.
The problem is that the build system of erlang-jose treats warnings as
errors, and Erlang 29 introduces an additional warning about newly
deprecated catch operator. The attached patch disables this warning
making erlang-jose build successfully.
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/rebar.config
+++ b/rebar.config
@@ -6,6 +6,7 @@
%%% % @format
{erl_opts, [
debug_info,
+ nowarn_deprecated_catch,
warnings_as_errors
]}.