# 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