Skip to content

fix(rds): install mysql.h headers in fakecloud-mysql image#812

Merged
vieiralucas merged 1 commit intomainfrom
worktree-rds-mysql-devel-fix
Apr 28, 2026
Merged

fix(rds): install mysql.h headers in fakecloud-mysql image#812
vieiralucas merged 1 commit intomainfrom
worktree-rds-mysql-devel-fix

Conversation

@vieiralucas
Copy link
Copy Markdown
Member

@vieiralucas vieiralucas commented Apr 28, 2026

Summary

Stack of fixes on top of #811 to actually unbreak the fakecloud-mysql image build:

  • mysql:8.0 base is Oracle Linux 8 with microdnf, but the image doesn't ship the UDF dev headers (mysql.h) by default. Add mysql-community-devel to the install list — the image's enabled mysql-tools-community repo carries it.
  • Add libmysqlclient-dev to the Debian fallback for symmetry.
  • Drop the ol8_codeready_builder repo flag — the install works without it now that we have the right repo set.

Mariadb builds went green on #811 already. This unblocks the remaining 2 mysql 8.0 jobs.

Test plan

  • docker-rds-images.yml PR run all green (postgres + mysql + mariadb)

Summary by cubic

Fixes the fakecloud-mysql image build by installing the missing MySQL UDF headers (mysql.h). Unblocks the remaining MySQL 8.0 jobs.

  • Bug Fixes
    • Add mysql-community-devel to microdnf installs on mysql:8.0.
    • Add libmysqlclient-dev to the Debian path.
    • Remove the ol8_codeready_builder repo flag.

Written for commit 01b0159. Summary will update on new commits. Review in cubic

PR #811 cleared the package-install errors but the build still failed
on `mysql.h: No such file or directory` because the mysql:8.0 base
image (Oracle Linux) doesn't ship the UDF dev headers by default.
Add `mysql-community-devel` to the microdnf install list (the
package lives in the image's already-enabled
`mysql-tools-community` repo), and `libmysqlclient-dev` for the
Debian fallback. Drops the `ol8_codeready_builder` repo flag we no
longer need.
@vieiralucas vieiralucas merged commit 4b024ff into main Apr 28, 2026
28 of 32 checks passed
@vieiralucas vieiralucas deleted the worktree-rds-mysql-devel-fix branch April 28, 2026 02:03
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 28, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant