Created
February 18, 2016 18:53
-
-
Save rhyolight/0e54df29174f7f569721 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pip install pycapnp==0.5.5 --user | |
Collecting pycapnp==0.5.5 | |
Using cached pycapnp-0.5.5.tar.gz | |
Building wheels for collected packages: pycapnp | |
Running setup.py bdist_wheel for pycapnp ... error | |
Complete output from command /usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-7a2mfU/pycapnp/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" bdist_wheel -d /tmp/tmpg5TS8Fpip-wheel- --python-tag cp27: | |
running bdist_wheel | |
running build | |
running build_py | |
creating build | |
creating build/lib.linux-x86_64-2.7 | |
creating build/lib.linux-x86_64-2.7/capnp | |
copying capnp/version.py -> build/lib.linux-x86_64-2.7/capnp | |
copying capnp/__init__.py -> build/lib.linux-x86_64-2.7/capnp | |
copying capnp/_gen.py -> build/lib.linux-x86_64-2.7/capnp | |
copying capnp/__init__.pxd -> build/lib.linux-x86_64-2.7/capnp | |
copying capnp/schema.capnp -> build/lib.linux-x86_64-2.7/capnp | |
copying capnp/c++.capnp -> build/lib.linux-x86_64-2.7/capnp | |
creating build/lib.linux-x86_64-2.7/capnp/helpers | |
copying capnp/helpers/helpers.pxd -> build/lib.linux-x86_64-2.7/capnp/helpers | |
copying capnp/helpers/non_circular.pxd -> build/lib.linux-x86_64-2.7/capnp/helpers | |
copying capnp/helpers/__init__.pxd -> build/lib.linux-x86_64-2.7/capnp/helpers | |
copying capnp/helpers/rpcHelper.h -> build/lib.linux-x86_64-2.7/capnp/helpers | |
copying capnp/helpers/fixMaybe.h -> build/lib.linux-x86_64-2.7/capnp/helpers | |
copying capnp/helpers/asyncHelper.h -> build/lib.linux-x86_64-2.7/capnp/helpers | |
copying capnp/helpers/serialize.h -> build/lib.linux-x86_64-2.7/capnp/helpers | |
copying capnp/helpers/capabilityHelper.h -> build/lib.linux-x86_64-2.7/capnp/helpers | |
copying capnp/helpers/checkCompiler.h -> build/lib.linux-x86_64-2.7/capnp/helpers | |
creating build/lib.linux-x86_64-2.7/capnp/includes | |
copying capnp/includes/capnp_cpp.pxd -> build/lib.linux-x86_64-2.7/capnp/includes | |
copying capnp/includes/types.pxd -> build/lib.linux-x86_64-2.7/capnp/includes | |
copying capnp/includes/__init__.pxd -> build/lib.linux-x86_64-2.7/capnp/includes | |
copying capnp/includes/schema_cpp.pxd -> build/lib.linux-x86_64-2.7/capnp/includes | |
creating build/lib.linux-x86_64-2.7/capnp/lib | |
copying capnp/lib/capnp.pxd -> build/lib.linux-x86_64-2.7/capnp/lib | |
copying capnp/lib/__init__.pxd -> build/lib.linux-x86_64-2.7/capnp/lib | |
copying capnp/lib/pickle_helper.py -> build/lib.linux-x86_64-2.7/capnp/lib | |
copying capnp/lib/__init__.py -> build/lib.linux-x86_64-2.7/capnp/lib | |
copying capnp/lib/capnp.pyx -> build/lib.linux-x86_64-2.7/capnp/lib | |
creating build/lib.linux-x86_64-2.7/capnp/templates | |
copying capnp/templates/module.pyx -> build/lib.linux-x86_64-2.7/capnp/templates | |
copying capnp/templates/setup.py.tmpl -> build/lib.linux-x86_64-2.7/capnp/templates | |
running build_ext | |
creating /tmp/tmp2gXddu/tmp | |
cc -c /tmp/timer_createxgRmYU.c -o /tmp/tmp2gXddu/tmp/timer_createxgRmYU.o | |
cc /tmp/tmp2gXddu/tmp/timer_createxgRmYU.o -o /tmp/tmp2gXddu/a.out | |
/tmp/tmp2gXddu/tmp/timer_createxgRmYU.o: In function `main': | |
timer_createxgRmYU.c:(.text+0x15): undefined reference to `timer_create' | |
collect2: error: ld returned 1 exit status | |
creating tmp | |
creating tmp/tmp2gXddu | |
cc -c /tmp/tmp2gXddu/vers.cpp -o tmp/tmp2gXddu/vers.o --std=c++11 | |
/tmp/tmp2gXddu/vers.cpp:4:26: fatal error: capnp/common.h: No such file or directory | |
#include "capnp/common.h" | |
^ | |
compilation terminated. | |
*WARNING* no libcapnp detected. Will download and build it from source now. If you have C++ Cap'n Proto installed, it may be out of date or is not being detected. Downloading and building libcapnp may take a while. | |
fetching https://capnproto.org/capnproto-c++-0.5.1.2.tar.gz into /tmp/pip-build-7a2mfU/pycapnp/bundled | |
ar: `u' modifier ignored since `D' is the default (see `U') | |
ar: `u' modifier ignored since `D' is the default (see `U') | |
ar: `u' modifier ignored since `D' is the default (see `U') | |
ar: `u' modifier ignored since `D' is the default (see `U') | |
ar: `u' modifier ignored since `D' is the default (see `U') | |
building 'capnp.lib.capnp' extension | |
creating build/temp.linux-x86_64-2.7 | |
creating build/temp.linux-x86_64-2.7/capnp | |
creating build/temp.linux-x86_64-2.7/capnp/lib | |
gcc -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I. -I/usr/include/python2.7 -I/tmp/pip-build-7a2mfU/pycapnp/build/include -c capnp/lib/capnp.cpp -o build/temp.linux-x86_64-2.7/capnp/lib/capnp.o --std=c++11 | |
gcc: error: unrecognized command line option ‘-fstack-protector-strong’ | |
error: command 'gcc' failed with exit status 1 | |
---------------------------------------- | |
Failed building wheel for pycapnp | |
Running setup.py clean for pycapnp | |
Failed to build pycapnp | |
Installing collected packages: pycapnp | |
Running setup.py install for pycapnp ... error | |
Complete output from command /usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-7a2mfU/pycapnp/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-wq_sU_-record/install-record.txt --single-version-externally-managed --compile --user --prefix=: | |
Compiling capnp/lib/capnp.pyx because it changed. | |
[1/1] Cythonizing capnp/lib/capnp.pyx | |
Error compiling Cython file: | |
------------------------------------------------------------ | |
... | |
cdef _init(self, capnp.DynamicEnum other, object parent): | |
self.thisptr = other | |
self._parent = parent | |
return self | |
cpdef _as_str(self) except +reraise_kj_exception: | |
^ | |
------------------------------------------------------------ | |
capnp/lib/capnp.pyx:877:10: Signature not compatible with previous declaration | |
Error compiling Cython file: | |
------------------------------------------------------------ | |
... | |
cdef class _DynamicEnum: | |
cdef capnp.DynamicEnum thisptr | |
cdef public object _parent | |
cdef _init(self, capnp.DynamicEnum other, object parent) | |
cpdef _as_str(self) | |
^ | |
------------------------------------------------------------ | |
capnp/lib/capnp.pxd:105:18: Previous declaration is here | |
Error compiling Cython file: | |
------------------------------------------------------------ | |
... | |
""" | |
self._check_write() | |
_write_packed_message_to_fd(file.fileno(), self._parent) | |
self._is_written = True | |
cpdef to_bytes(_DynamicStructBuilder self) except +reraise_kj_exception: | |
^ | |
------------------------------------------------------------ | |
capnp/lib/capnp.pyx:1143:10: Signature not compatible with previous declaration | |
Error compiling Cython file: | |
------------------------------------------------------------ | |
... | |
cdef object _schema | |
cdef _init(self, DynamicStruct_Builder other, object parent, bint isRoot=?, bint tryRegistry=?) | |
cdef _check_write(self) | |
cpdef to_bytes(_DynamicStructBuilder self) | |
^ | |
------------------------------------------------------------ | |
capnp/lib/capnp.pxd:55:19: Previous declaration is here | |
Error compiling Cython file: | |
------------------------------------------------------------ | |
... | |
cdef const char* ptr = <const char *>array.begin() | |
cdef bytes ret = ptr[:8*array.size()] | |
self._is_written = True | |
return ret | |
cpdef _to_bytes_packed_helper(_DynamicStructBuilder self, word_count) except +reraise_kj_exception: | |
^ | |
------------------------------------------------------------ | |
capnp/lib/capnp.pyx:1160:10: Signature not compatible with previous declaration | |
Error compiling Cython file: | |
------------------------------------------------------------ | |
... | |
cdef _init(self, DynamicStruct_Builder other, object parent, bint isRoot=?, bint tryRegistry=?) | |
cdef _check_write(self) | |
cpdef to_bytes(_DynamicStructBuilder self) | |
cpdef _to_bytes_packed_helper(_DynamicStructBuilder self, word_count) | |
^ | |
------------------------------------------------------------ | |
capnp/lib/capnp.pxd:56:34: Previous declaration is here | |
Error compiling Cython file: | |
------------------------------------------------------------ | |
... | |
array = helpers.messageToPackedBytes(deref(builder.thisptr), word_count) | |
cdef const char* ptr = <const char *>array.begin() | |
cdef bytes ret = ptr[:array.size()] | |
return ret | |
cpdef to_bytes_packed(_DynamicStructBuilder self) except +reraise_kj_exception: | |
^ | |
------------------------------------------------------------ | |
capnp/lib/capnp.pyx:1167:10: Signature not compatible with previous declaration | |
Error compiling Cython file: | |
------------------------------------------------------------ | |
... | |
cdef _init(self, DynamicStruct_Builder other, object parent, bint isRoot=?, bint tryRegistry=?) | |
cdef _check_write(self) | |
cpdef to_bytes(_DynamicStructBuilder self) | |
cpdef _to_bytes_packed_helper(_DynamicStructBuilder self, word_count) | |
cpdef to_bytes_packed(_DynamicStructBuilder self) | |
^ | |
------------------------------------------------------------ | |
capnp/lib/capnp.pxd:57:26: Previous declaration is here | |
Traceback (most recent call last): | |
File "<string>", line 1, in <module> | |
File "/tmp/pip-build-7a2mfU/pycapnp/setup.py", line 122, in <module> | |
extensions = cythonize('capnp/lib/*.pyx') | |
File "/home/matt/.local/lib/python2.7/site-packages/Cython/Build/Dependencies.py", line 877, in cythonize | |
cythonize_one(*args) | |
File "/home/matt/.local/lib/python2.7/site-packages/Cython/Build/Dependencies.py", line 997, in cythonize_one | |
raise CompileError(None, pyx_file) | |
Cython.Compiler.Errors.CompileError: capnp/lib/capnp.pyx | |
---------------------------------------- | |
Command "/usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-7a2mfU/pycapnp/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-wq_sU_-record/install-record.txt --single-version-externally-managed --compile --user --prefix=" failed with error code 1 in /tmp/pip-build-7a2mfU/pycapnp |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment