Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- anon@anon-VirtualBox:~$ pip3 install metawear
- Collecting metawear
- Collecting warble<2.0,>=1.1 (from metawear)
- Using cached https://files.pythonhosted.org/packages/84/6b/b46e72840edad09c1effc01f20e31eb7e5281ac16415bebfdf267c70c05c/warble-1.1.0.tar.gz
- Collecting requests (from metawear)
- Using cached https://files.pythonhosted.org/packages/f1/ca/10332a30cb25b627192b4ea272c351bce3ca1091e541245cccbace6051d8/requests-2.20.0-py2.py3-none-any.whl
- Collecting idna<2.8,>=2.5 (from requests->metawear)
- Using cached https://files.pythonhosted.org/packages/4b/2a/0276479a4b3caeb8a8c1af2f8e4355746a97fab05a372e4a2c6a6b876165/idna-2.7-py2.py3-none-any.whl
- Collecting chardet<3.1.0,>=3.0.2 (from requests->metawear)
- Using cached https://files.pythonhosted.org/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl
- Collecting certifi>=2017.4.17 (from requests->metawear)
- Using cached https://files.pythonhosted.org/packages/56/9d/1d02dd80bc4cd955f98980f28c5ee2200e1209292d5f9e9cc8d030d18655/certifi-2018.10.15-py2.py3-none-any.whl
- Collecting urllib3<1.25,>=1.21.1 (from requests->metawear)
- Using cached https://files.pythonhosted.org/packages/8c/4b/5cbc4cb46095f369117dcb751821e1bef9dd86a07c968d8757e9204c324c/urllib3-1.24-py2.py3-none-any.whl
- Building wheels for collected packages: warble
- Running setup.py bdist_wheel for warble ... error
- 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:
- running bdist_wheel
- running build
- running build_py
- make: Entering directory '/tmp/pip-build-4t9h_la_/warble/clibs/warble'
- mkdir -p build/x64/release/src/warble/cpp
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- cd deps/libblepp; LDFLAGS=-m64 ./configure
- checking for g++... g++
- 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 g++ accepts -g... yes
- checking if compiler flag -Wall works... yes
- checking if compiler flag -Wextra works... yes
- checking if compiler flag -W works... yes
- checking if compiler flag -O3 works... yes
- checking if compiler flag -ggdb works... yes
- checking whether g++ supports C++14 features by default... yes
- checking for pkg-config... /usr/bin/pkg-config
- checking for sed... sed
- checking for pkg-config library dir... ${exec_prefix}/lib/pkgconfig
- checking how to run the C++ preprocessor... g++ -E
- checking for grep that handles long lines and -e... /bin/grep
- checking for egrep... /bin/grep -E
- 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 bluetooth/bluetooth.h usability... yes
- checking bluetooth/bluetooth.h presence... yes
- checking for bluetooth/bluetooth.h... yes
- checking for library containing hci_open_dev... -lbluetooth
- checking boost/optional.hpp usability... yes
- checking boost/optional.hpp presence... yes
- checking for boost/optional.hpp... yes
- checking if compiler flag -fPIC works... yes
- configure: creating ./config.status
- config.status: creating libblepp.pc
- config.status: creating Makefile
- make -C deps/libblepp -j
- make[1]: Entering directory '/tmp/pip-build-4t9h_la_/warble/clibs/warble/deps/libblepp'
- g++ -o src/att.o -c src/att.cc -g -O2 -Wall -Wextra -W -O3 -ggdb -fPIC -I. -MMD -MP -MF src/att.d
- g++ -o src/uuid.o -c src/uuid.cc -g -O2 -Wall -Wextra -W -O3 -ggdb -fPIC -I. -MMD -MP -MF src/uuid.d
- g++ -o src/bledevice.o -c src/bledevice.cc -g -O2 -Wall -Wextra -W -O3 -ggdb -fPIC -I. -MMD -MP -MF src/bledevice.d
- 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
- 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
- g++ -o src/blestatemachine.o -c src/blestatemachine.cc -g -O2 -Wall -Wextra -W -O3 -ggdb -fPIC -I. -MMD -MP -MF src/blestatemachine.d
- g++ -o src/float.o -c src/float.cc -g -O2 -Wall -Wextra -W -O3 -ggdb -fPIC -I. -MMD -MP -MF src/float.d
- g++ -o src/logging.o -c src/logging.cc -g -O2 -Wall -Wextra -W -O3 -ggdb -fPIC -I. -MMD -MP -MF src/logging.d
- g++ -o src/lescan.o -c src/lescan.cc -g -O2 -Wall -Wextra -W -O3 -ggdb -fPIC -I. -MMD -MP -MF src/lescan.d
- g++ -o examples/lescan.o -c examples/lescan.cc -g -O2 -Wall -Wextra -W -O3 -ggdb -fPIC -I. -MMD -MP -MF examples/lescan.d
- g++ -o examples/blelogger.o -c examples/blelogger.cc -g -O2 -Wall -Wextra -W -O3 -ggdb -fPIC -I. -MMD -MP -MF examples/blelogger.d
- g++ -o examples/bluetooth.o -c examples/bluetooth.cc -g -O2 -Wall -Wextra -W -O3 -ggdb -fPIC -I. -MMD -MP -MF examples/bluetooth.d
- 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
- g++ -o examples/temperature.o -c examples/temperature.cc -g -O2 -Wall -Wextra -W -O3 -ggdb -fPIC -I. -MMD -MP -MF examples/temperature.d
- 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
- g++ -o examples/write.o -c examples/write.cc -g -O2 -Wall -Wextra -W -O3 -ggdb -fPIC -I. -MMD -MP -MF examples/write.d
- src/att.cc: In function ‘uint16_t BLEPP::enc_write_resp(uint8_t*, size_t)’:
- src/att.cc:657:47: warning: unused parameter ‘len’ [-Wunused-parameter]
- uint16_t enc_write_resp(uint8_t *pdu, size_t len)
- ^~~
- virtual memory exhausted: Cannot allocate memory
- virtual memory exhausted: Cannot allocate memory
- Makefile:161: recipe for target 'src/att_pdu.o' failed
- make[1]: *** [src/att_pdu.o] Error 1
- make[1]: *** Waiting for unfinished jobs....
- Makefile:161: recipe for target 'examples/lescan.o' failed
- make[1]: *** [examples/lescan.o] Error 1
- cc1plus: out of memory allocating 8192 bytes after a total of 1859584 bytes
- virtual memory exhausted: Cannot allocate memory
- virtual memory exhausted: Cannot allocate memory
- virtual memory exhausted: Cannot allocate memory
- virtual memory exhausted: Cannot allocate memory
- Makefile:161: recipe for target 'examples/bluetooth.o' failed
- make[1]: *** [examples/bluetooth.o] Error 1
- Makefile:161: recipe for target 'examples/blelogger.o' failed
- make[1]: *** [examples/blelogger.o] Error 1
- Makefile:161: recipe for target 'examples/lescan_simple.o' failed
- make[1]: *** [examples/lescan_simple.o] Error 1
- Makefile:161: recipe for target 'examples/temperature.o' failed
- make[1]: *** [examples/temperature.o] Error 1
- Makefile:161: recipe for target 'examples/write.o' failed
- make[1]: *** [examples/write.o] Error 1
- virtual memory exhausted: Cannot allocate memory
- virtual memory exhausted: Cannot allocate memory
- Makefile:161: recipe for target 'src/logging.o' failed
- make[1]: *** [src/logging.o] Error 1
- Makefile:161: recipe for target 'src/lescan.o' failed
- make[1]: *** [src/lescan.o] Error 1
- virtual memory exhausted: Cannot allocate memory
- Makefile:161: recipe for target 'examples/read_device_name.o' failed
- make[1]: *** [examples/read_device_name.o] Error 1
- make[1]: Leaving directory '/tmp/pip-build-4t9h_la_/warble/clibs/warble/deps/libblepp'
- Makefile:122: recipe for target 'deps/libblepp/libble++.a' failed
- make: *** [deps/libblepp/libble++.a] Error 2
- make: Leaving directory '/tmp/pip-build-4t9h_la_/warble/clibs/warble'
- Traceback (most recent call last):
- File "<string>", line 1, in <module>
- File "/tmp/pip-build-4t9h_la_/warble/setup.py", line 93, in <module>
- 'Programming Language :: Python :: 3',
- File "/usr/lib/python3/dist-packages/setuptools/__init__.py", line 129, in setup
- return distutils.core.setup(**attrs)
- File "/usr/lib/python3.6/distutils/core.py", line 148, in setup
- dist.run_commands()
- File "/usr/lib/python3.6/distutils/dist.py", line 955, in run_commands
- self.run_command(cmd)
- File "/usr/lib/python3.6/distutils/dist.py", line 974, in run_command
- cmd_obj.run()
- File "/usr/lib/python3/dist-packages/wheel/bdist_wheel.py", line 204, in run
- self.run_command('build')
- File "/usr/lib/python3.6/distutils/cmd.py", line 313, in run_command
- self.distribution.run_command(command)
- File "/usr/lib/python3.6/distutils/dist.py", line 974, in run_command
- cmd_obj.run()
- File "/usr/lib/python3.6/distutils/command/build.py", line 135, in run
- self.run_command(cmd_name)
- File "/usr/lib/python3.6/distutils/cmd.py", line 313, in run_command
- self.distribution.run_command(command)
- File "/usr/lib/python3.6/distutils/dist.py", line 974, in run_command
- cmd_obj.run()
- File "/tmp/pip-build-4t9h_la_/warble/setup.py", line 60, in run
- raise RuntimeError("Failed to compile libwarble.so")
- RuntimeError: Failed to compile libwarble.so
- ----------------------------------------
- Failed building wheel for warble
- Running setup.py clean for warble
- Failed to build warble
- Installing collected packages: warble, idna, chardet, certifi, urllib3, requests, metawear
- Running setup.py install for warble ... error
- 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=:
- running install
- running build
- running build_py
- make: Entering directory '/tmp/pip-build-4t9h_la_/warble/clibs/warble'
- make -C deps/libblepp -j
- make[1]: Entering directory '/tmp/pip-build-4t9h_la_/warble/clibs/warble/deps/libblepp'
- 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
- g++ -o src/logging.o -c src/logging.cc -g -O2 -Wall -Wextra -W -O3 -ggdb -fPIC -I. -MMD -MP -MF src/logging.d
- g++ -o src/lescan.o -c src/lescan.cc -g -O2 -Wall -Wextra -W -O3 -ggdb -fPIC -I. -MMD -MP -MF src/lescan.d
- g++ -o examples/lescan.o -c examples/lescan.cc -g -O2 -Wall -Wextra -W -O3 -ggdb -fPIC -I. -MMD -MP -MF examples/lescan.d
- g++ -o examples/blelogger.o -c examples/blelogger.cc -g -O2 -Wall -Wextra -W -O3 -ggdb -fPIC -I. -MMD -MP -MF examples/blelogger.d
- g++ -o examples/bluetooth.o -c examples/bluetooth.cc -g -O2 -Wall -Wextra -W -O3 -ggdb -fPIC -I. -MMD -MP -MF examples/bluetooth.d
- 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
- g++ -o examples/temperature.o -c examples/temperature.cc -g -O2 -Wall -Wextra -W -O3 -ggdb -fPIC -I. -MMD -MP -MF examples/temperature.d
- 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
- g++ -o examples/write.o -c examples/write.cc -g -O2 -Wall -Wextra -W -O3 -ggdb -fPIC -I. -MMD -MP -MF examples/write.d
- cc1plus: out of memory allocating 65536 bytes after a total of 1945600 bytes
- cc1plus: out of memory allocating 65536 bytes after a total of 1945600 bytes
- cc1plus: out of memory allocating 65536 bytes after a total of 1904640 bytes
- cc1plus: out of memory allocating 65536 bytes after a total of 1945600 bytes
- virtual memory exhausted: Cannot allocate memory
- Makefile:161: recipe for target 'examples/temperature.o' failed
- make[1]: *** [examples/temperature.o] Error 1
- make[1]: *** Waiting for unfinished jobs....
- Makefile:161: recipe for target 'src/att_pdu.o' failed
- make[1]: *** [src/att_pdu.o] Error 1
- Makefile:161: recipe for target 'examples/blelogger.o' failed
- make[1]: *** [examples/blelogger.o] Error 1
- Makefile:161: recipe for target 'examples/read_device_name.o' failed
- make[1]: *** [examples/read_device_name.o] Error 1
- Makefile:161: recipe for target 'examples/write.o' failed
- make[1]: *** [examples/write.o] Error 1
- virtual memory exhausted: Cannot allocate memory
- virtual memory exhausted: Cannot allocate memory
- Makefile:161: recipe for target 'src/logging.o' failed
- make[1]: *** [src/logging.o] Error 1
- Makefile:161: recipe for target 'examples/lescan_simple.o' failed
- make[1]: *** [examples/lescan_simple.o] Error 1
- examples/bluetooth.cc: In function ‘int main(int, char**)’:
- examples/bluetooth.cc:266:9: warning: unused variable ‘result’ [-Wunused-variable]
- int result = select(gatt.socket() + 1, &read_set, &write_set, NULL, & tv);
- ^~~~~~
- virtual memory exhausted: Cannot allocate memory
- Makefile:161: recipe for target 'examples/bluetooth.o' failed
- make[1]: *** [examples/bluetooth.o] Error 1
- make[1]: Leaving directory '/tmp/pip-build-4t9h_la_/warble/clibs/warble/deps/libblepp'
- Makefile:122: recipe for target 'deps/libblepp/libble++.a' failed
- make: *** [deps/libblepp/libble++.a] Error 2
- make: Leaving directory '/tmp/pip-build-4t9h_la_/warble/clibs/warble'
- Traceback (most recent call last):
- File "<string>", line 1, in <module>
- File "/tmp/pip-build-4t9h_la_/warble/setup.py", line 93, in <module>
- 'Programming Language :: Python :: 3',
- File "/usr/lib/python3/dist-packages/setuptools/__init__.py", line 129, in setup
- return distutils.core.setup(**attrs)
- File "/usr/lib/python3.6/distutils/core.py", line 148, in setup
- dist.run_commands()
- File "/usr/lib/python3.6/distutils/dist.py", line 955, in run_commands
- self.run_command(cmd)
- File "/usr/lib/python3.6/distutils/dist.py", line 974, in run_command
- cmd_obj.run()
- File "/usr/lib/python3/dist-packages/setuptools/command/install.py", line 61, in run
- return orig.install.run(self)
- File "/usr/lib/python3.6/distutils/command/install.py", line 589, in run
- self.run_command('build')
- File "/usr/lib/python3.6/distutils/cmd.py", line 313, in run_command
- self.distribution.run_command(command)
- File "/usr/lib/python3.6/distutils/dist.py", line 974, in run_command
- cmd_obj.run()
- File "/usr/lib/python3.6/distutils/command/build.py", line 135, in run
- self.run_command(cmd_name)
- File "/usr/lib/python3.6/distutils/cmd.py", line 313, in run_command
- self.distribution.run_command(command)
- File "/usr/lib/python3.6/distutils/dist.py", line 974, in run_command
- cmd_obj.run()
- File "/tmp/pip-build-4t9h_la_/warble/setup.py", line 60, in run
- raise RuntimeError("Failed to compile libwarble.so")
- RuntimeError: Failed to compile libwarble.so
- ----------------------------------------
- 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