aws-samples / aws-iot-securetunneling-localproxy

AWS Iot Secure Tunneling local proxy reference C++ implementation
https://docs.aws.amazon.com/iot/latest/developerguide/what-is-secure-tunneling.html
Apache License 2.0
73 stars 70 forks source link

Boost b2 file installation is not getting completed nor throwing error(taking nearly a day but still not installed) #102

Closed dhamodharankv09 closed 3 months ago

dhamodharankv09 commented 1 year ago

Describe the bug

A clear and concise description of what the bug is.

To Reproduce

Steps to reproduce the behavior: wget https://boostorg.jfrog.io/artifactory/main/release/1.76.0/source/boost_1_76_0.tar.gz -O /tmp/boost.tar.gz tar xzvf /tmp/boost.tar.gz cd boost_1_76_0 ./bootstrap.sh sudo ./b2 install link=static

Expected behavior

A clear and concise description of what you expected to happen.

Actual behavior

A clear and concise description of what actually happened.

Logs

If applicable, add full logs of errors and outputs to help explain your problem. Preferabbly, you can also increase the verbosity, for example to enable debug logs for the localproxy, you can use the cli option -v 6

Environment (please complete the following information):

Additional context

Add any other context about the problem here.

RogerZhongAWS commented 1 year ago

Going to cross-reference #99 here, this may be related to limited system resources or memory allocation if you are using a container orchestrator.

phfn commented 1 year ago

You can add --verbose to sudo ./b2 install link=static to see the output of b2 install

RogerZhongAWS commented 3 months ago

Closing the issue as building boost from source requires > 1GB of memory. It is recommended to either using our ecr repo https://gallery.ecr.aws/aws-iot-securetunneling-localproxy or to build on a more powerful machine and copy the binary to your target device instead.