Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does not compile with Erlang 27 due to transitive dependencies #150

Closed
mashton opened this issue Sep 13, 2024 · 2 comments
Closed

Does not compile with Erlang 27 due to transitive dependencies #150

mashton opened this issue Sep 13, 2024 · 2 comments

Comments

@mashton
Copy link

mashton commented Sep 13, 2024

Issue

latest broadway_kafka uses brod 4.0.0, which pins kafka_protocol < 4.1.9.
Transitive dependency port_compiler is pinned at 1.14 in crc32cer 0.1.8
pc 1.14 does not play nicely with Erlang 27

kafka_protocol just release 4.1.9 which updates crc32cer to 0.11.1, which pins pc to 1.15

Reproduce

Using erlang 27,

> mix new .
add {:broadway_kafka, "0.4.4"} to deps
> mix deps.get
> mix deps.compile
Result:
`Could not compile dependency :crc32cer`

Fix?

I've opened an issue in the brod repo to upgrade kafka_protocol.
Once it does, broadway_kafka can update brod.

@beeberino
Copy link

brod is now updated with tag 4.1.1 that fixes the issue

@josevalim
Copy link
Member

Perfect. mix deps.update brod in your app should fix it then. Thanks!

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

No branches or pull requests

3 participants