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

- Add debuginfo section to rpminspect.yaml (OPENJDK-2904)
- Related: RHEL-46635
This commit is contained in:
Thomas Fitzsimmons 2024-05-10 12:52:23 -04:00
parent 81a293122a
commit 1ec9659f55
2 changed files with 12 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
@ -2492,6 +2496,9 @@ cjc.mainProgram(args)
%endif %endif
%changelog %changelog
* Tue Jul 9 2024 Thomas Fitzsimmons <fitzsim@redhat.com> - 1:17.0.12.0.6-0.1.ea
- Add debuginfo section to rpminspect.yaml (OPENJDK-2904)
* Mon Jul 8 2024 Thomas Fitzsimmons <fitzsim@redhat.com> - 1:17.0.12.0.6-0.1.ea * Mon Jul 8 2024 Thomas Fitzsimmons <fitzsim@redhat.com> - 1:17.0.12.0.6-0.1.ea
- 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

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