Project

General

Profile

Actions

Bug #14059

closed

Can't build Ceph with --with-rbd (Cython)

Added by Piotr Dalek over 8 years ago. Updated almost 8 years ago.

Status:
Resolved
Priority:
High
Assignee:
-
Target version:
-
% Done:

0%

Source:
Community (dev)
Tags:
Backport:
Regression:
Yes
Severity:
2 - major
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

When using Cython version 0.14.1 and

CXXFLAGS="-g -ggdb" ./configure \
--without-fuse --prefix=/usr --localstatedir=/var --sysconfdir=/etc \
--with-nss --without-cryptopp --with-rest-bench --without-lttng \
--disable-gitversion --without-man-page --disable-cephfs-java \
--without-libzs --without-babeltrace --with-debug

build fails:


building 'rbd' extension
gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mt
une=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-
size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -iquote /home/dalekp/ceph-bp-smallpglog/ceph/src/include -Wall -Wtype-limits -Wignored-
qualifiers -Winit-self -Wpointer-arith -fno-strict-aliasing -fsigned-char -rdynamic -O2 -g -pipe -Wall -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SO
URCE=2 -fexceptions --param=ssp-buffer-size=4 -fPIE -fstack-protector -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builti
n-free -g -O2 -iquote /home/dalekp/ceph-bp-smallpglog/ceph/src/include -D__CEPH__ -D_FILE_OFFSET_BITS=64 -D_THREAD_SAFE -D__STDC_FORMAT_MACROS
-D_GNU_SOURCE -DCEPH_LIBDIR=/usr/lib -DCEPH_PKGLIBDIR=/usr/lib/ceph -DGTEST_USE_OWN_TR1_TUPLE=0 -D_REENTRANT -fPIC -I/usr/include/python2.6 -
c rbd.c -o /home/dalekp/ceph-bp-smallpglog/ceph/src/build/temp.linux-x86_64-2.6/rbd.o
gcc: rbd.c: No such file or directory
gcc: no input files
error: command 'gcc' failed with exit status 1

Possibly introduced with https://github.com/ceph/ceph/pull/6768.

If Cython 0.14.1 is deliberately not supported, it should be stated so during "configure" step (Cython presence is already checked).

Actions

Also available in: Atom PDF