angristan / angristan/docker-pleroma

Build fails with `fatal error: erl_nif.h: No such file or directory`

Abierto
#87 0 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Elixir
Estrellas
377
Forks
81
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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!

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.