Skip to content

Instantly share code, notes, and snippets.

@MykolaBova
Created October 24, 2020 13:18
Show Gist options
  • Save MykolaBova/21560eafb84a6c10c5589c169d3d450a to your computer and use it in GitHub Desktop.
Save MykolaBova/21560eafb84a6c10c5589c169d3d450a to your computer and use it in GitHub Desktop.
Build ceph error
Scanning dependencies of target ceph-objectstore-tool
[ 85%] Building CXX object src/os/CMakeFiles/ceph-bluestore-tool.dir/bluestore/bluestore_tool.cc.o
[ 85%] Building CXX object src/tools/CMakeFiles/ceph-objectstore-tool.dir/ceph_objectstore_tool.cc.o
Traceback (most recent call last):
File "/home/myk/.A.proj.FirstBridge/fs/ceph/ceph/src/pybind/cephfs/setup.py", line 201, in <module>
os.path.join(os.path.dirname(__file__), "..", "rados")
File "/usr/lib/python3/dist-packages/Cython/Build/Dependencies.py", line 899, in cythonize
ctx = c_options.create_context()
File "/usr/lib/python3/dist-packages/Cython/Compiler/Main.py", line 590, in create_context
self.cplus, self.language_level, options=self)
File "/usr/lib/python3/dist-packages/Cython/Compiler/Main.py", line 75, in __init__
from . import Builtin, CythonScope
File "/usr/lib/python3/dist-packages/Cython/Compiler/CythonScope.py", line 5, in <module>
from .UtilityCode import CythonUtilityCode
File "/usr/lib/python3/dist-packages/Cython/Compiler/UtilityCode.py", line 3, in <module>
from .TreeFragment import parse_from_strings, StringParseContext
File "/usr/lib/python3/dist-packages/Cython/Compiler/TreeFragment.py", line 17, in <module>
from .Visitor import VisitorTransform
File "/usr/lib/python3/dist-packages/Cython/Compiler/Visitor.py", line 15, in <module>
from . import ExprNodes
File "/usr/lib/python3/dist-packages/Cython/Compiler/ExprNodes.py", line 2844
await = None
^
SyntaxError: invalid syntax
src/pybind/cephfs/CMakeFiles/cython_cephfs.dir/build.make:61: recipe for target 'lib/cython_modules/lib.3/cephfs.cpython-37m-x86_64-linux-gnu.so' failed
make[2]: *** [lib/cython_modules/lib.3/cephfs.cpython-37m-x86_64-linux-gnu.so] Error 1
CMakeFiles/Makefile2:5400: recipe for target 'src/pybind/cephfs/CMakeFiles/cython_cephfs.dir/all' failed
make[1]: *** [src/pybind/cephfs/CMakeFiles/cython_cephfs.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 85%] Building CXX object src/tools/CMakeFiles/ceph-objectstore-tool.dir/rebuild_mondb.cc.o
[ 85%] Built target ceph-monstore-tool
[ 85%] Building CXX object src/tools/CMakeFiles/ceph-objectstore-tool.dir/RadosDump.cc.o
[ 85%] Linking CXX executable ../../bin/ceph-bluestore-tool
[ 85%] Built target ceph-bluestore-tool
[ 85%] Linking CXX executable ../../bin/ceph-objectstore-tool
[ 85%] Built target ceph-objectstore-tool
Makefile:140: recipe for target 'all' failed
make: *** [all] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment