We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug failed to build cufilejni when ENABLE_GDS=ON, this failure was due to include_directories change at #9030
ENABLE_GDS=ON
[2021-09-01T12:09:43.496Z] [exec] [ 94%] Building CXX object CMakeFiles/cufilejni.dir/src/CuFileJni.cpp.o [2021-09-01T12:09:43.496Z] [exec] In file included from /home/jenkins/agent/workspace/jenkins-cudf_nightly-dev-github-442-cuda11/java/src/main/native/../../../../cpp/include/cudf/utilities/type_dispatcher.hpp:24, [2021-09-01T12:09:43.496Z] [exec] from /home/jenkins/agent/workspace/jenkins-cudf_nightly-dev-github-442-cuda11/java/src/main/native/../../../../cpp/include/cudf/utilities/traits.hpp:20, [2021-09-01T12:09:43.496Z] [exec] from /home/jenkins/agent/workspace/jenkins-cudf_nightly-dev-github-442-cuda11/java/src/main/native/../../../../cpp/include/cudf/column/column_view.hpp:19, [2021-09-01T12:09:43.496Z] [exec] from /home/jenkins/agent/workspace/jenkins-cudf_nightly-dev-github-442-cuda11/java/src/main/native/../../../../cpp/include/cudf/copying.hpp:19, [2021-09-01T12:09:43.496Z] [exec] from /home/jenkins/agent/workspace/jenkins-cudf_nightly-dev-github-442-cuda11/java/src/main/native/src/cudf_jni_apis.hpp:18, [2021-09-01T12:09:43.496Z] [exec] from /home/jenkins/agent/workspace/jenkins-cudf_nightly-dev-github-442-cuda11/java/src/main/native/src/CuFileJni.cpp:26: [2021-09-01T12:09:43.496Z] [exec] /home/jenkins/agent/workspace/jenkins-cudf_nightly-dev-github-442-cuda11/java/src/main/native/../../../../cpp/include/cudf/wrappers/durations.hpp:35:76: error: 'days' is not a member of 'cuda::std::__3::chrono' [2021-09-01T12:09:43.496Z] [exec] 35 | using duration_D = cuda::std::chrono::duration<int32_t, cuda::std::chrono::days::period>; [2021-09-01T12:09:43.496Z] [exec] | ^~~~ [2021-09-01T12:09:43.496Z] [exec] /home/jenkins/agent/workspace/jenkins-cudf_nightly-dev-github-442-cuda11/java/src/main/native/../../../../cpp/include/cudf/wrappers/durations.hpp:35:88: error: template argument 2 is invalid [2021-09-01T12:09:43.496Z] [exec] 35 | using duration_D = cuda::std::chrono::duration<int32_t, cuda::std::chrono::days::period>; [2021-09-01T12:09:43.496Z] [exec] | ^ [2021-09-01T12:09:43.496Z] [exec] /home/jenkins/agent/workspace/jenkins-cudf_nightly-dev-github-442-cuda11/java/src/main/native/../../../../cpp/include/cudf/wrappers/durations.hpp:61:22: error: 'duration_D' was not declared in this scope; did you mean 'duration_s'? [2021-09-01T12:09:43.496Z] [exec] 61 | static_assert(sizeof(duration_D) == sizeof(typename duration_D::rep), ""); [2021-09-01T12:09:43.496Z] [exec] | ^~~~~~~~~~ [2021-09-01T12:09:43.496Z] [exec] | duration_s [2021-09-01T12:09:43.496Z] [exec] /home/jenkins/agent/workspace/jenkins-cudf_nightly-dev-github-442-cuda11/java/src/main/native/../../../../cpp/include/cudf/wrappers/durations.hpp:61:53: error: 'duration_D' has not been declared [2021-09-01T12:09:43.496Z] [exec] 61 | static_assert(sizeof(duration_D) == sizeof(typename duration_D::rep), ""); [2021-09-01T12:09:43.496Z] [exec] | ^~~~~~~~~~ [2021-09-01T12:09:43.497Z] [exec] /home/jenkins/agent/workspace/jenkins-cudf_nightly-dev-github-442-cuda11/java/src/main/native/../../../../cpp/include/cudf/wrappers/durations.hpp:61:68: error: expected '(' before ')' token [2021-09-01T12:09:43.497Z] [exec] 61 | static_assert(sizeof(duration_D) == sizeof(typename duration_D::rep), ""); [2021-09-01T12:09:43.497Z] [exec] | ^ [2021-09-01T12:09:43.497Z] [exec] | ( [2021-09-01T12:09:43.497Z] [exec] /home/jenkins/agent/workspace/jenkins-cudf_nightly-dev-github-442-cuda11/java/src/main/native/../../../../cpp/include/cudf/wrappers/durations.hpp:87:23: error: 'duration_D' is not a member of 'cudf'; did you mean 'duration_s'? [2021-09-01T12:09:43.497Z] [exec] 87 | DURATION_LIMITS(cudf::duration_D); [2021-09-01T12:09:43.497Z] [exec] | ^~~~~~~~~~ [2021-09-01T12:09:43.497Z] [exec] /home/jenkins/agent/workspace/jenkins-cudf_nightly-dev-github-442-cuda11/java/src/main/native/../../../../cpp/include/cudf/wrappers/durations.hpp:78:25: note: in definition of macro 'DURATION_LIMITS' [2021-09-01T12:09:43.497Z] [exec] 78 | struct numeric_limits<TypeName> { \ [2021-09-01T12:09:43.497Z] [exec] | ^~~~~~~~ [2021-09-01T12:09:43.497Z] [exec] /home/jenkins/agent/workspace/jenkins-cudf_nightly-dev-github-442-cuda11/java/src/main/native/../../../../cpp/include/cudf/wrappers/durations.hpp:78:33: error: template argument 1 is invalid [2021-09-01T12:09:43.497Z] [exec] 78 | struct numeric_limits<TypeName> { \ [2021-09-01T12:09:43.497Z] [exec] | ^ [2021-09-01T12:09:43.497Z] [exec] /home/jenkins/agent/workspace/jenkins-cudf_nightly-dev-github-442-cuda11/java/src/main/native/../../../../cpp/include/cudf/wrappers/durations.hpp:87:1: note: in expansion of macro 'DURATION_LIMITS' [2021-09-01T12:09:43.497Z] [exec] 87 | DURATION_LIMITS(cudf::duration_D); [2021-09-01T12:09:43.497Z] [exec] | ^~~~~~~~~~~~~~~ [2021-09-01T12:09:43.497Z] [exec] In file included from /home/jenkins/agent/workspace/jenkins-cudf_nightly-dev-github-442-cuda11/java/src/main/native/../../../../cpp/include/cudf/utilities/type_dispatcher.hpp:25, [2021-09-01T12:09:43.497Z] [exec] from /home/jenkins/agent/workspace/jenkins-cudf_nightly-dev-github-442-cuda11/java/src/main/native/../../../../cpp/include/cudf/utilities/traits.hpp:20, [2021-09-01T12:09:43.497Z] [exec] from /home/jenkins/agent/workspace/jenkins-cudf_nightly-dev-github-442-cuda11/java/src/main/native/../../../../cpp/include/cudf/column/column_view.hpp:19, [2021-09-01T12:09:43.497Z] [exec] from /home/jenkins/agent/workspace/jenkins-cudf_nightly-dev-github-442-cuda11/java/src/main/native/../../../../cpp/include/cudf/copying.hpp:19, [2021-09-01T12:09:43.497Z] [exec] from /home/jenkins/agent/workspace/jenkins-cudf_nightly-dev-github-442-cuda11/java/src/main/native/src/cudf_jni_apis.hpp:18, [2021-09-01T12:09:43.497Z] [exec] from /home/jenkins/agent/workspace/jenkins-cudf_nightly-dev-github-442-cuda11/java/src/main/native/src/CuFileJni.cpp:26: [2021-09-01T12:09:43.497Z] [exec] /home/jenkins/agent/workspace/jenkins-cudf_nightly-dev-github-442-cuda11/java/src/main/native/../../../../cpp/include/cudf/wrappers/timestamps.hpp:32:39: error: 'sys_time' in namespace 'cuda::std::__3::chrono' does not name a template type [2021-09-01T12:09:43.497Z] [exec] 32 | using time_point = cuda::std::chrono::sys_time<Duration>; [2021-09-01T12:09:43.497Z] [exec] | ^~~~~~~~ [2021-09-01T12:09:43.497Z] [exec] /home/jenkins/agent/workspace/jenkins-cudf_nightly-dev-github-442-cuda11/java/src/main/native/../../../../cpp/include/cudf/wrappers/timestamps.hpp:35:19: error: 'time_point' does not name a type; did you mean 'timezone'? [2021-09-01T12:09:43.497Z] [exec] 35 | using timestamp = time_point<Duration>; [2021-09-01T12:09:43.497Z] [exec] | ^~~~~~~~~~ [2021-09-01T12:09:43.497Z] [exec] | timezone [2021-09-01T12:09:43.497Z] [exec] /home/jenkins/agent/workspace/jenkins-cudf_nightly-dev-github-442-cuda11/java/src/main/native/../../../../cpp/include/cudf/wrappers/timestamps.hpp:49:11: error: 'timestamp' in namespace 'cudf::detail' does not name a template type [2021-09-01T12:09:43.497Z] [exec] 49 | detail::timestamp<cuda::std::chrono::duration<int32_t, cuda::std::ratio<86400>>>; [2021-09-01T12:09:43.497Z] [exec] | ^~~~~~~~~ ... ... ... [2021-09-01T12:09:43.522Z] [exec] In file included from /home/jenkins/agent/workspace/jenkins-cudf_nightly-dev-github-442-cuda11/java/src/main/native/../../../../cpp/include/cudf/column/column_view.hpp:19, [2021-09-01T12:09:43.522Z] [exec] from /home/jenkins/agent/workspace/jenkins-cudf_nightly-dev-github-442-cuda11/java/src/main/native/../../../../cpp/include/cudf/copying.hpp:19, [2021-09-01T12:09:43.522Z] [exec] from /home/jenkins/agent/workspace/jenkins-cudf_nightly-dev-github-442-cuda11/java/src/main/native/src/cudf_jni_apis.hpp:18, [2021-09-01T12:09:43.522Z] [exec] from /home/jenkins/agent/workspace/jenkins-cudf_nightly-dev-github-442-cuda11/java/src/main/native/src/CuFileJni.cpp:26: [2021-09-01T12:09:43.522Z] [exec] /home/jenkins/agent/workspace/jenkins-cudf_nightly-dev-github-442-cuda11/java/src/main/native/../../../../cpp/include/cudf/utilities/traits.hpp: At global scope: [2021-09-01T12:09:43.522Z] [exec] /home/jenkins/agent/workspace/jenkins-cudf_nightly-dev-github-442-cuda11/java/src/main/native/../../../../cpp/include/cudf/utilities/traits.hpp:711:37: error: 'timestamp' is not a member of 'cudf::detail' [2021-09-01T12:09:43.522Z] [exec] 711 | struct is_convertible<cudf::detail::timestamp<Duration1>, cudf::detail::timestamp<Duration2>> [2021-09-01T12:09:43.523Z] [exec] | ^~~~~~~~~ [2021-09-01T12:09:43.523Z] [exec] /home/jenkins/agent/workspace/jenkins-cudf_nightly-dev-github-442-cuda11/java/src/main/native/../../../../cpp/include/cudf/utilities/traits.hpp:711:56: error: wrong number of template arguments (1, should be 2) [2021-09-01T12:09:43.523Z] [exec] 711 | struct is_convertible<cudf::detail::timestamp<Duration1>, cudf::detail::timestamp<Duration2>> [2021-09-01T12:09:43.523Z] [exec] | ^ [2021-09-01T12:09:43.523Z] [exec] /home/jenkins/agent/workspace/jenkins-cudf_nightly-dev-github-442-cuda11/java/src/main/native/../../../../cpp/include/cudf/utilities/traits.hpp:705:8: note: provided for 'template<class From, class To> struct cudf::is_convertible' [2021-09-01T12:09:43.523Z] [exec] 705 | struct is_convertible : std::is_convertible<From, To> { [2021-09-01T12:09:43.523Z] [exec] | ^~~~~~~~~~~~~~ [2021-09-01T12:09:43.523Z] [exec] make[2]: *** [CMakeFiles/cufilejni.dir/build.make:76: CMakeFiles/cufilejni.dir/src/CuFileJni.cpp.o] Error 1 [2021-09-01T12:09:43.523Z] [exec] make[1]: *** [CMakeFiles/Makefile2:102: CMakeFiles/cufilejni.dir/all] Error 2 [2021-09-01T12:09:43.523Z] [exec] make: *** [Makefile:91: all] Error 2
Steps/Code to reproduce bug
docker build -f java/ci/Dockerfile.centos7 --build-arg CUDA_VERSION=11.2.2 -t cudf-build:11.2.2-devel-centos7 . nvidia-docker run -it cudf-build:11.2.2-devel-centos7 bash git clone --recursive https://github.com/rapidsai/cudf.git -b branch-21.10 cd cudf export WORKSPACE=`pwd` export PARALLEL_LEVEL=16 export ENABLE_GDS=ON scl enable devtoolset-9 "java/ci/build-in-docker.sh"
The text was updated successfully, but these errors were encountered:
Fix cufilejni build include path (#9168)
cc71087
fix #9167 verified locally w/ `ENABLE_GDS=ON` Authors: - Peixin (https://github.com/pxLi) Approvers: - Tim Liu (https://github.com/NvTimLiu) URL: #9168
Successfully merging a pull request may close this issue.
Describe the bug
failed to build cufilejni when
ENABLE_GDS=ON
, this failure was due to include_directories change at #9030Steps/Code to reproduce bug
The text was updated successfully, but these errors were encountered: