Bug #111088 | src tarball made from github repo and provided in src.rpm files is not the same | ||
---|---|---|---|
Submitted: | 19 May 2023 13:08 | Modified: | 2 Jun 2023 16:25 |
Reporter: | Simon Mudd (OCA) | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Packaging | Severity: | S3 (Non-critical) |
Version: | 8.0.32 | OS: | Any |
Assigned to: | CPU Architecture: | Any | |
Tags: | 8.0.32, build, rpm |
[19 May 2023 13:08]
Simon Mudd
[22 May 2023 8:30]
MySQL Verification Team
Hello Simon, Thank you for the report and feedback. regards, Umesh
[1 Jun 2023 17:12]
Balasubramanian Kandasamy
Thanks for the bug report. We ship and use one source tarball across platforms to be consistent. Due to the limitations on some platforms, the source tarball includes some generated files which are strictly not required on all platforms.
[2 Jun 2023 16:21]
Simon Mudd
ok, can you share the procedure for generating these from the git source so that I can reproduce the procedure or point me at the documentation or code for doing this if it exists already? Thanks.
[2 Jun 2023 16:25]
Simon Mudd
rpm works on the basis of repeatable builds from the source. The source in git is different so it would be convenient to know how you build the tarball so I can reproduce the same build process being used by Oracle for building the binaries on the platforms I'm interested in. rpm assumes source comes in tarballs which was true in the 90s but is no longer typical and the idea of the src rpm is you have a clean well defined source from which to build your code. Given the tarball I saw was not the same as the source fro the git tree this is somewhat confusing and it also makes it harder to compare different versions based on sources in "source tar balls" or "git trees" as I'd expect them to be the same but as you point out this is not actually the case.