Project

General

Profile

Bug #14371

pybind build failures on current master

Added by Abhishek Lekshmanan about 3 years ago. Updated about 3 years ago.

Status:
Resolved
Priority:
High
Assignee:
-
Category:
-
Target version:
-
Start date:
01/14/2016
Due date:
% Done:

0%

Source:
other
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:

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

Associated revisions

Revision 386834ca (diff)
Added by Abhishek Lekshmanan about 3 years ago

pybind: remove extraneous semicolon in method

A semicolon on `rbd_build_object_map` method was causing build failures
in current master

Fixes: #14371
Signed-off-by: Abhishek Lekshmanan <>

History

#3 Updated by Abhishek Lekshmanan about 3 years ago

  • Status changed from New to Resolved

Also available in: Atom PDF