Package: erlang-mode
Version: 1:23.2.6+dfsg-1
Severity: normal
X-Debbugs-Cc: vis...@gmail.com

Dear Maintainer,

I installed the erlang package on an Debian bullseye docker container to 
perform the following escript:

```
#!/usr/bin/env escript
%% -*- erlang -*-
%%! -sname edts-helper

main(["release", ReleaseConfig]) ->
        {ok, Conf} = file:consult(ReleaseConfig),
        {ok, Spec} = reltool:get_target_spec(Conf),
        reltool:eval_target_spec(Spec, code:root_dir(), "rel");
```

This failed with `"read file info /usr/lib/erlang/man/man3/LIST_EMPTY.3 
failed"}`

Investigating I realized it was because there was broken symlinks that 
`erlang-mode` installed.

```
root@10759c6aee0e:/usr/lib/erlang/man# find . -xtype l
./man3/LIST_EMPTY.3
./man3/LIST_ENTRY.3
./man3/LIST_FIRST.3
./man3/LIST_FOREACH.3
./man3/LIST_HEAD.3
./man3/LIST_HEAD_INITIALIZER.3
./man3/LIST_INIT.3
./man3/LIST_INSERT_AFTER.3
./man3/LIST_INSERT_BEFORE.3
./man3/LIST_INSERT_HEAD.3
./man3/LIST_NEXT.3
./man3/LIST_REMOVE.3
```

They all point to non-existing `man3/list.3`

After installing `erlang-manpages` I got a file called `lists.3erl.gz` but the 
links are sadly still broken.

If I remove the package `erlang-mode` the escript works.

Best regards

-- System Information:
Debian Release: 11.1
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.14.15-arch1-1 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_WARN, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: unable to detect

Versions of packages erlang-mode depends on:
ii  emacsen-common  3.0.4

erlang-mode recommends no packages.

Versions of packages erlang-mode suggests:
ii  erlang           1:23.2.6+dfsg-1
ii  erlang-doc       1:23.2.6+dfsg-1
ii  erlang-manpages  1:23.2.6+dfsg-1

-- no debconf information

Reply via email to