Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
# rpm -q annobin-docs --provides
annobin = 10.75-3.el9
annobin-docs = 10.75-3.el9
The problem with that is that if RPM selects annobin-docs to satisfy the glibc
https://kojihub.stream.centos.org/koji/taskinfo?taskID=1208735
What complicates matters is that annobin-10.75-3.el9 is not a build off the c9s branch, it's a build made using the the scl-gcc-toolset-12-rhel-9.1.0 branch which was accidentally built against the c9s-candidate target (not the SCL target):
https://kojihub.stream.centos.org/koji/taskinfo?taskID=1203159
Its spec file contains the faulty Provides:
%package docs
Summary: Documentation and shell scripts for use with annobin
BuildArch: noarch
# annobin renamed to annobin-doc in 9.66-1
Provides: %{name} = %{version}-%{release}
Obsoletes: %{name} < %{version}-%{release}
# The documentation uses pod2man...
BuildRequires: perl-interpreter perl-podlators gawk make sharutils
Curiously, this does not cause all builds to fail. Something seems to be special about the glibc build. lua rebuilds fine (otherwise the build would not have passed gating).
The glibc build fails because it assumes the plugin has the name annobin, not gcc-anobin. It is necessary to disable the plugin for the non-shared bits, and the way this is done today needs to know the exact plug-in name.
The gcc-toolset-12-annobin-10.76-2.el9 build does not fix the problem, but it does mitigate it:
% rpm -q --provides -p gcc-toolset-12-annobin-docs-10.76-2.el9.noarch.rpm
gcc-toolset-12-annobin-docs = 10.76-2.el9
gcc-toolset-12-gcc-toolset-12-annobin = 10.76-2.el9
scl-package(gcc-toolset-12)
Since nothing should ever require a subpackage called gcc-toolset-12-gcc-toolset-12-annobin, the problem should not surface.
Obviously this is not the correct solution to the problem. The next update to GTS-12 annobin, if it happens, should solve the problem by removing the Provides altogether.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory (gcc-toolset-12-annobin bug fix and enhancement update), and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
https://access.redhat.com/errata/RHBA-2022:8147