(Mix) Could not compile dependency :eblurhash #274

Closed
opened 2022-11-14 08:58:18 +00:00 by Saiph · 5 comments

Hi,

On Docker, when I compile with the command: "./docker-resources/manage.sh mix compile" i have this message :

** (Mix) Could not compile dependency :eblurhash, "/opt/akkoma/.mix/rebar3 bare compile --paths /opt/akkoma/_build/prod/lib/*/ebin" command failed. Errors may have been logged above. You can recompile this dependency with "mix deps.compile eblurhash", update it with "mix deps.update eblurhash" or clean it with "mix deps.clean eblurhash"

Can you help me ?

thanks

Hi, On Docker, when I compile with the command: "./docker-resources/manage.sh mix compile" i have this message : ** (Mix) Could not compile dependency :eblurhash, "/opt/akkoma/.mix/rebar3 bare compile --paths /opt/akkoma/_build/prod/lib/*/ebin" command failed. Errors may have been logged above. You can recompile this dependency with "mix deps.compile eblurhash", update it with "mix deps.update eblurhash" or clean it with "mix deps.clean eblurhash" Can you help me ? thanks

(not a dev)

Have you tried running ./docker-resources/manage.sh mix compile again? Sorry for asking obvious things, but I also ran into same problem and just running it again fixed my issue.

(not a dev) Have you tried running `./docker-resources/manage.sh mix compile` again? Sorry for asking obvious things, but I also ran into same problem and just running it again fixed my issue.
Author

it doesnt work :

./docker-resources/manage.sh mix compile

Starting akkoma_db_1 ... done
warning: config/prod.secret.exs not found. You may want to create one by running mix pleroma.instance gen

make: Entering directory '/opt/akkoma/deps/eblurhash/c_src'
make: pwd: Operation not permitted
make: uname: Operation not permitted
cc -o /../priv/blurhash blurhash_stb.c encode.c -lm
make: cc: Operation not permitted
make: *** [Makefile:30: /../priv/blurhash] Error 127
make: Leaving directory '/opt/akkoma/deps/eblurhash/c_src'
===> Hook for compile failed!

it doesnt work : # ./docker-resources/manage.sh mix compile Starting akkoma_db_1 ... done warning: `config/prod.secret.exs` not found. You may want to create one by running `mix pleroma.instance gen` make: Entering directory '/opt/akkoma/deps/eblurhash/c_src' make: pwd: Operation not permitted make: uname: Operation not permitted cc -o /../priv/blurhash blurhash_stb.c encode.c -lm make: cc: Operation not permitted make: *** [Makefile:30: /../priv/blurhash] Error 127 make: Leaving directory '/opt/akkoma/deps/eblurhash/c_src' ===> Hook for compile failed!

Something's wrong with your permissions. That's what your errors are saying. check if you have the right permissions for the directories you want to enter.

Something's wrong with your permissions. That's what your errors are saying. check if you have the right permissions for the directories you want to enter.
Author

i try to run with sudo and same error

i try to run with sudo and same error

please follow https://docs.akkoma.dev/stable/installation/docker_en/

warning: config/prod.secret.exs not found. You may want to create one by running mix pleroma.instance gen means you have skipped steps in the setup

please follow https://docs.akkoma.dev/stable/installation/docker_en/ `warning: config/prod.secret.exs not found. You may want to create one by running mix pleroma.instance gen` means you have skipped steps in the setup
Sign in to join this conversation.
No milestone
No project
No assignees
4 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: AkkomaGang/akkoma#274
No description provided.