Guest User

Untitled

a guest
Jan 31st, 2019
299
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 13.19 KB | None | 0 0
  1. (venv) root@versinator:/home/aviral/dev/rocksdb# pip3 install python-rocksdb
  2. Collecting python-rocksdb
  3.   Using cached https://files.pythonhosted.org/packages/66/ec/5668df5564ef3bc6aa985ac5609ac716d4808b935f69e0e4720460a58b0e/python-rocksdb-0.6.9.tar.gz
  4. Requirement already satisfied: setuptools>=25 in ./venv/lib/python3.6/site-packages (from python-rocksdb) (40.7.1)
  5. Building wheels for collected packages: python-rocksdb
  6.   Building wheel for python-rocksdb (setup.py) ... error
  7.   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:
  8.   running bdist_wheel
  9.   running build
  10.   running build_py
  11.   creating build
  12.   creating build/lib.linux-x86_64-3.6
  13.   creating build/lib.linux-x86_64-3.6/rocksdb
  14.   copying rocksdb/errors.py -> build/lib.linux-x86_64-3.6/rocksdb
  15.   copying rocksdb/interfaces.py -> build/lib.linux-x86_64-3.6/rocksdb
  16.   copying rocksdb/merge_operators.py -> build/lib.linux-x86_64-3.6/rocksdb
  17.   copying rocksdb/__init__.py -> build/lib.linux-x86_64-3.6/rocksdb
  18.   creating build/lib.linux-x86_64-3.6/rocksdb/tests
  19.   copying rocksdb/tests/test_options.py -> build/lib.linux-x86_64-3.6/rocksdb/tests
  20.   copying rocksdb/tests/test_db.py -> build/lib.linux-x86_64-3.6/rocksdb/tests
  21.   copying rocksdb/tests/test_memtable.py -> build/lib.linux-x86_64-3.6/rocksdb/tests
  22.   copying rocksdb/tests/__init__.py -> build/lib.linux-x86_64-3.6/rocksdb/tests
  23.   running egg_info
  24.   writing python_rocksdb.egg-info/PKG-INFO
  25.   writing dependency_links to python_rocksdb.egg-info/dependency_links.txt
  26.   writing requirements to python_rocksdb.egg-info/requires.txt
  27.   writing top-level names to python_rocksdb.egg-info/top_level.txt
  28.   reading manifest file 'python_rocksdb.egg-info/SOURCES.txt'
  29.   reading manifest template 'MANIFEST.in'
  30.   writing manifest file 'python_rocksdb.egg-info/SOURCES.txt'
  31.   copying rocksdb/_rocksdb.cpp -> build/lib.linux-x86_64-3.6/rocksdb
  32.   copying rocksdb/_rocksdb.pyx -> build/lib.linux-x86_64-3.6/rocksdb
  33.   copying rocksdb/backup.pxd -> build/lib.linux-x86_64-3.6/rocksdb
  34.   copying rocksdb/cache.pxd -> build/lib.linux-x86_64-3.6/rocksdb
  35.   copying rocksdb/comparator.pxd -> build/lib.linux-x86_64-3.6/rocksdb
  36.   copying rocksdb/db.pxd -> build/lib.linux-x86_64-3.6/rocksdb
  37.   copying rocksdb/env.pxd -> build/lib.linux-x86_64-3.6/rocksdb
  38.   copying rocksdb/filter_policy.pxd -> build/lib.linux-x86_64-3.6/rocksdb
  39.   copying rocksdb/iterator.pxd -> build/lib.linux-x86_64-3.6/rocksdb
  40.   copying rocksdb/logger.pxd -> build/lib.linux-x86_64-3.6/rocksdb
  41.   copying rocksdb/memtablerep.pxd -> build/lib.linux-x86_64-3.6/rocksdb
  42.   copying rocksdb/merge_operator.pxd -> build/lib.linux-x86_64-3.6/rocksdb
  43.   copying rocksdb/options.pxd -> build/lib.linux-x86_64-3.6/rocksdb
  44.   copying rocksdb/slice_.pxd -> build/lib.linux-x86_64-3.6/rocksdb
  45.   copying rocksdb/slice_transform.pxd -> build/lib.linux-x86_64-3.6/rocksdb
  46.   copying rocksdb/snapshot.pxd -> build/lib.linux-x86_64-3.6/rocksdb
  47.   copying rocksdb/status.pxd -> build/lib.linux-x86_64-3.6/rocksdb
  48.   copying rocksdb/std_memory.pxd -> build/lib.linux-x86_64-3.6/rocksdb
  49.   copying rocksdb/table_factory.pxd -> build/lib.linux-x86_64-3.6/rocksdb
  50.   copying rocksdb/universal_compaction.pxd -> build/lib.linux-x86_64-3.6/rocksdb
  51.   creating build/lib.linux-x86_64-3.6/rocksdb/cpp
  52.   copying rocksdb/cpp/comparator_wrapper.hpp -> build/lib.linux-x86_64-3.6/rocksdb/cpp
  53.   copying rocksdb/cpp/filter_policy_wrapper.hpp -> build/lib.linux-x86_64-3.6/rocksdb/cpp
  54.   copying rocksdb/cpp/memtable_factories.hpp -> build/lib.linux-x86_64-3.6/rocksdb/cpp
  55.   copying rocksdb/cpp/merge_operator_wrapper.hpp -> build/lib.linux-x86_64-3.6/rocksdb/cpp
  56.   copying rocksdb/cpp/slice_transform_wrapper.hpp -> build/lib.linux-x86_64-3.6/rocksdb/cpp
  57.   copying rocksdb/cpp/utils.hpp -> build/lib.linux-x86_64-3.6/rocksdb/cpp
  58.   copying rocksdb/cpp/write_batch_iter_helper.hpp -> build/lib.linux-x86_64-3.6/rocksdb/cpp
  59.   running build_ext
  60.   skipping 'rocksdb/_rocksdb.cpp' Cython extension (up-to-date)
  61.   building 'rocksdb._rocksdb' extension
  62.   creating build/temp.linux-x86_64-3.6
  63.   creating build/temp.linux-x86_64-3.6/rocksdb
  64.   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
  65.   rocksdb/_rocksdb.cpp: In function ‘PyObject* __pyx_pf_7rocksdb_8_rocksdb_19PyBloomFilterPolicy_4create_filter(__pyx_obj_7rocksdb_8_rocksdb_PyBloomFilterPolicy*, PyObject*)’:
  66.   rocksdb/_rocksdb.cpp:7869:87: warning: conversion to ‘intfrom ‘std::vector<rocksdb::Slice>::size_type {aka long unsigned int}’ may alter its value [-Wconversion]
  67.        __pyx_t_6->CreateFilter(py_rocks::vector_data(__pyx_v_c_keys), __pyx_v_c_keys.size(), (&__pyx_v_dst));
  68.                                                                       ~~~~~~~~~~~~~~~~~~~^~
  69.   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*)’:
  70.   rocksdb/_rocksdb.cpp:13542:25: error: ‘struct rocksdb::PlainTableOptions’ has no member named ‘store_index_in_file’
  71.      __pyx_v_table_options.store_index_in_file = __pyx_t_8;
  72.                            ^~~~~~~~~~~~~~~~~~~
  73.   rocksdb/_rocksdb.cpp: In function ‘PyObject* __Pyx_PyInt_From_rocksdb_3a__3a_CompressionType(rocksdb::CompressionType)’:
  74.   rocksdb/_rocksdb.cpp:46834:74: warning: the result of the conversion is unspecified because ‘-1is outside the range of type ‘rocksdb::CompressionType’ [-Wconversion]
  75.        const rocksdb::CompressionType neg_one = (rocksdb::CompressionType) -1, const_zero = (rocksdb::CompressionType) 0;
  76.                                                                             ^
  77.   error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
  78.  
  79.   ----------------------------------------
  80.   Failed building wheel for python-rocksdb
  81.   Running setup.py clean for python-rocksdb
  82. Failed to build python-rocksdb
  83. Installing collected packages: python-rocksdb
  84.   Running setup.py install for python-rocksdb ... error
  85.     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:
  86.     running install
  87.     running build
  88.     running build_py
  89.     creating build
  90.     creating build/lib.linux-x86_64-3.6
  91.     creating build/lib.linux-x86_64-3.6/rocksdb
  92.     copying rocksdb/errors.py -> build/lib.linux-x86_64-3.6/rocksdb
  93.     copying rocksdb/interfaces.py -> build/lib.linux-x86_64-3.6/rocksdb
  94.     copying rocksdb/merge_operators.py -> build/lib.linux-x86_64-3.6/rocksdb
  95.     copying rocksdb/__init__.py -> build/lib.linux-x86_64-3.6/rocksdb
  96.     creating build/lib.linux-x86_64-3.6/rocksdb/tests
  97.     copying rocksdb/tests/test_options.py -> build/lib.linux-x86_64-3.6/rocksdb/tests
  98.     copying rocksdb/tests/test_db.py -> build/lib.linux-x86_64-3.6/rocksdb/tests
  99.     copying rocksdb/tests/test_memtable.py -> build/lib.linux-x86_64-3.6/rocksdb/tests
  100.     copying rocksdb/tests/__init__.py -> build/lib.linux-x86_64-3.6/rocksdb/tests
  101.     running egg_info
  102.     writing python_rocksdb.egg-info/PKG-INFO
  103.     writing dependency_links to python_rocksdb.egg-info/dependency_links.txt
  104.     writing requirements to python_rocksdb.egg-info/requires.txt
  105.     writing top-level names to python_rocksdb.egg-info/top_level.txt
  106.     reading manifest file 'python_rocksdb.egg-info/SOURCES.txt'
  107.     reading manifest template 'MANIFEST.in'
  108.     writing manifest file 'python_rocksdb.egg-info/SOURCES.txt'
  109.     copying rocksdb/_rocksdb.cpp -> build/lib.linux-x86_64-3.6/rocksdb
  110.     copying rocksdb/_rocksdb.pyx -> build/lib.linux-x86_64-3.6/rocksdb
  111.     copying rocksdb/backup.pxd -> build/lib.linux-x86_64-3.6/rocksdb
  112.     copying rocksdb/cache.pxd -> build/lib.linux-x86_64-3.6/rocksdb
  113.     copying rocksdb/comparator.pxd -> build/lib.linux-x86_64-3.6/rocksdb
  114.     copying rocksdb/db.pxd -> build/lib.linux-x86_64-3.6/rocksdb
  115.     copying rocksdb/env.pxd -> build/lib.linux-x86_64-3.6/rocksdb
  116.     copying rocksdb/filter_policy.pxd -> build/lib.linux-x86_64-3.6/rocksdb
  117.     copying rocksdb/iterator.pxd -> build/lib.linux-x86_64-3.6/rocksdb
  118.     copying rocksdb/logger.pxd -> build/lib.linux-x86_64-3.6/rocksdb
  119.     copying rocksdb/memtablerep.pxd -> build/lib.linux-x86_64-3.6/rocksdb
  120.     copying rocksdb/merge_operator.pxd -> build/lib.linux-x86_64-3.6/rocksdb
  121.     copying rocksdb/options.pxd -> build/lib.linux-x86_64-3.6/rocksdb
  122.     copying rocksdb/slice_.pxd -> build/lib.linux-x86_64-3.6/rocksdb
  123.     copying rocksdb/slice_transform.pxd -> build/lib.linux-x86_64-3.6/rocksdb
  124.     copying rocksdb/snapshot.pxd -> build/lib.linux-x86_64-3.6/rocksdb
  125.     copying rocksdb/status.pxd -> build/lib.linux-x86_64-3.6/rocksdb
  126.     copying rocksdb/std_memory.pxd -> build/lib.linux-x86_64-3.6/rocksdb
  127.     copying rocksdb/table_factory.pxd -> build/lib.linux-x86_64-3.6/rocksdb
  128.     copying rocksdb/universal_compaction.pxd -> build/lib.linux-x86_64-3.6/rocksdb
  129.     creating build/lib.linux-x86_64-3.6/rocksdb/cpp
  130.     copying rocksdb/cpp/comparator_wrapper.hpp -> build/lib.linux-x86_64-3.6/rocksdb/cpp
  131.     copying rocksdb/cpp/filter_policy_wrapper.hpp -> build/lib.linux-x86_64-3.6/rocksdb/cpp
  132.     copying rocksdb/cpp/memtable_factories.hpp -> build/lib.linux-x86_64-3.6/rocksdb/cpp
  133.     copying rocksdb/cpp/merge_operator_wrapper.hpp -> build/lib.linux-x86_64-3.6/rocksdb/cpp
  134.     copying rocksdb/cpp/slice_transform_wrapper.hpp -> build/lib.linux-x86_64-3.6/rocksdb/cpp
  135.     copying rocksdb/cpp/utils.hpp -> build/lib.linux-x86_64-3.6/rocksdb/cpp
  136.     copying rocksdb/cpp/write_batch_iter_helper.hpp -> build/lib.linux-x86_64-3.6/rocksdb/cpp
  137.     running build_ext
  138.     skipping 'rocksdb/_rocksdb.cpp' Cython extension (up-to-date)
  139.     building 'rocksdb._rocksdb' extension
  140.     creating build/temp.linux-x86_64-3.6
  141.     creating build/temp.linux-x86_64-3.6/rocksdb
  142.     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
  143.     rocksdb/_rocksdb.cpp: In function ‘PyObject* __pyx_pf_7rocksdb_8_rocksdb_19PyBloomFilterPolicy_4create_filter(__pyx_obj_7rocksdb_8_rocksdb_PyBloomFilterPolicy*, PyObject*)’:
  144.     rocksdb/_rocksdb.cpp:7869:87: warning: conversion to ‘intfrom ‘std::vector<rocksdb::Slice>::size_type {aka long unsigned int}’ may alter its value [-Wconversion]
  145.          __pyx_t_6->CreateFilter(py_rocks::vector_data(__pyx_v_c_keys), __pyx_v_c_keys.size(), (&__pyx_v_dst));
  146.                                                                         ~~~~~~~~~~~~~~~~~~~^~
  147.     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*)’:
  148.     rocksdb/_rocksdb.cpp:13542:25: error: ‘struct rocksdb::PlainTableOptions’ has no member named ‘store_index_in_file’
  149.        __pyx_v_table_options.store_index_in_file = __pyx_t_8;
  150.                              ^~~~~~~~~~~~~~~~~~~
  151.     rocksdb/_rocksdb.cpp: In function ‘PyObject* __Pyx_PyInt_From_rocksdb_3a__3a_CompressionType(rocksdb::CompressionType)’:
  152.     rocksdb/_rocksdb.cpp:46834:74: warning: the result of the conversion is unspecified because ‘-1is outside the range of type ‘rocksdb::CompressionType’ [-Wconversion]
  153.          const rocksdb::CompressionType neg_one = (rocksdb::CompressionType) -1, const_zero = (rocksdb::CompressionType) 0;
  154.                                                                               ^
  155.     error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
  156.  
  157.     ----------------------------------------
  158. 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