Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (venv) root@versinator:/home/aviral/dev/rocksdb# pip3 install python-rocksdb
- Collecting python-rocksdb
- Using cached https://files.pythonhosted.org/packages/66/ec/5668df5564ef3bc6aa985ac5609ac716d4808b935f69e0e4720460a58b0e/python-rocksdb-0.6.9.tar.gz
- Requirement already satisfied: setuptools>=25 in ./venv/lib/python3.6/site-packages (from python-rocksdb) (40.7.1)
- Building wheels for collected packages: python-rocksdb
- Building wheel for python-rocksdb (setup.py) ... error
- Complete output from command /home/aviral/dev/rocksdb/venv/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-5kagbe5y/python-rocksdb/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /tmp/pip-wheel-nf72d34z --python-tag cp36:
- running bdist_wheel
- running build
- running build_py
- creating build
- creating build/lib.linux-x86_64-3.6
- creating build/lib.linux-x86_64-3.6/rocksdb
- copying rocksdb/errors.py -> build/lib.linux-x86_64-3.6/rocksdb
- copying rocksdb/interfaces.py -> build/lib.linux-x86_64-3.6/rocksdb
- copying rocksdb/merge_operators.py -> build/lib.linux-x86_64-3.6/rocksdb
- copying rocksdb/__init__.py -> build/lib.linux-x86_64-3.6/rocksdb
- creating build/lib.linux-x86_64-3.6/rocksdb/tests
- copying rocksdb/tests/test_options.py -> build/lib.linux-x86_64-3.6/rocksdb/tests
- copying rocksdb/tests/test_db.py -> build/lib.linux-x86_64-3.6/rocksdb/tests
- copying rocksdb/tests/test_memtable.py -> build/lib.linux-x86_64-3.6/rocksdb/tests
- copying rocksdb/tests/__init__.py -> build/lib.linux-x86_64-3.6/rocksdb/tests
- running egg_info
- writing python_rocksdb.egg-info/PKG-INFO
- writing dependency_links to python_rocksdb.egg-info/dependency_links.txt
- writing requirements to python_rocksdb.egg-info/requires.txt
- writing top-level names to python_rocksdb.egg-info/top_level.txt
- reading manifest file 'python_rocksdb.egg-info/SOURCES.txt'
- reading manifest template 'MANIFEST.in'
- writing manifest file 'python_rocksdb.egg-info/SOURCES.txt'
- copying rocksdb/_rocksdb.cpp -> build/lib.linux-x86_64-3.6/rocksdb
- copying rocksdb/_rocksdb.pyx -> build/lib.linux-x86_64-3.6/rocksdb
- copying rocksdb/backup.pxd -> build/lib.linux-x86_64-3.6/rocksdb
- copying rocksdb/cache.pxd -> build/lib.linux-x86_64-3.6/rocksdb
- copying rocksdb/comparator.pxd -> build/lib.linux-x86_64-3.6/rocksdb
- copying rocksdb/db.pxd -> build/lib.linux-x86_64-3.6/rocksdb
- copying rocksdb/env.pxd -> build/lib.linux-x86_64-3.6/rocksdb
- copying rocksdb/filter_policy.pxd -> build/lib.linux-x86_64-3.6/rocksdb
- copying rocksdb/iterator.pxd -> build/lib.linux-x86_64-3.6/rocksdb
- copying rocksdb/logger.pxd -> build/lib.linux-x86_64-3.6/rocksdb
- copying rocksdb/memtablerep.pxd -> build/lib.linux-x86_64-3.6/rocksdb
- copying rocksdb/merge_operator.pxd -> build/lib.linux-x86_64-3.6/rocksdb
- copying rocksdb/options.pxd -> build/lib.linux-x86_64-3.6/rocksdb
- copying rocksdb/slice_.pxd -> build/lib.linux-x86_64-3.6/rocksdb
- copying rocksdb/slice_transform.pxd -> build/lib.linux-x86_64-3.6/rocksdb
- copying rocksdb/snapshot.pxd -> build/lib.linux-x86_64-3.6/rocksdb
- copying rocksdb/status.pxd -> build/lib.linux-x86_64-3.6/rocksdb
- copying rocksdb/std_memory.pxd -> build/lib.linux-x86_64-3.6/rocksdb
- copying rocksdb/table_factory.pxd -> build/lib.linux-x86_64-3.6/rocksdb
- copying rocksdb/universal_compaction.pxd -> build/lib.linux-x86_64-3.6/rocksdb
- creating build/lib.linux-x86_64-3.6/rocksdb/cpp
- copying rocksdb/cpp/comparator_wrapper.hpp -> build/lib.linux-x86_64-3.6/rocksdb/cpp
- copying rocksdb/cpp/filter_policy_wrapper.hpp -> build/lib.linux-x86_64-3.6/rocksdb/cpp
- copying rocksdb/cpp/memtable_factories.hpp -> build/lib.linux-x86_64-3.6/rocksdb/cpp
- copying rocksdb/cpp/merge_operator_wrapper.hpp -> build/lib.linux-x86_64-3.6/rocksdb/cpp
- copying rocksdb/cpp/slice_transform_wrapper.hpp -> build/lib.linux-x86_64-3.6/rocksdb/cpp
- copying rocksdb/cpp/utils.hpp -> build/lib.linux-x86_64-3.6/rocksdb/cpp
- copying rocksdb/cpp/write_batch_iter_helper.hpp -> build/lib.linux-x86_64-3.6/rocksdb/cpp
- running build_ext
- skipping 'rocksdb/_rocksdb.cpp' Cython extension (up-to-date)
- building 'rocksdb._rocksdb' extension
- creating build/temp.linux-x86_64-3.6
- creating build/temp.linux-x86_64-3.6/rocksdb
- x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.6m -I/home/aviral/dev/rocksdb/venv/include/python3.6m -c rocksdb/_rocksdb.cpp -o build/temp.linux-x86_64-3.6/rocksdb/_rocksdb.o -std=c++11 -O3 -Wall -Wextra -Wconversion -fno-strict-aliasing -fno-rtti
- rocksdb/_rocksdb.cpp: In function ‘PyObject* __pyx_pf_7rocksdb_8_rocksdb_19PyBloomFilterPolicy_4create_filter(__pyx_obj_7rocksdb_8_rocksdb_PyBloomFilterPolicy*, PyObject*)’:
- rocksdb/_rocksdb.cpp:7869:87: warning: conversion to ‘int’ from ‘std::vector<rocksdb::Slice>::size_type {aka long unsigned int}’ may alter its value [-Wconversion]
- __pyx_t_6->CreateFilter(py_rocks::vector_data(__pyx_v_c_keys), __pyx_v_c_keys.size(), (&__pyx_v_dst));
- ~~~~~~~~~~~~~~~~~~~^~
- rocksdb/_rocksdb.cpp: In function ‘int __pyx_pf_7rocksdb_8_rocksdb_17PlainTableFactory___init__(__pyx_obj_7rocksdb_8_rocksdb_PlainTableFactory*, PyObject*, PyObject*, PyObject*, PyObject*, PyObject*, PyObject*, PyLongObject*, PyLongObject*)’:
- rocksdb/_rocksdb.cpp:13542:25: error: ‘struct rocksdb::PlainTableOptions’ has no member named ‘store_index_in_file’
- __pyx_v_table_options.store_index_in_file = __pyx_t_8;
- ^~~~~~~~~~~~~~~~~~~
- rocksdb/_rocksdb.cpp: In function ‘PyObject* __Pyx_PyInt_From_rocksdb_3a__3a_CompressionType(rocksdb::CompressionType)’:
- rocksdb/_rocksdb.cpp:46834:74: warning: the result of the conversion is unspecified because ‘-1’ is outside the range of type ‘rocksdb::CompressionType’ [-Wconversion]
- const rocksdb::CompressionType neg_one = (rocksdb::CompressionType) -1, const_zero = (rocksdb::CompressionType) 0;
- ^
- error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
- ----------------------------------------
- Failed building wheel for python-rocksdb
- Running setup.py clean for python-rocksdb
- Failed to build python-rocksdb
- Installing collected packages: python-rocksdb
- Running setup.py install for python-rocksdb ... error
- Complete output from command /home/aviral/dev/rocksdb/venv/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-5kagbe5y/python-rocksdb/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-n3jza3pc/install-record.txt --single-version-externally-managed --compile --install-headers /home/aviral/dev/rocksdb/venv/include/site/python3.6/python-rocksdb:
- running install
- running build
- running build_py
- creating build
- creating build/lib.linux-x86_64-3.6
- creating build/lib.linux-x86_64-3.6/rocksdb
- copying rocksdb/errors.py -> build/lib.linux-x86_64-3.6/rocksdb
- copying rocksdb/interfaces.py -> build/lib.linux-x86_64-3.6/rocksdb
- copying rocksdb/merge_operators.py -> build/lib.linux-x86_64-3.6/rocksdb
- copying rocksdb/__init__.py -> build/lib.linux-x86_64-3.6/rocksdb
- creating build/lib.linux-x86_64-3.6/rocksdb/tests
- copying rocksdb/tests/test_options.py -> build/lib.linux-x86_64-3.6/rocksdb/tests
- copying rocksdb/tests/test_db.py -> build/lib.linux-x86_64-3.6/rocksdb/tests
- copying rocksdb/tests/test_memtable.py -> build/lib.linux-x86_64-3.6/rocksdb/tests
- copying rocksdb/tests/__init__.py -> build/lib.linux-x86_64-3.6/rocksdb/tests
- running egg_info
- writing python_rocksdb.egg-info/PKG-INFO
- writing dependency_links to python_rocksdb.egg-info/dependency_links.txt
- writing requirements to python_rocksdb.egg-info/requires.txt
- writing top-level names to python_rocksdb.egg-info/top_level.txt
- reading manifest file 'python_rocksdb.egg-info/SOURCES.txt'
- reading manifest template 'MANIFEST.in'
- writing manifest file 'python_rocksdb.egg-info/SOURCES.txt'
- copying rocksdb/_rocksdb.cpp -> build/lib.linux-x86_64-3.6/rocksdb
- copying rocksdb/_rocksdb.pyx -> build/lib.linux-x86_64-3.6/rocksdb
- copying rocksdb/backup.pxd -> build/lib.linux-x86_64-3.6/rocksdb
- copying rocksdb/cache.pxd -> build/lib.linux-x86_64-3.6/rocksdb
- copying rocksdb/comparator.pxd -> build/lib.linux-x86_64-3.6/rocksdb
- copying rocksdb/db.pxd -> build/lib.linux-x86_64-3.6/rocksdb
- copying rocksdb/env.pxd -> build/lib.linux-x86_64-3.6/rocksdb
- copying rocksdb/filter_policy.pxd -> build/lib.linux-x86_64-3.6/rocksdb
- copying rocksdb/iterator.pxd -> build/lib.linux-x86_64-3.6/rocksdb
- copying rocksdb/logger.pxd -> build/lib.linux-x86_64-3.6/rocksdb
- copying rocksdb/memtablerep.pxd -> build/lib.linux-x86_64-3.6/rocksdb
- copying rocksdb/merge_operator.pxd -> build/lib.linux-x86_64-3.6/rocksdb
- copying rocksdb/options.pxd -> build/lib.linux-x86_64-3.6/rocksdb
- copying rocksdb/slice_.pxd -> build/lib.linux-x86_64-3.6/rocksdb
- copying rocksdb/slice_transform.pxd -> build/lib.linux-x86_64-3.6/rocksdb
- copying rocksdb/snapshot.pxd -> build/lib.linux-x86_64-3.6/rocksdb
- copying rocksdb/status.pxd -> build/lib.linux-x86_64-3.6/rocksdb
- copying rocksdb/std_memory.pxd -> build/lib.linux-x86_64-3.6/rocksdb
- copying rocksdb/table_factory.pxd -> build/lib.linux-x86_64-3.6/rocksdb
- copying rocksdb/universal_compaction.pxd -> build/lib.linux-x86_64-3.6/rocksdb
- creating build/lib.linux-x86_64-3.6/rocksdb/cpp
- copying rocksdb/cpp/comparator_wrapper.hpp -> build/lib.linux-x86_64-3.6/rocksdb/cpp
- copying rocksdb/cpp/filter_policy_wrapper.hpp -> build/lib.linux-x86_64-3.6/rocksdb/cpp
- copying rocksdb/cpp/memtable_factories.hpp -> build/lib.linux-x86_64-3.6/rocksdb/cpp
- copying rocksdb/cpp/merge_operator_wrapper.hpp -> build/lib.linux-x86_64-3.6/rocksdb/cpp
- copying rocksdb/cpp/slice_transform_wrapper.hpp -> build/lib.linux-x86_64-3.6/rocksdb/cpp
- copying rocksdb/cpp/utils.hpp -> build/lib.linux-x86_64-3.6/rocksdb/cpp
- copying rocksdb/cpp/write_batch_iter_helper.hpp -> build/lib.linux-x86_64-3.6/rocksdb/cpp
- running build_ext
- skipping 'rocksdb/_rocksdb.cpp' Cython extension (up-to-date)
- building 'rocksdb._rocksdb' extension
- creating build/temp.linux-x86_64-3.6
- creating build/temp.linux-x86_64-3.6/rocksdb
- x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.6m -I/home/aviral/dev/rocksdb/venv/include/python3.6m -c rocksdb/_rocksdb.cpp -o build/temp.linux-x86_64-3.6/rocksdb/_rocksdb.o -std=c++11 -O3 -Wall -Wextra -Wconversion -fno-strict-aliasing -fno-rtti
- rocksdb/_rocksdb.cpp: In function ‘PyObject* __pyx_pf_7rocksdb_8_rocksdb_19PyBloomFilterPolicy_4create_filter(__pyx_obj_7rocksdb_8_rocksdb_PyBloomFilterPolicy*, PyObject*)’:
- rocksdb/_rocksdb.cpp:7869:87: warning: conversion to ‘int’ from ‘std::vector<rocksdb::Slice>::size_type {aka long unsigned int}’ may alter its value [-Wconversion]
- __pyx_t_6->CreateFilter(py_rocks::vector_data(__pyx_v_c_keys), __pyx_v_c_keys.size(), (&__pyx_v_dst));
- ~~~~~~~~~~~~~~~~~~~^~
- rocksdb/_rocksdb.cpp: In function ‘int __pyx_pf_7rocksdb_8_rocksdb_17PlainTableFactory___init__(__pyx_obj_7rocksdb_8_rocksdb_PlainTableFactory*, PyObject*, PyObject*, PyObject*, PyObject*, PyObject*, PyObject*, PyLongObject*, PyLongObject*)’:
- rocksdb/_rocksdb.cpp:13542:25: error: ‘struct rocksdb::PlainTableOptions’ has no member named ‘store_index_in_file’
- __pyx_v_table_options.store_index_in_file = __pyx_t_8;
- ^~~~~~~~~~~~~~~~~~~
- rocksdb/_rocksdb.cpp: In function ‘PyObject* __Pyx_PyInt_From_rocksdb_3a__3a_CompressionType(rocksdb::CompressionType)’:
- rocksdb/_rocksdb.cpp:46834:74: warning: the result of the conversion is unspecified because ‘-1’ is outside the range of type ‘rocksdb::CompressionType’ [-Wconversion]
- const rocksdb::CompressionType neg_one = (rocksdb::CompressionType) -1, const_zero = (rocksdb::CompressionType) 0;
- ^
- error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
- ----------------------------------------
- Command "/home/aviral/dev/rocksdb/venv/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-5kagbe5y/python-rocksdb/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-n3jza3pc/install-record.txt --single-version-externally-managed --compile --install-headers /home/aviral/dev/rocksdb/venv/include/site/python3.6/python-rocksdb" failed with error code 1 in /tmp/pip-install-5kagbe5y/python-rocksdb/
Add Comment
Please, Sign In to add comment