[MDEV-22276] No debuginfo RPMs for RHEL6? Created: 2020-04-17  Updated: 2021-06-18  Resolved: 2021-01-09

Status: Closed
Project: MariaDB Server
Component/s: Packaging
Affects Version/s: 10.3, 10.4
Fix Version/s: N/A

Type: Bug Priority: Major
Reporter: Hartmut Holzgraefe Assignee: Sergei Golubchik
Resolution: Won't Fix Votes: 1
Labels: None

Issue Links:
Relates
relates to MDEV-25959 cpack doesn't work with Ninja Closed
relates to MDEV-18893 debuginfo packages missing from Cento... Closed

 Description   

debuginfo RPMs seem to be missing for all RHEL6 / CentOS 6 repositories.

I verified this for 10.3.16, 10.3.22, and 10.4.8, I assume it is the same for all versions on RHEL 6 / CentOS 6



 Comments   
Comment by Hartmut Holzgraefe [ 2020-04-17 ]

The KB doesn't mention that debug symbol RPMs may only be available on some, but not all, currently supported RPM platforms, it implies that they are available everywhere:

https://mariadb.com/kb/en/about-the-mariadb-rpm-files/

Comment by Daniel Bartholomew [ 2020-04-28 ]

Based on what we did on the CentOS 7 builders, to fix this we would need to update cmake on our CentOS 6 builders to something above 3.8. Only 3.6.x is available in the epel repos so we would need to compile it from source. serg and elenst: Any objections from either of you?

Comment by Elena Stepanova [ 2020-04-28 ]

I have no preferences for this, one way or another. CentOS 6 finally goes EOL in half a year, but if the debug packages are really needed, my understanding from previous similar discussions is that using higher versions of cmake is supposed to be harmless.

Comment by Daniel Bartholomew [ 2020-04-29 ]

Actually, cmake on our CentOS 6 builder is already at version 3.9.6 from an upgrade we did to its toolchain back in March for our bintar builds. So I just need to find out why it is not making the debuginfo packages....

Comment by Daniel Bartholomew [ 2020-04-29 ]

In a recent compile log I see several of these warnings for various components (backup, server, connect, rocksdb, etc...):

CPackRPM:Debug: CPACK_RPM_DEBUGINFO_EXCLUDE_DIRS= /usr;/usr/src;/usr/src/debug
CMake Warning (dev) at /usr/local/share/cmake-3.9/Modules/CPackRPM.cmake:2279 (message):
  CPackRPM:Warning: debuginfo package was requested but will not be generated
  as no source files were found! Component: 'server'.
Call Stack (most recent call first):
  /usr/local/share/cmake-3.9/Modules/CPackRPM.cmake:2745 (cpack_rpm_generate_package)
  /home/buildbot/buildbot/padding_for_CPACK_RPM_BUILD_SOURCE_DIRS_PREFIX/mariadb-10.2.32/cmake/Internal/CPack/CPackRPM.cmake:56 (include)
This warning is for project developers.  Use -Wno-dev to suppress it.

So it appears cmake is at least acknowledging that it was supposed to make various debuginfo packages, but it's not finding the source files it needs to be able to do so. I'm not sure why this is happening as I don't know cmake well enough. serg: Any ideas?

Comment by Sergei Golubchik [ 2021-01-09 ]

We no longer build CentOS6 RPM packages

Generated at Thu Feb 08 09:13:31 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.