Bug 2099694 - annobin: annobin-docs subpackage incorrectly provides annobin, breaking buildroot
Summary: annobin: annobin-docs subpackage incorrectly provides annobin, breaking build...
Keywords:
Status: ASSIGNED
Alias: None
Product: Fedora
Classification: Fedora
Component: annobin
Version: 37
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Nick Clifton
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 2097065
TreeView+ depends on / blocked
 
Reported: 2022-06-21 13:43 UTC by Florian Weimer
Modified: 2022-08-09 13:39 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 2097065
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Florian Weimer 2022-06-21 13:43:32 UTC
This issue is present in Fedora as well (at least in rawhide).

+++ This bug was initially created as a clone of Bug #2097065 +++

# 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

Comment 1 Nick Clifton 2022-06-24 11:59:50 UTC
Fixed locally.  Builds blocked because of a Clang problem on ppc64le:

  https://bugzilla.redhat.com/show_bug.cgi?id=2100833

Comment 2 Ben Cotton 2022-08-09 13:39:43 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 37 development cycle.
Changing version to 37.


Note You need to log in before you can comment on or make changes to this bug.