Backport(v6): ci: downgrade glibc version to build a package in AmazonLinux 2023 (#932) #934
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Backport #932
Related to
#931 (comment)
This patch will fix following install error on AmazonLinux 2023.
Summary
This pull request downgrades the glibc version used in the Amazon Linux 2023 build environment
from 2.34-231.amzn2023.0.1 to 2.34-52.amzn2023.0.7.
(I just selected same glibc version used in incus container)
Background
When building
fluent-packagefor Amazon Linux 2023, the bundled Ruby gemio-eventwas compiled against a newerglibc that provides the
epoll_pwait2()symbol (introduced in GLIBC_2.35).As a result, the generated package
fluent-package-6.0.0-1.amzn2023.x86_64.rpmrequiredlibc.so.6(GLIBC_2.35), leading to installation failure on systems still running glibc 2.34.