Project

General

Profile

Actions

Bug #17209

closed

build: ceph/src/librados/librados.cc:47:30: fatal error: tracing/librados.h: No such file or directory

Added by Eric Ren over 7 years ago. Updated over 7 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

Source:
Development
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
rados
Pull request ID:
Crash signature (v1):
Crash signature (v2):

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
...

Actions #1

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 <>
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 &lt;&gt;
Actions #2

Updated by Eric Ren over 7 years ago

It's weird. The building error is still there... Anyone else can double confirm on this?

Actions #4

Updated by Eric Ren over 7 years ago

Please close this INVALID bug. One have not the permission to close a bug he created?

Actions #5

Updated by Nathan Cutler over 7 years ago

  • Status changed from New to Rejected
Actions

Also available in: Atom PDF