Bug 2058363

Summary: glog needs to be rebuilt for gflags-2.2.2-1.el8
Product: Red Hat Enterprise Linux 8 Reporter: Michel Lind <michel>
Component: distributionAssignee: Johnny Hughes <jhughes>
Status: CLOSED CURRENTRELEASE QA Contact: Release Test Team <release-test-team>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: CentOS StreamCC: bstinson, carl, jwboyer
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-02-24 18:28:15 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: 2035143    
Bug Blocks:    

Description Michel Lind 2022-02-24 18:07:11 UTC
Description of problem:
Attempting to build folly in epel8-next, which uses both glog and gflags, fails:

https://kojipkgs.fedoraproject.org//work/tasks/9343/83279343/root.log

DEBUG util.py:444:   Problem: package glog-devel-0.3.5-4.el8.x86_64 requires libglog.so.0()(64bit), but none of the providers can be installed
DEBUG util.py:444:    - package glog-devel-0.3.5-4.el8.x86_64 requires glog = 0.3.5-4.el8, but none of the providers can be installed
DEBUG util.py:444:    - conflicting requests
DEBUG util.py:444:    - nothing provides libgflags.so.2.1()(64bit) needed by glog-0.3.5-4.el8.x86_64

Version-Release number of selected component (if applicable):
glog-0.3.5-4.el8

How reproducible:
Always

Steps to Reproduce:
1. sudo dnf install glog-devel gflags-devel
2. Download and install the latest gflags from https://koji.mbox.centos.org/koji/buildinfo?buildID=21149

Actual results:
Installation failed

```
$  sudo dnf install ./gflags*.rpm
Last metadata expiration check: 15:03:35 ago on Wed 23 Feb 2022 06:59:55 PM PST.
Error:
 Problem 1: problem with installed package glog-0.3.5-4.el8.x86_64
  - package glog-0.3.5-4.el8.x86_64 requires libgflags.so.2.1()(64bit), but none of the providers can be installed
  - package glog-0.3.5-3.el8.x86_64 requires libgflags.so.2.1()(64bit), but none of the providers can be installed
  - cannot install both gflags-2.2.2-1.el8.x86_64 and gflags-2.1.2-6.el8.x86_64
  - conflicting requests
 Problem 2: problem with installed package glog-devel-0.3.5-4.el8.x86_64
  - package glog-devel-0.3.5-4.el8.x86_64 requires libglog.so.0()(64bit), but none of the providers can be installed
  - package glog-devel-0.3.5-3.el8.x86_64 requires libglog.so.0()(64bit), but none of the providers can be installed
  - package glog-0.3.5-4.el8.x86_64 requires libgflags.so.2.1()(64bit), but none of the providers can be installed
  - package glog-0.3.5-3.el8.x86_64 requires libgflags.so.2.1()(64bit), but none of the providers can be installed
  - package gflags-devel-2.2.2-1.el8.x86_64 requires gflags(x86-64) = 2.2.2-1.el8, but none of the providers can be installed
  - package gflags-devel-2.2.2-1.el8.x86_64 requires libgflags.so.2.2()(64bit), but none of the providers can be installed
  - package gflags-devel-2.2.2-1.el8.x86_64 requires libgflags_nothreads.so.2.2()(64bit), but none of the providers can be installed
  - cannot install both gflags-2.2.2-1.el8.x86_64 and gflags-2.1.2-6.el8.x86_64
  - conflicting requests
(try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
```

Expected results:
Installation succeeded

Additional info:

Comment 1 Carl George 🤠 2022-02-24 18:28:15 UTC
glog-0.3.5-4.el8 [0] was the rebuild against gflags, see the changelog entry.

* Fri Feb 11 2022 Jiri Kucera <jkucera> - 0.3.5-4
- Rebuild for gflags 2.2.2
  Related: #2035143

The problem was that both builds were triggered at the same time in the c8s koji, resulting in glog linking against the previous gflags.  This was corrected in a subsequent c8s-only rebuild, glog-0.3.5-4.el8.0.1 [1].  This is a result of c8s still being a rebuild, unlike c9s where RHEL maintainers are doing their builds directly in CentOS.

glog-devel-0.3.5-4.el8.0.1 is installable in c8s, so this is resolved now.

[0] https://koji.mbox.centos.org/koji/buildinfo?buildID=21150
[1] https://koji.mbox.centos.org/koji/buildinfo?buildID=21224