You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Collecting bigchaindb-driver
Using cached bigchaindb_driver-0.6.2-py3-none-any.whl
Building wheels for collected packages: python-rapidjson-schema, pysha3, python-rapidjson, PyNaCl
Building wheel for python-rapidjson-schema (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [82 lines of output]
running bdist_wheel
running build
running build_ext
building 'rapidjson_schema' extension
creating build
creating build/temp.linux-x86_64-cpython-38
gcc -pthread -B /home/hemang/anaconda3/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -I./rapidjson/include -I/home/hemang/anaconda3/include/python3.8 -c schema.cpp -o build/temp.linux-x86_64-cpython-38/schema.o -pedantic -Wno-long-long
In file included from rapidjson/include/rapidjson/schema.h:18,
from schema.cpp:3:
rapidjson/include/rapidjson/document.h:110:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations]
110 | : public std::iterator<std::random_access_iterator_tag
| ^~~~~~~~
In file included from /usr/include/c++/12/bits/stl_algobase.h:65,
from /usr/include/c++/12/bits/specfun.h:45,
from /usr/include/c++/12/cmath:1935,
from /usr/include/c++/12/math.h:36,
from /home/hemang/anaconda3/include/python3.8/pyport.h:212,
from /home/hemang/anaconda3/include/python3.8/Python.h:63,
from schema.cpp:1:
/usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here
127 | struct _GLIBCXX17_DEPRECATED iterator
| ^~~~~~~~
rapidjson/include/rapidjson/document.h:118:18: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations]
118 | typedef std::iterator<std::random_access_iterator_tag,ValueType> BaseType;
| ^~~~~~~~
/usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here
127 | struct _GLIBCXX17_DEPRECATED iterator
| ^~~~~~~~
rapidjson/include/rapidjson/document.h: In instantiation of ‘void rapidjson::GenericValue<Encoding, Allocator>::SetObjectRaw(Member*, rapidjson::SizeType, Allocator&) [with Encoding = rapidjson::UTF8<>; Allocator = , rapidjson/include/rapidjson/document.h:2290:41: required from ‘rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>& rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>::Parse(const Ch*) [with Encoding = rapidjson::UTF8<>; Allocator = rapidjson::MemoryPoolAllocator<>; StackAllocator = rapidjson::CrtAllocator; Ch = char]’
schema.cpp:22:22: required from here
rapidjson/include/rapidjson/document.h:2002:24: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘rapidjson::GenericValue<rapidjson::UTF8<> >::Member’ {aka ‘struct rapidjson::GenericMember<rapidjson::UTF8<>, rapidjson::MemoryPoolAllocator<> >’} with no trivial copy-assignment; use copy-assignment instead [-Wclass-memaccess]
2002 | std::memcpy(m, members, count * sizeof(Member));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
rapidjson/include/rapidjson/document.h:79:8: note: ‘rapidjson::GenericValue<rapidjson::UTF8<> >::Member’ {aka ‘struct rapidjson::GenericMember<rapidjson::UTF8<>, rapidjson::MemoryPoolAllocator<> >’} declared here
79 | struct GenericMember {
| ^~~~~~~~~~~~~
rapidjson/include/rapidjson/document.h: In instantiation of ‘void rapidjson::GenericValue<Encoding, Allocator>::SetArrayRaw(rapidjson::GenericValue<Encoding, Allocator>*, rapidjson::SizeType, Allocator&) [with Encoding = rapidjson::UTF8<>; Allocator = rapidjson::MemoryPoolAllocator<>; rapidjson::SizeType = unsigned int]’:
rapidjson/include/rapidjson/document.h:2421:54: required from ‘bool rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>::EndArray(rapidjson::SizeType) [with Encoding = rapidjson::UTF8<>; Allocator = rapidjson::MemoryPoolAllocator<>; StackAllocator = rapidjson::CrtAllocator; rapidjson::SizeType = unsigned int]’
rapidjson/include/rapidjson/reader.h:1839:39: required from ‘rapidjson::GenericReader<SourceEncoding, TargetEncoding, StackAllocator>::IterativeParsingState rapidjson::GenericReader<SourceEncoding, TargetEncoding, StackAllocator>::Transit(IterativeParsingState, Token, IterativeParsingState, InputStream&, Handler&) [with unsigned int parseFlags = 0; InputStream = rapidjson::GenericStringStream<rapidjson::UTF8<> >; Handler = rapidjson::GenericDocument<rapidjson::UTF8<> >; SourceEncoding = rapidjson::UTF8<>; TargetEncoding = rapidjson::UTF8<>; StackAllocator = rapidjson::CrtAllocator]’
rapidjson/include/rapidjson/reader.h:1913:58: required from ‘rapidjson::ParseResult schema.cpp:22:22: required from here
rapidjson/include/rapidjson/document.h:1989:24: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class rapidjson::GenericValue<rapidjson::UTF8<> >’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
1989 | std::memcpy(e, values, count * sizeof(GenericValue));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
rapidjson/include/rapidjson/document.h:548:7: note: ‘class rapidjson::GenericValue<rapidjson::UTF8<> >’ declared here
548 | class GenericValue {
| ^~~~~~~~~~~~
creating build/lib.linux-x86_64-cpython-38
g++ -pthread -B /home/hemang/anaconda3/compiler_compat -Wl,--sysroot=/ -pthread -shared -B /home/hemang/anaconda3/compiler_compat -L/home/hemang/anaconda3/lib -Wl,-rpath=/home/hemang/anaconda3/lib -Wl,--no-as-needed -Wl,--sysroot=/ build/temp.linux-x86_64-cpython-38/schema.o -o build/lib.linux-x86_64-cpython-38/rapidjson_schema.cpython-38-x86_64-linux-gnu.so
/home/hemang/anaconda3/compiler_compat/ld: /lib/x86_64-linux-gnu/libm.so.6: unknown type [0x13] section `.relr.dyn'
/home/hemang/anaconda3/compiler_compat/ld: skipping incompatible /lib/x86_64-linux-gnu/libm.so.6 when searching for /lib/x86_64-linux-gnu/libm.so.6
/home/hemang/anaconda3/compiler_compat/ld: /lib/x86_64-linux-gnu/libm.so.6: unknown type [0x13] section `.relr.dyn'
/home/hemang/anaconda3/compiler_compat/ld: skipping incompatible /lib/x86_64-linux-gnu/libm.so.6 when searching for /lib/x86_64-linux-gnu/libm.so.6
/home/hemang/anaconda3/compiler_compat/ld: cannot find /lib/x86_64-linux-gnu/libm.so.6
/home/hemang/anaconda3/compiler_compat/ld: /lib/x86_64-linux-gnu/libm.so.6: unknown type [0x13] section `.relr.dyn'
/home/hemang/anaconda3/compiler_compat/ld: skipping incompatible /lib/x86_64-linux-gnu/libm.so.6 when searching for /lib/x86_64-linux-gnu/libm.so.6
/home/hemang/anaconda3/compiler_compat/ld: /lib/x86_64-linux-gnu/libm.so.6: unknown type [0x13] section `.relr.dyn'
/home/hemang/anaconda3/compiler_compat/ld: skipping incompatible /lib/x86_64-linux-gnu/libm.so.6 when searching for /lib/x86_64-linux-gnu/libm.so.6
/home/hemang/anaconda3/compiler_compat/ld: /lib/x86_64-linux-gnu/libmvec.so.1: unknown type [0x13] section `.relr.dyn'
/home/hemang/anaconda3/compiler_compat/ld: skipping incompatible /lib/x86_64-linux-gnu/libmvec.so.1 when searching for /lib/x86_64-linux-gnu/libmvec.so.1
/home/hemang/anaconda3/compiler_compat/ld: /lib/x86_64-linux-gnu/libmvec.so.1: unknown type [0x13] section `.relr.dyn'
/home/hemang/anaconda3/compiler_compat/ld: skipping incompatible /lib/x86_64-linux-gnu/libmvec.so.1 when searching for /lib/x86_64-linux-gnu/libmvec.so.1
/home/hemang/anaconda3/compiler_compat/ld: cannot find /lib/x86_64-linux-gnu/libmvec.so.1
/home/hemang/anaconda3/compiler_compat/ld: /lib/x86_64-linux-gnu/libmvec.so.1: unknown type [0x13] section `.relr.dyn'
/home/hemang/anaconda3/compiler_compat/ld: skipping incompatible /lib/x86_64-linux-gnu/libmvec.so.1 when searching for /lib/x86_64-linux-gnu/libmvec.so.1
/home/hemang/anaconda3/compiler_compat/ld: /lib/x86_64-linux-gnu/libmvec.so.1: unknown type [0x13] section `.relr.dyn'
/home/hemang/anaconda3/compiler_compat/ld: skipping incompatible /lib/x86_64-linux-gnu/libmvec.so.1 when searching for /lib/x86_64-linux-gnu/libmvec.so.1
collect2: error: ld returned 1 exit status
error: command '/usr/bin/g++' failed with exit code 1
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for python-rapidjson-schema
Running setup.py clean for python-rapidjson-schema
Building wheel for pysha3 (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [34 lines of output]
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-cpython-38
copying sha3.py -> build/lib.linux-x86_64-cpython-38
running build_ext
building '_pysha3' extension
creating build/temp.linux-x86_64-cpython-38
creating build/temp.linux-x86_64-cpython-38/Modules
creating build/temp.linux-x86_64-cpython-38/Modules/_sha3
gcc -pthread -B /home/hemang/anaconda3/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DPY_WITH_KECCAK=1 -I/home/hemang/anaconda3/include/python3.8 -c Modules/_sha3/sha3module.c -o build/temp.linux-x86_64-cpython-38/Modules/_sha3/sha3module.o
gcc -pthread -B /home/hemang/anaconda3/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DPY_WITH_KECCAK=1 -I/home/hemang/anaconda3/include/python3.8 -c Modules/pymemsets.c -o build/temp.linux-x86_64-cpython-38/Modules/pymemsets.o
gcc -pthread -shared -B /home/hemang/anaconda3/compiler_compat -L/home/hemang/anaconda3/lib -Wl,-rpath=/home/hemang/anaconda3/lib -Wl,--no-as-needed -Wl,--sysroot=/ build/temp.linux-x86_64-cpython-38/Modules/_sha3/sha3module.o build/temp.linux-x86_64-cpython-38/Modules/pymemsets.o -o build/lib.linux-x86_64-cpython-38/_pysha3.cpython-38-x86_64-linux-gnu.so
/home/hemang/anaconda3/compiler_compat/ld: /lib/x86_64-linux-gnu/libc.so.6: unknown type [0x13] section `.relr.dyn'
/home/hemang/anaconda3/compiler_compat/ld: skipping incompatible /lib/x86_64-linux-gnu/libc.so.6 when searching for /lib/x86_64-linux-gnu/libc.so.6
/home/hemang/anaconda3/compiler_compat/ld: /lib64/ld-linux-x86-64.so.2: unknown type [0x13] section `.relr.dyn'
/home/hemang/anaconda3/compiler_compat/ld: skipping incompatible /lib64/ld-linux-x86-64.so.2 when searching for /lib64/ld-linux-x86-64.so.2
collect2: error: ld returned 1 exit status
error: command '/usr/bin/gcc' failed with exit code 1
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for pysha3
Running setup.py clean for pysha3
Building wheel for python-rapidjson (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [187 lines of output]
running bdist_wheel
running build
running build_ext
building 'rapidjson' extension
creating build
creating build/temp.linux-x86_64-cpython-38
gcc -pthread -B /home/hemang/anaconda3/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPYTHON_RAPIDJSON_VERSION=0.6.3 -I./rapidjson/include -I/home/hemang/anaconda3/include/python3.8 -c ./rapidjson.cpp -o build/temp.linux-x86_64-cpython-38/./rapidjson.o -pedantic -Wno-long-long
./rapidjson.cpp: In function ‘PyObject* RawJSON_new(PyTypeObject*, PyObject*, PyObject*)’:
./rapidjson.cpp:444:9: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
444 | "value",
| ^~~~~~~
In file included from ./rapidjson.cpp:21:
./rapidjson/include/rapidjson/writer.h: In instantiation of ‘bool rapidjson::Writer<OutputStream, SourceEncoding, TargetEncoding, StackAllocator, writeFlags>::WriteRawValue(const Ch*, std::size_t) [with OutputStream = rapidjson::GenericStringBuffer<rapidjson::ASCII<> >; SourceEncoding = rapidjson::UTF8<>; TargetEncoding = rapidjson::ASCII<>; StackAllocator = rapidjson::CrtAllocator; unsigned int writeFlags = 0; Ch = char; std::size_t = long unsigned int]’:
./rapidjson/include/rapidjson/writer.h:276:25: required from ‘bool rapidjson::Writer<OutputStream, SourceEncoding, TargetEncoding, StackAllocator, writeFlags>::RawValue(const Ch*, std::size_t, rapidjson::Type) [with OutputStream = rapidjson::GenericStringBuffer<rapidjson::ASCII<> >; SourceEncoding = rapidjson::UTF8<>; TargetEncoding = rapidjson::ASCII<>; StackAllocator = rapidjson::CrtAllocator; unsigned int writeFlags = 0; Ch = char; std::size_t = long unsigned int]’
./rapidjson.cpp:2221:25: required from ‘bool dumps_internal(WriterT*, PyObject*, bool, PyObject*, bool, NumberMode, DatetimeMode, UuidMode) [with WriterT = rapidjson::Writer<rapidjson::GenericStringBuffer<rapidjson::ASCII<> >, rapidjson::UTF8<>, rapidjson::ASCII<> >; PyObject = _object]’
./rapidjson.cpp:3189:20: required from here
./rapidjson/include/rapidjson/writer.h:465:22: warning: unused variable ‘c’ [-Wunused-variable]
465 | const Ch c = is.Peek();
| ^
./rapidjson/include/rapidjson/writer.h: In instantiation of ‘bool rapidjson::Writer<OutputStream, SourceEncoding, TargetEncoding, StackAllocator, writeFlags>::WriteRawValue(const Ch*, std::size_t) [with OutputStream = rapidjson::GenericStringBuffer<rapidjson::UTF8<> >; SourceEncoding = rapidjson::UTF8<>; TargetEncoding = rapidjson::UTF8<>; StackAllocator = rapidjson::CrtAllocator; unsigned int writeFlags = 0; Ch = char; std::size_t = long unsigned int]’:
./rapidjson/include/rapidjson/writer.h:276:25: required from ‘bool rapidjson::Writer<OutputStream, SourceEncoding, TargetEncoding, StackAllocator, writeFlags>::RawValue(const Ch*, std::size_t, rapidjson::Type) [with OutputStream = rapidjson::GenericStringBuffer<rapidjson::UTF8<> >; SourceEncoding = rapidjson::UTF8<>; TargetEncoding = rapidjson::UTF8<>; StackAllocator = rapidjson::CrtAllocator; unsigned int writeFlags = 0; Ch = char; std::size_t = long unsigned int]’
./rapidjson.cpp:2221:25: required from ‘bool dumps_internal(WriterT*, PyObject*, bool, PyObject*, bool, NumberMode, DatetimeMode, UuidMode) [with WriterT = rapidjson::Writer<rapidjson::GenericStringBuffer<rapidjson::UTF8<> > >; PyObject = _object]’
./rapidjson.cpp:3194:20: required from here
./rapidjson/include/rapidjson/writer.h:465:22: warning: unused variable ‘c’ [-Wunused-variable]
./rapidjson/include/rapidjson/writer.h: In instantiation of ‘bool rapidjson::Writer<OutputStream, SourceEncoding, TargetEncoding, StackAllocator, writeFlags>::WriteRawValue(const Ch*, std::size_t) [with OutputStream = PyWriteStreamWrapper; SourceEncoding = rapidjson::UTF8<>; TargetEncoding = rapidjson::ASCII<>; StackAllocator = rapidjson::CrtAllocator; unsigned int writeFlags = 0; Ch = char; std::size_t = long unsigned int]’:
./rapidjson/include/rapidjson/writer.h:276:25: required from ‘bool rapidjson::Writer<OutputStream, SourceEncoding, TargetEncoding, StackAllocator, writeFlags>::RawValue(const Ch*, std::size_t, rapidjson::Type) [with OutputStream = PyWriteStreamWrapper; SourceEncoding = rapidjson::UTF8<>; TargetEncoding = rapidjson::ASCII<>; StackAllocator = rapidjson::CrtAllocator; unsigned int writeFlags = 0; Ch = char; std::size_t = long unsigned int]’
./rapidjson.cpp:2221:25: required from ‘bool dumps_internal(WriterT*, PyObject*, bool, PyObject*, bool, NumberMode, DatetimeMode, UuidMode) [with WriterT = rapidjson::Writer<PyWriteStreamWrapper, rapidjson::UTF8<>, rapidjson::ASCII<> >; PyObject = _object]’
./rapidjson.cpp:3235:20: required from here
./rapidjson/include/rapidjson/writer.h:465:22: warning: unused variable ‘c’ [-Wunused-variable]
./rapidjson/include/rapidjson/writer.h: In instantiation of ‘bool rapidjson::Writer<OutputStream, SourceEncoding, TargetEncoding, StackAllocator, writeFlags>::WriteRawValue(const Ch*, std::size_t) [with OutputStream = PyWriteStreamWrapper; SourceEncoding = rapidjson::UTF8<>; TargetEncoding = rapidjson::UTF8<>; StackAllocator = rapidjson::CrtAllocator; unsigned int writeFlags = 0; Ch = char; std::size_t = long unsigned int]’:
./rapidjson/include/rapidjson/writer.h:276:25: required from ‘bool rapidjson::Writer<OutputStream, SourceEncoding, TargetEncoding, StackAllocator, writeFlags>::RawValue(const Ch*, std::size_t, rapidjson::Type) [with OutputStream = PyWriteStreamWrapper; SourceEncoding = rapidjson::UTF8<>; TargetEncoding = rapidjson::UTF8<>; StackAllocator = rapidjson::CrtAllocator; unsigned int writeFlags = 0; Ch = char; std::size_t = long unsigned int]’
./rapidjson.cpp:2221:25: required from ‘bool dumps_internal(WriterT*, PyObject*, bool, PyObject*, bool, NumberMode, DatetimeMode, UuidMode) [with WriterT = rapidjson::Writer<PyWriteStreamWrapper>; PyObject = _object]’
./rapidjson.cpp:3239:20: required from here
./rapidjson/include/rapidjson/writer.h:465:22: warning: unused variable ‘c’ [-Wunused-variable]
./rapidjson.cpp: In function ‘bool dumps_internal(WriterT*, PyObject*, bool, PyObject*, bool, NumberMode, DatetimeMode, UuidMode) [with WriterT = rapidjson::PrettyWriter<rapidjson::GenericStringBuffer<rapidjson::ASCII<> >, rapidjson::UTF8<>, rapidjson::ASCII<> >]’:
./rapidjson.cpp:2523:64: warning: ‘%02u’ directive output may be truncated writing between 2 and 10 bytes into a region of size between 3 and 11 [-Wformat-truncation=]
2523 | snprintf(timeZone, TIMEZONE_LEN-1, "%c%02u:%02u",
| ^~~~
./rapidjson.cpp:2523:56: note: directive argument in the range [0, 4294967282]
2523 | snprintf(timeZone, TIMEZONE_LEN-1, "%c%02u:%02u",
| ^~~~~~~~~~~~~
In file included from /usr/include/stdio.h:906,
from /home/hemang/anaconda3/include/python3.8/Python.h:25,
from ./rapidjson.cpp:9:
In function ‘int snprintf(char*, size_t, const char*, ...)’,
inlined from ‘bool dumps_internal(WriterT*, PyObject*, bool, PyObject*, bool, NumberMode, DatetimeMode, UuidMode) [with WriterT = rapidjson::PrettyWriter<rapidjson::GenericStringBuffer<rapidjson::ASCII<> >, rapidjson::UTF8<>, rapidjson::ASCII<> >]’ at ./rapidjson.cpp:2523:29:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:54:35: note: ‘__builtin___snprintf_chk’ output between 7 and 23 bytes into a destination of size 15
54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
55 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
56 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
./rapidjson.cpp: In function ‘bool dumps_internal(WriterT*, PyObject*, bool, PyObject*, bool, NumberMode, DatetimeMode, UuidMode) [with WriterT = rapidjson::Writer<rapidjson::GenericStringBuffer<rapidjson::ASCII<> >, rapidjson::UTF8<>, rapidjson::ASCII<> >]’:
./rapidjson.cpp:2523:64: warning: ‘%02u’ directive output may be truncated writing between 2 and 10 bytes into a region of size between 3 and 11 [-Wformat-truncation=]
2523 | snprintf(timeZone, TIMEZONE_LEN-1, "%c%02u:%02u",
| ^~~~
./rapidjson.cpp:2523:56: note: directive argument in the range [0, 4294967282]
2523 | snprintf(timeZone, TIMEZONE_LEN-1, "%c%02u:%02u",
| ^~~~~~~~~~~~~
In function ‘int snprintf(char*, size_t, const char*, ...)’,
inlined from ‘bool dumps_internal(WriterT*, PyObject*, bool, PyObject*, bool, NumberMode, DatetimeMode, UuidMode) [with WriterT = rapidjson::Writer<rapidjson::GenericStringBuffer<rapidjson::ASCII<> >, rapidjson::UTF8<>, rapidjson::ASCII<> >]’ at ./rapidjson.cpp:2523:29:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:54:35: note: ‘__builtin___snprintf_chk’ output between 7 and 23 bytes into a destination of size 15
54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
55 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
56 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
./rapidjson.cpp: In function ‘bool dumps_internal(WriterT*, PyObject*, bool, PyObject*, bool, NumberMode, DatetimeMode, UuidMode) [with WriterT = rapidjson::PrettyWriter<rapidjson::GenericStringBuffer<rapidjson::UTF8<> > >]’:
./rapidjson.cpp:2523:64: warning: ‘%02u’ directive output may be truncated writing between 2 and 10 bytes into a region of size between 3 and 11 [-Wformat-truncation=]
2523 | snprintf(timeZone, TIMEZONE_LEN-1, "%c%02u:%02u",
| ^~~~
./rapidjson.cpp:2523:56: note: directive argument in the range [0, 4294967282]
2523 | snprintf(timeZone, TIMEZONE_LEN-1, "%c%02u:%02u",
| ^~~~~~~~~~~~~
In function ‘int snprintf(char*, size_t, const char*, ...)’,
inlined from ‘bool dumps_internal(WriterT*, PyObject*, bool, PyObject*, bool, NumberMode, DatetimeMode, UuidMode) [with WriterT = rapidjson::PrettyWriter<rapidjson::GenericStringBuffer<rapidjson::UTF8<> > >]’ at ./rapidjson.cpp:2523:29:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:54:35: note: ‘__builtin___snprintf_chk’ output between 7 and 23 bytes into a destination of size 15
54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
55 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
56 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
./rapidjson.cpp: In function ‘bool dumps_internal(WriterT*, PyObject*, bool, PyObject*, bool, NumberMode, DatetimeMode, UuidMode) [with WriterT = rapidjson::Writer<rapidjson::GenericStringBuffer<rapidjson::UTF8<> > >]’:
./rapidjson.cpp:2523:64: warning: ‘%02u’ directive output may be truncated writing between 2 and 10 bytes into a region of size between 3 and 11 [-Wformat-truncation=]
2523 | snprintf(timeZone, TIMEZONE_LEN-1, "%c%02u:%02u",
| ^~~~
./rapidjson.cpp:2523:56: note: directive argument in the range [0, 4294967282]
2523 | snprintf(timeZone, TIMEZONE_LEN-1, "%c%02u:%02u",
| ^~~~~~~~~~~~~
In function ‘int snprintf(char*, size_t, const char*, ...)’,
inlined from ‘bool dumps_internal(WriterT*, PyObject*, bool, PyObject*, bool, NumberMode, DatetimeMode, UuidMode) [with WriterT = rapidjson::Writer<rapidjson::GenericStringBuffer<rapidjson::UTF8<> > >]’ at ./rapidjson.cpp:2523:29:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:54:35: note: ‘__builtin___snprintf_chk’ output between 7 and 23 bytes into a destination of size 15
54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
55 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
56 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
./rapidjson.cpp: In function ‘bool dumps_internal(WriterT*, PyObject*, bool, PyObject*, bool, NumberMode, DatetimeMode, UuidMode) [with WriterT = rapidjson::PrettyWriter<PyWriteStreamWrapper, rapidjson::UTF8<>, rapidjson::ASCII<> >]’:
./rapidjson.cpp:2523:64: warning: ‘%02u’ directive output may be truncated writing between 2 and 10 bytes into a region of size between 3 and 11 [-Wformat-truncation=]
2523 | snprintf(timeZone, TIMEZONE_LEN-1, "%c%02u:%02u",
| ^~~~
./rapidjson.cpp:2523:56: note: directive argument in the range [0, 4294967282]
2523 | snprintf(timeZone, TIMEZONE_LEN-1, "%c%02u:%02u",
| ^~~~~~~~~~~~~
In function ‘int snprintf(char*, size_t, const char*, ...)’,
inlined from ‘bool dumps_internal(WriterT*, PyObject*, bool, PyObject*, bool, NumberMode, DatetimeMode, UuidMode) [with WriterT = rapidjson::PrettyWriter<PyWriteStreamWrapper, rapidjson::UTF8<>, rapidjson::ASCII<> >]’ at ./rapidjson.cpp:2523:29:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:54:35: note: ‘__builtin___snprintf_chk’ output between 7 and 23 bytes into a destination of size 15
54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
55 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
56 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
./rapidjson.cpp: In function ‘bool dumps_internal(WriterT*, PyObject*, bool, PyObject*, bool, NumberMode, DatetimeMode, UuidMode) [with WriterT = rapidjson::Writer<PyWriteStreamWrapper, rapidjson::UTF8<>, rapidjson::ASCII<> >]’:
./rapidjson.cpp:2523:64: warning: ‘%02u’ directive output may be truncated writing between 2 and 10 bytes into a region of size between 3 and 11 [-Wformat-truncation=]
2523 | snprintf(timeZone, TIMEZONE_LEN-1, "%c%02u:%02u",
| ^~~~
./rapidjson.cpp:2523:56: note: directive argument in the range [0, 4294967282]
2523 | snprintf(timeZone, TIMEZONE_LEN-1, "%c%02u:%02u",
| ^~~~~~~~~~~~~
In function ‘int snprintf(char*, size_t, const char*, ...)’,
inlined from ‘bool dumps_internal(WriterT*, PyObject*, bool, PyObject*, bool, NumberMode, DatetimeMode, UuidMode) [with WriterT = rapidjson::Writer<PyWriteStreamWrapper, rapidjson::UTF8<>, rapidjson::ASCII<> >]’ at ./rapidjson.cpp:2523:29:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:54:35: note: ‘__builtin___snprintf_chk’ output between 7 and 23 bytes into a destination of size 15
54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
55 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
56 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
./rapidjson.cpp: In function ‘bool dumps_internal(WriterT*, PyObject*, bool, PyObject*, bool, NumberMode, DatetimeMode, UuidMode) [with WriterT = rapidjson::PrettyWriter<PyWriteStreamWrapper>]’:
./rapidjson.cpp:2523:64: warning: ‘%02u’ directive output may be truncated writing between 2 and 10 bytes into a region of size between 3 and 11 [-Wformat-truncation=]
2523 | snprintf(timeZone, TIMEZONE_LEN-1, "%c%02u:%02u",
| ^~~~
./rapidjson.cpp:2523:56: note: directive argument in the range [0, 4294967282]
2523 | snprintf(timeZone, TIMEZONE_LEN-1, "%c%02u:%02u",
| ^~~~~~~~~~~~~
In function ‘int snprintf(char*, size_t, const char*, ...)’,
inlined from ‘bool dumps_internal(WriterT*, PyObject*, bool, PyObject*, bool, NumberMode, DatetimeMode, UuidMode) [with WriterT = rapidjson::PrettyWriter<PyWriteStreamWrapper>]’ at ./rapidjson.cpp:2523:29:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:54:35: note: ‘__builtin___snprintf_chk’ output between 7 and 23 bytes into a destination of size 15
54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
55 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
56 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
./rapidjson.cpp: In function ‘bool dumps_internal(WriterT*, PyObject*, bool, PyObject*, bool, NumberMode, DatetimeMode, UuidMode) [with WriterT = rapidjson::Writer<PyWriteStreamWrapper>]’:
./rapidjson.cpp:2523:64: warning: ‘%02u’ directive output may be truncated writing between 2 and 10 bytes into a region of size between 3 and 11 [-Wformat-truncation=]
2523 | snprintf(timeZone, TIMEZONE_LEN-1, "%c%02u:%02u",
| ^~~~
./rapidjson.cpp:2523:56: note: directive argument in the range [0, 4294967282]
2523 | snprintf(timeZone, TIMEZONE_LEN-1, "%c%02u:%02u",
| ^~~~~~~~~~~~~
In function ‘int snprintf(char*, size_t, const char*, ...)’,
inlined from ‘bool dumps_internal(WriterT*, PyObject*, bool, PyObject*, bool, NumberMode, DatetimeMode, UuidMode) [with WriterT = rapidjson::Writer<PyWriteStreamWrapper>]’ at ./rapidjson.cpp:2523:29:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:54:35: note: ‘__builtin___snprintf_chk’ output between 7 and 23 bytes into a destination of size 15
54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
55 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
56 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
creating build/lib.linux-x86_64-cpython-38
g++ -pthread -B /home/hemang/anaconda3/compiler_compat -Wl,--sysroot=/ -pthread -shared -B /home/hemang/anaconda3/compiler_compat -L/home/hemang/anaconda3/lib -Wl,-rpath=/home/hemang/anaconda3/lib -Wl,--no-as-needed -Wl,--sysroot=/ build/temp.linux-x86_64-cpython-38/./rapidjson.o -o build/lib.linux-x86_64-cpython-38/rapidjson.cpython-38-x86_64-linux-gnu.so
/home/hemang/anaconda3/compiler_compat/ld: /lib/x86_64-linux-gnu/libm.so.6: unknown type [0x13] section `.relr.dyn'
/home/hemang/anaconda3/compiler_compat/ld: skipping incompatible /lib/x86_64-linux-gnu/libm.so.6 when searching for /lib/x86_64-linux-gnu/libm.so.6
/home/hemang/anaconda3/compiler_compat/ld: /lib/x86_64-linux-gnu/libm.so.6: unknown type [0x13] section `.relr.dyn'
/home/hemang/anaconda3/compiler_compat/ld: skipping incompatible /lib/x86_64-linux-gnu/libm.so.6 when searching for /lib/x86_64-linux-gnu/libm.so.6
/home/hemang/anaconda3/compiler_compat/ld: cannot find /lib/x86_64-linux-gnu/libm.so.6
/home/hemang/anaconda3/compiler_compat/ld: /lib/x86_64-linux-gnu/libm.so.6: unknown type [0x13] section `.relr.dyn'
/home/hemang/anaconda3/compiler_compat/ld: skipping incompatible /lib/x86_64-linux-gnu/libm.so.6 when searching for /lib/x86_64-linux-gnu/libm.so.6
/home/hemang/anaconda3/compiler_compat/ld: /lib/x86_64-linux-gnu/libm.so.6: unknown type [0x13] section `.relr.dyn'
/home/hemang/anaconda3/compiler_compat/ld: skipping incompatible /lib/x86_64-linux-gnu/libm.so.6 when searching for /lib/x86_64-linux-gnu/libm.so.6
/home/hemang/anaconda3/compiler_compat/ld: /lib/x86_64-linux-gnu/libmvec.so.1: unknown type [0x13] section `.relr.dyn'
/home/hemang/anaconda3/compiler_compat/ld: skipping incompatible /lib/x86_64-linux-gnu/libmvec.so.1 when searching for /lib/x86_64-linux-gnu/libmvec.so.1
/home/hemang/anaconda3/compiler_compat/ld: /lib/x86_64-linux-gnu/libmvec.so.1: unknown type [0x13] section `.relr.dyn'
/home/hemang/anaconda3/compiler_compat/ld: skipping incompatible /lib/x86_64-linux-gnu/libmvec.so.1 when searching for /lib/x86_64-linux-gnu/libmvec.so.1
/home/hemang/anaconda3/compiler_compat/ld: cannot find /lib/x86_64-linux-gnu/libmvec.so.1
/home/hemang/anaconda3/compiler_compat/ld: /lib/x86_64-linux-gnu/libmvec.so.1: unknown type [0x13] section `.relr.dyn'
/home/hemang/anaconda3/compiler_compat/ld: skipping incompatible /lib/x86_64-linux-gnu/libmvec.so.1 when searching for /lib/x86_64-linux-gnu/libmvec.so.1
/home/hemang/anaconda3/compiler_compat/ld: /lib/x86_64-linux-gnu/libmvec.so.1: unknown type [0x13] section `.relr.dyn'
/home/hemang/anaconda3/compiler_compat/ld: skipping incompatible /lib/x86_64-linux-gnu/libmvec.so.1 when searching for /lib/x86_64-linux-gnu/libmvec.so.1
collect2: error: ld returned 1 exit status
error: command '/usr/bin/g++' failed with exit code 1
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for python-rapidjson
Running setup.py clean for python-rapidjson
Building wheel for PyNaCl (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [325 lines of output]
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-cpython-38
creating build/lib.linux-x86_64-cpython-38/nacl
copying src/nacl/secret.py -> build/lib.linux-x86_64-cpython-38/nacl
copying src/nacl/signing.py -> build/lib.linux-x86_64-cpython-38/nacl
copying src/nacl/exceptions.py -> build/lib.linux-x86_64-cpython-38/nacl
copying src/nacl/hashlib.py -> build/lib.linux-x86_64-cpython-38/nacl
copying src/nacl/utils.py -> build/lib.linux-x86_64-cpython-38/nacl
copying src/nacl/public.py -> build/lib.linux-x86_64-cpython-38/nacl
copying src/nacl/__init__.py -> build/lib.linux-x86_64-cpython-38/nacl
copying src/nacl/encoding.py -> build/lib.linux-x86_64-cpython-38/nacl
copying src/nacl/hash.py -> build/lib.linux-x86_64-cpython-38/nacl
copying src/nacl/pwhash.py -> build/lib.linux-x86_64-cpython-38/nacl
creating build/lib.linux-x86_64-cpython-38/nacl/bindings
copying src/nacl/bindings/crypto_generichash.py -> build/lib.linux-x86_64-cpython-38/nacl/bindings
copying src/nacl/bindings/crypto_secretbox.py -> build/lib.linux-x86_64-cpython-38/nacl/bindings
copying src/nacl/bindings/crypto_sign.py -> build/lib.linux-x86_64-cpython-38/nacl/bindings
copying src/nacl/bindings/utils.py -> build/lib.linux-x86_64-cpython-38/nacl/bindings
copying src/nacl/bindings/__init__.py -> build/lib.linux-x86_64-cpython-38/nacl/bindings
copying src/nacl/bindings/crypto_shorthash.py -> build/lib.linux-x86_64-cpython-38/nacl/bindings
copying src/nacl/bindings/crypto_hash.py -> build/lib.linux-x86_64-cpython-38/nacl/bindings
copying src/nacl/bindings/crypto_pwhash.py -> build/lib.linux-x86_64-cpython-38/nacl/bindings
copying src/nacl/bindings/randombytes.py -> build/lib.linux-x86_64-cpython-38/nacl/bindings
copying src/nacl/bindings/crypto_scalarmult.py -> build/lib.linux-x86_64-cpython-38/nacl/bindings
copying src/nacl/bindings/crypto_box.py -> build/lib.linux-x86_64-cpython-38/nacl/bindings
copying src/nacl/bindings/sodium_core.py -> build/lib.linux-x86_64-cpython-38/nacl/bindings
running build_clib
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether UID '1000' is supported by ustar format... yes
checking whether GID '1000' is supported by ustar format... yes
checking how to create a ustar tar archive... gnutar
checking whether make supports nested variables... (cached) yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... none
checking for a sed that does not truncate output... /usr/bin/sed
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking whether gcc is Clang... no
checking whether pthreads work with -pthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking whether more special flags are required for pthreads... no
checking for PTHREAD_PRIO_INHERIT... yes
checking for gcc option to accept ISO C99... none needed
checking dependency style of gcc... none
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for __native_client__ defined... no
checking for _FORTIFY_SOURCE defined... yes
checking whether C compiler accepts -fvisibility=hidden... yes
checking whether C compiler accepts -fPIC... yes
checking whether the linker accepts -fPIC... yes
checking whether C compiler accepts -fPIE... yes
checking whether the linker accepts -fPIE... yes
checking whether the linker accepts -pie... yes
checking whether C compiler accepts -fno-strict-aliasing... yes
checking whether C compiler accepts -fno-strict-overflow... yes
checking whether C compiler accepts -fstack-protector... yes
checking whether the linker accepts -fstack-protector... yes
checking whether C compiler accepts -Wwrite-strings... yes
checking whether C compiler accepts -Wdiv-by-zero... yes
checking whether C compiler accepts -Wsometimes-uninitialized... no
checking whether C compiler accepts -Wall... yes
checking whether C compiler accepts -Wall -Wextra... yes
checking for clang... no
checking whether C compiler accepts -Wall -Wextra -Wbad-function-cast... yes
checking whether C compiler accepts -Wall -Wextra -Wbad-function-cast -Wcast-align... yes
checking whether C compiler accepts -Wall -Wextra -Wbad-function-cast -Wcast-align -Wcast-qual... yes
checking whether C compiler accepts -Wall -Wextra -Wbad-function-cast -Wcast-align -Wcast-qual -Wduplicated-cond... yes
checking whether C compiler accepts -Wall -Wextra -Wbad-function-cast -Wcast-align -Wcast-qual -Wduplicated-cond -Wfloat-equal... yes
checking whether C compiler accepts -Wall -Wextra -Wbad-function-cast -Wcast-align -Wcast-qual -Wduplicated-cond -Wfloat-equal -Wformat=2... yes
checking whether C compiler accepts -Wall -Wextra -Wbad-function-cast -Wcast-align -Wcast-qual -Wduplicated-cond -Wfloat-equal -Wformat=2 -Wmissing-declarations... yes
checking whether C compiler accepts -Wall -Wextra -Wbad-function-cast -Wcast-align -Wcast-qual -Wduplicated-cond -Wfloat-equal -Wformat=2 -Wmissing-declarations -Wmissing-prototypes... yes
checking whether C compiler accepts -Wall -Wextra -Wbad-function-cast -Wcast-align -Wcast-qual -Wduplicated-cond -Wfloat-equal -Wformat=2 -Wmissing-declarations -Wmissing-prototypes -Wnested-externs... yes
checking whether C compiler accepts -Wall -Wextra -Wbad-function-cast -Wcast-align -Wcast-qual -Wduplicated-cond -Wfloat-equal -Wformat=2 -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-unknown-pragmas... yes
checking whether C compiler accepts -Wall -Wextra -Wbad-function-cast -Wcast-align -Wcast-qual -Wduplicated-cond -Wfloat-equal -Wformat=2 -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-unknown-pragmas -Wnormalized=id... yes
checking whether C compiler accepts -Wall -Wextra -Wbad-function-cast -Wcast-align -Wcast-qual -Wduplicated-cond -Wfloat-equal -Wformat=2 -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-unknown-pragmas -Wnormalized=id -Wnull-dereference... yes
checking whether C compiler accepts -Wall -Wextra -Wbad-function-cast -Wcast-align -Wcast-qual -Wduplicated-cond -Wfloat-equal -Wformat=2 -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-unknown-pragmas -Wnormalized=id -Wnull-dereference -Wpointer-arith... yes
checking whether C compiler accepts -Wall -Wextra -Wbad-function-cast -Wcast-align -Wcast-qual -Wduplicated-cond -Wfloat-equal -Wformat=2 -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-unknown-pragmas -Wnormalized=id -Wnull-dereference -Wpointer-arith -Wredundant-decls... yes
checking whether C compiler accepts -Wall -Wextra -Wbad-function-cast -Wcast-align -Wcast-qual -Wduplicated-cond -Wfloat-equal -Wformat=2 -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-unknown-pragmas -Wnormalized=id -Wnull-dereference -Wpointer-arith -Wredundant-decls -Wstrict-prototypes... yes
checking whether C compiler accepts -Wall -Wextra -Wbad-function-cast -Wcast-align -Wcast-qual -Wduplicated-cond -Wfloat-equal -Wformat=2 -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-unknown-pragmas -Wnormalized=id -Wnull-dereference -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wswitch-enum... yes
checking whether C compiler accepts -Wall -Wextra -Wbad-function-cast -Wcast-align -Wcast-qual -Wduplicated-cond -Wfloat-equal -Wformat=2 -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-unknown-pragmas -Wnormalized=id -Wnull-dereference -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wswitch-enum -Wvariable-decl... no
checking whether the linker accepts -Wl,-z,relro... yes
checking whether the linker accepts -Wl,-z,now... yes
checking whether the linker accepts -Wl,-z,noexecstack... yes
checking how to print strings... printf
checking for a sed that does not truncate output... (cached) /usr/bin/sed
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for mt... mt
checking if mt is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking for ar... (cached) ar
checking for MMX instructions set... checking whether C compiler accepts -mmmx... yes
yes
checking whether C compiler accepts -mmmx... (cached) yes
checking for SSE2 instructions set... checking whether C compiler accepts -msse2... yes
yes
checking whether C compiler accepts -msse2... (cached) yes
checking whether C compiler accepts -msse3... yes
checking for SSE3 instructions set... yes
checking whether C compiler accepts -msse3... (cached) yes
checking whether C compiler accepts -mssse3... yes
checking for SSSE3 instructions set... yes
checking whether C compiler accepts -mssse3... (cached) yes
checking whether C compiler accepts -msse4.1... yes
checking for SSE4.1 instructions set... yes
checking whether C compiler accepts -msse4.1... (cached) yes
checking whether C compiler accepts -mavx... yes
checking for AVX instructions set... yes
checking whether C compiler accepts -mavx... (cached) yes
checking whether C compiler accepts -mavx2... yes
checking for AVX2 instructions set... yes
checking whether C compiler accepts -mavx2... (cached) yes
checking if _mm256_broadcastsi128_si256 is correctly defined... yes
checking whether C compiler accepts -maes... yes
checking whether C compiler accepts -mpclmul... yes
checking for AESNI instructions set and PCLMULQDQ... yes
checking whether C compiler accepts -maes... (cached) yes
checking whether C compiler accepts -mpclmul... (cached) yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking for inline... inline
checking whether byte ordering is bigendian... (cached) no
checking whether __STDC_LIMIT_MACROS is required... no
checking whether we can use x86_64 asm code... yes
checking whether we can assemble AVX opcodes... yes
checking for 128-bit arithmetic... yes
checking for cpuid instruction... yes
checking if the .private_extern asm directive is supported... no
checking if the .hidden asm directive is supported... yes
checking if weak symbols are supported... yes
checking if data alignment is required... no
checking for arc4random... yes
checking for arc4random_buf... yes
checking for mmap... yes
checking for mlock... yes
checking for madvise... yes
checking for mprotect... yes
checking for explicit_bzero... yes
checking for nanosleep... yes
checking for posix_memalign... yes
checking for getpid... yes
checking if gcc/ld supports -Wl,--output-def... not needed, shared libraries are disabled
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating dist-build/Makefile
config.status: creating libsodium.pc
config.status: creating libsodium-uninstalled.pc
config.status: creating msvc-scripts/Makefile
config.status: creating src/Makefile
config.status: creating src/libsodium/Makefile
config.status: creating src/libsodium/include/Makefile
config.status: creating src/libsodium/include/sodium/version.h
config.status: creating test/default/Makefile
config.status: creating test/Makefile
config.status: executing depfiles commands
config.status: executing libtool commands
Making all in dist-build
make[1]: Entering directory '/tmp/pip-install-lp3yaark/pynacl_60c202d0a00744bd99d2bd1a6e062835/build/temp.linux-x86_64-cpython-38/dist-build'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/tmp/pip-install-lp3yaark/pynacl_60c202d0a00744bd99d2bd1a6e062835/build/temp.linux-x86_64-cpython-38/dist-build'
Making all in msvc-scripts
make[1]: Entering directory '/tmp/pip-install-lp3yaark/pynacl_60c202d0a00744bd99d2bd1a6e062835/build/temp.linux-x86_64-cpython-38/msvc-scripts'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/tmp/pip-install-lp3yaark/pynacl_60c202d0a00744bd99d2bd1a6e062835/build/temp.linux-x86_64-cpython-38/msvc-scripts'
Making all in src
make[1]: Entering directory '/tmp/pip-install-lp3yaark/pynacl_60c202d0a00744bd99d2bd1a6e062835/build/temp.linux-x86_64-cpython-38/src'
Making all in libsodium
make[2]: Entering directory '/tmp/pip-install-lp3yaark/pynacl_60c202d0a00744bd99d2bd1a6e062835/build/temp.linux-x86_64-cpython-38/src/libsodium'
Making all in include
make[3]: Entering directory '/tmp/pip-install-lp3yaark/pynacl_60c202d0a00744bd99d2bd1a6e062835/build/temp.linux-x86_64-cpython-38/src/libsodium/include'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/tmp/pip-install-lp3yaark/pynacl_60c202d0a00744bd99d2bd1a6e062835/build/temp.linux-x86_64-cpython-38/src/libsodium/include'
make[3]: Entering directory '/tmp/pip-install-lp3yaark/pynacl_60c202d0a00744bd99d2bd1a6e062835/build/temp.linux-x86_64-cpython-38/src/libsodium'
CC crypto_aead/chacha20poly1305/sodium/libsodium_la-aead_chacha20poly1305.lo
CC crypto_auth/libsodium_la-crypto_auth.lo
CC crypto_auth/hmacsha256/libsodium_la-auth_hmacsha256_api.lo
CC crypto_auth/hmacsha256/cp/libsodium_la-hmac_hmacsha256.lo
CC crypto_auth/hmacsha256/cp/libsodium_la-verify_hmacsha256.lo
CC crypto_auth/hmacsha512/libsodium_la-auth_hmacsha512_api.lo
CC crypto_auth/hmacsha512/cp/libsodium_la-hmac_hmacsha512.lo
CC crypto_auth/hmacsha512/cp/libsodium_la-verify_hmacsha512.lo
CC crypto_auth/hmacsha512256/libsodium_la-auth_hmacsha512256_api.lo
CC crypto_auth/hmacsha512256/cp/libsodium_la-hmac_hmacsha512256.lo
CC crypto_auth/hmacsha512256/cp/libsodium_la-verify_hmacsha512256.lo
CC crypto_box/libsodium_la-crypto_box.lo
CC crypto_box/libsodium_la-crypto_box_easy.lo
CC crypto_box/libsodium_la-crypto_box_seal.lo
CC crypto_box/curve25519xsalsa20poly1305/libsodium_la-box_curve25519xsalsa20poly1305_api.lo
CC crypto_box/curve25519xsalsa20poly1305/ref/libsodium_la-after_curve25519xsalsa20poly1305.lo
CC crypto_box/curve25519xsalsa20poly1305/ref/libsodium_la-before_curve25519xsalsa20poly1305.lo
CC crypto_box/curve25519xsalsa20poly1305/ref/libsodium_la-box_curve25519xsalsa20poly1305.lo
CC crypto_box/curve25519xsalsa20poly1305/ref/libsodium_la-keypair_curve25519xsalsa20poly1305.lo
CC crypto_core/curve25519/ref10/libsodium_la-curve25519_ref10.lo
CC crypto_core/hsalsa20/ref2/libsodium_la-core_hsalsa20.lo
CC crypto_core/hsalsa20/libsodium_la-core_hsalsa20_api.lo
CC crypto_core/salsa20/ref/libsodium_la-core_salsa20.lo
CC crypto_core/salsa20/libsodium_la-core_salsa20_api.lo
CC crypto_generichash/libsodium_la-crypto_generichash.lo
CC crypto_generichash/blake2/libsodium_la-generichash_blake2_api.lo
CC crypto_generichash/blake2/ref/libsodium_la-blake2b-compress-ref.lo
CC crypto_generichash/blake2/ref/libsodium_la-blake2b-ref.lo
/tmp/pip-install-lp3yaark/pynacl_60c202d0a00744bd99d2bd1a6e062835/src/libsodium/src/libsodium/crypto_generichash/blake2/ref/blake2b-ref.c: In function ‘crypto_generichash_blake2b__blake2b’:
/tmp/pip-install-lp3yaark/pynacl_60c202d0a00744bd99d2bd1a6e062835/src/libsodium/src/libsodium/crypto_generichash/blake2/ref/blake2b-ref.c:370:3: error: size of array element is not a multiple of its alignment
370 | blake2b_state S[1];
| ^~~~~~~~~~~~~
/tmp/pip-install-lp3yaark/pynacl_60c202d0a00744bd99d2bd1a6e062835/src/libsodium/src/libsodium/crypto_generichash/blake2/ref/blake2b-ref.c: In function ‘crypto_generichash_blake2b__blake2b_salt_personal’:
/tmp/pip-install-lp3yaark/pynacl_60c202d0a00744bd99d2bd1a6e062835/src/libsodium/src/libsodium/crypto_generichash/blake2/ref/blake2b-ref.c:400:3: error: size of array element is not a multiple of its alignment
400 | blake2b_state S[1];
| ^~~~~~~~~~~~~
make[3]: *** [Makefile:2435: crypto_generichash/blake2/ref/libsodium_la-blake2b-ref.lo] Error 1
make[3]: Leaving directory '/tmp/pip-install-lp3yaark/pynacl_60c202d0a00744bd99d2bd1a6e062835/build/temp.linux-x86_64-cpython-38/src/libsodium'
make[2]: *** [Makefile:3166: all-recursive] Error 1
make[2]: Leaving directory '/tmp/pip-install-lp3yaark/pynacl_60c202d0a00744bd99d2bd1a6e062835/build/temp.linux-x86_64-cpython-38/src/libsodium'
make[1]: *** [Makefile:391: all-recursive] Error 1
make[1]: Leaving directory '/tmp/pip-install-lp3yaark/pynacl_60c202d0a00744bd99d2bd1a6e062835/build/temp.linux-x86_64-cpython-38/src'
make: *** [Makefile:505: all-recursive] Error 1
Traceback (most recent call last):
File "<string>", line 2, in <module>
File "<pip-setuptools-caller>", line 34, in <module>
File "/tmp/pip-install-lp3yaark/pynacl_60c202d0a00744bd99d2bd1a6e062835/setup.py", line 187, in <module>
setup(
File "/home/hemang/anaconda3/lib/python3.8/site-packages/setuptools/__init__.py", line 87, in setup
return distutils.core.setup(**attrs)
File "/home/hemang/anaconda3/lib/python3.8/site-packages/setuptools/_distutils/core.py", line 185, in setup
return run_commands(dist)
File "/home/hemang/anaconda3/lib/python3.8/site-packages/setuptools/_distutils/core.py", line 201, in run_commands
dist.run_commands()
File "/home/hemang/anaconda3/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 968, in run_commands
self.run_command(cmd)
File "/home/hemang/anaconda3/lib/python3.8/site-packages/setuptools/dist.py", line 1217, in run_command
super().run_command(command)
File "/home/hemang/anaconda3/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 987, in run_command
cmd_obj.run()
File "/home/hemang/anaconda3/lib/python3.8/site-packages/wheel/bdist_wheel.py", line 299, in run
self.run_command('build')
File "/home/hemang/anaconda3/lib/python3.8/site-packages/setuptools/_distutils/cmd.py", line 319, in run_command
self.distribution.run_command(command)
File "/home/hemang/anaconda3/lib/python3.8/site-packages/setuptools/dist.py", line 1217, in run_command
super().run_command(command)
File "/home/hemang/anaconda3/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 987, in run_command
cmd_obj.run()
File "/home/hemang/anaconda3/lib/python3.8/site-packages/setuptools/_distutils/command/build.py", line 132, in run
self.run_command(cmd_name)
File "/home/hemang/anaconda3/lib/python3.8/site-packages/setuptools/_distutils/cmd.py", line 319, in run_command
self.distribution.run_command(command)
File "/home/hemang/anaconda3/lib/python3.8/site-packages/setuptools/dist.py", line 1217, in run_command
super().run_command(command)
File "/home/hemang/anaconda3/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 987, in run_command
cmd_obj.run()
File "/tmp/pip-install-lp3yaark/pynacl_60c202d0a00744bd99d2bd1a6e062835/setup.py", line 163, in run
subprocess.check_call(["make"], cwd=build_temp)
File "/home/hemang/anaconda3/lib/python3.8/subprocess.py", line 364, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['make']' returned non-zero exit status 2.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for PyNaCl
Running setup.py clean for PyNaCl
Failed to build python-rapidjson-schema pysha3 python-rapidjson PyNaCl
Installing collected packages: pysha3, base58, python-rapidjson-schema, python-rapidjson, PyNaCl, cryptography, cryptoconditions, bigchaindb-driver
Running setup.py install for pysha3 ... error
error: subprocess-exited-with-error
× Running setup.py install for pysha3 did not run successfully.
│ exit code: 1
╰─> [36 lines of output]
running install
/home/hemang/anaconda3/lib/python3.8/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
warnings.warn(
running build
running build_py
creating build
creating build/lib.linux-x86_64-cpython-38
copying sha3.py -> build/lib.linux-x86_64-cpython-38
running build_ext
building '_pysha3' extension
creating build/temp.linux-x86_64-cpython-38
creating build/temp.linux-x86_64-cpython-38/Modules
creating build/temp.linux-x86_64-cpython-38/Modules/_sha3
gcc -pthread -B /home/hemang/anaconda3/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DPY_WITH_KECCAK=1 -I/home/hemang/anaconda3/include/python3.8 -c Modules/_sha3/sha3module.c -o build/temp.linux-x86_64-cpython-38/Modules/_sha3/sha3module.o
gcc -pthread -B /home/hemang/anaconda3/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DPY_WITH_KECCAK=1 -I/home/hemang/anaconda3/include/python3.8 -c Modules/pymemsets.c -o build/temp.linux-x86_64-cpython-38/Modules/pymemsets.o
gcc -pthread -shared -B /home/hemang/anaconda3/compiler_compat -L/home/hemang/anaconda3/lib -Wl,-rpath=/home/hemang/anaconda3/lib -Wl,--no-as-needed -Wl,--sysroot=/ build/temp.linux-x86_64-cpython-38/Modules/_sha3/sha3module.o build/temp.linux-x86_64-cpython-38/Modules/pymemsets.o -o build/lib.linux-x86_64-cpython-38/_pysha3.cpython-38-x86_64-linux-gnu.so
/home/hemang/anaconda3/compiler_compat/ld: /lib/x86_64-linux-gnu/libc.so.6: unknown type [0x13] section `.relr.dyn'
/home/hemang/anaconda3/compiler_compat/ld: skipping incompatible /lib/x86_64-linux-gnu/libc.so.6 when searching for /lib/x86_64-linux-gnu/libc.so.6
/home/hemang/anaconda3/compiler_compat/ld: /lib/x86_64-linux-gnu/libc.so.6: unknown type [0x13] section `.relr.dyn'
/home/hemang/anaconda3/compiler_compat/ld: skipping incompatible /lib/x86_64-linux-gnu/libc.so.6 when searching for /lib/x86_64-linux-gnu/libc.so.6
/home/hemang/anaconda3/compiler_compat/ld: cannot find /lib/x86_64-linux-gnu/libc.so.6
/home/hemang/anaconda3/compiler_compat/ld: /lib/x86_64-linux-gnu/libc.so.6: unknown type [0x13] section `.relr.dyn'
/home/hemang/anaconda3/compiler_compat/ld: skipping incompatible /lib/x86_64-linux-gnu/libc.so.6 when searching for /lib/x86_64-linux-gnu/libc.so.6
/home/hemang/anaconda3/compiler_compat/ld: /lib/x86_64-linux-gnu/libc.so.6: unknown type [0x13] section `.relr.dyn'
/home/hemang/anaconda3/compiler_compat/ld: skipping incompatible /lib/x86_64-linux-gnu/libc.so.6 when searching for /lib/x86_64-linux-gnu/libc.so.6
/home/hemang/anaconda3/compiler_compat/ld: /lib64/ld-linux-x86-64.so.2: unknown type [0x13] section `.relr.dyn'
/home/hemang/anaconda3/compiler_compat/ld: skipping incompatible /lib64/ld-linux-x86-64.so.2 when searching for /lib64/ld-linux-x86-64.so.2
/home/hemang/anaconda3/compiler_compat/ld: /lib64/ld-linux-x86-64.so.2: unknown type [0x13] section `.relr.dyn'
/home/hemang/anaconda3/compiler_compat/ld: skipping incompatible /lib64/ld-linux-x86-64.so.2 when searching for /lib64/ld-linux-x86-64.so.2
/home/hemang/anaconda3/compiler_compat/ld: cannot find /lib64/ld-linux-x86-64.so.2
/home/hemang/anaconda3/compiler_compat/ld: /lib64/ld-linux-x86-64.so.2: unknown type [0x13] section `.relr.dyn'
/home/hemang/anaconda3/compiler_compat/ld: skipping incompatible /lib64/ld-linux-x86-64.so.2 when searching for /lib64/ld-linux-x86-64.so.2
/home/hemang/anaconda3/compiler_compat/ld: /lib64/ld-linux-x86-64.so.2: unknown type [0x13] section `.relr.dyn'
/home/hemang/anaconda3/compiler_compat/ld: skipping incompatible /lib64/ld-linux-x86-64.so.2 when searching for /lib64/ld-linux-x86-64.so.2
collect2: error: ld returned 1 exit status
error: command '/usr/bin/gcc' failed with exit code 1
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure
× Encountered error while trying to install package.
╰─> pysha3
note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.
Note: you may need to restart the kernel to use updated packages.
The text was updated successfully, but these errors were encountered:
hemangjoshi37a
changed the title
Encountered error while trying to install package.
🐛 Encountered error while trying to install package. 🐛
Jan 28, 2023
hemangjoshi37a
changed the title
🐛 Encountered error while trying to install package. 🐛
🐛 Encountered error while trying to install package using pip install bigchaindb-driver. 🐛
Jan 28, 2023
Command I ran :
pip install bigchaindb-driver
Error I got :
The text was updated successfully, but these errors were encountered: