[Pkg-leofs-devel] Bug#748343: erlang-cowboy installs to /usr/lib/erlang/lib

Sergei Golovan sgolovan at debian.org
Wed Jun 25 09:21:51 UTC 2014


Hi Nobuhiro,

Sorry for delay.

On Wed, Jun 11, 2014 at 3:25 AM, Nobuhiro Iwamatsu <iwamatsu at nigauri.org> wrote:
> Hi,
>
> Thanks for your report.
> If your point is correct, we will need to change the install path of all
> Erlang packages. And this is not just Debian, other distributions are similar.
>
> Sergei, how do you think about this? Could you comment?

I think that installing erlang-cowboy into the system-wide Erlang
directory is fine.
If an application needs cowboy then it can either

1) ensure it works wit a system-wide version and depend on erlang-cowboy, or
2) include its own version and make sure that it's the one which is used
(add -pa option to erl or otherwise). I'd prefer that this local cowboy wasn't
easily accessible by other Erlang applications (god knows which local changes
it has).

Anyway, placing applications from regular Debian packages into /usr/lib/erlang
shouldn't be considered a bug.

Cheers!
-- 
Sergei Golovan



More information about the Pkg-leofs-devel mailing list