pitrou opened a new issue, #46946: URL: https://github.com/apache/arrow/issues/46946
### Describe the bug, including details regarding any error messages, version, and platform. I'm getting the following errors when building PyArrow if Arrow C++ is built without CSV support: ``` [ 76%] Building CXX object CMakeFiles/_pyarrow_cpp_tests.dir/_pyarrow_cpp_tests.cpp.o /tmp/tmpvbn1ef6e.build-temp/_feather.cpp:1270:10: fatal error: arrow/csv/api.h: No such file or directory 1270 | #include "arrow/csv/api.h" | ^~~~~~~~~~~~~~~~~ /tmp/tmpvbn1ef6e.build-temp/_compute.cpp:1270:10: fatal error: arrow/csv/api.h: No such file or directory 1270 | #include "arrow/csv/api.h" | ^~~~~~~~~~~~~~~~~ compilation terminated. compilation terminated. /tmp/tmpvbn1ef6e.build-temp/_csv.cpp:1270:10: fatal error: arrow/csv/api.h: No such file or directory 1270 | #include "arrow/csv/api.h" | ^~~~~~~~~~~~~~~~~ compilation terminated. gmake[2]: *** [CMakeFiles/_compute.dir/build.make:79 : CMakeFiles/_compute.dir/_compute.cpp.o] Erreur 1 /tmp/tmpvbn1ef6e.build-temp/_json.cpp:1270:10: fatal error: arrow/csv/api.h: No such file or directory 1270 | #include "arrow/csv/api.h" | ^~~~~~~~~~~~~~~~~ compilation terminated. /tmp/tmpvbn1ef6e.build-temp/_pyarrow_cpp_tests.cpp:1270:10: fatal error: arrow/csv/api.h: No such file or directory 1270 | #include "arrow/csv/api.h" | ^~~~~~~~~~~~~~~~~ gmake[1]: *** [CMakeFiles/Makefile2:289 : CMakeFiles/_compute.dir/all] Erreur 2 gmake[1]: *** Attente des tâches non terminées.... compilation terminated. gmake[2]: *** [CMakeFiles/_feather.dir/build.make:79 : CMakeFiles/_feather.dir/_feather.cpp.o] Erreur 1 gmake[1]: *** [CMakeFiles/Makefile2:419 : CMakeFiles/_feather.dir/all] Erreur 2 gmake[2]: *** [CMakeFiles/_csv.dir/build.make:79 : CMakeFiles/_csv.dir/_csv.cpp.o] Erreur 1 gmake[1]: *** [CMakeFiles/Makefile2:354 : CMakeFiles/_csv.dir/all] Erreur 2 gmake[2]: *** [CMakeFiles/_json.dir/build.make:79 : CMakeFiles/_json.dir/_json.cpp.o] Erreur 1 gmake[1]: *** [CMakeFiles/Makefile2:549 : CMakeFiles/_json.dir/all] Erreur 2 gmake[2]: *** [CMakeFiles/_pyarrow_cpp_tests.dir/build.make:79 : CMakeFiles/_pyarrow_cpp_tests.dir/_pyarrow_cpp_tests.cpp.o] Erreur 1 gmake[1]: *** [CMakeFiles/Makefile2:614 : CMakeFiles/_pyarrow_cpp_tests.dir/all] Erreur 2 /tmp/tmpvbn1ef6e.build-temp/_fs.cpp:1270:10: fatal error: arrow/csv/api.h: No such file or directory 1270 | #include "arrow/csv/api.h" | ^~~~~~~~~~~~~~~~~ compilation terminated. gmake[2]: *** [CMakeFiles/_fs.dir/build.make:79 : CMakeFiles/_fs.dir/_fs.cpp.o] Erreur 1 gmake[1]: *** [CMakeFiles/Makefile2:484 : CMakeFiles/_fs.dir/all] Erreur 2 /tmp/tmpvbn1ef6e.build-temp/lib.cpp:1270:10: fatal error: arrow/csv/api.h: No such file or directory 1270 | #include "arrow/csv/api.h" | ^~~~~~~~~~~~~~~~~ ``` ### Component(s) Python -- 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