[MDEV-18893] debuginfo packages missing from Cento{6|7}/RHEL{6|7}/sles12 Created: 2019-03-12  Updated: 2020-04-17  Resolved: 2019-03-26

Status: Closed
Project: MariaDB Server
Component/s: Packaging
Fix Version/s: 10.2.23, 5.5.64, 10.1.39, 10.3.14, 10.4.4

Type: Task Priority: Major
Reporter: Daniel Black Assignee: Daniel Bartholomew
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Problem/Incident
causes MDEV-19707 debuginfo RPM packages do not depend ... Closed
Relates
relates to MDEV-22276 No debuginfo RPMs for RHEL6? Closed
relates to MDEV-4646 No mysqld-debug or debuginfo in Maria... Closed
relates to MDEV-18277 Client can't validate server certific... Closed
relates to MDEV-20738 my_addr_resolve passes invalid offset... Open

 Description   

The default cmake packages are too old to generate debug info packages and newer ones like Fedora29 have debug info packages in yum.mariadb.org correctly.

Version cmake-3.7+ is required

EPEL has a cmake3 package at version 3.14.3 that could be installed/used on the Centos/RHEL builders to generate debuginfo packages.



 Comments   
Comment by Daniel Bartholomew [ 2019-03-14 ]

The CentOS 6 epel repository only appears to have cmake 3.6 available. Is it worth it to update from 2.8.12 to 3.6.1?

Comment by Daniel Bartholomew [ 2019-03-14 ]

Also, we'll need to handle the different names for the cmake binaries: cmake3, cpack3, and etc...

Comment by Daniel Black [ 2019-03-14 ]

3.6.1 is too old for the debug info support. 3.7.0 is need with 3.8.0 preferred. There is x86_64 binary tarballs from upstream https://cmake.org/download/. I'm ok with not having debug packages on ppc64le on Centos6. I think I saw the Centos7 epel had a sufficient version on all architecture.

Comment by Daniel Bartholomew [ 2019-03-20 ]

The following builders have been updated to cmake version 3.14.0:

  • kvm-rpm-centos73-amd64
  • kvm-rpm-centos73-ppc64
  • kvm-rpm-centos73-ppc64le
  • kvm-rpm-centos74-aarch64
  • kvm-rpm-centos74-amd64

Will monitor the next few builds to make sure things are working OK.

Comment by Daniel Black [ 2019-03-20 ]

I looked though the builbot stdio for these builder and they seem to be building ok debuginfo rpms ok. Unrelated errors occuring in the upgrade tests. Thank you dbart

Comment by Daniel Bartholomew [ 2019-03-21 ]

Builds are happening fine and more importantly, the debuginfo packages are being created.

Comment by Daniel Bartholomew [ 2019-03-21 ]

I've now also updated cmake on the kvm-zyp-sles123-amd64 builder.

Comment by Daniel Bartholomew [ 2019-03-26 ]

MariaDB 10.2.23 has now been released with debuginfo packages for CentOS 7 and SLES 12

Comment by Daniel Bartholomew [ 2019-03-26 ]

To prevent test failures, I've now installed the latest openssl (from the distro repos) in the following install VMs:

  • kvm-rpm-centos73-amd64
  • kvm-rpm-centos73-ppc64
  • kvm-rpm-centos73-ppc64le
  • kvm-rpm-centos74-aarch64
  • kvm-rpm-centos74-amd64
  • kvm-zyp-sles123-amd64
Comment by Daniel Black [ 2019-03-27 ]

Thanks dbart. I hope there's a good payoff in readable backtraces in bug reports.

Comment by Geoff Montee (Inactive) [ 2019-05-02 ]

This is also fixed in MariaDB 10.1.39:

$ sudo yum info MariaDB-server-debuginfo
Loaded plugins: amazon-id, rhui-lb, search-disabled-repos
Available Packages
Name        : MariaDB-server-debuginfo
Arch        : x86_64
Version     : 10.1.39
Release     : 1.el7.centos
Size        : 64 M
Repo        : mariadb
Summary     : Debug information for package MariaDB-server
URL         : http://mariadb.org
License     : GPLv2
Description : This package provides debug information for package
            : MariaDB-server. Debug information is useful when developing
            : applications that use this package or when debugging this package.

Generated at Thu Feb 08 08:47:32 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.