Source: elixir-lang
Version: 1.12.2.dfsg-2.2
Severity: important

Dear Maintainer,

I'm about to upload new Erlang 25 into unstable, and it appears to break
the current elixir-lang 1.12.2.dfsg-2.2. It simply fails to build from
the source.

I don't know if it's possible to quickly fix the current version, but
upstream already released 1.14.0 which appears to build fine after minor
changes in debian/ directory.

I'm attaching a diff with a minimal set of changes necessary to build
1.14.0. So please, upgrade elixir-lang after Erlang 25 is uploaded.

Cheers!
-- 
Sergei Golovan
diff -Nru elixir-lang-1.12.2.dfsg/debian/changelog 
elixir-lang-1.14.0.dfsg/debian/changelog
--- elixir-lang-1.12.2.dfsg/debian/changelog    2022-02-24 14:47:39.000000000 
+0300
+++ elixir-lang-1.14.0.dfsg/debian/changelog    2022-09-16 17:28:12.000000000 
+0300
@@ -1,3 +1,10 @@
+elixir-lang (1.14.0.dfsg-1) unstable; urgency=medium
+
+  * New upstream release.
+  * Switch to rebar3.
+
+ -- Sergei Golovan <[email protected]>  Fri, 16 Sep 2022 17:28:12 +0300
+
 elixir-lang (1.12.2.dfsg-2.2) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -Nru elixir-lang-1.12.2.dfsg/debian/control 
elixir-lang-1.14.0.dfsg/debian/control
--- elixir-lang-1.12.2.dfsg/debian/control      2021-10-12 14:43:19.000000000 
+0300
+++ elixir-lang-1.14.0.dfsg/debian/control      2022-09-16 17:28:12.000000000 
+0300
@@ -10,7 +10,7 @@
                erlang-parsetools (>= 1:24.1),
                erlang-src (>= 1:24.1),
                git,
-               rebar
+               rebar3
 Standards-Version: 4.6.0
 Vcs-Git: https://salsa.debian.org/eugulixes-guest/elixir-lang.git
 Vcs-Browser: https://salsa.debian.org/eugulixes-guest/elixir-lang
diff -Nru elixir-lang-1.12.2.dfsg/debian/patches/erlang-24.1.patch 
elixir-lang-1.14.0.dfsg/debian/patches/erlang-24.1.patch
--- elixir-lang-1.12.2.dfsg/debian/patches/erlang-24.1.patch    2021-10-12 
14:48:58.000000000 +0300
+++ elixir-lang-1.14.0.dfsg/debian/patches/erlang-24.1.patch    2022-09-16 
17:28:12.000000000 +0300
@@ -4,12 +4,12 @@
 
 --- a/lib/elixir/test/elixir/exception_test.exs
 +++ b/lib/elixir/test/elixir/exception_test.exs
-@@ -474,6 +474,8 @@
-              function :erlang.gt_cookie/0 is undefined or private. Did you 
mean one of:
- 
-                    * get_cookie/0
-+                   * get_cookie/1
-+                   * set_cookie/1
-                    * set_cookie/2
-              """
+@@ -539,6 +539,8 @@
+       message = blame_message(:erlang, & &1.gt_cookie())
+       assert message =~ "function :erlang.gt_cookie/0 is undefined or 
private. Did you mean:"
+       assert message =~ "* get_cookie/0"
++      assert message =~ "* get_cookie/1"
++      assert message =~ "* set_cookie/1"
+       assert message =~ "* set_cookie/2"
      end
+ 
diff -Nru elixir-lang-1.12.2.dfsg/debian/patches/remove-utf8-warning.patch 
elixir-lang-1.14.0.dfsg/debian/patches/remove-utf8-warning.patch
--- elixir-lang-1.12.2.dfsg/debian/patches/remove-utf8-warning.patch    
2021-08-24 16:41:05.000000000 +0300
+++ elixir-lang-1.14.0.dfsg/debian/patches/remove-utf8-warning.patch    
2022-09-16 17:28:12.000000000 +0300
@@ -6,11 +6,9 @@
 Forwarded: no
 Last-Update: 2018-10-30
 
-Index: elixir-lang/lib/elixir/src/elixir.erl
-===================================================================
---- elixir-lang.orig/lib/elixir/src/elixir.erl
-+++ elixir-lang/lib/elixir/src/elixir.erl
-@@ -137,11 +137,6 @@ check_endianness() ->
+--- a/lib/elixir/src/elixir.erl
++++ b/lib/elixir/src/elixir.erl
+@@ -137,11 +137,6 @@
  
  check_file_encoding(Encoding) ->
    case Encoding of
diff -Nru elixir-lang-1.12.2.dfsg/debian/patches/series 
elixir-lang-1.14.0.dfsg/debian/patches/series
--- elixir-lang-1.12.2.dfsg/debian/patches/series       2021-10-12 
14:47:11.000000000 +0300
+++ elixir-lang-1.14.0.dfsg/debian/patches/series       2022-09-16 
17:28:12.000000000 +0300
@@ -1,3 +1,3 @@
 remove-utf8-warning.patch
-remove_rebar3_related_tests.patch
+#remove_rebar3_related_tests.patch
 erlang-24.1.patch
diff -Nru elixir-lang-1.12.2.dfsg/debian/rules 
elixir-lang-1.14.0.dfsg/debian/rules
--- elixir-lang-1.12.2.dfsg/debian/rules        2021-08-24 16:41:05.000000000 
+0300
+++ elixir-lang-1.14.0.dfsg/debian/rules        2022-09-16 17:28:12.000000000 
+0300
@@ -3,6 +3,7 @@
 export LANG=C.UTF-8
 export LC_ALL=C.UTF-8
 export REBAR=/usr/bin/rebar
+export REBAR3=/usr/bin/rebar3
 export PREFIX=/usr
 
 %:

Reply via email to