Project

General

Profile

Actions

Bug #14371

closed

pybind build failures on current master

Added by Abhishek Lekshmanan over 8 years ago. Updated over 8 years ago.

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

0%

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

Description

rbd.pyx is failing to compile with the following error

Compiling rbd.pyx because it changed.
Cythonizing rbd.pyx

Error compiling Cython file:
------------------------------------------------------------
...
    int rbd_snap_is_protected(rbd_image_t image, const char *snap_name,
                              int *is_protected)
    int rbd_snap_set(rbd_image_t image, const char *snapname)
    int rbd_flatten(rbd_image_t image)
    int rbd_rebuild_object_map(rbd_image_t image, librbd_progress_fn_t cb,
                               void *cbdata);
                                           ^
------------------------------------------------------------

rbd.pyx:151:44: Syntax error in C variable declaration
Traceback (most recent call last):
  File "./setup.py", line 47, in <module>
    ], build_dir=os.environ.get("CYTHON_BUILD_DIR", None)),
  File "/usr/lib64/python2.7/site-packages/Cython/Build/Dependencies.py", line 753, in cythonize
    cythonize_one(*args[1:])
  File "/usr/lib64/python2.7/site-packages/Cython/Build/Dependencies.py", line 820, in cythonize_one
    raise CompileError(None, pyx_file)
Cython.Compiler.Errors.CompileError: rbd.pyx
Makefile:28602: recipe for target 'pybind-all' failed
make[3]: *** [pybind-all] Error 1
make[3]: *** Waiting for unfinished jobs....
Actions #3

Updated by Abhishek Lekshmanan over 8 years ago

  • Status changed from New to Resolved
Actions

Also available in: Atom PDF