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.
Bug 2106309 - centos8 stream: nothing provides kernel-headers >= 4.18.0-402 needed by libbpf-devel-0.5.0-1.el8.x86_64
Summary: centos8 stream: nothing provides kernel-headers >= 4.18.0-402 needed by libbp...
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: kernel
Version: CentOS Stream
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Jarod Wilson
QA Contact: Red Hat Kernel QE team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-07-12 10:50 UTC by Daniel Berrangé
Modified: 2022-07-20 15:31 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-07-20 15:30:55 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-127484 0 None None None 2022-07-12 10:53:14 UTC

Description Daniel Berrangé 2022-07-12 10:50:34 UTC
Description of problem:
For the past few days (at least), it has been impossible to install libbpf-devel in CentOS 8 Stream

$ podman  run -it quay.io/centos/centos:stream8
[root@a4d0611f6f84 /]# dnf config-manager --set-enabled -y powertools 
[root@a4d0611f6f84 /]# dnf install libbpf-devel 
CentOS Stream 8 - AppStream                                                   15 MB/s |  23 MB     00:01    
CentOS Stream 8 - BaseOS                                                      28 MB/s |  23 MB     00:00    
CentOS Stream 8 - Extras                                                      61 kB/s |  18 kB     00:00    
CentOS Stream 8 - Extras common packages                                      11 kB/s | 4.6 kB     00:00    
CentOS Stream 8 - PowerTools                                                 3.3 MB/s | 4.9 MB     00:01    
Error: 
 Problem: cannot install the best candidate for the job
  - nothing provides kernel-headers >= 4.18.0-402 needed by libbpf-devel-0.5.0-1.el8.x86_64
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)


The kernel-4.18.0-402 build dates from mid-June, but baseos repos in centos8 stream appear to only have 4.18.0-394.el8 from mid-May

As a result the latest builds of libbpf-devel can't satisfy their deps in centos8 stream.

This has broken the upstream CI environment for QEMU which uses libbpf with centos8 stream containers

Version-Release number of selected component (if applicable):
kernel-4.18.0-402
libbpf-devel-0.5.0-1.el8.x86_64


How reproducible:
Always

Steps to Reproduce:
1. See steps in description using podman

Comment 2 Daniel Berrangé 2022-07-18 12:49:47 UTC
NB, i raised this on rhel-devel subsequently and was told the problem is the process of publishing to centos stream, as CVE restrictions mean many builds get held up/blocked https://lists.corp.redhat.com/archives/rhel-devel/2022-July/001903.html

Comment 4 Daniel Berrangé 2022-07-20 15:30:55 UTC
Looks to be resolved now with the -408 build public at last


# dnf install libbpf-devel 
Last metadata expiration check: 0:10:09 ago on Wed Jul 20 15:20:18 2022.
Dependencies resolved.
=========================================================================================
 Package                     Architecture Version                 Repository        Size
=========================================================================================
Installing:
 libbpf-devel                x86_64       0.5.0-1.el8             powertools        68 k
Installing dependencies:
 elfutils-libelf-devel       x86_64       0.187-4.el8             baseos            61 k
 kernel-headers              x86_64       4.18.0-408.el8          baseos           9.8 M
 libbpf                      x86_64       0.5.0-1.el8             baseos           137 k
 libpkgconf                  x86_64       1.4.2-1.el8             baseos            35 k
 pkgconf                     x86_64       1.4.2-1.el8             baseos            38 k
 pkgconf-m4                  noarch       1.4.2-1.el8             baseos            17 k
 pkgconf-pkg-config          x86_64       1.4.2-1.el8             baseos            15 k
 zlib-devel                  x86_64       1.2.11-19.el8           baseos            58 k

Transaction Summary
=========================================================================================
Install  9 Packages

Total download size: 10 M
Installed size: 6.1 M
Is this ok [y/N]:


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