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

Error building on master - error: cyclic package dependency: package ahash v0.7.4 depends on itself. Cycle #544

Closed
alamb opened this issue Jul 13, 2021 · 0 comments · Fixed by #545
Assignees
Labels

Comments

@alamb
Copy link
Contributor

alamb commented Jul 13, 2021

Describe the bug

When I tried to use the code from master in arrow/datafusion in IOx (which depends on both arrow and datafusion) I got this crazy error while trying to resolve dependencies:

error: cyclic package dependency: package `ahash v0.7.4` depends on itself. Cycle:
package `ahash v0.7.4`
    ... which is depended on by `hashbrown v0.11.2`
    ... which is depended on by `indexmap v1.7.0`
    ... which is depended on by `serde_json v1.0.64`
    ... which is depended on by `wasm-bindgen v0.2.74`
    ... which is depended on by `js-sys v0.3.51`
    ... which is depended on by `getrandom v0.2.3`
    ... which is depended on by `ahash v0.7.4`

To Reproduce
make a project that depends on both datafusion and arrow

Expected behavior
Should be able to compile

Additional context
This was introduced because of a change of the rand macro in #488

@alamb alamb added the bug label Jul 13, 2021
@alamb alamb changed the title Error building on master Error building on master - error: cyclic package dependency: package ahash v0.7.4 depends on itself. Cycle Jul 13, 2021
@alamb alamb self-assigned this Jul 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
1 participant