aws / aws-cli

Universal Command Line Interface for Amazon Web Services
Other
15.43k stars 4.09k forks source link

AWS CLI 2.15.14-r0 throwing XML_SetReparseDeferralEnabled: symbol not found error #8913

Closed treyfarmigoni closed 1 week ago

treyfarmigoni commented 1 week ago

Describe the bug

AWS CLI throwing an error on aws-cli-2.15.14-r0 when executing aws --help Error relocating /usr/lib/python3.11/lib-dynload/pyexpat.cpython-311-x86_64-linux-musl.so: XML_SetReparseDeferralEnabled: symbol not found

Expected Behavior

No errors to occur.

Current Behavior

error is thrown

Reproduction Steps

docker run -ti --entrypoint /bin/sh registry.gitlab.com/gitlab-org/terraform-images/stable:latest

apk update && apk add --no-cache aws-cli bash aws --help ### Possible Solution _No response_ ### Additional Information/Context _No response_ ### CLI version used aws-cli-2.15.14-r0 ### Environment details (OS name and version, etc.) Alpine - 3.18.4
gohayon-cls commented 1 week ago

We are getting the same issue

tim-finnigan commented 1 week ago

Looks like this is the same as https://github.com/hashicorp/terraform/issues/35715, where a member of Terraform replied:

The Dockerfile for the build wasn't changed during that time, so any differences would be solely from the upstream image. Your above example works correctly if the package is updated, and I also confirmed that newer images have already updated the problematic packages.

Closing since there's nothing the Terraform CLI can do to fix the old docker image.

Can you confirm that this is fixed in newer images?

github-actions[bot] commented 1 week ago

This issue is now closed. Comments on closed issues are hard for our team to see. If you need more assistance, please open a new issue that references this one.