You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Main builds fail with error: symbol init___rust_ctor___ctor is already defined #6495
error: symbol `init___rust_ctor___ctor` is already defined
--> datafusion/optimizer/src/scalar_subquery_to_join.rs:311:5
|
311 | #[ctor::ctor]
| ^^^^^^^^^^^^^
|
= note: this error originates in the attribute macro `ctor::ctor` (in Nightly builds, run with -Z macro-backtrace for more info)
error: could not compile `datafusion-optimizer` due to previous error
Activity
alamb commentedon May 30, 2023
I filed mmastrac/linktime#283 upstream
jiangzhx commentedon May 31, 2023
I am facing the same problem.
If you have already performed a cargo update, you can fix this issue by running the command:
cargo update -p ctor --precise v0.2.0alamb commentedon May 31, 2023
I plan to work on this in 3-4 hours if no one else beats me to it
Fix builds fail with error: symbol init___rust_ctor___ctor is already…
alamb commentedon May 31, 2023
Proposed fix: https://github.com/apache/arrow-datafusion/pull/6505/files
Fix builds fail with error: symbol init___rust_ctor___ctor is already…
Fix builds fail with error: symbol init___rust_ctor___ctor is already…
Don't optimize AnalyzeExec (#6379) (try 2) (#6494)
mmastrac commentedon May 31, 2023
ctor 0.2.2 is pushed without #[no_mangle]. Please let me know if this fixes it.
alamb commentedon Jun 1, 2023
Thanks @mmastrac -- we have found a workaround.