Add rpminspect.yaml with expected failures (RHEL-86591)

Co-Authored-By: Dodji Seketeli <dodji@redhat.com>
Resolves: RHEL-86591
This commit is contained in:
Florian Weimer 2025-03-21 14:52:05 +01:00
parent fe7fa81da1
commit 0e04d2e772
3 changed files with 47 additions and 0 deletions

17
glibc.abignore Normal file
View File

@ -0,0 +1,17 @@
[suppress_type]
# From glibc-2.34-173.
type_kind = struct
name = pthread
# The change to add rseq_cs, rseq_flags overlapped with padding.
has_data_member = rseq_area
has_data_member_insert_at = end
[suppress_type]
# From glibc-2.34-175.
type_kind = struct
name = _IO_FILE
has_data_member_inserted_between = {offset_of(_unused2), end}
[suppress_function]
# From glibc-2.34-182.
name = _dl_readonly_area
parameter = '0 void *
parameter = '1 size_t

View File

@ -198,6 +198,7 @@ Source11: parse-SUPPORTED.py
# Include in the source RPM for reference.
Source12: ChangeLog.old
Source13: nscd-sysusers.conf
Source14: glibc.abignore
# glibc_ldso: ABI-specific program interpreter name. Used for debuginfo
# extraction (wrap-find-debuginfo.sh) and smoke testing ($run_ldso below).

29
rpminspect.yaml Normal file
View File

@ -0,0 +1,29 @@
inspections:
# We edit SourceNNN: files directly.
upstream: off
# We have expected glibc-internal uses of otherwise banned functions.
badfuncs: off
rpmdeps:
# glibc-benchtests does not have exact version dependencies so
# that the benchmark package can be installed with other glibc versions.
ignore:
requires: ^lib[a-z]+\.so\.[0-9](\((\)|GLIBC_).*|)$
debuginfo:
# ld.so ships with debuginfo to help observability tools.
# rpminspect treats the .symtab in the main DSOs as debuginfo, too.
# https://bugzilla.redhat.com/show_bug.cgi?id=1661513
# The sysroot packages have full debuginfo because there is
# no separate debuginfo for them.
ignore:
- /usr/lib*/ld*so*
- /usr/lib*/libc.so.6
- /usr/lib*/glibc-hwcaps/*/libc.so.6
- /usr/lib*/glibc-hwcaps/*/libm.so.6
- /usr/*/sys-root/*/usr/lib*/*
# Suppress changes to internal field members.
abidiff:
suppression_file: glibc.abignore