aws-samples / aws-samples/aws-iot-fleet-provisioning

Does not build on ARM64. Requires dependency update.

Open
#17 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
C#
Stars
44
Forks
29
PR merge metrics
No merged PRs in 30d

Description

This project does not currently build on ARM64 due to https://github.com/awslabs/aws-crt-python/issues/228
This has already been fixed in awscrt which is a dependency of awsiotsdk.
Updating to the latest version of awsiotsdk in requirements.txt will resolve this build problem on arm64.
Updating awscrt seems to cause a small change in behaviour. Only the root CA cert must be provided in DER instead of PEM format or else the TLS context can't be set up.
If you run into any other problems then `io.init_logging(awscrt.io.LogLevel.Trace, 'stdout')` is your friend.

Contributor guide

Open the contributing guide

Research direction

Start with requirements.txt and the ARM64 build path described in the issue; verify the current awsiotsdk and awscrt versions and reproduce the build failure if possible. Check the TLS setup using the root CA in DER format and use io.init_logging(awscrt.io.LogLevel.Trace, 'stdout') for diagnostics; done means ARM64 builds successfully and TLS setup works with the updated dependency.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, python
Domain
build-system, embedded-iot
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.