Skip to content

Instantly share code, notes, and snippets.

@rhyolight
Created September 19, 2018 15:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rhyolight/57797e8831a8e64d99fb15a69360582e to your computer and use it in GitHub Desktop.
Save rhyolight/57797e8831a8e64d99fb15a69360582e to your computer and use it in GitHub Desktop.
Failed building wheel for pycapnp
Requirement already satisfied: numpy==1.12.1 in /Users/mtaylor/Library/Python/2.7/lib/python/site-packages (1.12.1)
Requirement already satisfied: pytest==3.0.7 in /Users/mtaylor/Library/Python/2.7/lib/python/site-packages (3.0.7)
Requirement already satisfied: pytest-cov==2.5.0 in /Users/mtaylor/Library/Python/2.7/lib/python/site-packages (2.5.0)
Requirement already satisfied: pytest-xdist==1.16.0 in /Users/mtaylor/Library/Python/2.7/lib/python/site-packages (1.16.0)
Collecting pycapnp==0.6.3
Using cached https://files.pythonhosted.org/packages/73/5e/f9e4369639883c1efc1c1729e51ed65b5acdadf3445cfa800b1db66d5856/pycapnp-0.6.3.tar.gz
Requirement already satisfied: py>=1.4.29 in /Users/mtaylor/Library/Python/2.7/lib/python/site-packages (from pytest==3.0.7) (1.5.2)
Requirement already satisfied: setuptools in /Users/mtaylor/Library/Python/2.7/lib/python/site-packages (from pytest==3.0.7) (40.4.1)
Requirement already satisfied: coverage>=3.7.1 in /Users/mtaylor/Library/Python/2.7/lib/python/site-packages (from pytest-cov==2.5.0) (3.7.1)
Requirement already satisfied: execnet>=1.1 in /Library/Python/2.7/site-packages (from pytest-xdist==1.16.0) (1.1)
Building wheels for collected packages: pycapnp
Running setup.py bdist_wheel for pycapnp: started
Running setup.py bdist_wheel for pycapnp: finished with status 'error'
Complete output from command /usr/bin/python -u -c "import setuptools, tokenize;__file__='/private/var/folders/c1/fc9tt93s2p5b9d3wp185qxwc0000gn/T/pip-install-k60x54/pycapnp/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /private/var/folders/c1/fc9tt93s2p5b9d3wp185qxwc0000gn/T/pip-wheel-Slu2Uc --python-tag cp27:
running bdist_wheel
running build
running build_py
creating build
creating build/lib.macosx-10.13-intel-2.7
creating build/lib.macosx-10.13-intel-2.7/capnp
copying capnp/version.py -> build/lib.macosx-10.13-intel-2.7/capnp
copying capnp/__init__.py -> build/lib.macosx-10.13-intel-2.7/capnp
copying capnp/_gen.py -> build/lib.macosx-10.13-intel-2.7/capnp
copying capnp/__init__.pxd -> build/lib.macosx-10.13-intel-2.7/capnp
copying capnp/schema.capnp -> build/lib.macosx-10.13-intel-2.7/capnp
copying capnp/c++.capnp -> build/lib.macosx-10.13-intel-2.7/capnp
creating build/lib.macosx-10.13-intel-2.7/capnp/helpers
copying capnp/helpers/helpers.pxd -> build/lib.macosx-10.13-intel-2.7/capnp/helpers
copying capnp/helpers/non_circular.pxd -> build/lib.macosx-10.13-intel-2.7/capnp/helpers
copying capnp/helpers/__init__.pxd -> build/lib.macosx-10.13-intel-2.7/capnp/helpers
copying capnp/helpers/rpcHelper.h -> build/lib.macosx-10.13-intel-2.7/capnp/helpers
copying capnp/helpers/fixMaybe.h -> build/lib.macosx-10.13-intel-2.7/capnp/helpers
copying capnp/helpers/capabilityHelper.h -> build/lib.macosx-10.13-intel-2.7/capnp/helpers
copying capnp/helpers/asyncHelper.h -> build/lib.macosx-10.13-intel-2.7/capnp/helpers
copying capnp/helpers/checkCompiler.h -> build/lib.macosx-10.13-intel-2.7/capnp/helpers
copying capnp/helpers/serialize.h -> build/lib.macosx-10.13-intel-2.7/capnp/helpers
creating build/lib.macosx-10.13-intel-2.7/capnp/includes
copying capnp/includes/types.pxd -> build/lib.macosx-10.13-intel-2.7/capnp/includes
copying capnp/includes/__init__.pxd -> build/lib.macosx-10.13-intel-2.7/capnp/includes
copying capnp/includes/schema_cpp.pxd -> build/lib.macosx-10.13-intel-2.7/capnp/includes
copying capnp/includes/capnp_cpp.pxd -> build/lib.macosx-10.13-intel-2.7/capnp/includes
creating build/lib.macosx-10.13-intel-2.7/capnp/lib
copying capnp/lib/capnp.pxd -> build/lib.macosx-10.13-intel-2.7/capnp/lib
copying capnp/lib/__init__.pxd -> build/lib.macosx-10.13-intel-2.7/capnp/lib
copying capnp/lib/__init__.py -> build/lib.macosx-10.13-intel-2.7/capnp/lib
copying capnp/lib/pickle_helper.py -> build/lib.macosx-10.13-intel-2.7/capnp/lib
copying capnp/lib/capnp.pyx -> build/lib.macosx-10.13-intel-2.7/capnp/lib
creating build/lib.macosx-10.13-intel-2.7/capnp/templates
copying capnp/templates/setup.py.tmpl -> build/lib.macosx-10.13-intel-2.7/capnp/templates
copying capnp/templates/module.pyx -> build/lib.macosx-10.13-intel-2.7/capnp/templates
running build_ext
creating var
creating var/folders
creating var/folders/c1
creating var/folders/c1/fc9tt93s2p5b9d3wp185qxwc0000gn
creating var/folders/c1/fc9tt93s2p5b9d3wp185qxwc0000gn/T
creating var/folders/c1/fc9tt93s2p5b9d3wp185qxwc0000gn/T/tmpfcUfor
cc -fno-strict-aliasing -fno-common -dynamic -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -pipe -arch x86_64 -c /var/folders/c1/fc9tt93s2p5b9d3wp185qxwc0000gn/T/tmpfcUfor/vers.cpp -o var/folders/c1/fc9tt93s2p5b9d3wp185qxwc0000gn/T/tmpfcUfor/vers.o --std=c++11
cc -arch x86_64 -undefined dynamic_lookup var/folders/c1/fc9tt93s2p5b9d3wp185qxwc0000gn/T/tmpfcUfor/vers.o -o /var/folders/c1/fc9tt93s2p5b9d3wp185qxwc0000gn/T/tmpfcUfor/vers
building 'capnp.lib.capnp' extension
creating build/temp.macosx-10.13-intel-2.7
creating build/temp.macosx-10.13-intel-2.7/capnp
creating build/temp.macosx-10.13-intel-2.7/capnp/lib
cc -fno-strict-aliasing -fno-common -dynamic -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -pipe -arch x86_64 -I. -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c capnp/lib/capnp.cpp -o build/temp.macosx-10.13-intel-2.7/capnp/lib/capnp.o --std=c++11
In file included from capnp/lib/capnp.cpp:283:
In file included from ./capnp/helpers/checkCompiler.h:9:
In file included from /usr/local/include/capnp/dynamic.h:40:
In file included from /usr/local/include/capnp/schema.h:33:
In file included from /usr/local/include/capnp/schema.capnp.h:7:
In file included from /usr/local/include/capnp/generated-header-support.h:31:
/usr/local/include/capnp/layout.h:129:65: error: value of type 'bool' is not implicitly convertible to 'capnp::Kind'
template <typename T, bool b> struct ElementSizeForType<List<T, b>> {
^
In file included from capnp/lib/capnp.cpp:285:
./capnp/helpers/capabilityHelper.h:95:20: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
int line = PyInt_AsLong(py_line);
~~~~ ^~~~~~~~~~~~~~~~~~~~~
In file included from capnp/lib/capnp.cpp:286:
./capnp/helpers/rpcHelper.h:42:19: warning: 'restore' is deprecated: Please transition to using a bootstrap interface instead. [-Wdeprecated-declarations]
return client.restore(hostId, objectId.getRoot<capnp::AnyPointer>());
^
/usr/local/include/capnp/rpc.h:76:7: note: 'restore' has been explicitly marked deprecated here
KJ_DEPRECATED("Please transition to using a bootstrap interface instead.");
^
/usr/local/include/kj/common.h:174:20: note: expanded from macro 'KJ_DEPRECATED'
__attribute__((deprecated(reason)))
^
In file included from capnp/lib/capnp.cpp:286:
./capnp/helpers/rpcHelper.h:49:19: warning: 'restore' is deprecated: Please transition to using a bootstrap interface instead. [-Wdeprecated-declarations]
return client.restore(hostId, objectId.getRoot<capnp::AnyPointer>());
^
/usr/local/include/capnp/rpc.h:76:7: note: 'restore' has been explicitly marked deprecated here
KJ_DEPRECATED("Please transition to using a bootstrap interface instead.");
^
/usr/local/include/kj/common.h:174:20: note: expanded from macro 'KJ_DEPRECATED'
__attribute__((deprecated(reason)))
^
In file included from capnp/lib/capnp.cpp:286:
./capnp/helpers/rpcHelper.h:56:19: warning: 'restore' is deprecated: Please transition to using a bootstrap interface instead. [-Wdeprecated-declarations]
return client.restore(hostId, objectId);
^
/usr/local/include/capnp/rpc.h:76:7: note: 'restore' has been explicitly marked deprecated here
KJ_DEPRECATED("Please transition to using a bootstrap interface instead.");
^
/usr/local/include/kj/common.h:174:20: note: expanded from macro 'KJ_DEPRECATED'
__attribute__((deprecated(reason)))
^
In file included from capnp/lib/capnp.cpp:286:
./capnp/helpers/rpcHelper.h:63:19: warning: 'restore' is deprecated: Please transition to using a bootstrap interface instead. [-Wdeprecated-declarations]
return client.restore(hostId, objectId);
^
/usr/local/include/capnp/rpc.h:76:7: note: 'restore' has been explicitly marked deprecated here
KJ_DEPRECATED("Please transition to using a bootstrap interface instead.");
^
/usr/local/include/kj/common.h:174:20: note: expanded from macro 'KJ_DEPRECATED'
__attribute__((deprecated(reason)))
^
In file included from capnp/lib/capnp.cpp:286:
./capnp/helpers/rpcHelper.h:73:19: warning: 'restore' is deprecated: Please transition to using a bootstrap interface instead. [-Wdeprecated-declarations]
return client.restore(hostId, objectId);
^
/usr/local/include/capnp/rpc.h:76:7: note: 'restore' has been explicitly marked deprecated here
KJ_DEPRECATED("Please transition to using a bootstrap interface instead.");
^
/usr/local/include/kj/common.h:174:20: note: expanded from macro 'KJ_DEPRECATED'
__attribute__((deprecated(reason)))
^
In file included from capnp/lib/capnp.cpp:286:
./capnp/helpers/rpcHelper.h:107:19: warning: 'makeRpcServer<capnp::rpc::twoparty::VatId, capnp::AnyPointer, capnp::rpc::twoparty::ProvisionId, capnp::rpc::twoparty::RecipientId, capnp::rpc::twoparty::ThirdPartyCapId, capnp::rpc::twoparty::JoinResult>' is deprecated: Please transition to using a bootstrap interface instead. [-Wdeprecated-declarations]
rpcSystem(makeRpcServer(network, restorer)) {}
^
/usr/local/include/capnp/rpc.h:123:5: note: 'makeRpcServer<capnp::rpc::twoparty::VatId, capnp::AnyPointer, capnp::rpc::twoparty::ProvisionId, capnp::rpc::twoparty::RecipientId, capnp::rpc::twoparty::ThirdPartyCapId, capnp::rpc::twoparty::JoinResult>' has been explicitly marked deprecated here
KJ_DEPRECATED("Please transition to using a bootstrap interface instead.");
^
/usr/local/include/kj/common.h:174:20: note: expanded from macro 'KJ_DEPRECATED'
__attribute__((deprecated(reason)))
^
capnp/lib/capnp.cpp:10774:115: warning: implicit conversion loses integer precision: 'int64_t' (aka 'long long') to 'capnp::uint' (aka 'unsigned int') [-Wshorten-64-to-32]
__pyx_t_2 = __pyx_f_5capnp_3lib_5capnp_to_python_reader((( ::capnp::DynamicValue::Reader)(__pyx_v_self->thisptr[__pyx_v_index])), __pyx_t_1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 392; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
~~~~~~~~~~~~ ^~~~~~~~~~~~~
capnp/lib/capnp.cpp:12816:117: warning: implicit conversion loses integer precision: 'int64_t' (aka 'long long') to 'capnp::uint' (aka 'unsigned int') [-Wshorten-64-to-32]
__pyx_t_2 = __pyx_f_5capnp_3lib_5capnp_to_python_builder((( ::capnp::DynamicValue::Builder)(__pyx_v_self->thisptr[__pyx_v_index])), __pyx_t_1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 502; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
~~~~~~~~~~~~ ^~~~~~~~~~~~~
capnp/lib/capnp.cpp:16308:52: warning: implicit conversion loses integer precision: 'Py_ssize_t' (aka 'long') to 'capnp::uint' (aka 'unsigned int') [-Wshorten-64-to-32]
__pyx_t_11 = __pyx_v_thisptr.init(__pyx_t_7, __pyx_t_10);
~~~~ ^~~~~~~~~~
capnp/lib/capnp.cpp:16354:52: warning: implicit conversion loses integer precision: 'Py_ssize_t' (aka 'long') to 'capnp::uint' (aka 'unsigned int') [-Wshorten-64-to-32]
__pyx_t_11 = __pyx_v_thisptr.init(__pyx_t_7, __pyx_t_10);
~~~~ ^~~~~~~~~~
capnp/lib/capnp.cpp:17067:52: warning: implicit conversion loses integer precision: 'Py_ssize_t' (aka 'long') to 'capnp::uint' (aka 'unsigned int') [-Wshorten-64-to-32]
__pyx_t_11 = __pyx_v_thisptr.init(__pyx_t_7, __pyx_t_10);
~~~~ ^~~~~~~~~~
capnp/lib/capnp.cpp:17113:52: warning: implicit conversion loses integer precision: 'Py_ssize_t' (aka 'long') to 'capnp::uint' (aka 'unsigned int') [-Wshorten-64-to-32]
__pyx_t_11 = __pyx_v_thisptr.init(__pyx_t_7, __pyx_t_10);
~~~~ ^~~~~~~~~~
capnp/lib/capnp.cpp:17842:53: warning: implicit conversion loses integer precision: 'Py_ssize_t' (aka 'long') to 'capnp::uint' (aka 'unsigned int') [-Wshorten-64-to-32]
__pyx_t_12 = __pyx_v_thisptr.init(__pyx_t_10, __pyx_t_11);
~~~~ ^~~~~~~~~~
capnp/lib/capnp.cpp:18563:52: warning: implicit conversion loses integer precision: 'Py_ssize_t' (aka 'long') to 'capnp::uint' (aka 'unsigned int') [-Wshorten-64-to-32]
__pyx_t_11 = __pyx_v_thisptr.init(__pyx_t_7, __pyx_t_10);
~~~~ ^~~~~~~~~~
capnp/lib/capnp.cpp:31214:294: warning: moving a temporary object prevents copy elision [-Wpessimizing-move]
__pyx_t_1 = ((struct __pyx_vtabstruct_5capnp_3lib_5capnp__DynamicStructPipeline *)((struct __pyx_obj_5capnp_3lib_5capnp__DynamicStructPipeline *)__pyx_t_3)->__pyx_vtab)->_init(((struct __pyx_obj_5capnp_3lib_5capnp__DynamicStructPipeline *)__pyx_t_3), new ::capnp::DynamicStruct::Pipeline(std::move((( ::capnp::DynamicValue::Pipeline)__pyx_v_self->thisptr->get(__pyx_t_6)).releaseAs< ::capnp::DynamicStruct>())), __pyx_t_2); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1490; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
^
capnp/lib/capnp.cpp:31214:294: note: remove std::move call here
__pyx_t_1 = ((struct __pyx_vtabstruct_5capnp_3lib_5capnp__DynamicStructPipeline *)((struct __pyx_obj_5capnp_3lib_5capnp__DynamicStructPipeline *)__pyx_t_3)->__pyx_vtab)->_init(((struct __pyx_obj_5capnp_3lib_5capnp__DynamicStructPipeline *)__pyx_t_3), new ::capnp::DynamicStruct::Pipeline(std::move((( ::capnp::DynamicValue::Pipeline)__pyx_v_self->thisptr->get(__pyx_t_6)).releaseAs< ::capnp::DynamicStruct>())), __pyx_t_2); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1490; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
^~~~~~~~~~ ~
capnp/lib/capnp.cpp:35029:53: warning: moving a temporary object prevents copy elision [-Wpessimizing-move]
__pyx_v_self->thisptr = new ::kj::AsyncIoContext(std::move( ::kj::setupAsyncIo()));
^
capnp/lib/capnp.cpp:35029:53: note: remove std::move call here
__pyx_v_self->thisptr = new ::kj::AsyncIoContext(std::move( ::kj::setupAsyncIo()));
^~~~~~~~~~ ~
capnp/lib/capnp.cpp:41898:294: warning: moving a temporary object prevents copy elision [-Wpessimizing-move]
__pyx_t_1 = ((struct __pyx_vtabstruct_5capnp_3lib_5capnp__DynamicStructPipeline *)((struct __pyx_obj_5capnp_3lib_5capnp__DynamicStructPipeline *)__pyx_t_3)->__pyx_vtab)->_init(((struct __pyx_obj_5capnp_3lib_5capnp__DynamicStructPipeline *)__pyx_t_3), new ::capnp::DynamicStruct::Pipeline(std::move((( ::capnp::DynamicValue::Pipeline)__pyx_v_self->thisptr->get(__pyx_t_6)).releaseAs< ::capnp::DynamicStruct>())), __pyx_t_2); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1969; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
^
capnp/lib/capnp.cpp:41898:294: note: remove std::move call here
__pyx_t_1 = ((struct __pyx_vtabstruct_5capnp_3lib_5capnp__DynamicStructPipeline *)((struct __pyx_obj_5capnp_3lib_5capnp__DynamicStructPipeline *)__pyx_t_3)->__pyx_vtab)->_init(((struct __pyx_obj_5capnp_3lib_5capnp__DynamicStructPipeline *)__pyx_t_3), new ::capnp::DynamicStruct::Pipeline(std::move((( ::capnp::DynamicValue::Pipeline)__pyx_v_self->thisptr->get(__pyx_t_6)).releaseAs< ::capnp::DynamicStruct>())), __pyx_t_2); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1969; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
^~~~~~~~~~ ~
capnp/lib/capnp.cpp:51489:104: warning: 'makeRpcServer<capnp::rpc::twoparty::VatId, capnp::AnyPointer, capnp::rpc::twoparty::ProvisionId, capnp::rpc::twoparty::RecipientId, capnp::rpc::twoparty::ThirdPartyCapId, capnp::rpc::twoparty::JoinResult>' is deprecated: Please transition to using a bootstrap interface instead. [-Wdeprecated-declarations]
__pyx_v_self->thisptr = new ::capnp::RpcSystem<capnp::rpc::twoparty::SturdyRefHostId>( ::capnp::makeRpcServer((*__pyx_v_self->_network->thisptr), (*__pyx_v_self->_restorer->thisptr)));
^
/usr/local/include/capnp/rpc.h:123:5: note: 'makeRpcServer<capnp::rpc::twoparty::VatId, capnp::AnyPointer, capnp::rpc::twoparty::ProvisionId, capnp::rpc::twoparty::RecipientId, capnp::rpc::twoparty::ThirdPartyCapId, capnp::rpc::twoparty::JoinResult>' has been explicitly marked deprecated here
KJ_DEPRECATED("Please transition to using a bootstrap interface instead.");
^
/usr/local/include/kj/common.h:174:20: note: expanded from macro 'KJ_DEPRECATED'
__attribute__((deprecated(reason)))
^
capnp/lib/capnp.cpp:54856:39: warning: 'getDependency' is deprecated: Does not handle generics correctly. [-Wdeprecated-declarations]
__pyx_t_8 = __pyx_v_self->thisptr.getDependency(__pyx_t_7);
^
/usr/local/include/capnp/schema.h:85:43: note: 'getDependency' has been explicitly marked deprecated here
Schema getDependency(uint64_t id) const KJ_DEPRECATED("Does not handle generics correctly.");
^
/usr/local/include/kj/common.h:174:20: note: expanded from macro 'KJ_DEPRECATED'
__attribute__((deprecated(reason)))
^
capnp/lib/capnp.cpp:56558:39: warning: 'getDependency' is deprecated: Does not handle generics correctly. [-Wdeprecated-declarations]
__pyx_t_8 = __pyx_v_self->thisptr.getDependency(__pyx_t_7);
^
/usr/local/include/capnp/schema.h:85:43: note: 'getDependency' has been explicitly marked deprecated here
Schema getDependency(uint64_t id) const KJ_DEPRECATED("Does not handle generics correctly.");
^
/usr/local/include/kj/common.h:174:20: note: expanded from macro 'KJ_DEPRECATED'
__attribute__((deprecated(reason)))
^
capnp/lib/capnp.cpp:58859:39: warning: 'getDependency' is deprecated: Does not handle generics correctly. [-Wdeprecated-declarations]
__pyx_t_8 = __pyx_v_self->thisptr.getDependency(__pyx_t_7);
^
/usr/local/include/capnp/schema.h:85:43: note: 'getDependency' has been explicitly marked deprecated here
Schema getDependency(uint64_t id) const KJ_DEPRECATED("Does not handle generics correctly.");
^
/usr/local/include/kj/common.h:174:20: note: expanded from macro 'KJ_DEPRECATED'
__attribute__((deprecated(reason)))
^
capnp/lib/capnp.cpp:246:5: warning: destructor called on non-final 'ErrorHandler' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor]
x->~T();
^
capnp/lib/capnp.cpp:81941:3: note: in instantiation of function template specialization '__Pyx_call_destructor<ErrorHandler>' requested here
__Pyx_call_destructor(&p->_error_handler);
^
capnp/lib/capnp.cpp:246:9: note: qualify call to silence this warning
x->~T();
^
ErrorHandler::
23 warnings and 1 error generated.
error: command 'cc' failed with exit status 1
----------------------------------------
Running setup.py clean for pycapnp
Failed to build pycapnp
Installing collected packages: pycapnp
Running setup.py install for pycapnp: started
Running setup.py install for pycapnp: finished with status 'error'
Complete output from command /usr/bin/python -u -c "import setuptools, tokenize;__file__='/private/var/folders/c1/fc9tt93s2p5b9d3wp185qxwc0000gn/T/pip-install-k60x54/pycapnp/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /private/var/folders/c1/fc9tt93s2p5b9d3wp185qxwc0000gn/T/pip-record-Wi_50e/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
running install
running build
running build_py
creating build
creating build/lib.macosx-10.13-intel-2.7
creating build/lib.macosx-10.13-intel-2.7/capnp
copying capnp/version.py -> build/lib.macosx-10.13-intel-2.7/capnp
copying capnp/__init__.py -> build/lib.macosx-10.13-intel-2.7/capnp
copying capnp/_gen.py -> build/lib.macosx-10.13-intel-2.7/capnp
copying capnp/__init__.pxd -> build/lib.macosx-10.13-intel-2.7/capnp
copying capnp/schema.capnp -> build/lib.macosx-10.13-intel-2.7/capnp
copying capnp/c++.capnp -> build/lib.macosx-10.13-intel-2.7/capnp
creating build/lib.macosx-10.13-intel-2.7/capnp/helpers
copying capnp/helpers/helpers.pxd -> build/lib.macosx-10.13-intel-2.7/capnp/helpers
copying capnp/helpers/non_circular.pxd -> build/lib.macosx-10.13-intel-2.7/capnp/helpers
copying capnp/helpers/__init__.pxd -> build/lib.macosx-10.13-intel-2.7/capnp/helpers
copying capnp/helpers/rpcHelper.h -> build/lib.macosx-10.13-intel-2.7/capnp/helpers
copying capnp/helpers/fixMaybe.h -> build/lib.macosx-10.13-intel-2.7/capnp/helpers
copying capnp/helpers/capabilityHelper.h -> build/lib.macosx-10.13-intel-2.7/capnp/helpers
copying capnp/helpers/asyncHelper.h -> build/lib.macosx-10.13-intel-2.7/capnp/helpers
copying capnp/helpers/checkCompiler.h -> build/lib.macosx-10.13-intel-2.7/capnp/helpers
copying capnp/helpers/serialize.h -> build/lib.macosx-10.13-intel-2.7/capnp/helpers
creating build/lib.macosx-10.13-intel-2.7/capnp/includes
copying capnp/includes/types.pxd -> build/lib.macosx-10.13-intel-2.7/capnp/includes
copying capnp/includes/__init__.pxd -> build/lib.macosx-10.13-intel-2.7/capnp/includes
copying capnp/includes/schema_cpp.pxd -> build/lib.macosx-10.13-intel-2.7/capnp/includes
copying capnp/includes/capnp_cpp.pxd -> build/lib.macosx-10.13-intel-2.7/capnp/includes
creating build/lib.macosx-10.13-intel-2.7/capnp/lib
copying capnp/lib/capnp.pxd -> build/lib.macosx-10.13-intel-2.7/capnp/lib
copying capnp/lib/__init__.pxd -> build/lib.macosx-10.13-intel-2.7/capnp/lib
copying capnp/lib/__init__.py -> build/lib.macosx-10.13-intel-2.7/capnp/lib
copying capnp/lib/pickle_helper.py -> build/lib.macosx-10.13-intel-2.7/capnp/lib
copying capnp/lib/capnp.pyx -> build/lib.macosx-10.13-intel-2.7/capnp/lib
creating build/lib.macosx-10.13-intel-2.7/capnp/templates
copying capnp/templates/setup.py.tmpl -> build/lib.macosx-10.13-intel-2.7/capnp/templates
copying capnp/templates/module.pyx -> build/lib.macosx-10.13-intel-2.7/capnp/templates
running build_ext
creating var/folders/c1/fc9tt93s2p5b9d3wp185qxwc0000gn/T/tmpI_UPNN
cc -fno-strict-aliasing -fno-common -dynamic -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -pipe -arch x86_64 -c /var/folders/c1/fc9tt93s2p5b9d3wp185qxwc0000gn/T/tmpI_UPNN/vers.cpp -o var/folders/c1/fc9tt93s2p5b9d3wp185qxwc0000gn/T/tmpI_UPNN/vers.o --std=c++11
cc -arch x86_64 -undefined dynamic_lookup var/folders/c1/fc9tt93s2p5b9d3wp185qxwc0000gn/T/tmpI_UPNN/vers.o -o /var/folders/c1/fc9tt93s2p5b9d3wp185qxwc0000gn/T/tmpI_UPNN/vers
building 'capnp.lib.capnp' extension
creating build/temp.macosx-10.13-intel-2.7
creating build/temp.macosx-10.13-intel-2.7/capnp
creating build/temp.macosx-10.13-intel-2.7/capnp/lib
cc -fno-strict-aliasing -fno-common -dynamic -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -pipe -arch x86_64 -I. -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c capnp/lib/capnp.cpp -o build/temp.macosx-10.13-intel-2.7/capnp/lib/capnp.o --std=c++11
In file included from capnp/lib/capnp.cpp:613:
In file included from ./capnp/helpers/checkCompiler.h:9:
In file included from /usr/local/include/capnp/dynamic.h:40:
In file included from /usr/local/include/capnp/schema.h:33:
In file included from /usr/local/include/capnp/schema.capnp.h:7:
In file included from /usr/local/include/capnp/generated-header-support.h:31:
/usr/local/include/capnp/layout.h:129:65: error: value of type 'bool' is not implicitly convertible to 'capnp::Kind'
template <typename T, bool b> struct ElementSizeForType<List<T, b>> {
^
In file included from capnp/lib/capnp.cpp:617:
./capnp/helpers/capabilityHelper.h:95:20: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
int line = PyInt_AsLong(py_line);
~~~~ ^~~~~~~~~~~~~~~~~~~~~
In file included from capnp/lib/capnp.cpp:618:
./capnp/helpers/rpcHelper.h:42:19: warning: 'restore' is deprecated: Please transition to using a bootstrap interface instead. [-Wdeprecated-declarations]
return client.restore(hostId, objectId.getRoot<capnp::AnyPointer>());
^
/usr/local/include/capnp/rpc.h:76:7: note: 'restore' has been explicitly marked deprecated here
KJ_DEPRECATED("Please transition to using a bootstrap interface instead.");
^
/usr/local/include/kj/common.h:174:20: note: expanded from macro 'KJ_DEPRECATED'
__attribute__((deprecated(reason)))
^
In file included from capnp/lib/capnp.cpp:618:
./capnp/helpers/rpcHelper.h:49:19: warning: 'restore' is deprecated: Please transition to using a bootstrap interface instead. [-Wdeprecated-declarations]
return client.restore(hostId, objectId.getRoot<capnp::AnyPointer>());
^
/usr/local/include/capnp/rpc.h:76:7: note: 'restore' has been explicitly marked deprecated here
KJ_DEPRECATED("Please transition to using a bootstrap interface instead.");
^
/usr/local/include/kj/common.h:174:20: note: expanded from macro 'KJ_DEPRECATED'
__attribute__((deprecated(reason)))
^
In file included from capnp/lib/capnp.cpp:618:
./capnp/helpers/rpcHelper.h:56:19: warning: 'restore' is deprecated: Please transition to using a bootstrap interface instead. [-Wdeprecated-declarations]
return client.restore(hostId, objectId);
^
/usr/local/include/capnp/rpc.h:76:7: note: 'restore' has been explicitly marked deprecated here
KJ_DEPRECATED("Please transition to using a bootstrap interface instead.");
^
/usr/local/include/kj/common.h:174:20: note: expanded from macro 'KJ_DEPRECATED'
__attribute__((deprecated(reason)))
^
In file included from capnp/lib/capnp.cpp:618:
./capnp/helpers/rpcHelper.h:63:19: warning: 'restore' is deprecated: Please transition to using a bootstrap interface instead. [-Wdeprecated-declarations]
return client.restore(hostId, objectId);
^
/usr/local/include/capnp/rpc.h:76:7: note: 'restore' has been explicitly marked deprecated here
KJ_DEPRECATED("Please transition to using a bootstrap interface instead.");
^
/usr/local/include/kj/common.h:174:20: note: expanded from macro 'KJ_DEPRECATED'
__attribute__((deprecated(reason)))
^
In file included from capnp/lib/capnp.cpp:618:
./capnp/helpers/rpcHelper.h:73:19: warning: 'restore' is deprecated: Please transition to using a bootstrap interface instead. [-Wdeprecated-declarations]
return client.restore(hostId, objectId);
^
/usr/local/include/capnp/rpc.h:76:7: note: 'restore' has been explicitly marked deprecated here
KJ_DEPRECATED("Please transition to using a bootstrap interface instead.");
^
/usr/local/include/kj/common.h:174:20: note: expanded from macro 'KJ_DEPRECATED'
__attribute__((deprecated(reason)))
^
In file included from capnp/lib/capnp.cpp:618:
./capnp/helpers/rpcHelper.h:107:19: warning: 'makeRpcServer<capnp::rpc::twoparty::VatId, capnp::AnyPointer, capnp::rpc::twoparty::ProvisionId, capnp::rpc::twoparty::RecipientId, capnp::rpc::twoparty::ThirdPartyCapId, capnp::rpc::twoparty::JoinResult>' is deprecated: Please transition to using a bootstrap interface instead. [-Wdeprecated-declarations]
rpcSystem(makeRpcServer(network, restorer)) {}
^
/usr/local/include/capnp/rpc.h:123:5: note: 'makeRpcServer<capnp::rpc::twoparty::VatId, capnp::AnyPointer, capnp::rpc::twoparty::ProvisionId, capnp::rpc::twoparty::RecipientId, capnp::rpc::twoparty::ThirdPartyCapId, capnp::rpc::twoparty::JoinResult>' has been explicitly marked deprecated here
KJ_DEPRECATED("Please transition to using a bootstrap interface instead.");
^
/usr/local/include/kj/common.h:174:20: note: expanded from macro 'KJ_DEPRECATED'
__attribute__((deprecated(reason)))
^
capnp/lib/capnp.cpp:12287:39: warning: implicit conversion loses integer precision: 'int64_t' (aka 'long long') to 'capnp::uint' (aka 'unsigned int') [-Wshorten-64-to-32]
__pyx_t_7 = __pyx_v_self->thisptr[__pyx_v_index];
~~~~~~~~~~~~ ^~~~~~~~~~~~~
capnp/lib/capnp.cpp:14826:39: warning: implicit conversion loses integer precision: 'int64_t' (aka 'long long') to 'capnp::uint' (aka 'unsigned int') [-Wshorten-64-to-32]
__pyx_t_7 = __pyx_v_self->thisptr[__pyx_v_index];
~~~~~~~~~~~~ ^~~~~~~~~~~~~
capnp/lib/capnp.cpp:18793:52: warning: implicit conversion loses integer precision: 'Py_ssize_t' (aka 'long') to 'capnp::uint' (aka 'unsigned int') [-Wshorten-64-to-32]
__pyx_t_11 = __pyx_v_thisptr.init(__pyx_t_7, __pyx_t_10);
~~~~ ^~~~~~~~~~
capnp/lib/capnp.cpp:18847:52: warning: implicit conversion loses integer precision: 'Py_ssize_t' (aka 'long') to 'capnp::uint' (aka 'unsigned int') [-Wshorten-64-to-32]
__pyx_t_11 = __pyx_v_thisptr.init(__pyx_t_7, __pyx_t_10);
~~~~ ^~~~~~~~~~
capnp/lib/capnp.cpp:19740:52: warning: implicit conversion loses integer precision: 'Py_ssize_t' (aka 'long') to 'capnp::uint' (aka 'unsigned int') [-Wshorten-64-to-32]
__pyx_t_11 = __pyx_v_thisptr.init(__pyx_t_7, __pyx_t_10);
~~~~ ^~~~~~~~~~
capnp/lib/capnp.cpp:19794:52: warning: implicit conversion loses integer precision: 'Py_ssize_t' (aka 'long') to 'capnp::uint' (aka 'unsigned int') [-Wshorten-64-to-32]
__pyx_t_11 = __pyx_v_thisptr.init(__pyx_t_7, __pyx_t_10);
~~~~ ^~~~~~~~~~
capnp/lib/capnp.cpp:20697:53: warning: implicit conversion loses integer precision: 'Py_ssize_t' (aka 'long') to 'capnp::uint' (aka 'unsigned int') [-Wshorten-64-to-32]
__pyx_t_12 = __pyx_v_thisptr.init(__pyx_t_10, __pyx_t_11);
~~~~ ^~~~~~~~~~
capnp/lib/capnp.cpp:21592:52: warning: implicit conversion loses integer precision: 'Py_ssize_t' (aka 'long') to 'capnp::uint' (aka 'unsigned int') [-Wshorten-64-to-32]
__pyx_t_11 = __pyx_v_thisptr.init(__pyx_t_7, __pyx_t_10);
~~~~ ^~~~~~~~~~
capnp/lib/capnp.cpp:35780:294: warning: moving a temporary object prevents copy elision [-Wpessimizing-move]
__pyx_t_1 = ((struct __pyx_vtabstruct_5capnp_3lib_5capnp__DynamicStructPipeline *)((struct __pyx_obj_5capnp_3lib_5capnp__DynamicStructPipeline *)__pyx_t_3)->__pyx_vtab)->_init(((struct __pyx_obj_5capnp_3lib_5capnp__DynamicStructPipeline *)__pyx_t_3), new ::capnp::DynamicStruct::Pipeline(std::move((( ::capnp::DynamicValue::Pipeline)__pyx_v_self->thisptr->get(__pyx_t_6)).releaseAs< ::capnp::DynamicStruct>())), __pyx_t_2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1490, __pyx_L1_error)
^
capnp/lib/capnp.cpp:35780:294: note: remove std::move call here
__pyx_t_1 = ((struct __pyx_vtabstruct_5capnp_3lib_5capnp__DynamicStructPipeline *)((struct __pyx_obj_5capnp_3lib_5capnp__DynamicStructPipeline *)__pyx_t_3)->__pyx_vtab)->_init(((struct __pyx_obj_5capnp_3lib_5capnp__DynamicStructPipeline *)__pyx_t_3), new ::capnp::DynamicStruct::Pipeline(std::move((( ::capnp::DynamicValue::Pipeline)__pyx_v_self->thisptr->get(__pyx_t_6)).releaseAs< ::capnp::DynamicStruct>())), __pyx_t_2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1490, __pyx_L1_error)
^~~~~~~~~~ ~
capnp/lib/capnp.cpp:40181:53: warning: moving a temporary object prevents copy elision [-Wpessimizing-move]
__pyx_v_self->thisptr = new ::kj::AsyncIoContext(std::move( ::kj::setupAsyncIo()));
^
capnp/lib/capnp.cpp:40181:53: note: remove std::move call here
__pyx_v_self->thisptr = new ::kj::AsyncIoContext(std::move( ::kj::setupAsyncIo()));
^~~~~~~~~~ ~
capnp/lib/capnp.cpp:47965:294: warning: moving a temporary object prevents copy elision [-Wpessimizing-move]
__pyx_t_1 = ((struct __pyx_vtabstruct_5capnp_3lib_5capnp__DynamicStructPipeline *)((struct __pyx_obj_5capnp_3lib_5capnp__DynamicStructPipeline *)__pyx_t_3)->__pyx_vtab)->_init(((struct __pyx_obj_5capnp_3lib_5capnp__DynamicStructPipeline *)__pyx_t_3), new ::capnp::DynamicStruct::Pipeline(std::move((( ::capnp::DynamicValue::Pipeline)__pyx_v_self->thisptr->get(__pyx_t_6)).releaseAs< ::capnp::DynamicStruct>())), __pyx_t_2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1969, __pyx_L1_error)
^
capnp/lib/capnp.cpp:47965:294: note: remove std::move call here
__pyx_t_1 = ((struct __pyx_vtabstruct_5capnp_3lib_5capnp__DynamicStructPipeline *)((struct __pyx_obj_5capnp_3lib_5capnp__DynamicStructPipeline *)__pyx_t_3)->__pyx_vtab)->_init(((struct __pyx_obj_5capnp_3lib_5capnp__DynamicStructPipeline *)__pyx_t_3), new ::capnp::DynamicStruct::Pipeline(std::move((( ::capnp::DynamicValue::Pipeline)__pyx_v_self->thisptr->get(__pyx_t_6)).releaseAs< ::capnp::DynamicStruct>())), __pyx_t_2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1969, __pyx_L1_error)
^~~~~~~~~~ ~
capnp/lib/capnp.cpp:59072:104: warning: 'makeRpcServer<capnp::rpc::twoparty::VatId, capnp::AnyPointer, capnp::rpc::twoparty::ProvisionId, capnp::rpc::twoparty::RecipientId, capnp::rpc::twoparty::ThirdPartyCapId, capnp::rpc::twoparty::JoinResult>' is deprecated: Please transition to using a bootstrap interface instead. [-Wdeprecated-declarations]
__pyx_v_self->thisptr = new ::capnp::RpcSystem<capnp::rpc::twoparty::SturdyRefHostId>( ::capnp::makeRpcServer((*__pyx_v_self->_network->thisptr), (*__pyx_v_self->_restorer->thisptr)));
^
/usr/local/include/capnp/rpc.h:123:5: note: 'makeRpcServer<capnp::rpc::twoparty::VatId, capnp::AnyPointer, capnp::rpc::twoparty::ProvisionId, capnp::rpc::twoparty::RecipientId, capnp::rpc::twoparty::ThirdPartyCapId, capnp::rpc::twoparty::JoinResult>' has been explicitly marked deprecated here
KJ_DEPRECATED("Please transition to using a bootstrap interface instead.");
^
/usr/local/include/kj/common.h:174:20: note: expanded from macro 'KJ_DEPRECATED'
__attribute__((deprecated(reason)))
^
capnp/lib/capnp.cpp:62958:39: warning: 'getDependency' is deprecated: Does not handle generics correctly. [-Wdeprecated-declarations]
__pyx_t_7 = __pyx_v_self->thisptr.getDependency(__pyx_t_6);
^
/usr/local/include/capnp/schema.h:85:43: note: 'getDependency' has been explicitly marked deprecated here
Schema getDependency(uint64_t id) const KJ_DEPRECATED("Does not handle generics correctly.");
^
/usr/local/include/kj/common.h:174:20: note: expanded from macro 'KJ_DEPRECATED'
__attribute__((deprecated(reason)))
^
capnp/lib/capnp.cpp:64788:39: warning: 'getDependency' is deprecated: Does not handle generics correctly. [-Wdeprecated-declarations]
__pyx_t_7 = __pyx_v_self->thisptr.getDependency(__pyx_t_6);
^
/usr/local/include/capnp/schema.h:85:43: note: 'getDependency' has been explicitly marked deprecated here
Schema getDependency(uint64_t id) const KJ_DEPRECATED("Does not handle generics correctly.");
^
/usr/local/include/kj/common.h:174:20: note: expanded from macro 'KJ_DEPRECATED'
__attribute__((deprecated(reason)))
^
capnp/lib/capnp.cpp:67462:39: warning: 'getDependency' is deprecated: Does not handle generics correctly. [-Wdeprecated-declarations]
__pyx_t_7 = __pyx_v_self->thisptr.getDependency(__pyx_t_6);
^
/usr/local/include/capnp/schema.h:85:43: note: 'getDependency' has been explicitly marked deprecated here
Schema getDependency(uint64_t id) const KJ_DEPRECATED("Does not handle generics correctly.");
^
/usr/local/include/kj/common.h:174:20: note: expanded from macro 'KJ_DEPRECATED'
__attribute__((deprecated(reason)))
^
capnp/lib/capnp.cpp:315:5: warning: destructor called on non-final 'ErrorHandler' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor]
x.~T();
^
capnp/lib/capnp.cpp:96955:3: note: in instantiation of function template specialization '__Pyx_call_destructor<ErrorHandler>' requested here
__Pyx_call_destructor(p->_error_handler);
^
capnp/lib/capnp.cpp:315:8: note: qualify call to silence this warning
x.~T();
^
ErrorHandler::
23 warnings and 1 error generated.
error: command 'cc' failed with exit status 1
----------------------------------------
Executing: pip install --user numpy==1.12.1 pytest==3.0.7 pytest-cov==2.5.0 pytest-xdist==1.16.0 pycapnp==0.6.3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment