Bug 2099694

Summary: annobin: annobin-docs subpackage incorrectly provides annobin, breaking buildroot
Product: [Fedora] Fedora Reporter: Florian Weimer <fweimer>
Component: annobinAssignee: Nick Clifton <nickc>
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 37CC: fweimer, jakub, nickc, sipoyare, yahmad
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 2097065 Environment:
Last Closed: 2023-12-05 21:08:49 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2097065    

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.

Comment 3 Aoife Moloney 2023-11-23 00:13:33 UTC
This message is a reminder that Fedora Linux 37 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora Linux 37 on 2023-12-05.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
'version' of '37'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, change the 'version' 
to a later Fedora Linux version. Note that the version field may be hidden.
Click the "Show advanced fields" button if you do not see it.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora Linux 37 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora Linux, you are encouraged to change the 'version' to a later version
prior to this bug being closed.

Comment 4 Aoife Moloney 2023-12-05 21:08:49 UTC
Fedora Linux 37 entered end-of-life (EOL) status on None.

Fedora Linux 37 is no longer maintained, which means that it
will not receive any further security or bug fix updates. As a result we
are closing this bug.

If you can reproduce this bug against a currently maintained version of Fedora Linux
please feel free to reopen this bug against that version. Note that the version
field may be hidden. Click the "Show advanced fields" button if you do not see
the version field.

If you are unable to reopen this bug, please file a new report against an
active release.

Thank you for reporting this bug and we are sorry it could not be fixed.