Source: erlang-erlware-commons
Version: 1.6.0+dfsg-1
Severity: normal
Tags: ftbfs patch
Dear Maintainer,
The erlang-erlware-commons package currently fails to build from the
source when using Erlang 29 from experimental. I will upload it to
unstable soon to ship with Debioan 14 (forky), so this bug will
have to be fixed.
The problem is that Erlang 29 deprecates some language constructs,
which makes using them emit warnings, which in turn lead to FTBFS
because warnings are treated by errors. Before upstream properly
fixes these warnings, one can simply turn them off. The attached patch
does just that making the package build.
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
@@ -12,6 +12,8 @@
{platform_define, "^2", unicode_str},
{platform_define, "^(R|1|20)", fun_stacktrace},
debug_info,
+ nowarn_match_alias_pats,
+ nowarn_deprecated_catch,
warnings_as_errors]}.
%% EUnit
=======================================================================