Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation Issue on Raspberry Pi #176

Closed
satay99 opened this issue Apr 4, 2021 · 6 comments · Fixed by #177
Closed

Installation Issue on Raspberry Pi #176

satay99 opened this issue Apr 4, 2021 · 6 comments · Fixed by #177
Labels
bug This issue is a bug.

Comments

@satay99
Copy link

satay99 commented Apr 4, 2021

I have an issue with aws-iot-device-sdk-python-v2 installation on Raspberry Pi

Setup:-
• raspbian 10.9 (buster)
• Pi 3 Model B revision 1.2
• pip version 20.3.4
• Python 3.7

I ran into problem when installing AWS IoT Device SDK v2 for Python from source as well as using PyPI. I have also install cmake and libssl-dev as suggested. The error seems to come from CMakeLists.txt:660. Any help will be appreciated.

This is the error message:-

`Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Processing ./aws-iot-device-sdk-python-v2
Collecting awscrt==0.11.4 (from awsiotsdk==1.0.0.dev0)
Using cached https://files.pythonhosted.org/packages/31/3a/4914c140ec0ef203db8c7cef0e84c6eee1b54316766e77d5013af23cef12/awscrt-0.11.4.tar.gz
Building wheels for collected packages: awsiotsdk, awscrt
Running setup.py bdist_wheel for awsiotsdk ... done
Stored in directory: /home/pi/.cache/pip/wheels/c2/c1/c8/34fc01d6902334ae9a2945b916990246499b722dfd1bfe1970
Running setup.py bdist_wheel for awscrt ... error
Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;file='/tmp/pip-install-apiudahh/awscrt/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/pip-wheel-wa6brwre --python-tag cp37:
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-armv7l-3.7
creating build/lib.linux-armv7l-3.7/awscrt
copying awscrt/io.py -> build/lib.linux-armv7l-3.7/awscrt
copying awscrt/crypto.py -> build/lib.linux-armv7l-3.7/awscrt
copying awscrt/exceptions.py -> build/lib.linux-armv7l-3.7/awscrt
copying awscrt/init.py -> build/lib.linux-armv7l-3.7/awscrt
copying awscrt/common.py -> build/lib.linux-armv7l-3.7/awscrt
copying awscrt/mqtt.py -> build/lib.linux-armv7l-3.7/awscrt
copying awscrt/http.py -> build/lib.linux-armv7l-3.7/awscrt
copying awscrt/s3.py -> build/lib.linux-armv7l-3.7/awscrt
copying awscrt/auth.py -> build/lib.linux-armv7l-3.7/awscrt
creating build/lib.linux-armv7l-3.7/awscrt/eventstream
copying awscrt/eventstream/init.py -> build/lib.linux-armv7l-3.7/awscrt/eventstream
copying awscrt/eventstream/rpc.py -> build/lib.linux-armv7l-3.7/awscrt/eventstream
running build_ext
--- Building dependency: aws-lc (RelWithDebInfo) ---
/usr/bin/cmake -DCMAKE_PREFIX_PATH=/tmp/pip-install-apiudahh/awscrt/build/deps/install -DCMAKE_INSTALL_PREFIX=/tmp/pip-install-apiudahh/awscrt/build/deps/install -DBUILD_SHARED_LIBS=OFF -DCMAKE_BUILD_TYPE=RelWithDebInfo -DBUILD_TESTING=OFF -DCMAKE_POSITION_INDEPENDENT_CODE=ON -DBUILD_LIBSSL=OFF /tmp/pip-install-apiudahh/awscrt/crt/aws-lc
-- The C compiler identification is GNU 8.3.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Found Perl: /usr/bin/perl (found version "5.28.1")
-- Checking for module 'libunwind-generic'
-- No package 'libunwind-generic' found
libunwind not found. Disabling unwind tests.
-- Go not found. Disabling some code generation and using pre-generated code in generated-src/
-- The ASM compiler identification is GNU
-- Found assembler: /usr/bin/cc
CMake Error at CMakeLists.txt:660 (add_subdirectory):
add_subdirectory given source "util/fipstools/cavp" which is not an
existing directory.

CMake Error at CMakeLists.txt:661 (add_subdirectory):
add_subdirectory given source "util/fipstools/acvp/modulewrapper" which is
not an existing directory.

-- Configuring incomplete, errors occurred!
See also "/tmp/pip-install-apiudahh/awscrt/build/deps/aws-lc/CMakeFiles/CMakeOutput.log".
Traceback (most recent call last):
File "", line 1, in
File "/tmp/pip-install-apiudahh/awscrt/setup.py", line 280, in
'boto3'
File "/usr/lib/python3/dist-packages/setuptools/init.py", line 145, in setup
return distutils.core.setup(**attrs)
File "/usr/lib/python3.7/distutils/core.py", line 148, in setup
dist.run_commands()
File "/usr/lib/python3.7/distutils/dist.py", line 966, in run_commands
self.run_command(cmd)
File "/usr/lib/python3.7/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/usr/lib/python3/dist-packages/wheel/bdist_wheel.py", line 188, in run
self.run_command('build')
File "/usr/lib/python3.7/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/lib/python3.7/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/usr/lib/python3.7/distutils/command/build.py", line 135, in run
self.run_command(cmd_name)
File "/usr/lib/python3.7/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/lib/python3.7/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/tmp/pip-install-apiudahh/awscrt/setup.py", line 194, in run
self._build_dependency(lib)
File "/tmp/pip-install-apiudahh/awscrt/setup.py", line 175, in _build_dependency
subprocess.check_call(cmake_args)
File "/usr/lib/python3.7/subprocess.py", line 347, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/usr/bin/cmake', '-DCMAKE_PREFIX_PATH=/tmp/pip-install-apiudahh/awscrt/build/deps/install', '-DCMAKE_INSTALL_PREFIX=/tmp/pip-install-apiudahh/awscrt/build/deps/install', '-DBUILD_SHARED_LIBS=OFF', '-DCMAKE_BUILD_TYPE=RelWithDebInfo', '-DBUILD_TESTING=OFF', '-DCMAKE_POSITION_INDEPENDENT_CODE=ON', '-DBUILD_LIBSSL=OFF', '/tmp/pip-install-apiudahh/awscrt/crt/aws-lc']' returned non-zero exit status 1.


Failed building wheel for awscrt
Running setup.py clean for awscrt
Successfully built awsiotsdk
Failed to build awscrt
Installing collected packages: awscrt, awsiotsdk
Running setup.py install for awscrt ... error
Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;file='/tmp/pip-install-apiudahh/awscrt/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-record-bnasw_9w/install-record.txt --single-version-externally-managed --compile --user --prefix=:
running install
running build
running build_py
creating build/lib.linux-armv7l-3.7
creating build/lib.linux-armv7l-3.7/awscrt
copying awscrt/io.py -> build/lib.linux-armv7l-3.7/awscrt
copying awscrt/crypto.py -> build/lib.linux-armv7l-3.7/awscrt
copying awscrt/exceptions.py -> build/lib.linux-armv7l-3.7/awscrt
copying awscrt/init.py -> build/lib.linux-armv7l-3.7/awscrt
copying awscrt/common.py -> build/lib.linux-armv7l-3.7/awscrt
copying awscrt/mqtt.py -> build/lib.linux-armv7l-3.7/awscrt
copying awscrt/http.py -> build/lib.linux-armv7l-3.7/awscrt
copying awscrt/s3.py -> build/lib.linux-armv7l-3.7/awscrt
copying awscrt/auth.py -> build/lib.linux-armv7l-3.7/awscrt
creating build/lib.linux-armv7l-3.7/awscrt/eventstream
copying awscrt/eventstream/init.py -> build/lib.linux-armv7l-3.7/awscrt/eventstream
copying awscrt/eventstream/rpc.py -> build/lib.linux-armv7l-3.7/awscrt/eventstream
running build_ext
--- Building dependency: aws-lc (RelWithDebInfo) ---
/usr/bin/cmake -DCMAKE_PREFIX_PATH=/tmp/pip-install-apiudahh/awscrt/build/deps/install -DCMAKE_INSTALL_PREFIX=/tmp/pip-install-apiudahh/awscrt/build/deps/install -DBUILD_SHARED_LIBS=OFF -DCMAKE_BUILD_TYPE=RelWithDebInfo -DBUILD_TESTING=OFF -DCMAKE_POSITION_INDEPENDENT_CODE=ON -DBUILD_LIBSSL=OFF /tmp/pip-install-apiudahh/awscrt/crt/aws-lc
-- Checking for module 'libunwind-generic'
-- No package 'libunwind-generic' found
libunwind not found. Disabling unwind tests.
-- Go not found. Disabling some code generation and using pre-generated code in generated-src/
CMake Error at CMakeLists.txt:660 (add_subdirectory):
add_subdirectory given source "util/fipstools/cavp" which is not an
existing directory.

CMake Error at CMakeLists.txt:661 (add_subdirectory):
  add_subdirectory given source "util/fipstools/acvp/modulewrapper" which is
  not an existing directory.


-- Configuring incomplete, errors occurred!
See also "/tmp/pip-install-apiudahh/awscrt/build/deps/aws-lc/CMakeFiles/CMakeOutput.log".
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/tmp/pip-install-apiudahh/awscrt/setup.py", line 280, in <module>
    'boto3'
  File "/usr/lib/python3/dist-packages/setuptools/__init__.py", line 145, in setup
    return distutils.core.setup(**attrs)
  File "/usr/lib/python3.7/distutils/core.py", line 148, in setup
    dist.run_commands()
  File "/usr/lib/python3.7/distutils/dist.py", line 966, in run_commands
    self.run_command(cmd)
  File "/usr/lib/python3.7/distutils/dist.py", line 985, 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.7/distutils/command/install.py", line 589, in run
    self.run_command('build')
  File "/usr/lib/python3.7/distutils/cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "/usr/lib/python3.7/distutils/dist.py", line 985, in run_command
    cmd_obj.run()
  File "/usr/lib/python3.7/distutils/command/build.py", line 135, in run
    self.run_command(cmd_name)
  File "/usr/lib/python3.7/distutils/cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "/usr/lib/python3.7/distutils/dist.py", line 985, in run_command
    cmd_obj.run()
  File "/tmp/pip-install-apiudahh/awscrt/setup.py", line 194, in run
    self._build_dependency(lib)
  File "/tmp/pip-install-apiudahh/awscrt/setup.py", line 175, in _build_dependency
    subprocess.check_call(cmake_args)
  File "/usr/lib/python3.7/subprocess.py", line 347, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/usr/bin/cmake', '-DCMAKE_PREFIX_PATH=/tmp/pip-install-apiudahh/awscrt/build/deps/install', '-DCMAKE_INSTALL_PREFIX=/tmp/pip-install-apiudahh/awscrt/build/deps/install', '-DBUILD_SHARED_LIBS=OFF', '-DCMAKE_BUILD_TYPE=RelWithDebInfo', '-DBUILD_TESTING=OFF', '-DCMAKE_POSITION_INDEPENDENT_CODE=ON', '-DBUILD_LIBSSL=OFF', '/tmp/pip-install-apiudahh/awscrt/crt/aws-lc']' returned non-zero exit status 1.

----------------------------------------

Command "/usr/bin/python3 -u -c "import setuptools, tokenize;file='/tmp/pip-install-apiudahh/awscrt/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-record-bnasw_9w/install-record.txt --single-version-externally-managed --compile --user --prefix=" failed with error code 1 in /tmp/pip-install-apiudahh/awscrt/

`

@satay99 satay99 added bug This issue is a bug. needs-triage This issue or PR still needs to be triaged. labels Apr 4, 2021
@3265
Copy link

3265 commented Apr 6, 2021

I have a same problem on my raspberry-pi

@1data0
Copy link

1data0 commented Apr 6, 2021

@MrGloriousFast
Copy link

MrGloriousFast commented Apr 6, 2021

Tried installing and got this error:

pi@raspberrypi:~ $ uname -a
Linux raspberrypi 5.10.17-v7l+ #1403 SMP Mon Feb 22 11:33:35 GMT 2021 armv7l GNU/Linux

`pi@raspberrypi:~ $ python3 -m pip install --no-cache-dir awsiotsdk
Defaulting to user installation because normal site-packages is not writeable
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting awsiotsdk
Downloading https://www.piwheels.org/simple/awsiotsdk/awsiotsdk-1.5.10-py3-none-any.whl (42 kB)
|████████████████████████████████| 42 kB 1.3 MB/s
Collecting awscrt==0.11.4
Downloading awscrt-0.11.4.tar.gz (29.0 MB)
|████████████████████████████████| 29.0 MB 11.5 MB/s
Building wheels for collected packages: awscrt
Building wheel for awscrt (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-qge_j7/awscrt_5831c6121e1245d9bb1d2dcd83a61a83/setup.py'"'"'; file='"'"'/tmp/pip-install-qge_j7/awscrt_5831c6121e1245d9bb1d2dcd83a61a83/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/pip-wheel-rbhe6u2e
cwd: /tmp/pip-install-qge_j7/awscrt_5831c6121e1245d9bb1d2dcd83a61a83/
Complete output (78 lines):
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-armv7l-3.7
creating build/lib.linux-armv7l-3.7/awscrt
copying awscrt/http.py -> build/lib.linux-armv7l-3.7/awscrt
copying awscrt/io.py -> build/lib.linux-armv7l-3.7/awscrt
copying awscrt/init.py -> build/lib.linux-armv7l-3.7/awscrt
copying awscrt/crypto.py -> build/lib.linux-armv7l-3.7/awscrt
copying awscrt/mqtt.py -> build/lib.linux-armv7l-3.7/awscrt
copying awscrt/common.py -> build/lib.linux-armv7l-3.7/awscrt
copying awscrt/exceptions.py -> build/lib.linux-armv7l-3.7/awscrt
copying awscrt/auth.py -> build/lib.linux-armv7l-3.7/awscrt
copying awscrt/s3.py -> build/lib.linux-armv7l-3.7/awscrt
creating build/lib.linux-armv7l-3.7/awscrt/eventstream
copying awscrt/eventstream/init.py -> build/lib.linux-armv7l-3.7/awscrt/eventstream
copying awscrt/eventstream/rpc.py -> build/lib.linux-armv7l-3.7/awscrt/eventstream
running build_ext
--- Building dependency: aws-lc (RelWithDebInfo) ---
/usr/bin/cmake -DCMAKE_PREFIX_PATH=/tmp/pip-install-qge_j7/awscrt_5831c6121e1245d9bb1d2dcd83a61a83/build/deps/install -DCMAKE_INSTALL_PREFIX=/tmp/pip-install-qge_j7/awscrt_5831c6121e1245d9bb1d2dcd83a61a83/build/deps/install -DBUILD_SHARED_LIBS=OFF -DCMAKE_BUILD_TYPE=RelWithDebInfo -DBUILD_TESTING=OFF -DCMAKE_POSITION_INDEPENDENT_CODE=ON -DBUILD_LIBSSL=OFF /tmp/pip-install-qge_j7/awscrt_5831c6121e1245d9bb1d2dcd83a61a83/crt/aws-lc
-- The C compiler identification is GNU 8.3.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Found Perl: /usr/bin/perl (found version "5.28.1")
-- Checking for module 'libunwind-generic'
-- No package 'libunwind-generic' found
libunwind not found. Disabling unwind tests.
-- Go not found. Disabling some code generation and using pre-generated code in generated-src/
-- The ASM compiler identification is GNU
-- Found assembler: /usr/bin/cc
CMake Error at CMakeLists.txt:660 (add_subdirectory):
add_subdirectory given source "util/fipstools/cavp" which is not an
existing directory.

CMake Error at CMakeLists.txt:661 (add_subdirectory):
add_subdirectory given source "util/fipstools/acvp/modulewrapper" which is
not an existing directory.

-- Configuring incomplete, errors occurred!
See also "/tmp/pip-install-qge_j7/awscrt_5831c6121e1245d9bb1d2dcd83a61a83/build/deps/aws-lc/CMakeFiles/CMakeOutput.log".
Traceback (most recent call last):
File "", line 1, in
File "/tmp/pip-install-qge_j7/awscrt_5831c6121e1245d9bb1d2dcd83a61a83/setup.py", line 280, in
'boto3'
File "/home/pi/.local/lib/python3.7/site-packages/setuptools/init.py", line 153, in setup
return distutils.core.setup(**attrs)
File "/usr/lib/python3.7/distutils/core.py", line 148, in setup
dist.run_commands()
File "/usr/lib/python3.7/distutils/dist.py", line 966, in run_commands
self.run_command(cmd)
File "/usr/lib/python3.7/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/usr/lib/python3/dist-packages/wheel/bdist_wheel.py", line 188, in run
self.run_command('build')
File "/usr/lib/python3.7/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/lib/python3.7/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/usr/lib/python3.7/distutils/command/build.py", line 135, in run
self.run_command(cmd_name)
File "/usr/lib/python3.7/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/lib/python3.7/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/tmp/pip-install-qge_j7/awscrt_5831c6121e1245d9bb1d2dcd83a61a83/setup.py", line 194, in run
self._build_dependency(lib)
File "/tmp/pip-install-qge_j7/awscrt_5831c6121e1245d9bb1d2dcd83a61a83/setup.py", line 175, in _build_dependency
subprocess.check_call(cmake_args)
File "/usr/lib/python3.7/subprocess.py", line 347, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/usr/bin/cmake', '-DCMAKE_PREFIX_PATH=/tmp/pip-install-qge_j7/awscrt_5831c6121e1245d9bb1d2dcd83a61a83/build/deps/install', '-DCMAKE_INSTALL_PREFIX=/tmp/pip-install-qge_j7/awscrt_5831c6121e1245d9bb1d2dcd83a61a83/build/deps/install', '-DBUILD_SHARED_LIBS=OFF', '-DCMAKE_BUILD_TYPE=RelWithDebInfo', '-DBUILD_TESTING=OFF', '-DCMAKE_POSITION_INDEPENDENT_CODE=ON', '-DBUILD_LIBSSL=OFF', '/tmp/pip-install-qge_j7/awscrt_5831c6121e1245d9bb1d2dcd83a61a83/crt/aws-lc']' returned non-zero exit status 1.

ERROR: Failed building wheel for awscrt
Running setup.py clean for awscrt
Failed to build awscrt
Installing collected packages: awscrt, awsiotsdk
Attempting uninstall: awscrt
Found existing installation: awscrt 1.0.0.dev0
Uninstalling awscrt-1.0.0.dev0:
Successfully uninstalled awscrt-1.0.0.dev0
Running setup.py install for awscrt ... error
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-qge_j7/awscrt_5831c6121e1245d9bb1d2dcd83a61a83/setup.py'"'"'; file='"'"'/tmp/pip-install-qge_j7/awscrt_5831c6121e1245d9bb1d2dcd83a61a83/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-record-bhyvnybv/install-record.txt --single-version-externally-managed --user --prefix= --compile --install-headers /home/pi/.local/include/python3.7m/awscrt
cwd: /tmp/pip-install-qge_j7/awscrt_5831c6121e1245d9bb1d2dcd83a61a83/
Complete output (69 lines):
running install
running build
running build_py
creating build/lib.linux-armv7l-3.7
creating build/lib.linux-armv7l-3.7/awscrt
copying awscrt/http.py -> build/lib.linux-armv7l-3.7/awscrt
copying awscrt/io.py -> build/lib.linux-armv7l-3.7/awscrt
copying awscrt/init.py -> build/lib.linux-armv7l-3.7/awscrt
copying awscrt/crypto.py -> build/lib.linux-armv7l-3.7/awscrt
copying awscrt/mqtt.py -> build/lib.linux-armv7l-3.7/awscrt
copying awscrt/common.py -> build/lib.linux-armv7l-3.7/awscrt
copying awscrt/exceptions.py -> build/lib.linux-armv7l-3.7/awscrt
copying awscrt/auth.py -> build/lib.linux-armv7l-3.7/awscrt
copying awscrt/s3.py -> build/lib.linux-armv7l-3.7/awscrt
creating build/lib.linux-armv7l-3.7/awscrt/eventstream
copying awscrt/eventstream/init.py -> build/lib.linux-armv7l-3.7/awscrt/eventstream
copying awscrt/eventstream/rpc.py -> build/lib.linux-armv7l-3.7/awscrt/eventstream
running build_ext
--- Building dependency: aws-lc (RelWithDebInfo) ---
/usr/bin/cmake -DCMAKE_PREFIX_PATH=/tmp/pip-install-qge_j7/awscrt_5831c6121e1245d9bb1d2dcd83a61a83/build/deps/install -DCMAKE_INSTALL_PREFIX=/tmp/pip-install-qge_j7/awscrt_5831c6121e1245d9bb1d2dcd83a61a83/build/deps/install -DBUILD_SHARED_LIBS=OFF -DCMAKE_BUILD_TYPE=RelWithDebInfo -DBUILD_TESTING=OFF -DCMAKE_POSITION_INDEPENDENT_CODE=ON -DBUILD_LIBSSL=OFF /tmp/pip-install-qge_j7/awscrt_5831c6121e1245d9bb1d2dcd83a61a83/crt/aws-lc
-- Checking for module 'libunwind-generic'
-- No package 'libunwind-generic' found
libunwind not found. Disabling unwind tests.
-- Go not found. Disabling some code generation and using pre-generated code in generated-src/
CMake Error at CMakeLists.txt:660 (add_subdirectory):
add_subdirectory given source "util/fipstools/cavp" which is not an
existing directory.

CMake Error at CMakeLists.txt:661 (add_subdirectory):
  add_subdirectory given source "util/fipstools/acvp/modulewrapper" which is
  not an existing directory.


-- Configuring incomplete, errors occurred!
See also "/tmp/pip-install-_qge_j7_/awscrt_5831c6121e1245d9bb1d2dcd83a61a83/build/deps/aws-lc/CMakeFiles/CMakeOutput.log".
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/tmp/pip-install-_qge_j7_/awscrt_5831c6121e1245d9bb1d2dcd83a61a83/setup.py", line 280, in <module>
    'boto3'
  File "/home/pi/.local/lib/python3.7/site-packages/setuptools/__init__.py", line 153, in setup
    return distutils.core.setup(**attrs)
  File "/usr/lib/python3.7/distutils/core.py", line 148, in setup
    dist.run_commands()
  File "/usr/lib/python3.7/distutils/dist.py", line 966, in run_commands
    self.run_command(cmd)
  File "/usr/lib/python3.7/distutils/dist.py", line 985, in run_command
    cmd_obj.run()
  File "/home/pi/.local/lib/python3.7/site-packages/setuptools/command/install.py", line 61, in run
    return orig.install.run(self)
  File "/usr/lib/python3.7/distutils/command/install.py", line 589, in run
    self.run_command('build')
  File "/usr/lib/python3.7/distutils/cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "/usr/lib/python3.7/distutils/dist.py", line 985, in run_command
    cmd_obj.run()
  File "/usr/lib/python3.7/distutils/command/build.py", line 135, in run
    self.run_command(cmd_name)
  File "/usr/lib/python3.7/distutils/cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "/usr/lib/python3.7/distutils/dist.py", line 985, in run_command
    cmd_obj.run()
  File "/tmp/pip-install-_qge_j7_/awscrt_5831c6121e1245d9bb1d2dcd83a61a83/setup.py", line 194, in run
    self._build_dependency(lib)
  File "/tmp/pip-install-_qge_j7_/awscrt_5831c6121e1245d9bb1d2dcd83a61a83/setup.py", line 175, in _build_dependency
    subprocess.check_call(cmake_args)
  File "/usr/lib/python3.7/subprocess.py", line 347, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/usr/bin/cmake', '-DCMAKE_PREFIX_PATH=/tmp/pip-install-_qge_j7_/awscrt_5831c6121e1245d9bb1d2dcd83a61a83/build/deps/install', '-DCMAKE_INSTALL_PREFIX=/tmp/pip-install-_qge_j7_/awscrt_5831c6121e1245d9bb1d2dcd83a61a83/build/deps/install', '-DBUILD_SHARED_LIBS=OFF', '-DCMAKE_BUILD_TYPE=RelWithDebInfo', '-DBUILD_TESTING=OFF', '-DCMAKE_POSITION_INDEPENDENT_CODE=ON', '-DBUILD_LIBSSL=OFF', '/tmp/pip-install-_qge_j7_/awscrt_5831c6121e1245d9bb1d2dcd83a61a83/crt/aws-lc']' returned non-zero exit status 1.
----------------------------------------

Rolling back uninstall of awscrt
Moving to /home/pi/.local/lib/python3.7/site-packages/_awscrt.cpython-37m-arm-linux-gnueabihf.so
from /tmp/pip-uninstall-2bh69c8z/_awscrt.cpython-37m-arm-linux-gnueabihf.so
Moving to /home/pi/.local/lib/python3.7/site-packages/awscrt-1.0.0.dev0.dist-info/
from /home/pi/.local/lib/python3.7/site-packages/~wscrt-1.0.0.dev0.dist-info
Moving to /home/pi/.local/lib/python3.7/site-packages/awscrt/
from /home/pi/.local/lib/python3.7/site-packages/~wscrt
ERROR: Command errored out with exit status 1: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-qge_j7/awscrt_5831c6121e1245d9bb1d2dcd83a61a83/setup.py'"'"'; file='"'"'/tmp/pip-install-qge_j7/awscrt_5831c6121e1245d9bb1d2dcd83a61a83/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-record-bhyvnybv/install-record.txt --single-version-externally-managed --user --prefix= --compile --install-headers /home/pi/.local/include/python3.7m/awscrt Check the logs for full command output.`

@jmklix
Copy link
Member

jmklix commented Apr 7, 2021

This is a know issue that we are currently working on fixing. I will update you here when the fix is applied.

@jmklix jmklix added dependencies This issue is a problem in a dependency. and removed needs-triage This issue or PR still needs to be triaged. labels Apr 7, 2021
@graebm graebm linked a pull request Apr 7, 2021 that will close this issue
@graebm
Copy link
Contributor

graebm commented Apr 7, 2021

This is fixed in the latest release 1.5.11

@graebm graebm closed this as completed Apr 7, 2021
@graebm graebm removed the dependencies This issue is a problem in a dependency. label Apr 7, 2021
@github-actions
Copy link

github-actions bot commented Apr 7, 2021

⚠️COMMENT VISIBILITY WARNING⚠️

Comments on closed issues are hard for our team to see.
If you need more assistance, please either tag a team member or open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue is a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants