Commit e071dfa
committed
ci: downgrade glibc version to build a package in AmazonLinux 2023 (#932)
Related to
#931 (comment)
This patch will fix following install error on AmazonLinux 2023.
```
Error:
Problem: conflicting requests
- nothing provides libc.so.6(GLIBC_2.35)(64bit) needed by fluent-package-6.0.0-1.amzn2023.x86_64
(try to add '--skip-broken' to skip uninstallable packages)
```
## 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-package` for Amazon Linux 2023, the bundled Ruby
gem
[`io-event`](https://rubygems.org/gems/io-event) was compiled against a
newer
glibc 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.rpm` required
`libc.so.6(GLIBC_2.35)`, leading to installation failure on systems
still running glibc 2.34.
Signed-off-by: Shizuo Fujita <[email protected]>1 parent a8fb475 commit e071dfa
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| 30 | + | |
| 31 | + | |
30 | 32 | | |
31 | 33 | | |
32 | 34 | | |
| |||
0 commit comments