]> git.99rst.org Git - openwrt-packages.git/commit
erlang: stop shipping sasl in the base package
authorJosef Schlehofer <redacted>
Thu, 6 Aug 2026 18:48:19 +0000 (20:48 +0200)
committerAlexandru Ardelean <redacted>
Fri, 7 Aug 2026 08:42:25 +0000 (11:42 +0300)
commit7fb98c160db351c47c9af108901299eb0ba5928c
tree05a727703ff4c6e8d9d05c070f2bf2c7897897d7
parentbebf1107a2ee63080f5c76dc4fb8b7e9cd5d54c6
erlang: stop shipping sasl in the base package

Package/erlang/install copies erts, kernel, sasl and stdlib into
/usr/lib/erlang/lib, and BuildModule builds erlang-sasl from the very
same sasl directory, so both packages own
usr/lib/erlang/lib/sasl-*/ebin/*.beam.

apk refuses to overwrite files owned by another package, so installing
erlang-sasl next to erlang fails:

  ERROR: erlang-sasl-28.5-r1: trying to overwrite
  usr/lib/erlang/lib/sasl-4.3.2/ebin/alarm_handler.beam
  owned by erlang-28.5-r1.

That also takes down erlang-os-mon and erlang-reltool, which depend on
erlang-sasl. The overlap dates back to the import from the old packages
feed and only surfaced once CI started run-testing the subpackages.

Leave sasl to erlang-sasl, which is what that subpackage is for. The
base package keeps bin/start_sasl.boot: it is inert while the runtime
boots via start_clean, and it is needed once erlang-sasl is installed.

Signed-off-by: Josef Schlehofer <redacted>
lang/erlang/Makefile
git clone https://git.99rst.org/PROJECT