Replies: 3 comments 1 reply
-
I don't know whether it is supported, but I think the error message you are seeing is that pip tries to build the extension from source (because there are no prebuilt 32-bit wheels on PyPI) but fails to do so as there is no Rust toolchain installed on the system. So you could try to do that following https://www.rust-lang.org/tools/install to build your own wheel. I am not sure whether the Raspi has enough resources to do this though... |
Beta Was this translation helpful? Give feedback.
-
Hi! Thank you for trying Oxigraph. 32bits is not actively supported by Oxigraph but I guess it should work. We do not provide pre-built binaries at the moment, opposite to 64bits. It seems that the build is failing because the Python source-code package contains a windows-like path with I believe (but I have not tested) that you can circumvent this bug by:
As @adamreichold said to compile you need the Rust compiler and clang installed. My next steps:
|
Beta Was this translation helpful? Give feedback.
-
Thanks to both of you for your suggestions! Following your advice, I installed Clang (version 14.0.6) using the package manager and set up the Rust toolchain (rustc version 1.74.0). This allowed me to start the compilation process. To fix the path problem in the Python source package, I replaced the During compilation, I encountered more errors I was not able to fix. I've included the full log of the compilation process below for your reference. But if you plan to have a look at providing pre-built binaries, as you said, I just wait. Full LogLooking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Processing ./pyoxigraph-0.3.20.tar.gz
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'done'
Preparing metadata (pyproject.toml): started
Preparing metadata (pyproject.toml): finished with status 'done'
Building wheels for collected packages: pyoxigraph
Building wheel for pyoxigraph (pyproject.toml): started
Building wheel for pyoxigraph (pyproject.toml): still running...
Building wheel for pyoxigraph (pyproject.toml): still running...
Building wheel for pyoxigraph (pyproject.toml): still running...
Building wheel for pyoxigraph (pyproject.toml): still running...
Building wheel for pyoxigraph (pyproject.toml): still running...
Building wheel for pyoxigraph (pyproject.toml): still running...
Building wheel for pyoxigraph (pyproject.toml): still running...
Building wheel for pyoxigraph (pyproject.toml): still running...
Building wheel for pyoxigraph (pyproject.toml): still running...
Building wheel for pyoxigraph (pyproject.toml): still running...
Building wheel for pyoxigraph (pyproject.toml): still running...
Building wheel for pyoxigraph (pyproject.toml): still running...
Building wheel for pyoxigraph (pyproject.toml): still running...
Building wheel for pyoxigraph (pyproject.toml): still running...
Building wheel for pyoxigraph (pyproject.toml): still running...
Building wheel for pyoxigraph (pyproject.toml): still running...
Building wheel for pyoxigraph (pyproject.toml): still running...
Building wheel for pyoxigraph (pyproject.toml): still running...
Building wheel for pyoxigraph (pyproject.toml): still running...
Building wheel for pyoxigraph (pyproject.toml): still running...
Building wheel for pyoxigraph (pyproject.toml): still running...
Building wheel for pyoxigraph (pyproject.toml): still running...
Building wheel for pyoxigraph (pyproject.toml): still running...
Building wheel for pyoxigraph (pyproject.toml): still running...
Building wheel for pyoxigraph (pyproject.toml): still running...
Building wheel for pyoxigraph (pyproject.toml): still running...
Building wheel for pyoxigraph (pyproject.toml): still running...
Building wheel for pyoxigraph (pyproject.toml): still running...
Building wheel for pyoxigraph (pyproject.toml): still running...
Building wheel for pyoxigraph (pyproject.toml): still running...
Building wheel for pyoxigraph (pyproject.toml): still running...
Building wheel for pyoxigraph (pyproject.toml): still running...
Building wheel for pyoxigraph (pyproject.toml): still running...
Building wheel for pyoxigraph (pyproject.toml): still running...
Building wheel for pyoxigraph (pyproject.toml): still running...
Building wheel for pyoxigraph (pyproject.toml): finished with status 'error'
error: subprocess-exited-with-error
× Building wheel for pyoxigraph (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [409 lines of output]
Running `maturin pep517 build-wheel -i /home/pi/venv/bin/python3 --compatibility off`
Found pyo3 bindings
Found CPython 3.11 at /home/pi/venv/bin/python3
Compiling libc v0.2.147
Compiling proc-macro2 v1.0.66
Compiling unicode-ident v1.0.11
Compiling quote v1.0.33
Compiling jobserver v0.1.26
Compiling cfg-if v1.0.0
Compiling cc v1.0.79
Compiling target-lexicon v0.12.11
Compiling version_check v0.9.4
Compiling typenum v1.16.0
Compiling generic-array v0.14.7
Compiling glob v0.3.1
Compiling memchr v2.5.0
Compiling clang-sys v1.6.1
Compiling pyo3-build-config v0.19.2
Compiling ring v0.16.20
Compiling autocfg v1.1.0
Compiling prettyplease v0.2.12
Compiling getrandom v0.2.10
Compiling regex-syntax v0.7.4
Compiling minimal-lexical v0.2.1
Compiling once_cell v1.18.0
Compiling nom v7.1.3
Compiling libloading v0.7.4
Compiling regex-automata v0.3.6
Compiling rand_core v0.6.4
Compiling syn v2.0.29
Compiling tinyvec_macros v0.1.1
Compiling oxiri v0.2.2
Compiling oxilangtag v0.1.3
Compiling spin v0.5.2
Compiling untrusted v0.7.1
Compiling ppv-lite86 v0.2.17
Compiling bindgen v0.66.1
Compiling either v1.9.0
Compiling which v4.4.0
Compiling rand_chacha v0.3.1
Compiling tinyvec v1.6.0
Compiling regex v1.9.3
Compiling cexpr v0.6.0
Compiling crypto-common v0.1.6
Compiling block-buffer v0.10.4
Compiling rustc-hash v1.1.0
Compiling log v0.4.20
Compiling syn v1.0.109
Compiling shlex v1.1.0
Compiling lazy_static v1.4.0
Compiling lazycell v1.3.0
Compiling bitflags v2.4.0
Compiling peeking_take_while v0.1.2
Compiling digest v0.10.7
Compiling unicode-normalization v0.1.22
Compiling rand v0.8.5
Compiling pyo3-ffi v0.19.2
Compiling lock_api v0.4.10
Compiling peg-runtime v0.8.1
Compiling oxsdatatypes v0.1.3 (/tmp/pip-req-build-ia7_e7e4/lib/oxsdatatypes)
Compiling parking_lot_core v0.9.8
Compiling rustls v0.21.6
Compiling unicode-bidi v0.3.13
Compiling percent-encoding v2.3.0
Compiling base64 v0.21.2
Compiling httparse v1.8.0
Compiling rustls-pemfile v1.0.3
Compiling form_urlencoded v1.2.0
Compiling idna v0.4.0
Compiling oxrdf v0.1.7 (/tmp/pip-req-build-ia7_e7e4/lib/oxrdf)
Compiling peg-macros v0.8.1
Compiling oxrocksdb-sys v0.3.20 (/tmp/pip-req-build-ia7_e7e4/oxrocksdb-sys)
Compiling rustls-webpki v0.101.4
Compiling sct v0.7.0
Compiling quick-xml v0.28.2
Compiling aho-corasick v1.0.4
Compiling memoffset v0.9.0
Compiling smallvec v1.11.0
Compiling rio_api v0.8.4
Compiling openssl-probe v0.1.5
Compiling scopeguard v1.2.0
Compiling rustls-native-certs v0.6.3
Compiling peg v0.8.1
Compiling pyo3-macros-backend v0.19.2
Compiling url v2.4.0
Compiling pyo3 v0.19.2
Compiling json-event-parser v0.1.1
Compiling sparesults v0.1.8 (/tmp/pip-req-build-ia7_e7e4/lib/sparesults)
Compiling oxhttp v0.1.7
Compiling pyo3-macros v0.19.2
Compiling spargebra v0.2.8 (/tmp/pip-req-build-ia7_e7e4/lib/spargebra)
Compiling parking_lot v0.12.1
Compiling rio_xml v0.8.4
Compiling rio_turtle v0.8.4
Compiling md-5 v0.10.5
Compiling sha-1 v0.10.1
Compiling sha2 v0.10.7
Compiling unindent v0.1.11
Compiling siphasher v0.3.11
Compiling hex v0.4.3
Compiling indoc v1.0.9
The following warnings were emitted during compilation:
warning: In file included from /usr/include/c++/12/vector:70,
warning: from api/../rocksdb/db/c.cc:15,
warning: from api/c.cc:1:
warning: /usr/include/c++/12/bits/vector.tcc: In member function ‘void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {rocksdb::ColumnFamilyDescriptor}; _Tp = rocksdb::ColumnFamilyDescriptor; _Alloc = std::allocator<rocksdb::ColumnFamilyDescriptor>]’:
warning: /usr/include/c++/12/bits/vector.tcc:439:7: note: parameter passing for argument of type ‘std::vector<rocksdb::ColumnFamilyDescriptor>::iterator’ changed in GCC 7.1
warning: 439 | vector<_Tp, _Alloc>::
warning: | ^~~~~~~~~~~~~~~~~~~
warning: /usr/include/c++/12/bits/vector.tcc: In function ‘std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {rocksdb::ColumnFamilyDescriptor}; _Tp = rocksdb::ColumnFamilyDescriptor; _Alloc = std::allocator<rocksdb::ColumnFamilyDescriptor>]’:
warning: /usr/include/c++/12/bits/vector.tcc:123:28: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<rocksdb::ColumnFamilyDescriptor*, std::vector<rocksdb::ColumnFamilyDescriptor> >’ changed in GCC 7.1
warning: 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...);
warning: | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
warning: In file included from /usr/include/c++/12/map:60,
warning: from api/../rocksdb/db/c.cc:13:
warning: /usr/include/c++/12/bits/stl_tree.h: In function ‘std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::iterator std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_emplace_hint_unique(const_iterator, _Args&& ...) [with _Args = {const std::piecewise_construct_t&, std::tuple<rocksdb::MemoryUtil::UsageType&&>, std::tuple<>}; _Key = rocksdb::MemoryUtil::UsageType; _Val = std::pair<const rocksdb::MemoryUtil::UsageType, long long unsigned int>; _KeyOfValue = std::_Select1st<std::pair<const rocksdb::MemoryUtil::UsageType, long long unsigned int> >; _Compare = std::less<rocksdb::MemoryUtil::UsageType>; _Alloc = std::allocator<std::pair<const rocksdb::MemoryUtil::UsageType, long long unsigned int> >]’:
warning: /usr/include/c++/12/bits/stl_tree.h:2457:7: note: parameter passing for argument of type ‘std::_Rb_tree<rocksdb::MemoryUtil::UsageType, std::pair<const rocksdb::MemoryUtil::UsageType, long long unsigned int>, std::_Select1st<std::pair<const rocksdb::MemoryUtil::UsageType, long long unsigned int> >, std::less<rocksdb::MemoryUtil::UsageType>, std::allocator<std::pair<const rocksdb::MemoryUtil::UsageType, long long unsigned int> > >::const_iterator’ changed in GCC 7.1
warning: 2457 | _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::
warning: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
warning: In file included from /usr/include/c++/12/map:61:
warning: /usr/include/c++/12/bits/stl_map.h: In member function ‘std::map<_Key, _Tp, _Compare, _Alloc>::mapped_type& std::map<_Key, _Tp, _Compare, _Alloc>::operator[](key_type&&) [with _Key = rocksdb::MemoryUtil::UsageType; _Tp = long long unsigned int; _Compare = std::less<rocksdb::MemoryUtil::UsageType>; _Alloc = std::allocator<std::pair<const rocksdb::MemoryUtil::UsageType, long long unsigned int> >]’:
warning: /usr/include/c++/12/bits/stl_map.h:530:44: note: parameter passing for argument of type ‘std::_Rb_tree<rocksdb::MemoryUtil::UsageType, std::pair<const rocksdb::MemoryUtil::UsageType, long long unsigned int>, std::_Select1st<std::pair<const rocksdb::MemoryUtil::UsageType, long long unsigned int> >, std::less<rocksdb::MemoryUtil::UsageType>, std::allocator<std::pair<const rocksdb::MemoryUtil::UsageType, long long unsigned int> > >::const_iterator’ changed in GCC 7.1
warning: 530 | __i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct,
warning: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
warning: 531 | std::forward_as_tuple(std::move(__k)),
warning: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
warning: 532 | std::tuple<>());
warning: | ~~~~~~~~~~~~~~~
warning: In file included from /usr/include/c++/12/vector:63:
warning: /usr/include/c++/12/bits/stl_uninitialized.h: In function ‘_ForwardIterator std::__do_uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator<const rocksdb::DbPath*, vector<rocksdb::DbPath> >; _ForwardIterator = rocksdb::DbPath*]’:
warning: /usr/include/c++/12/bits/stl_uninitialized.h:113:5: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<const rocksdb::DbPath*, std::vector<rocksdb::DbPath> >’ changed in GCC 7.1
warning: 113 | __do_uninit_copy(_InputIterator __first, _InputIterator __last,
warning: | ^~~~~~~~~~~~~~~~
warning: /usr/include/c++/12/bits/stl_uninitialized.h:113:5: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<const rocksdb::DbPath*, std::vector<rocksdb::DbPath> >’ changed in GCC 7.1
warning: In static member function ‘static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator<const rocksdb::DbPath*, std::vector<rocksdb::DbPath> >; _ForwardIterator = rocksdb::DbPath*; bool _TrivialValueTypes = false]’,
warning: inlined from ‘_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator<const rocksdb::DbPath*, vector<rocksdb::DbPath> >; _ForwardIterator = rocksdb::DbPath*]’ at /usr/include/c++/12/bits/stl_uninitialized.h:185:15,
warning: inlined from ‘_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator<const rocksdb::DbPath*, vector<rocksdb::DbPath> >; _ForwardIterator = rocksdb::DbPath*; _Tp = rocksdb::DbPath]’ at /usr/include/c++/12/bits/stl_uninitialized.h:372:37,
warning: inlined from ‘std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&) [with _Tp = rocksdb::DbPath; _Alloc = std::allocator<rocksdb::DbPath>]’ at /usr/include/c++/12/bits/stl_vector.h:601:31,
warning: inlined from ‘rocksdb::DBOptions::DBOptions(const rocksdb::DBOptions&)’ at rocksdb/include/rocksdb/options.h:460:8:
warning: /usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<const rocksdb::DbPath*, std::vector<rocksdb::DbPath> >’ changed in GCC 7.1
warning: 137 | { return std::__do_uninit_copy(__first, __last, __result); }
warning: | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
warning: In static member function ‘static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator<const rocksdb::DbPath*, std::vector<rocksdb::DbPath> >; _ForwardIterator = rocksdb::DbPath*; bool _TrivialValueTypes = false]’,
warning: inlined from ‘_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator<const rocksdb::DbPath*, vector<rocksdb::DbPath> >; _ForwardIterator = rocksdb::DbPath*]’ at /usr/include/c++/12/bits/stl_uninitialized.h:185:15,
warning: inlined from ‘_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator<const rocksdb::DbPath*, vector<rocksdb::DbPath> >; _ForwardIterator = rocksdb::DbPath*; _Tp = rocksdb::DbPath]’ at /usr/include/c++/12/bits/stl_uninitialized.h:372:37,
warning: inlined from ‘std::vector<_Tp, _Alloc>::pointer std::vector<_Tp, _Alloc>::_M_allocate_and_copy(size_type, _ForwardIterator, _ForwardIterator) [with _ForwardIterator = __gnu_cxx::__normal_iterator<const rocksdb::DbPath*, std::vector<rocksdb::DbPath> >; _Tp = rocksdb::DbPath; _Alloc = std::allocator<rocksdb::DbPath>]’ at /usr/include/c++/12/bits/stl_vector.h:1617:35,
warning: inlined from ‘std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(const std::vector<_Tp, _Alloc>&) [with _Tp = rocksdb::DbPath; _Alloc = std::allocator<rocksdb::DbPath>]’ at /usr/include/c++/12/bits/vector.tcc:232:44,
warning: inlined from ‘void rocksdb_options_set_db_paths(rocksdb_options_t*, const rocksdb_dbpath_t**, size_t)’ at api/../rocksdb/db/c.cc:2904:23:
warning: /usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<const rocksdb::DbPath*, std::vector<rocksdb::DbPath> >’ changed in GCC 7.1
warning: 137 | { return std::__do_uninit_copy(__first, __last, __result); }
warning: | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
warning: In static member function ‘static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator<const rocksdb::DbPath*, std::vector<rocksdb::DbPath> >; _ForwardIterator = rocksdb::DbPath*; bool _TrivialValueTypes = false]’,
warning: inlined from ‘_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator<const rocksdb::DbPath*, vector<rocksdb::DbPath> >; _ForwardIterator = rocksdb::DbPath*]’ at /usr/include/c++/12/bits/stl_uninitialized.h:185:15,
warning: inlined from ‘_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator<const rocksdb::DbPath*, vector<rocksdb::DbPath> >; _ForwardIterator = rocksdb::DbPath*; _Tp = rocksdb::DbPath]’ at /usr/include/c++/12/bits/stl_uninitialized.h:372:37,
warning: inlined from ‘std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&) [with _Tp = rocksdb::DbPath; _Alloc = std::allocator<rocksdb::DbPath>]’ at /usr/include/c++/12/bits/stl_vector.h:601:31,
warning: inlined from ‘rocksdb::ColumnFamilyOptions::ColumnFamilyOptions(const rocksdb::ColumnFamilyOptions&)’ at rocksdb/include/rocksdb/options.h:66:8:
warning: /usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<const rocksdb::DbPath*, std::vector<rocksdb::DbPath> >’ changed in GCC 7.1
warning: 137 | { return std::__do_uninit_copy(__first, __last, __result); }
warning: | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
warning: /usr/include/c++/12/bits/vector.tcc: In member function ‘void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, rocksdb::ColumnFamilyOptions}; _Tp = rocksdb::ColumnFamilyDescriptor; _Alloc = std::allocator<rocksdb::ColumnFamilyDescriptor>]’:
warning: /usr/include/c++/12/bits/vector.tcc:439:7: note: parameter passing for argument of type ‘std::vector<rocksdb::ColumnFamilyDescriptor>::iterator’ changed in GCC 7.1
warning: 439 | vector<_Tp, _Alloc>::
warning: | ^~~~~~~~~~~~~~~~~~~
warning: In member function ‘std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, rocksdb::ColumnFamilyOptions}; _Tp = rocksdb::ColumnFamilyDescriptor; _Alloc = std::allocator<rocksdb::ColumnFamilyDescriptor>]’,
warning: inlined from ‘rocksdb_t* rocksdb_open_as_secondary_column_families_with_status(const rocksdb_options_t*, const char*, const char*, int, const char* const*, const rocksdb_options_t* const*, rocksdb_column_family_handle_t**, rocksdb_status_t*)’ at api/c.cc:86:33:
warning: /usr/include/c++/12/bits/vector.tcc:123:28: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<rocksdb::ColumnFamilyDescriptor*, std::vector<rocksdb::ColumnFamilyDescriptor> >’ changed in GCC 7.1
warning: 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...);
warning: | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
warning: In member function ‘std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, rocksdb::ColumnFamilyOptions}; _Tp = rocksdb::ColumnFamilyDescriptor; _Alloc = std::allocator<rocksdb::ColumnFamilyDescriptor>]’,
warning: inlined from ‘rocksdb_t* rocksdb_open_as_secondary_column_families(const rocksdb_options_t*, const char*, const char*, int, const char* const*, const rocksdb_options_t* const*, rocksdb_column_family_handle_t**, char**)’ at api/../rocksdb/db/c.cc:1014:33:
warning: /usr/include/c++/12/bits/vector.tcc:123:28: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<rocksdb::ColumnFamilyDescriptor*, std::vector<rocksdb::ColumnFamilyDescriptor> >’ changed in GCC 7.1
warning: 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...);
warning: | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
warning: In member function ‘std::map<_Key, _Tp, _Compare, _Alloc>::mapped_type& std::map<_Key, _Tp, _Compare, _Alloc>::operator[](key_type&&) [with _Key = rocksdb::MemoryUtil::UsageType; _Tp = long long unsigned int; _Compare = std::less<rocksdb::MemoryUtil::UsageType>; _Alloc = std::allocator<std::pair<const rocksdb::MemoryUtil::UsageType, long long unsigned int> >]’,
warning: inlined from ‘rocksdb_memory_usage_t* rocksdb_approximate_memory_usage_create(rocksdb_memory_consumers_t*, char**)’ at api/../rocksdb/db/c.cc:6612:77:
warning: /usr/include/c++/12/bits/stl_map.h:530:44: note: parameter passing for argument of type ‘std::_Rb_tree<rocksdb::MemoryUtil::UsageType, std::pair<const rocksdb::MemoryUtil::UsageType, long long unsigned int>, std::_Select1st<std::pair<const rocksdb::MemoryUtil::UsageType, long long unsigned int> >, std::less<rocksdb::MemoryUtil::UsageType>, std::allocator<std::pair<const rocksdb::MemoryUtil::UsageType, long long unsigned int> > >::const_iterator’ changed in GCC 7.1
warning: 530 | __i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct,
warning: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
warning: 531 | std::forward_as_tuple(std::move(__k)),
warning: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
warning: 532 | std::tuple<>());
warning: | ~~~~~~~~~~~~~~~
warning: In file included from rocksdb/util/hash.h:26,
warning: from rocksdb/cache/sharded_cache.h:19,
warning: from rocksdb/cache/lru_cache.h:14,
warning: from rocksdb/cache/cache.cc:12:
warning: rocksdb/util/fastrange.h: In static member function ‘static Range rocksdb::detail::FastRangeGenericImpl<long long unsigned int, Range>::Fn(uint64_t, Range)’:
warning: rocksdb/util/fastrange.h:62:5: error: ‘__uint128_t’ was not declared in this scope; did you mean ‘__uint8_t’?
warning: 62 | __uint128_t wide = __uint128_t{range} * hash;
warning: | ^~~~~~~~~~~
warning: | __uint8_t
warning: rocksdb/util/fastrange.h:62:43: error: invalid type argument of unary ‘*’ (have ‘uint64_t’ {aka ‘long long unsigned int’})
warning: 62 | __uint128_t wide = __uint128_t{range} * hash;
warning: | ^~~~~~
warning: rocksdb/util/fastrange.h:63:31: error: ‘wide’ was not declared in this scope; did you mean ‘fwide’?
warning: 63 | return static_cast<Range>(wide >> 64);
warning: | ^~~~
warning: | fwide
warning: rocksdb/util/fastrange.h: In instantiation of ‘static Range rocksdb::detail::FastRangeGenericImpl<long long unsigned int, Range>::Fn(uint64_t, Range) [with Range = unsigned int; uint64_t = long long unsigned int]’:
warning: rocksdb/util/fastrange.h:98:55: required from ‘Range rocksdb::FastRangeGeneric(Hash, Range) [with Hash = long long unsigned int; Range = unsigned int]’
warning: rocksdb/util/fastrange.h:106:26: required from here
warning: rocksdb/util/fastrange.h:55:47: warning: unused parameter ‘range’ [-Wunused-parameter]
warning: 55 | static inline Range Fn(uint64_t hash, Range range) {
warning: | ~~~~~~^~~~~
error: failed to run custom build command for `oxrocksdb-sys v0.3.20 (/tmp/pip-req-build-ia7_e7e4/oxrocksdb-sys)`
Caused by:
process didn't exit successfully: `/tmp/pip-req-build-ia7_e7e4/python/target/release/build/oxrocksdb-sys-7ca63bea7b9e1547/build-script-build` (exit status: 1)
--- stdout
cargo:rerun-if-changed=api/
TARGET = Some("arm-unknown-linux-gnueabihf")
OPT_LEVEL = Some("3")
HOST = Some("arm-unknown-linux-gnueabihf")
cargo:rerun-if-env-changed=CC_arm-unknown-linux-gnueabihf
CC_arm-unknown-linux-gnueabihf = None
cargo:rerun-if-env-changed=CC_arm_unknown_linux_gnueabihf
CC_arm_unknown_linux_gnueabihf = None
cargo:rerun-if-env-changed=HOST_CC
HOST_CC = None
cargo:rerun-if-env-changed=CC
CC = None
cargo:rerun-if-env-changed=CFLAGS_arm-unknown-linux-gnueabihf
CFLAGS_arm-unknown-linux-gnueabihf = None
cargo:rerun-if-env-changed=CFLAGS_arm_unknown_linux_gnueabihf
CFLAGS_arm_unknown_linux_gnueabihf = None
cargo:rerun-if-env-changed=HOST_CFLAGS
HOST_CFLAGS = None
cargo:rerun-if-env-changed=CFLAGS
CFLAGS = None
cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
CRATE_CC_NO_DEFAULTS = None
DEBUG = Some("false")
CARGO_CFG_TARGET_FEATURE = None
running: "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-march=armv6" "-marm" "-mfpu=vfp" "-Wall" "-Wextra" "-o" "/tmp/pip-req-build-ia7_e7e4/python/target/release/build/oxrocksdb-sys-ccef49d5fa82a04d/out/lz4/lib/lz4.o" "-c" "lz4/lib/lz4.c"
exit status: 0
running: "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-march=armv6" "-marm" "-mfpu=vfp" "-Wall" "-Wextra" "-o" "/tmp/pip-req-build-ia7_e7e4/python/target/release/build/oxrocksdb-sys-ccef49d5fa82a04d/out/lz4/lib/lz4frame.o" "-c" "lz4/lib/lz4frame.c"
exit status: 0
running: "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-march=armv6" "-marm" "-mfpu=vfp" "-Wall" "-Wextra" "-o" "/tmp/pip-req-build-ia7_e7e4/python/target/release/build/oxrocksdb-sys-ccef49d5fa82a04d/out/lz4/lib/lz4hc.o" "-c" "lz4/lib/lz4hc.c"
exit status: 0
running: "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-march=armv6" "-marm" "-mfpu=vfp" "-Wall" "-Wextra" "-o" "/tmp/pip-req-build-ia7_e7e4/python/target/release/build/oxrocksdb-sys-ccef49d5fa82a04d/out/lz4/lib/xxhash.o" "-c" "lz4/lib/xxhash.c"
exit status: 0
cargo:rerun-if-env-changed=AR_arm-unknown-linux-gnueabihf
AR_arm-unknown-linux-gnueabihf = None
cargo:rerun-if-env-changed=AR_arm_unknown_linux_gnueabihf
AR_arm_unknown_linux_gnueabihf = None
cargo:rerun-if-env-changed=HOST_AR
HOST_AR = None
cargo:rerun-if-env-changed=AR
AR = None
cargo:rerun-if-env-changed=ARFLAGS_arm-unknown-linux-gnueabihf
ARFLAGS_arm-unknown-linux-gnueabihf = None
cargo:rerun-if-env-changed=ARFLAGS_arm_unknown_linux_gnueabihf
ARFLAGS_arm_unknown_linux_gnueabihf = None
cargo:rerun-if-env-changed=HOST_ARFLAGS
HOST_ARFLAGS = None
cargo:rerun-if-env-changed=ARFLAGS
ARFLAGS = None
running: ZERO_AR_DATE="1" "ar" "cq" "/tmp/pip-req-build-ia7_e7e4/python/target/release/build/oxrocksdb-sys-ccef49d5fa82a04d/out/liblz4.a" "/tmp/pip-req-build-ia7_e7e4/python/target/release/build/oxrocksdb-sys-ccef49d5fa82a04d/out/lz4/lib/lz4.o" "/tmp/pip-req-build-ia7_e7e4/python/target/release/build/oxrocksdb-sys-ccef49d5fa82a04d/out/lz4/lib/lz4frame.o" "/tmp/pip-req-build-ia7_e7e4/python/target/release/build/oxrocksdb-sys-ccef49d5fa82a04d/out/lz4/lib/lz4hc.o" "/tmp/pip-req-build-ia7_e7e4/python/target/release/build/oxrocksdb-sys-ccef49d5fa82a04d/out/lz4/lib/xxhash.o"
exit status: 0
running: "ar" "s" "/tmp/pip-req-build-ia7_e7e4/python/target/release/build/oxrocksdb-sys-ccef49d5fa82a04d/out/liblz4.a"
exit status: 0
cargo:rustc-link-lib=static=lz4
cargo:rustc-link-search=native=/tmp/pip-req-build-ia7_e7e4/python/target/release/build/oxrocksdb-sys-ccef49d5fa82a04d/out
TARGET = Some("arm-unknown-linux-gnueabihf")
OPT_LEVEL = Some("3")
HOST = Some("arm-unknown-linux-gnueabihf")
cargo:rerun-if-env-changed=CXX_arm-unknown-linux-gnueabihf
CXX_arm-unknown-linux-gnueabihf = None
cargo:rerun-if-env-changed=CXX_arm_unknown_linux_gnueabihf
CXX_arm_unknown_linux_gnueabihf = None
cargo:rerun-if-env-changed=HOST_CXX
HOST_CXX = None
cargo:rerun-if-env-changed=CXX
CXX = None
cargo:rerun-if-env-changed=CXXFLAGS_arm-unknown-linux-gnueabihf
CXXFLAGS_arm-unknown-linux-gnueabihf = None
cargo:rerun-if-env-changed=CXXFLAGS_arm_unknown_linux_gnueabihf
CXXFLAGS_arm_unknown_linux_gnueabihf = None
cargo:rerun-if-env-changed=HOST_CXXFLAGS
HOST_CXXFLAGS = None
cargo:rerun-if-env-changed=CXXFLAGS
CXXFLAGS = None
cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
CRATE_CC_NO_DEFAULTS = None
DEBUG = Some("false")
CARGO_CFG_TARGET_FEATURE = None
running: "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-march=armv6" "-marm" "-mfpu=vfp" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "lz4/lib/" "-Wall" "-Wextra" "-std=c++17" "-Wno-invalid-offsetof" "-DNDEBUG=1" "-DLZ4=1" "-DOS_LINUX" "-DROCKSDB_PLATFORM_POSIX" "-DROCKSDB_LIB_IO_POSIX" "-DROCKSDB_SUPPORT_THREAD_LOCAL" "-DHAVE_UINT128_EXTENSION=1" "-o" "/tmp/pip-req-build-ia7_e7e4/python/target/release/build/oxrocksdb-sys-ccef49d5fa82a04d/out/api/c.o" "-c" "api/c.cc"
cargo:warning=In file included from /usr/include/c++/12/vector:70,
cargo:warning= from api/../rocksdb/db/c.cc:15,
cargo:warning= from api/c.cc:1:
cargo:warning=/usr/include/c++/12/bits/vector.tcc: In member function ‘void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {rocksdb::ColumnFamilyDescriptor}; _Tp = rocksdb::ColumnFamilyDescriptor; _Alloc = std::allocator<rocksdb::ColumnFamilyDescriptor>]’:
cargo:warning=/usr/include/c++/12/bits/vector.tcc:439:7: note: parameter passing for argument of type ‘std::vector<rocksdb::ColumnFamilyDescriptor>::iterator’ changed in GCC 7.1
cargo:warning= 439 | vector<_Tp, _Alloc>::
cargo:warning= | ^~~~~~~~~~~~~~~~~~~
cargo:warning=/usr/include/c++/12/bits/vector.tcc: In function ‘std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {rocksdb::ColumnFamilyDescriptor}; _Tp = rocksdb::ColumnFamilyDescriptor; _Alloc = std::allocator<rocksdb::ColumnFamilyDescriptor>]’:
cargo:warning=/usr/include/c++/12/bits/vector.tcc:123:28: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<rocksdb::ColumnFamilyDescriptor*, std::vector<rocksdb::ColumnFamilyDescriptor> >’ changed in GCC 7.1
cargo:warning= 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...);
cargo:warning= | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cargo:warning=In file included from /usr/include/c++/12/map:60,
cargo:warning= from api/../rocksdb/db/c.cc:13:
cargo:warning=/usr/include/c++/12/bits/stl_tree.h: In function ‘std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::iterator std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_emplace_hint_unique(const_iterator, _Args&& ...) [with _Args = {const std::piecewise_construct_t&, std::tuple<rocksdb::MemoryUtil::UsageType&&>, std::tuple<>}; _Key = rocksdb::MemoryUtil::UsageType; _Val = std::pair<const rocksdb::MemoryUtil::UsageType, long long unsigned int>; _KeyOfValue = std::_Select1st<std::pair<const rocksdb::MemoryUtil::UsageType, long long unsigned int> >; _Compare = std::less<rocksdb::MemoryUtil::UsageType>; _Alloc = std::allocator<std::pair<const rocksdb::MemoryUtil::UsageType, long long unsigned int> >]’:
cargo:warning=/usr/include/c++/12/bits/stl_tree.h:2457:7: note: parameter passing for argument of type ‘std::_Rb_tree<rocksdb::MemoryUtil::UsageType, std::pair<const rocksdb::MemoryUtil::UsageType, long long unsigned int>, std::_Select1st<std::pair<const rocksdb::MemoryUtil::UsageType, long long unsigned int> >, std::less<rocksdb::MemoryUtil::UsageType>, std::allocator<std::pair<const rocksdb::MemoryUtil::UsageType, long long unsigned int> > >::const_iterator’ changed in GCC 7.1
cargo:warning= 2457 | _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::
cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cargo:warning=In file included from /usr/include/c++/12/map:61:
cargo:warning=/usr/include/c++/12/bits/stl_map.h: In member function ‘std::map<_Key, _Tp, _Compare, _Alloc>::mapped_type& std::map<_Key, _Tp, _Compare, _Alloc>::operator[](key_type&&) [with _Key = rocksdb::MemoryUtil::UsageType; _Tp = long long unsigned int; _Compare = std::less<rocksdb::MemoryUtil::UsageType>; _Alloc = std::allocator<std::pair<const rocksdb::MemoryUtil::UsageType, long long unsigned int> >]’:
cargo:warning=/usr/include/c++/12/bits/stl_map.h:530:44: note: parameter passing for argument of type ‘std::_Rb_tree<rocksdb::MemoryUtil::UsageType, std::pair<const rocksdb::MemoryUtil::UsageType, long long unsigned int>, std::_Select1st<std::pair<const rocksdb::MemoryUtil::UsageType, long long unsigned int> >, std::less<rocksdb::MemoryUtil::UsageType>, std::allocator<std::pair<const rocksdb::MemoryUtil::UsageType, long long unsigned int> > >::const_iterator’ changed in GCC 7.1
cargo:warning= 530 | __i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct,
cargo:warning= | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cargo:warning= 531 | std::forward_as_tuple(std::move(__k)),
cargo:warning= | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cargo:warning= 532 | std::tuple<>());
cargo:warning= | ~~~~~~~~~~~~~~~
cargo:warning=In file included from /usr/include/c++/12/vector:63:
cargo:warning=/usr/include/c++/12/bits/stl_uninitialized.h: In function ‘_ForwardIterator std::__do_uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator<const rocksdb::DbPath*, vector<rocksdb::DbPath> >; _ForwardIterator = rocksdb::DbPath*]’:
cargo:warning=/usr/include/c++/12/bits/stl_uninitialized.h:113:5: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<const rocksdb::DbPath*, std::vector<rocksdb::DbPath> >’ changed in GCC 7.1
cargo:warning= 113 | __do_uninit_copy(_InputIterator __first, _InputIterator __last,
cargo:warning= | ^~~~~~~~~~~~~~~~
cargo:warning=/usr/include/c++/12/bits/stl_uninitialized.h:113:5: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<const rocksdb::DbPath*, std::vector<rocksdb::DbPath> >’ changed in GCC 7.1
cargo:warning=In static member function ‘static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator<const rocksdb::DbPath*, std::vector<rocksdb::DbPath> >; _ForwardIterator = rocksdb::DbPath*; bool _TrivialValueTypes = false]’,
cargo:warning= inlined from ‘_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator<const rocksdb::DbPath*, vector<rocksdb::DbPath> >; _ForwardIterator = rocksdb::DbPath*]’ at /usr/include/c++/12/bits/stl_uninitialized.h:185:15,
cargo:warning= inlined from ‘_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator<const rocksdb::DbPath*, vector<rocksdb::DbPath> >; _ForwardIterator = rocksdb::DbPath*; _Tp = rocksdb::DbPath]’ at /usr/include/c++/12/bits/stl_uninitialized.h:372:37,
cargo:warning= inlined from ‘std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&) [with _Tp = rocksdb::DbPath; _Alloc = std::allocator<rocksdb::DbPath>]’ at /usr/include/c++/12/bits/stl_vector.h:601:31,
cargo:warning= inlined from ‘rocksdb::DBOptions::DBOptions(const rocksdb::DBOptions&)’ at rocksdb/include/rocksdb/options.h:460:8:
cargo:warning=/usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<const rocksdb::DbPath*, std::vector<rocksdb::DbPath> >’ changed in GCC 7.1
cargo:warning= 137 | { return std::__do_uninit_copy(__first, __last, __result); }
cargo:warning= | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
cargo:warning=In static member function ‘static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator<const rocksdb::DbPath*, std::vector<rocksdb::DbPath> >; _ForwardIterator = rocksdb::DbPath*; bool _TrivialValueTypes = false]’,
cargo:warning= inlined from ‘_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator<const rocksdb::DbPath*, vector<rocksdb::DbPath> >; _ForwardIterator = rocksdb::DbPath*]’ at /usr/include/c++/12/bits/stl_uninitialized.h:185:15,
cargo:warning= inlined from ‘_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator<const rocksdb::DbPath*, vector<rocksdb::DbPath> >; _ForwardIterator = rocksdb::DbPath*; _Tp = rocksdb::DbPath]’ at /usr/include/c++/12/bits/stl_uninitialized.h:372:37,
cargo:warning= inlined from ‘std::vector<_Tp, _Alloc>::pointer std::vector<_Tp, _Alloc>::_M_allocate_and_copy(size_type, _ForwardIterator, _ForwardIterator) [with _ForwardIterator = __gnu_cxx::__normal_iterator<const rocksdb::DbPath*, std::vector<rocksdb::DbPath> >; _Tp = rocksdb::DbPath; _Alloc = std::allocator<rocksdb::DbPath>]’ at /usr/include/c++/12/bits/stl_vector.h:1617:35,
cargo:warning= inlined from ‘std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(const std::vector<_Tp, _Alloc>&) [with _Tp = rocksdb::DbPath; _Alloc = std::allocator<rocksdb::DbPath>]’ at /usr/include/c++/12/bits/vector.tcc:232:44,
cargo:warning= inlined from ‘void rocksdb_options_set_db_paths(rocksdb_options_t*, const rocksdb_dbpath_t**, size_t)’ at api/../rocksdb/db/c.cc:2904:23:
cargo:warning=/usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<const rocksdb::DbPath*, std::vector<rocksdb::DbPath> >’ changed in GCC 7.1
cargo:warning= 137 | { return std::__do_uninit_copy(__first, __last, __result); }
cargo:warning= | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
cargo:warning=In static member function ‘static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator<const rocksdb::DbPath*, std::vector<rocksdb::DbPath> >; _ForwardIterator = rocksdb::DbPath*; bool _TrivialValueTypes = false]’,
cargo:warning= inlined from ‘_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator<const rocksdb::DbPath*, vector<rocksdb::DbPath> >; _ForwardIterator = rocksdb::DbPath*]’ at /usr/include/c++/12/bits/stl_uninitialized.h:185:15,
cargo:warning= inlined from ‘_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator<const rocksdb::DbPath*, vector<rocksdb::DbPath> >; _ForwardIterator = rocksdb::DbPath*; _Tp = rocksdb::DbPath]’ at /usr/include/c++/12/bits/stl_uninitialized.h:372:37,
cargo:warning= inlined from ‘std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&) [with _Tp = rocksdb::DbPath; _Alloc = std::allocator<rocksdb::DbPath>]’ at /usr/include/c++/12/bits/stl_vector.h:601:31,
cargo:warning= inlined from ‘rocksdb::ColumnFamilyOptions::ColumnFamilyOptions(const rocksdb::ColumnFamilyOptions&)’ at rocksdb/include/rocksdb/options.h:66:8:
cargo:warning=/usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<const rocksdb::DbPath*, std::vector<rocksdb::DbPath> >’ changed in GCC 7.1
cargo:warning= 137 | { return std::__do_uninit_copy(__first, __last, __result); }
cargo:warning= | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
cargo:warning=/usr/include/c++/12/bits/vector.tcc: In member function ‘void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, rocksdb::ColumnFamilyOptions}; _Tp = rocksdb::ColumnFamilyDescriptor; _Alloc = std::allocator<rocksdb::ColumnFamilyDescriptor>]’:
cargo:warning=/usr/include/c++/12/bits/vector.tcc:439:7: note: parameter passing for argument of type ‘std::vector<rocksdb::ColumnFamilyDescriptor>::iterator’ changed in GCC 7.1
cargo:warning= 439 | vector<_Tp, _Alloc>::
cargo:warning= | ^~~~~~~~~~~~~~~~~~~
cargo:warning=In member function ‘std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, rocksdb::ColumnFamilyOptions}; _Tp = rocksdb::ColumnFamilyDescriptor; _Alloc = std::allocator<rocksdb::ColumnFamilyDescriptor>]’,
cargo:warning= inlined from ‘rocksdb_t* rocksdb_open_as_secondary_column_families_with_status(const rocksdb_options_t*, const char*, const char*, int, const char* const*, const rocksdb_options_t* const*, rocksdb_column_family_handle_t**, rocksdb_status_t*)’ at api/c.cc:86:33:
cargo:warning=/usr/include/c++/12/bits/vector.tcc:123:28: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<rocksdb::ColumnFamilyDescriptor*, std::vector<rocksdb::ColumnFamilyDescriptor> >’ changed in GCC 7.1
cargo:warning= 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...);
cargo:warning= | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cargo:warning=In member function ‘std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, rocksdb::ColumnFamilyOptions}; _Tp = rocksdb::ColumnFamilyDescriptor; _Alloc = std::allocator<rocksdb::ColumnFamilyDescriptor>]’,
cargo:warning= inlined from ‘rocksdb_t* rocksdb_open_as_secondary_column_families(const rocksdb_options_t*, const char*, const char*, int, const char* const*, const rocksdb_options_t* const*, rocksdb_column_family_handle_t**, char**)’ at api/../rocksdb/db/c.cc:1014:33:
cargo:warning=/usr/include/c++/12/bits/vector.tcc:123:28: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<rocksdb::ColumnFamilyDescriptor*, std::vector<rocksdb::ColumnFamilyDescriptor> >’ changed in GCC 7.1
cargo:warning= 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...);
cargo:warning= | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cargo:warning=In member function ‘std::map<_Key, _Tp, _Compare, _Alloc>::mapped_type& std::map<_Key, _Tp, _Compare, _Alloc>::operator[](key_type&&) [with _Key = rocksdb::MemoryUtil::UsageType; _Tp = long long unsigned int; _Compare = std::less<rocksdb::MemoryUtil::UsageType>; _Alloc = std::allocator<std::pair<const rocksdb::MemoryUtil::UsageType, long long unsigned int> >]’,
cargo:warning= inlined from ‘rocksdb_memory_usage_t* rocksdb_approximate_memory_usage_create(rocksdb_memory_consumers_t*, char**)’ at api/../rocksdb/db/c.cc:6612:77:
cargo:warning=/usr/include/c++/12/bits/stl_map.h:530:44: note: parameter passing for argument of type ‘std::_Rb_tree<rocksdb::MemoryUtil::UsageType, std::pair<const rocksdb::MemoryUtil::UsageType, long long unsigned int>, std::_Select1st<std::pair<const rocksdb::MemoryUtil::UsageType, long long unsigned int> >, std::less<rocksdb::MemoryUtil::UsageType>, std::allocator<std::pair<const rocksdb::MemoryUtil::UsageType, long long unsigned int> > >::const_iterator’ changed in GCC 7.1
cargo:warning= 530 | __i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct,
cargo:warning= | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cargo:warning= 531 | std::forward_as_tuple(std::move(__k)),
cargo:warning= | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cargo:warning= 532 | std::tuple<>());
cargo:warning= | ~~~~~~~~~~~~~~~
exit status: 0
running: "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-march=armv6" "-marm" "-mfpu=vfp" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "lz4/lib/" "-Wall" "-Wextra" "-std=c++17" "-Wno-invalid-offsetof" "-DNDEBUG=1" "-DLZ4=1" "-DOS_LINUX" "-DROCKSDB_PLATFORM_POSIX" "-DROCKSDB_LIB_IO_POSIX" "-DROCKSDB_SUPPORT_THREAD_LOCAL" "-DHAVE_UINT128_EXTENSION=1" "-o" "/tmp/pip-req-build-ia7_e7e4/python/target/release/build/oxrocksdb-sys-ccef49d5fa82a04d/out/api/build_version.o" "-c" "api/build_version.cc"
exit status: 0
running: "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-march=armv6" "-marm" "-mfpu=vfp" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "lz4/lib/" "-Wall" "-Wextra" "-std=c++17" "-Wno-invalid-offsetof" "-DNDEBUG=1" "-DLZ4=1" "-DOS_LINUX" "-DROCKSDB_PLATFORM_POSIX" "-DROCKSDB_LIB_IO_POSIX" "-DROCKSDB_SUPPORT_THREAD_LOCAL" "-DHAVE_UINT128_EXTENSION=1" "-o" "/tmp/pip-req-build-ia7_e7e4/python/target/release/build/oxrocksdb-sys-ccef49d5fa82a04d/out/rocksdb/cache/cache.o" "-c" "rocksdb/cache/cache.cc"
cargo:warning=In file included from rocksdb/util/hash.h:26,
cargo:warning= from rocksdb/cache/sharded_cache.h:19,
cargo:warning= from rocksdb/cache/lru_cache.h:14,
cargo:warning= from rocksdb/cache/cache.cc:12:
cargo:warning=rocksdb/util/fastrange.h: In static member function ‘static Range rocksdb::detail::FastRangeGenericImpl<long long unsigned int, Range>::Fn(uint64_t, Range)’:
cargo:warning=rocksdb/util/fastrange.h:62:5: error: ‘__uint128_t’ was not declared in this scope; did you mean ‘__uint8_t’?
cargo:warning= 62 | __uint128_t wide = __uint128_t{range} * hash;
cargo:warning= | ^~~~~~~~~~~
cargo:warning= | __uint8_t
cargo:warning=rocksdb/util/fastrange.h:62:43: error: invalid type argument of unary ‘*’ (have ‘uint64_t’ {aka ‘long long unsigned int’})
cargo:warning= 62 | __uint128_t wide = __uint128_t{range} * hash;
cargo:warning= | ^~~~~~
cargo:warning=rocksdb/util/fastrange.h:63:31: error: ‘wide’ was not declared in this scope; did you mean ‘fwide’?
cargo:warning= 63 | return static_cast<Range>(wide >> 64);
cargo:warning= | ^~~~
cargo:warning= | fwide
cargo:warning=rocksdb/util/fastrange.h: In instantiation of ‘static Range rocksdb::detail::FastRangeGenericImpl<long long unsigned int, Range>::Fn(uint64_t, Range) [with Range = unsigned int; uint64_t = long long unsigned int]’:
cargo:warning=rocksdb/util/fastrange.h:98:55: required from ‘Range rocksdb::FastRangeGeneric(Hash, Range) [with Hash = long long unsigned int; Range = unsigned int]’
cargo:warning=rocksdb/util/fastrange.h:106:26: required from here
cargo:warning=rocksdb/util/fastrange.h:55:47: warning: unused parameter ‘range’ [-Wunused-parameter]
cargo:warning= 55 | static inline Range Fn(uint64_t hash, Range range) {
cargo:warning= | ~~~~~~^~~~~
exit status: 1
running: "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-march=armv6" "-marm" "-mfpu=vfp" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "lz4/lib/" "-Wall" "-Wextra" "-std=c++17" "-Wno-invalid-offsetof" "-DNDEBUG=1" "-DLZ4=1" "-DOS_LINUX" "-DROCKSDB_PLATFORM_POSIX" "-DROCKSDB_LIB_IO_POSIX" "-DROCKSDB_SUPPORT_THREAD_LOCAL" "-DHAVE_UINT128_EXTENSION=1" "-o" "/tmp/pip-req-build-ia7_e7e4/python/target/release/build/oxrocksdb-sys-ccef49d5fa82a04d/out/rocksdb/cache/cache_entry_roles.o" "-c" "rocksdb/cache/cache_entry_roles.cc"
exit status: 0
--- stderr
error occurred: Command "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-march=armv6" "-marm" "-mfpu=vfp" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "lz4/lib/" "-Wall" "-Wextra" "-std=c++17" "-Wno-invalid-offsetof" "-DNDEBUG=1" "-DLZ4=1" "-DOS_LINUX" "-DROCKSDB_PLATFORM_POSIX" "-DROCKSDB_LIB_IO_POSIX" "-DROCKSDB_SUPPORT_THREAD_LOCAL" "-DHAVE_UINT128_EXTENSION=1" "-o" "/tmp/pip-req-build-ia7_e7e4/python/target/release/build/oxrocksdb-sys-ccef49d5fa82a04d/out/rocksdb/cache/cache.o" "-c" "rocksdb/cache/cache.cc" with args "c++" did not execute successfully (status code exit status: 1).
💥 maturin failed
Caused by: Failed to build a native library through cargo
Caused by: Cargo build finished with "exit status: 101": `PYO3_ENVIRONMENT_SIGNATURE="cpython-3.11-64bit" PYO3_PYTHON="/home/pi/venv/bin/python3" PYTHON_SYS_EXECUTABLE="/home/pi/venv/bin/python3" "cargo" "rustc" "--message-format" "json-render-diagnostics" "--manifest-path" "/tmp/pip-req-build-ia7_e7e4/python/Cargo.toml" "--release" "--lib"`
Error: command ['maturin', 'pep517', 'build-wheel', '-i', '/home/pi/venv/bin/python3', '--compatibility', 'off'] returned non-zero exit status 1
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for pyoxigraph
Failed to build pyoxigraph
ERROR: Could not build wheels for pyoxigraph, which is required to install pyproject.toml-based projects |
Beta Was this translation helpful? Give feedback.
-
Hi everyone,
I tried to install the library for Python on a Raspberry Pi 4 in a virtual environment using Raspberry Pi OS release October 10th 2023 in the 32 bit variant using:
However, the following errors occur during the installation process:
When I run the same command on the same Raspberry Pi 4, but with the Raspberry Pi OS Release October 10th 2023 in the 64 bit variant, everything works fine.
So my question is, does the Python version of the library come with support for 32-bit systems? And if so, how do I install it?
Beta Was this translation helpful? Give feedback.
All reactions