rdkafka
dependency build fails on latest cross (main) when ssl-vendored
feature is enabled
#1529
Open
4 of 11 tasks
Checklist
Describe your issue
I have a project that uses
rdkafka
with ssl. When updating to the latestcross
from main, I could no longer get it to build.I have made a demo project that can reproduce the issue: https://github.com/pizaCat/cross-musl-demo
Here is a copy of the README:
Demo project for a compilation failure with the latest cross (7b79041).
Cross must be installed with
cargo install cross --git https://github.com/cross-rs/cross.git --rev 7b79041`
The following fails:
With the following error:
When forcing image
0.2.5
, the build succeeds:What target(s) are you cross-compiling for?
aarch64-unknown-linux-musl, x86_64-unknown-linux-musl, other (specify in description)
Which operating system is the host (e.g computer cross is on) running?
What architecture is the host?
What container engine is cross using?
cross version
cross 0.2.5 (7b79041 2024-07-11)
Example
cargo install cross --git https://github.com/cross-rs/cross.git --rev 7b79041 git clone https://github.com/pizaCat/cross-musl-demo.git cd cross-musl-demo cross build --target x86_64-unknown-linux-musl
fails to build rdkafka
Additional information / notes
When forcing image
0.2.5
, the build succeeds:The text was updated successfully, but these errors were encountered: