angristan / angristan/docker-pleroma
Build fails with `fatal error: erl_nif.h: No such file or directory`
- 主要言語
- Elixir
- スター
- 377
- フォーク
- 81
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
Hey there!
I'm running into an issue trying to get this stood up running rootless docker. All works fine until this line is executed:
https://github.com/angristan/docker-pleroma/blob/19c8125218fa6406cff6dcefd03a32e3768a17f8/Dockerfile#L34
this causes the build to fail, giving the output of:
```
In file included from /pleroma/deps/crypt/c_src/crypt.c:46:
/usr/include/sys/errno.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp]
1 | #warning redirecting incorrect #include to
| ^~~~~~~
/pleroma/deps/crypt/c_src/crypt.c:47:10: fatal error: erl_nif.h: No such file or directory
47 | #include
| ^~~~~~~~~~~
compilation terminated.
```
Anyone ran into this? I found [a forum suggesting it was `erlang-dev` missing](https://elixirforum.com/t/where-is-erl-nif-h-header-file-required-for-nif/27142/2), but after adding that to the installed packages there was no difference. Pretty sure an existing dep covers this anyway.
This is on a Raspberry Pi 5 running Raspberry Pi OS. Cheers!
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
評価
この issue はまだ評価されていません。