Skip to contentSkip to conversation

Build failed in Jenkins: ceph-master #1758

DISCUSSION kefu chai 2 participants 3 messages Feb 9, 2018 2 messages not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

kefu chai

author
#2 lore raw
Quoted 15 lines · Willem Jan Withagen

Hi Kefu,

Clang complains since your commit:
https://github.com/ceph/ceph/commit/0e0d0cd8d1adee998109c2714ed04f43b3212d7e

about:
/home/jenkins/workspace/ceph-master/src/test/librados/lock.cc:24:33:
error: no template named 'invoke_result_t' in namespace 'std'
typename Return = std::invoke_result_t<Func, Args...>>
~~~~~^
1 error generated.
gmake[2]: *** [src/test/librados/CMakeFiles/ceph_test_rados_api_lock.dir/build.make:63:
src/test/librados/CMakeFiles/ceph_test_rados_api_lock.dir/lock.cc.o] Error 1

Quoted 2 lines

Suggestions on how to fix this?

could you give a spin of https://github.com/ceph/ceph/pull/20379 ? sorry for the inconvenience.

Signature · 2 lines
Regards
Kefu Chai
author
#3 lore raw
Quoted 16 lines · kefu chai
Quoted 15 lines · Willem Jan Withagen

Hi Kefu,

Clang complains since your commit:
https://github.com/ceph/ceph/commit/0e0d0cd8d1adee998109c2714ed04f43b3212d7e

about:
/home/jenkins/workspace/ceph-master/src/test/librados/lock.cc:24:33:
error: no template named 'invoke_result_t' in namespace 'std'
typename Return = std::invoke_result_t<Func, Args...>>
~~~~~^
1 error generated.
gmake[2]: *** [src/test/librados/CMakeFiles/ceph_test_rados_api_lock.dir/build.make:63:
src/test/librados/CMakeFiles/ceph_test_rados_api_lock.dir/lock.cc.o] Error 1

Quoted 5 lines
Quoted 2 lines

Suggestions on how to fix this?

could you give a spin of https://github.com/ceph/ceph/pull/20379 ? sorry for the inconvenience.

also, what is your clang version?

Quoted 4 lines

--
Regards
Kefu Chai

Signature · 2 lines
Regards
Kefu Chai
#4 lore raw
Quoted 17 lines · kefu chai
Quoted 16 lines · kefu chai
Quoted 15 lines · Willem Jan Withagen

Hi Kefu,

Clang complains since your commit:
https://github.com/ceph/ceph/commit/0e0d0cd8d1adee998109c2714ed04f43b3212d7e

about:
/home/jenkins/workspace/ceph-master/src/test/librados/lock.cc:24:33:
error: no template named 'invoke_result_t' in namespace 'std'
typename Return = std::invoke_result_t<Func, Args...>>
~~~~~^
1 error generated.
gmake[2]: *** [src/test/librados/CMakeFiles/ceph_test_rados_api_lock.dir/build.make:63:
src/test/librados/CMakeFiles/ceph_test_rados_api_lock.dir/lock.cc.o] Error 1

Quoted 8 lines
Quoted 5 lines
Quoted 2 lines

Suggestions on how to fix this?

could you give a spin of https://github.com/ceph/ceph/pull/20379 ? sorry for the inconvenience.

also, what is your clang version?

Clang is 5.0 on the jenkins box. So it should do most/all c++17 stuff. But I guess the problem is in the includes...

grepping in invoke_result_t gave a hit in the .svn source tree, so I guess I just might need to install the most recent updates.

--WjW

% clang -v
FreeBSD clang version 5.0.0 (tags/RELEASE_500/final 312559) (based on LLVM 5.0.0svn)
Target: x86_64-unknown-freebsd12.0
Thread model: posix
InstalledDir: /usr/bin