Bug #92415 There is no rpm of MySQL server 8 without debuginfo
Submitted: 14 Sep 2018 2:51 Modified: 3 Jul 2019 15:23
Reporter: Sergei Fabrichnikov Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Packaging Severity:S3 (Non-critical)
Version:8.0.12, 5.7.23 OS:Red Hat
Assigned to: CPU Architecture:x86

[14 Sep 2018 2:51] Sergei Fabrichnikov
Description:
In official repository http://yum.oracle.com/repo/OracleLinux/OL7/MySQL80_community/x86_64/index.html
there is no rpm of MySQL server with striped debuginfo and separate rpm with debuginfo.

How to repeat:
- go to official yum repository at http://yum.oracle.com/repo/OracleLinux/OL7/MySQL80_community/x86_64/index.html
- download and install latest MySQL server 8 version (mysql-community-server-8.0.12-1.el7.x86_64.rpm)
- you can see a lot of debug contents with objdump:
Sections:
Idx Name          Size      VMA               LMA               File off  Algn
...
 29 .debug_info   16407343  0000000000000000  0000000000000000  03048ae1  2**0
                  CONTENTS, READONLY, DEBUGGING
 30 .debug_abbrev 00613579  0000000000000000  0000000000000000  1944fe24  2**0
                  CONTENTS, READONLY, DEBUGGING
 31 .debug_loc    06832598  0000000000000000  0000000000000000  19a6339d  2**0
                  CONTENTS, READONLY, DEBUGGING
 32 .debug_aranges 00110330  0000000000000000  0000000000000000  20295935  2**0
                  CONTENTS, READONLY, DEBUGGING
 33 .debug_ranges 01b3eab0  0000000000000000  0000000000000000  203a5c65  2**0
                  CONTENTS, READONLY, DEBUGGING
 34 .debug_line   00f844a8  0000000000000000  0000000000000000  21ee4715  2**0
                  CONTENTS, READONLY, DEBUGGING
 35 .debug_str    05429f3c  0000000000000000  0000000000000000  22e68bbd  2**0
                  CONTENTS, READONLY, DEBUGGING

Suggested fix:
Its critical for our production installations because of size of the version with debuginfo (666214K) vs. with stripped debuginfo (57612K).

It would be prefferable to have separate debuginfo package.
[14 Sep 2018 8:57] MySQL Verification Team
Hello Сергей,

Thank you for the report.

regards,
Umesh
[3 Jul 2019 15:23] Paul DuBois
Posted by developer:
 
Fixed in 8.0.17.

To reduce the download size and disk footprint of mysql-community-server
Linux packages, debug binaries and plugins have been moved to separate
packages for these platforms:

* EL8, Fedora: The mysql-community-server package with debug binaries and
  associated plugins is now split into a mysql-community-server package
  without debug binaries or plugins and a mysql-community-server-debug
  package with debug binaries and plugins.

* Debian: The mysql-community-server package with debug binaries and
  associated plugins is now split into a mysql-community-server package
  without debug binaries or plugins, a mysql-community-server-debug
  package with debug binaries, and a mysql-community-test-debug package
  with debug plugins.

In all cases, the debug packages are dependent on the corresponding
mysql-community-server package.