Skip to content

Conversation

@hidnasio
Copy link

Trying to compile kaffe throws the following error

** (Mix) Could not compile dependency :snappyer, "/Users/luisferreira/.asdf/installs/elixir/1.17.2-otp-27/.mix/elixir/1-17/rebar3 bare compile --paths /Users/luisferreira/Projects/kaffe/_build/dev/lib/*/ebin" command failed. Errors may have been logged above. You can recompile this dependency with "mix deps.compile snappyer --force", update it with "mix deps.update snappyer" or clean it with "mix deps.clean snappyer"

using erlang 27 and elixir 1.17.2

The problem is related a sub dependency of Brod library. This sub dependency was removed in Brod 4.0

@romul
Copy link
Contributor

romul commented May 23, 2025

I don't mind to brod updating.
But issue with snappyer compilation could be fixed by installing clang on your computer.

For example, on MacOS it could be done by running xcode-select –-install

@hidnasio
Copy link
Author

Thanks for the response. Removing the system-dependent dependency would be a big improvement. We build multi-arch Docker images and use the same source on both macOS and Linux containers, so the architecture mismatch prevents us from sharing the same compilation binaries.

It's not a problem with Kaffe library per-se but as the new version of Brod just remove this sub dependency it's a good way of removing the side effect of having snappyer.

@TylerWitt TylerWitt force-pushed the upgrade-brod-dependncy branch from 9bbb1a2 to 78c0bab Compare July 29, 2025 21:39
@chess4ever
Copy link

Hello, any update on this? We would like to use brod 4.X because it has some important connection improvements

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants