Bug #115484 | Missing BuildRequires for gcc-toolset-12 in mysql.spec.in for 9.0.0+ | ||
---|---|---|---|
Submitted: | 2 Jul 7:21 | Modified: | 27 Aug 23:39 |
Reporter: | Simon Mudd (OCA) | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Compiling | Severity: | S3 (Non-critical) |
Version: | 9.0.0 | OS: | Any |
Assigned to: | CPU Architecture: | Any | |
Tags: | repeatable builds, rpm |
[2 Jul 7:21]
Simon Mudd
[2 Jul 7:43]
Simon Mudd
If you remove the rpms from https://github.com/sjmudd/mysql-rpm-builder/blob/main/config/ossetup/centos9__9.0.0.sh#L56... in my build repo you will see the build fail if you clone the repo on a machine with docker and run ./build_one ol9 9.0.0 Note: in theory if the rpms are not installed rpm should complain about the missing packages as they should be in the BuildRequires: section. If the rpms are mentioned then tooling can detect this (it's harder if this is wrapped in OS specific %if macros but it's still possible) and ensure they are present.
[2 Jul 9:14]
MySQL Verification Team
Hi Mr. Mudd, Thank you for your bug report. We reproduced the problems on Oracle Linux 8.9. Verified as reported.
[2 Jul 9:44]
Simon Mudd
Hi, Thanks for confirming the issue. > We reproduced the problems on Oracle Linux 8.9. Indeed, I'm rebuilding multiple OS / MySQL combinations at the moment. This takes a while on my home setup. Pending build checks where also for ol9 / 9.0.0 but the rpm build process and dependencies is going to be pretty much the same.
[3 Jul 9:46]
MySQL Verification Team
Mr. Mudd, You are truly welcome.
[3 Jul 12:59]
Terje Røsten
GCC 13 is for 9.0.0 only at the moment.
[3 Jul 13:16]
MySQL Verification Team
Thank you, Terje, for correcting the version.
[7 Jul 14:23]
Simon Mudd
FWIW: Made this PR: https://github.com/mysql/mysql-server/pull/556
[8 Jul 10:07]
MySQL Verification Team
Thank you, Mr. Mudd.
[15 Jul 13:46]
OCA Admin
Contribution submitted via Github - bug#115484: Modify BuildRequires: to include gcc-toolset-12 for compat libraries (*) Contribution by Simon Mudd (Github sjmudd, mysql-server/pull/556#issuecomment-2213651632): I confirm the code being submitted is offered under the terms of the OCA, and that I am authorized to contribute it.
Contribution: git_patch_1956459113.txt (text/plain), 2.17 KiB.
[27 Aug 23:39]
Philip Olson
Fixed as of the upcoming MySQL Server 9.1.0 release, and here's the proposed changelog entry from the documentation team: ---- Added gcc-toolset-12 to the EL8 and EL9 build specification file to allow building the MySQL 8.0 mysql-community-libs-compat RPM. Our thanks to Simon Mudd for the contribution. ---- Thank you for the bug report.
[16 Sep 9:23]
MySQL Verification Team
Thank you, Phillip.