Bug #17209
closedbuild: ceph/src/librados/librados.cc:47:30: fatal error: tracing/librados.h: No such file or directory
0%
Description
Hello,
With the latest master code(commit 51c45e320eae225086525555c5fe7285b21000d3), building failed with error message as below:
---
...
[ 12%] Built target osdc
[ 12%] Building CXX object src/librados/CMakeFiles/librados_objs.dir/IoCtxImpl.cc.o
[ 13%] Building CXX object src/librados/CMakeFiles/librados_objs.dir/RadosXattrIter.cc.o
[ 13%] Building CXX object src/librados/CMakeFiles/librados_objs.dir/RadosClient.cc.o
[ 13%] Built target librados_objs
[ 13%] Building CXX object src/librados/CMakeFiles/librados_api_obj.dir/librados.cc.o
/home/eric/workspace/ceph/src/librados/librados.cc:47:30: fatal error: tracing/librados.h: No such file or directory
#include "tracing/librados.h"
^
compilation terminated.
src/librados/CMakeFiles/librados_api_obj.dir/build.make:62: recipe for target 'src/librados/CMakeFiles/librados_api_obj.dir/librados.cc.o' failed
make2: * [src/librados/CMakeFiles/librados_api_obj.dir/librados.cc.o] Error 1
CMakeFiles/Makefile2:2907: recipe for target 'src/librados/CMakeFiles/librados_api_obj.dir/all' failed
make1: * [src/librados/CMakeFiles/librados_api_obj.dir/all] Error 2
Makefile:138: recipe for target 'all' failed
...
Updated by Eric Ren over 7 years ago
The commit below is already for this issue. I'll `rm rf build` and try again:
--
commit 5e03ff098166dd2ea4003560df9911507579a9b9
Author: Kefu Chai <kchai@redhat.com>
Date: Mon Aug 29 15:05:55 2016 +0800
cmake: fix the tracing header dependencies
in aa679df, we move librados.cc into a separated obj target. this broken
the dependency from librados.o to its tracing header. we need to update
it accordingly.
this change fixes the following compilation error:
```
/var/ceph/ceph/src/librados/librados.cc:47:30: fatal error:
tracing/librados.h: No such file or directory
#include "tracing/librados.h"
^
compilation terminated.
```
Signed-off-by: Kefu Chai <kchai@redhat.com>
Updated by Eric Ren over 7 years ago
It's weird. The building error is still there... Anyone else can double confirm on this?
Updated by Eric Ren over 7 years ago
Updated by Eric Ren over 7 years ago
Please close this INVALID bug. One have not the permission to close a bug he created?