Advertisement
Guest User

Untitled

a guest
Oct 26th, 2018
338
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 18.35 KB | None | 0 0
  1. anon@anon-VirtualBox:~$ pip3 install metawear
  2. Collecting metawear
  3. Collecting warble<2.0,>=1.1 (from metawear)
  4. Using cached https://files.pythonhosted.org/packages/84/6b/b46e72840edad09c1effc01f20e31eb7e5281ac16415bebfdf267c70c05c/warble-1.1.0.tar.gz
  5. Collecting requests (from metawear)
  6. Using cached https://files.pythonhosted.org/packages/f1/ca/10332a30cb25b627192b4ea272c351bce3ca1091e541245cccbace6051d8/requests-2.20.0-py2.py3-none-any.whl
  7. Collecting idna<2.8,>=2.5 (from requests->metawear)
  8. Using cached https://files.pythonhosted.org/packages/4b/2a/0276479a4b3caeb8a8c1af2f8e4355746a97fab05a372e4a2c6a6b876165/idna-2.7-py2.py3-none-any.whl
  9. Collecting chardet<3.1.0,>=3.0.2 (from requests->metawear)
  10. Using cached https://files.pythonhosted.org/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl
  11. Collecting certifi>=2017.4.17 (from requests->metawear)
  12. Using cached https://files.pythonhosted.org/packages/56/9d/1d02dd80bc4cd955f98980f28c5ee2200e1209292d5f9e9cc8d030d18655/certifi-2018.10.15-py2.py3-none-any.whl
  13. Collecting urllib3<1.25,>=1.21.1 (from requests->metawear)
  14. Using cached https://files.pythonhosted.org/packages/8c/4b/5cbc4cb46095f369117dcb751821e1bef9dd86a07c968d8757e9204c324c/urllib3-1.24-py2.py3-none-any.whl
  15. Building wheels for collected packages: warble
  16. Running setup.py bdist_wheel for warble ... error
  17. Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-4t9h_la_/warble/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /tmp/tmp61zuohjypip-wheel- --python-tag cp36:
  18. running bdist_wheel
  19. running build
  20. running build_py
  21. make: Entering directory '/tmp/pip-build-4t9h_la_/warble/clibs/warble'
  22. mkdir -p build/x64/release/src/warble/cpp
  23. g++ -MMD -MP -MF "build/x64/release/src/warble/cpp/blepp_utils.d" -c -o build/x64/release/src/warble/cpp/blepp_utils.o -std=c++14 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wall -Werror -DWARBLE_DLL -DWARBLE_DLL_EXPORT -Isrc -O3 -DAPI_BLEPP -Ideps/libblepp -m64 src/warble/cpp/blepp_utils.cpp
  24. g++ -MMD -MP -MF "build/x64/release/src/warble/cpp/win10_scanner.d" -c -o build/x64/release/src/warble/cpp/win10_scanner.o -std=c++14 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wall -Werror -DWARBLE_DLL -DWARBLE_DLL_EXPORT -Isrc -O3 -DAPI_BLEPP -Ideps/libblepp -m64 src/warble/cpp/win10_scanner.cpp
  25. g++ -MMD -MP -MF "build/x64/release/src/warble/cpp/lib.d" -c -o build/x64/release/src/warble/cpp/lib.o -std=c++14 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wall -Werror -DWARBLE_DLL -DWARBLE_DLL_EXPORT -Isrc -O3 -DAPI_BLEPP -Ideps/libblepp -m64 src/warble/cpp/lib.cpp
  26. g++ -MMD -MP -MF "build/x64/release/src/warble/cpp/scanner.d" -c -o build/x64/release/src/warble/cpp/scanner.o -std=c++14 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wall -Werror -DWARBLE_DLL -DWARBLE_DLL_EXPORT -Isrc -O3 -DAPI_BLEPP -Ideps/libblepp -m64 src/warble/cpp/scanner.cpp
  27. g++ -MMD -MP -MF "build/x64/release/src/warble/cpp/win10_api.d" -c -o build/x64/release/src/warble/cpp/win10_api.o -std=c++14 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wall -Werror -DWARBLE_DLL -DWARBLE_DLL_EXPORT -Isrc -O3 -DAPI_BLEPP -Ideps/libblepp -m64 src/warble/cpp/win10_api.cpp
  28. g++ -MMD -MP -MF "build/x64/release/src/warble/cpp/blepp_api.d" -c -o build/x64/release/src/warble/cpp/blepp_api.o -std=c++14 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wall -Werror -DWARBLE_DLL -DWARBLE_DLL_EXPORT -Isrc -O3 -DAPI_BLEPP -Ideps/libblepp -m64 src/warble/cpp/blepp_api.cpp
  29. g++ -MMD -MP -MF "build/x64/release/src/warble/cpp/gatt.d" -c -o build/x64/release/src/warble/cpp/gatt.o -std=c++14 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wall -Werror -DWARBLE_DLL -DWARBLE_DLL_EXPORT -Isrc -O3 -DAPI_BLEPP -Ideps/libblepp -m64 src/warble/cpp/gatt.cpp
  30. g++ -MMD -MP -MF "build/x64/release/src/warble/cpp/gattchar.d" -c -o build/x64/release/src/warble/cpp/gattchar.o -std=c++14 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wall -Werror -DWARBLE_DLL -DWARBLE_DLL_EXPORT -Isrc -O3 -DAPI_BLEPP -Ideps/libblepp -m64 src/warble/cpp/gattchar.cpp
  31. g++ -MMD -MP -MF "build/x64/release/src/warble/cpp/blepp_scanner.d" -c -o build/x64/release/src/warble/cpp/blepp_scanner.o -std=c++14 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wall -Werror -DWARBLE_DLL -DWARBLE_DLL_EXPORT -Isrc -O3 -DAPI_BLEPP -Ideps/libblepp -m64 src/warble/cpp/blepp_scanner.cpp
  32. cd deps/libblepp; LDFLAGS=-m64 ./configure
  33. checking for g++... g++
  34. checking whether the C++ compiler works... yes
  35. checking for C++ compiler default output file name... a.out
  36. checking for suffix of executables...
  37. checking whether we are cross compiling... no
  38. checking for suffix of object files... o
  39. checking whether we are using the GNU C++ compiler... yes
  40. checking whether g++ accepts -g... yes
  41. checking if compiler flag -Wall works... yes
  42. checking if compiler flag -Wextra works... yes
  43. checking if compiler flag -W works... yes
  44. checking if compiler flag -O3 works... yes
  45. checking if compiler flag -ggdb works... yes
  46. checking whether g++ supports C++14 features by default... yes
  47. checking for pkg-config... /usr/bin/pkg-config
  48. checking for sed... sed
  49. checking for pkg-config library dir... ${exec_prefix}/lib/pkgconfig
  50. checking how to run the C++ preprocessor... g++ -E
  51. checking for grep that handles long lines and -e... /bin/grep
  52. checking for egrep... /bin/grep -E
  53. checking for ANSI C header files... yes
  54. checking for sys/types.h... yes
  55. checking for sys/stat.h... yes
  56. checking for stdlib.h... yes
  57. checking for string.h... yes
  58. checking for memory.h... yes
  59. checking for strings.h... yes
  60. checking for inttypes.h... yes
  61. checking for stdint.h... yes
  62. checking for unistd.h... yes
  63. checking bluetooth/bluetooth.h usability... yes
  64. checking bluetooth/bluetooth.h presence... yes
  65. checking for bluetooth/bluetooth.h... yes
  66. checking for library containing hci_open_dev... -lbluetooth
  67. checking boost/optional.hpp usability... yes
  68. checking boost/optional.hpp presence... yes
  69. checking for boost/optional.hpp... yes
  70. checking if compiler flag -fPIC works... yes
  71. configure: creating ./config.status
  72. config.status: creating libblepp.pc
  73. config.status: creating Makefile
  74. make -C deps/libblepp -j
  75. make[1]: Entering directory '/tmp/pip-build-4t9h_la_/warble/clibs/warble/deps/libblepp'
  76. g++ -o src/att.o -c src/att.cc -g -O2 -Wall -Wextra -W -O3 -ggdb -fPIC -I. -MMD -MP -MF src/att.d
  77. g++ -o src/uuid.o -c src/uuid.cc -g -O2 -Wall -Wextra -W -O3 -ggdb -fPIC -I. -MMD -MP -MF src/uuid.d
  78. g++ -o src/bledevice.o -c src/bledevice.cc -g -O2 -Wall -Wextra -W -O3 -ggdb -fPIC -I. -MMD -MP -MF src/bledevice.d
  79. g++ -o src/att_pdu.o -c src/att_pdu.cc -g -O2 -Wall -Wextra -W -O3 -ggdb -fPIC -I. -MMD -MP -MF src/att_pdu.d
  80. g++ -o src/pretty_printers.o -c src/pretty_printers.cc -g -O2 -Wall -Wextra -W -O3 -ggdb -fPIC -I. -MMD -MP -MF src/pretty_printers.d
  81. g++ -o src/blestatemachine.o -c src/blestatemachine.cc -g -O2 -Wall -Wextra -W -O3 -ggdb -fPIC -I. -MMD -MP -MF src/blestatemachine.d
  82. g++ -o src/float.o -c src/float.cc -g -O2 -Wall -Wextra -W -O3 -ggdb -fPIC -I. -MMD -MP -MF src/float.d
  83. g++ -o src/logging.o -c src/logging.cc -g -O2 -Wall -Wextra -W -O3 -ggdb -fPIC -I. -MMD -MP -MF src/logging.d
  84. g++ -o src/lescan.o -c src/lescan.cc -g -O2 -Wall -Wextra -W -O3 -ggdb -fPIC -I. -MMD -MP -MF src/lescan.d
  85. g++ -o examples/lescan.o -c examples/lescan.cc -g -O2 -Wall -Wextra -W -O3 -ggdb -fPIC -I. -MMD -MP -MF examples/lescan.d
  86. g++ -o examples/blelogger.o -c examples/blelogger.cc -g -O2 -Wall -Wextra -W -O3 -ggdb -fPIC -I. -MMD -MP -MF examples/blelogger.d
  87. g++ -o examples/bluetooth.o -c examples/bluetooth.cc -g -O2 -Wall -Wextra -W -O3 -ggdb -fPIC -I. -MMD -MP -MF examples/bluetooth.d
  88. g++ -o examples/lescan_simple.o -c examples/lescan_simple.cc -g -O2 -Wall -Wextra -W -O3 -ggdb -fPIC -I. -MMD -MP -MF examples/lescan_simple.d
  89. g++ -o examples/temperature.o -c examples/temperature.cc -g -O2 -Wall -Wextra -W -O3 -ggdb -fPIC -I. -MMD -MP -MF examples/temperature.d
  90. g++ -o examples/read_device_name.o -c examples/read_device_name.cc -g -O2 -Wall -Wextra -W -O3 -ggdb -fPIC -I. -MMD -MP -MF examples/read_device_name.d
  91. g++ -o examples/write.o -c examples/write.cc -g -O2 -Wall -Wextra -W -O3 -ggdb -fPIC -I. -MMD -MP -MF examples/write.d
  92. src/att.cc: In function ‘uint16_t BLEPP::enc_write_resp(uint8_t*, size_t)’:
  93. src/att.cc:657:47: warning: unused parameter ‘len’ [-Wunused-parameter]
  94. uint16_t enc_write_resp(uint8_t *pdu, size_t len)
  95. ^~~
  96. virtual memory exhausted: Cannot allocate memory
  97. virtual memory exhausted: Cannot allocate memory
  98. Makefile:161: recipe for target 'src/att_pdu.o' failed
  99. make[1]: *** [src/att_pdu.o] Error 1
  100. make[1]: *** Waiting for unfinished jobs....
  101. Makefile:161: recipe for target 'examples/lescan.o' failed
  102. make[1]: *** [examples/lescan.o] Error 1
  103.  
  104. cc1plus: out of memory allocating 8192 bytes after a total of 1859584 bytes
  105. virtual memory exhausted: Cannot allocate memory
  106. virtual memory exhausted: Cannot allocate memory
  107. virtual memory exhausted: Cannot allocate memory
  108. virtual memory exhausted: Cannot allocate memory
  109. Makefile:161: recipe for target 'examples/bluetooth.o' failed
  110. make[1]: *** [examples/bluetooth.o] Error 1
  111. Makefile:161: recipe for target 'examples/blelogger.o' failed
  112. make[1]: *** [examples/blelogger.o] Error 1
  113. Makefile:161: recipe for target 'examples/lescan_simple.o' failed
  114. make[1]: *** [examples/lescan_simple.o] Error 1
  115. Makefile:161: recipe for target 'examples/temperature.o' failed
  116. make[1]: *** [examples/temperature.o] Error 1
  117. Makefile:161: recipe for target 'examples/write.o' failed
  118. make[1]: *** [examples/write.o] Error 1
  119. virtual memory exhausted: Cannot allocate memory
  120. virtual memory exhausted: Cannot allocate memory
  121. Makefile:161: recipe for target 'src/logging.o' failed
  122. make[1]: *** [src/logging.o] Error 1
  123. Makefile:161: recipe for target 'src/lescan.o' failed
  124. make[1]: *** [src/lescan.o] Error 1
  125. virtual memory exhausted: Cannot allocate memory
  126. Makefile:161: recipe for target 'examples/read_device_name.o' failed
  127. make[1]: *** [examples/read_device_name.o] Error 1
  128. make[1]: Leaving directory '/tmp/pip-build-4t9h_la_/warble/clibs/warble/deps/libblepp'
  129. Makefile:122: recipe for target 'deps/libblepp/libble++.a' failed
  130. make: *** [deps/libblepp/libble++.a] Error 2
  131. make: Leaving directory '/tmp/pip-build-4t9h_la_/warble/clibs/warble'
  132. Traceback (most recent call last):
  133. File "<string>", line 1, in <module>
  134. File "/tmp/pip-build-4t9h_la_/warble/setup.py", line 93, in <module>
  135. 'Programming Language :: Python :: 3',
  136. File "/usr/lib/python3/dist-packages/setuptools/__init__.py", line 129, in setup
  137. return distutils.core.setup(**attrs)
  138. File "/usr/lib/python3.6/distutils/core.py", line 148, in setup
  139. dist.run_commands()
  140. File "/usr/lib/python3.6/distutils/dist.py", line 955, in run_commands
  141. self.run_command(cmd)
  142. File "/usr/lib/python3.6/distutils/dist.py", line 974, in run_command
  143. cmd_obj.run()
  144. File "/usr/lib/python3/dist-packages/wheel/bdist_wheel.py", line 204, in run
  145. self.run_command('build')
  146. File "/usr/lib/python3.6/distutils/cmd.py", line 313, in run_command
  147. self.distribution.run_command(command)
  148. File "/usr/lib/python3.6/distutils/dist.py", line 974, in run_command
  149. cmd_obj.run()
  150. File "/usr/lib/python3.6/distutils/command/build.py", line 135, in run
  151. self.run_command(cmd_name)
  152. File "/usr/lib/python3.6/distutils/cmd.py", line 313, in run_command
  153. self.distribution.run_command(command)
  154. File "/usr/lib/python3.6/distutils/dist.py", line 974, in run_command
  155. cmd_obj.run()
  156. File "/tmp/pip-build-4t9h_la_/warble/setup.py", line 60, in run
  157. raise RuntimeError("Failed to compile libwarble.so")
  158. RuntimeError: Failed to compile libwarble.so
  159.  
  160. ----------------------------------------
  161. Failed building wheel for warble
  162. Running setup.py clean for warble
  163. Failed to build warble
  164. Installing collected packages: warble, idna, chardet, certifi, urllib3, requests, metawear
  165. Running setup.py install for warble ... error
  166. Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-4t9h_la_/warble/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-8i4aj56j-record/install-record.txt --single-version-externally-managed --compile --user --prefix=:
  167. running install
  168. running build
  169. running build_py
  170. make: Entering directory '/tmp/pip-build-4t9h_la_/warble/clibs/warble'
  171. make -C deps/libblepp -j
  172. make[1]: Entering directory '/tmp/pip-build-4t9h_la_/warble/clibs/warble/deps/libblepp'
  173. g++ -o src/att_pdu.o -c src/att_pdu.cc -g -O2 -Wall -Wextra -W -O3 -ggdb -fPIC -I. -MMD -MP -MF src/att_pdu.d
  174. g++ -o src/logging.o -c src/logging.cc -g -O2 -Wall -Wextra -W -O3 -ggdb -fPIC -I. -MMD -MP -MF src/logging.d
  175. g++ -o src/lescan.o -c src/lescan.cc -g -O2 -Wall -Wextra -W -O3 -ggdb -fPIC -I. -MMD -MP -MF src/lescan.d
  176. g++ -o examples/lescan.o -c examples/lescan.cc -g -O2 -Wall -Wextra -W -O3 -ggdb -fPIC -I. -MMD -MP -MF examples/lescan.d
  177. g++ -o examples/blelogger.o -c examples/blelogger.cc -g -O2 -Wall -Wextra -W -O3 -ggdb -fPIC -I. -MMD -MP -MF examples/blelogger.d
  178. g++ -o examples/bluetooth.o -c examples/bluetooth.cc -g -O2 -Wall -Wextra -W -O3 -ggdb -fPIC -I. -MMD -MP -MF examples/bluetooth.d
  179. g++ -o examples/lescan_simple.o -c examples/lescan_simple.cc -g -O2 -Wall -Wextra -W -O3 -ggdb -fPIC -I. -MMD -MP -MF examples/lescan_simple.d
  180. g++ -o examples/temperature.o -c examples/temperature.cc -g -O2 -Wall -Wextra -W -O3 -ggdb -fPIC -I. -MMD -MP -MF examples/temperature.d
  181. g++ -o examples/read_device_name.o -c examples/read_device_name.cc -g -O2 -Wall -Wextra -W -O3 -ggdb -fPIC -I. -MMD -MP -MF examples/read_device_name.d
  182. g++ -o examples/write.o -c examples/write.cc -g -O2 -Wall -Wextra -W -O3 -ggdb -fPIC -I. -MMD -MP -MF examples/write.d
  183.  
  184. cc1plus: out of memory allocating 65536 bytes after a total of 1945600 bytes
  185.  
  186. cc1plus: out of memory allocating 65536 bytes after a total of 1945600 bytes
  187.  
  188. cc1plus: out of memory allocating 65536 bytes after a total of 1904640 bytes
  189.  
  190. cc1plus: out of memory allocating 65536 bytes after a total of 1945600 bytes
  191. virtual memory exhausted: Cannot allocate memory
  192. Makefile:161: recipe for target 'examples/temperature.o' failed
  193. make[1]: *** [examples/temperature.o] Error 1
  194. make[1]: *** Waiting for unfinished jobs....
  195. Makefile:161: recipe for target 'src/att_pdu.o' failed
  196. make[1]: *** [src/att_pdu.o] Error 1
  197. Makefile:161: recipe for target 'examples/blelogger.o' failed
  198. make[1]: *** [examples/blelogger.o] Error 1
  199. Makefile:161: recipe for target 'examples/read_device_name.o' failed
  200. make[1]: *** [examples/read_device_name.o] Error 1
  201. Makefile:161: recipe for target 'examples/write.o' failed
  202. make[1]: *** [examples/write.o] Error 1
  203. virtual memory exhausted: Cannot allocate memory
  204. virtual memory exhausted: Cannot allocate memory
  205. Makefile:161: recipe for target 'src/logging.o' failed
  206. make[1]: *** [src/logging.o] Error 1
  207. Makefile:161: recipe for target 'examples/lescan_simple.o' failed
  208. make[1]: *** [examples/lescan_simple.o] Error 1
  209. examples/bluetooth.cc: In function ‘int main(int, char**)’:
  210. examples/bluetooth.cc:266:9: warning: unused variable ‘result’ [-Wunused-variable]
  211. int result = select(gatt.socket() + 1, &read_set, &write_set, NULL, & tv);
  212. ^~~~~~
  213. virtual memory exhausted: Cannot allocate memory
  214. Makefile:161: recipe for target 'examples/bluetooth.o' failed
  215. make[1]: *** [examples/bluetooth.o] Error 1
  216. make[1]: Leaving directory '/tmp/pip-build-4t9h_la_/warble/clibs/warble/deps/libblepp'
  217. Makefile:122: recipe for target 'deps/libblepp/libble++.a' failed
  218. make: *** [deps/libblepp/libble++.a] Error 2
  219. make: Leaving directory '/tmp/pip-build-4t9h_la_/warble/clibs/warble'
  220. Traceback (most recent call last):
  221. File "<string>", line 1, in <module>
  222. File "/tmp/pip-build-4t9h_la_/warble/setup.py", line 93, in <module>
  223. 'Programming Language :: Python :: 3',
  224. File "/usr/lib/python3/dist-packages/setuptools/__init__.py", line 129, in setup
  225. return distutils.core.setup(**attrs)
  226. File "/usr/lib/python3.6/distutils/core.py", line 148, in setup
  227. dist.run_commands()
  228. File "/usr/lib/python3.6/distutils/dist.py", line 955, in run_commands
  229. self.run_command(cmd)
  230. File "/usr/lib/python3.6/distutils/dist.py", line 974, in run_command
  231. cmd_obj.run()
  232. File "/usr/lib/python3/dist-packages/setuptools/command/install.py", line 61, in run
  233. return orig.install.run(self)
  234. File "/usr/lib/python3.6/distutils/command/install.py", line 589, in run
  235. self.run_command('build')
  236. File "/usr/lib/python3.6/distutils/cmd.py", line 313, in run_command
  237. self.distribution.run_command(command)
  238. File "/usr/lib/python3.6/distutils/dist.py", line 974, in run_command
  239. cmd_obj.run()
  240. File "/usr/lib/python3.6/distutils/command/build.py", line 135, in run
  241. self.run_command(cmd_name)
  242. File "/usr/lib/python3.6/distutils/cmd.py", line 313, in run_command
  243. self.distribution.run_command(command)
  244. File "/usr/lib/python3.6/distutils/dist.py", line 974, in run_command
  245. cmd_obj.run()
  246. File "/tmp/pip-build-4t9h_la_/warble/setup.py", line 60, in run
  247. raise RuntimeError("Failed to compile libwarble.so")
  248. RuntimeError: Failed to compile libwarble.so
  249.  
  250. ----------------------------------------
  251. Command "/usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-4t9h_la_/warble/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-8i4aj56j-record/install-record.txt --single-version-externally-managed --compile --user --prefix=" failed with error code 1 in /tmp/pip-build-4t9h_la_/warble/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement