After discussing with Simon about some issues when trying to recompile MySQL 8.0.34 on CentOS 9 (see #111159), I also tried it and indeed some dependencies are not listed when compiling via the source RPM.
Let’s see how to recompile the two latest versions of MySQL (8.0.34 and 8.1.0) using the source RPMs.
I use Oracle Linux 9 as build machine.
Getting the source RPM
To get the source RPM, you need first to install the MySQL Community’s repo:
$ sudo dnf install …
[Read more]