risingwave: bug(ci): multi-version tikv-jemalloc-sys break docker pipeline
Describe the bug
RisingWave got 2 version of tikv-jemalloc-sys built in docker pipeline. And it breaks CI.
cp ./target/release/build/tikv-jemalloc-sys-*/out/build/bin/jeprof /risingwave/bin/
Error message/log
<img width="1055" alt="image" src="https://github.com/risingwavelabs/risingwave/assets/22407295/21c68b59-7d1b-47a8-82a9-df8f30f9bb03">
About this issue
- Original URL
- State: closed
- Created 10 months ago
- Comments: 18 (18 by maintainers)
I found one copy is release build, while another is debug build 🤯
This doesn’t seem to be caused by
[build-dependencies]In my cases (#12625),
tikv-jemalloc-syswas produced under[dependencies]but it still compiles both for release and debug, exactly as https://github.com/risingwavelabs/risingwave/issues/12315#issuecomment-1722358681 shows.@xxchan Seems we can finally close this issue via #12333 ?
Alternatively, this also exclude it from hakari
The duplicated versions are with and without feature
unprefixed_malloc_on_supported_platforms, which istarget.'cfg(unix)'.dependencies.I guess it’s because the
build-dependency(introduced by hakari) doesn’t contain this feature.We can see cargo does not unify features for
dependenciesandbuild-dependencies