Source: elixir-lang Version: 1.7.4-0.1 Severity: wishlist Tags: patch It's not currently possible to apt install elixir erlang:amd64 on an i386 system, or apt install elixir erlang:i386 on an amd64 system. But the elixir package only contains arch-independent beams and shell scripts, so it should be possible to do so. The erlang packages were recently made Multi-Arch: allowed [1] and the only missing piece is to make elixir explicitly depend on erlang-base:any | erlang-base-hipe:any, which expresses the fact that elixir doesn't use any arch-specific bits of erlang. For more info, see [2]. I'm attaching a patch that does exactly this.
[1]: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=926241 [2]: https://wiki.ubuntu.com/MultiarchSpec#Extended_semantics_of_per-architecture_package_relationships -- System Information: Debian Release: 10.0 APT prefers testing-debug APT policy: (980, 'testing-debug'), (980, 'testing'), (980, 'stable'), (500, 'unstable-debug'), (500, 'stable-debug'), (500, 'unstable'), (500, 'stable'), (200, 'experimental-debug'), (200, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.19.0-5-amd64 (SMP w/2 CPU cores) Kernel taint flags: TAINT_USER, TAINT_WARN Locale: LANG=cs_CZ.UTF-8, LC_CTYPE=cs_CZ.UTF-8 (charmap=UTF-8), LANGUAGE=cs_CZ.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled -- Tomáš Janoušek, a.k.a. Pivník, a.k.a. Liskni_si, http://work.lisk.in/
diff -up ./debian/control.multiarch ./debian/control --- ./debian/control.multiarch 2019-06-13 22:39:27.704336401 +0200 +++ ./debian/control 2019-06-13 22:39:48.860510119 +0200 @@ -18,7 +18,7 @@ Homepage: http://elixir-lang.org/ Package: elixir Architecture: all -Depends: erlang-base (>= 1:19) | erlang-base-hipe (>= 1:19), +Depends: erlang-base:any (>= 1:19) | erlang-base-hipe:any (>= 1:19), ${misc:Depends} Description: functional meta-programming aware language Elixir is a functional meta-programming aware language intended primarily for