Add debuginfo section to rpminspect.yaml (OPENJDK-2904)

- Related: RHEL-52734
This commit is contained in:
Thomas Fitzsimmons 2024-05-10 12:52:23 -04:00 committed by Andrew Hughes
parent ed6ef9b72a
commit b059bf3045
2 changed files with 10 additions and 0 deletions

View File

@ -59,6 +59,10 @@
# The -g flag says to use strip -g instead of full strip on DSOs or EXEs. # The -g flag says to use strip -g instead of full strip on DSOs or EXEs.
# This fixes detailed NMT and other tools which need minimal debug info. # This fixes detailed NMT and other tools which need minimal debug info.
# See: https://bugzilla.redhat.com/show_bug.cgi?id=1520879 # See: https://bugzilla.redhat.com/show_bug.cgi?id=1520879
# To silence rpminspect's .symtab warnings due to this option, our
# rpminspect.yaml needs:
# debuginfo:
# debuginfo_sections: .debug_info .gdb_index
%global _find_debuginfo_opts -g %global _find_debuginfo_opts -g
# With LTO flags enabled, debuginfo checks fail for some reason. Disable # With LTO flags enabled, debuginfo checks fail for some reason. Disable
@ -2549,6 +2553,7 @@ cjc.mainProgram(args)
- Update fipsver to e893be00150 - Update fipsver to e893be00150
- Add upstream patch that removes illegal RLO Unicode characters (JDK-8332174) - Add upstream patch that removes illegal RLO Unicode characters (JDK-8332174)
- Sync the copy of the portable specfile with the latest update - Sync the copy of the portable specfile with the latest update
- Add debuginfo section to rpminspect.yaml (OPENJDK-2904)
- Related: RHEL-52734 - Related: RHEL-52734
* Wed Jul 31 2024 Andrew Hughes <gnu.andrew@redhat.com> - 1:17.0.11.0.9-2 * Wed Jul 31 2024 Andrew Hughes <gnu.andrew@redhat.com> - 1:17.0.11.0.9-2

View File

@ -1,3 +1,8 @@
--- ---
inspections: inspections:
javabytecode: off javabytecode: off
debuginfo:
# Prevent rpminspect from complaining about intentional
# "_find_debuginfo_opts -g" setting in spec file.
debuginfo_sections: .debug_info .gdb_index