aborruso opened a new issue, #45899: URL: https://github.com/apache/arrow/issues/45899
### Describe the bug, including details regarding any error messages, version, and platform. Hi folks, I'm trying to build Apache Arrow from source on **Debian 12** with Parquet and ZSTD support, but without optional dependencies like `xtl`, `xsimd`, `xtensor`, etc. Despite setting what I believe are the correct CMake flags: ```bash cmake .. \ -DCMAKE_BUILD_TYPE=Release \ -DARROW_PARQUET=ON \ -DARROW_WITH_ZSTD=ON \ -DARROW_WITH_ZLIB=ON \ -DARROW_WITH_SNAPPY=ON \ -DARROW_WITH_LZ4=OFF \ -DARROW_WITH_BROTLI=OFF \ -DARROW_WITH_XSIMD=OFF \ -DARROW_SIMD_LEVEL=NONE \ -DARROW_DEPENDENCY_SOURCE=SYSTEM ``` …the build **always fails when linking `libarrow.so`**, with: ``` /usr/bin/ld: cannot find -lxtl: No such file or directory ``` I’ve confirmed there are **no direct references to `xtl` in the codebase** (`grep -ri xtl` returns nothing in `src/`). I've tried all of the following: - clean builds from scratch - `-DARROW_WITH_XSIMD=OFF` - `-DARROW_SIMD_LEVEL=NONE` - cloning a fresh copy of the repo to avoid contaminated CMakeCache - even tried forcing all dependencies to `SYSTEM` ### 🧩 Related issues & workarounds I’ve seen this mentioned in: - [https://github.com/apache/arrow/issues/37678](https://github.com/apache/arrow/issues/37146) - and the linked xsimd issue: [https://github.com/xtensor-stack/xsimd/issues/788](https://github.com/xtensor-stack/xsimd/issues/788) …but it's still unclear **why Arrow links to `xtl` even with xsimd disabled** * * * ### 🙏 Request Could we please: - clarify in the documentation **how to avoid `xtl` / `xsimd` altogether** - explain how `xtl` gets into the shared build path even when not requested - maybe provide a proper flag like `-DARROW_WITH_XTL=OFF`? Thanks a lot for all your great work — I love Arrow, but this one really stumped me. All the best, Andrea ### Component(s) Parquet -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@arrow.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org