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 2097273 - [RHEL9] Please add libxdp-static and libxdp-devel to CRB repo
Summary: [RHEL9] Please add libxdp-static and libxdp-devel to CRB repo
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: xdp-tools
Version: 9.1
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Toke Høiland-Jørgensen
QA Contact: Zhiqian Guan
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-06-15 10:28 UTC by Hangbin Liu
Modified: 2022-09-23 10:26 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-09-23 10:26:37 UTC
Type: Bug
Target Upstream Version:
Embargoed:
pm-rhel: mirror+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-125330 0 None None None 2022-06-15 10:40:25 UTC

Description Hangbin Liu 2022-06-15 10:28:07 UTC
Description of problem:

Currently, the appstream repo only has xdp-tools and libxdp. There is no way for customer to install libxdp-static or libxdp-devel. We need to include libxdp-static and libxdp-devel as well.

Comment 2 Josh Boyer 2022-06-21 13:00:53 UTC
Please follow https://one.redhat.com/rhel-development-guide/#proc_shipping-subpackages_assembly_managing-RHEL-content and ensure release+ is set.

The MR here: https://gitlab.com/redhat/centos-stream/release-engineering/comps/-/merge_requests/255 adds these to the CRB repo, but this bug is asking for AppStream.  We don't encourage static linking in general, so can someone explain the need for libxdp-static?

Comment 3 Toke Høiland-Jørgensen 2022-06-21 16:33:38 UTC
Both of those are for consistency with libbpf; we ship both libbpf-devel and libbpf-static, and they are in the CRB repo. While it's technically possible to use libxdp without libbpf, they are fairly close siblings, so it makes the most sense to have them together... I'll update the BZ title to reflect this.

Comment 4 Brian Stinson 2022-06-29 19:51:36 UTC
Merged here: https://gitlab.com/redhat/centos-stream/release-engineering/comps/-/merge_requests/255

This should show up in the next composes

Comment 5 Zhiqian Guan 2022-09-23 10:26:37 UTC
libxdp-devel and libxdp-static are in CRB repo, close this with currentrelease

[root@netqe1 ~]# yum install -y libxdp-devel
Updating Subscription Management repositories.
Unable to read consumer identity

This system is not registered with an entitlement server. You can use subscription-manager to register.

Last metadata expiration check: 2:40:44 ago on Fri 23 Sep 2022 03:42:11 AM EDT.
Dependencies resolved.
==============================================================================================================================================================================================================================================
 Package                                                         Architecture                                     Version                                                    Repository                                                  Size
==============================================================================================================================================================================================================================================
Installing:
 libxdp-devel                                                    x86_64                                           1.2.6-1.el9                                                beaker-CRB                                                  18 k
Installing dependencies:
 elfutils-libelf-devel                                           x86_64                                           0.187-5.el9                                                beaker-AppStream                                            27 k
 libbpf-devel                                                    x86_64                                           2:0.6.0-1.el9                                              beaker-CRB                                                  74 k
 zlib-devel                                                      x86_64                                           1.2.11-34.el9                                              beaker-AppStream                                            47 k

Transaction Summary
==============================================================================================================================================================================================================================================
Install  4 Packages

Total download size: 166 k
Installed size: 471 k
Downloading Packages:
(1/4): elfutils-libelf-devel-0.187-5.el9.x86_64.rpm                                                                                                                                                           6.1 MB/s |  27 kB     00:00
(2/4): zlib-devel-1.2.11-34.el9.x86_64.rpm                                                                                                                                                                    9.0 MB/s |  47 kB     00:00
(3/4): libbpf-devel-0.6.0-1.el9.x86_64.rpm                                                                                                                                                                    7.6 MB/s |  74 kB     00:00
(4/4): libxdp-devel-1.2.6-1.el9.x86_64.rpm                                                                                                                                                                    2.8 MB/s |  18 kB     00:00
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                                                                                          13 MB/s | 166 kB     00:00
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                                                                                                                                                      1/1
  Installing       : zlib-devel-1.2.11-34.el9.x86_64                                                                                                                                                                                      1/4
  Installing       : elfutils-libelf-devel-0.187-5.el9.x86_64                                                                                                                                                                             2/4
  Installing       : libbpf-devel-2:0.6.0-1.el9.x86_64                                                                                                                                                                                    3/4
  Installing       : libxdp-devel-1.2.6-1.el9.x86_64                                                                                                                                                                                      4/4
  Running scriptlet: libxdp-devel-1.2.6-1.el9.x86_64                                                                                                                                                                                      4/4
  Verifying        : elfutils-libelf-devel-0.187-5.el9.x86_64                                                                                                                                                                             1/4
  Verifying        : zlib-devel-1.2.11-34.el9.x86_64                                                                                                                                                                                      2/4
  Verifying        : libbpf-devel-2:0.6.0-1.el9.x86_64                                                                                                                                                                                    3/4
  Verifying        : libxdp-devel-1.2.6-1.el9.x86_64                                                                                                                                                                                      4/4
Installed products updated.

Installed:
  elfutils-libelf-devel-0.187-5.el9.x86_64                         libbpf-devel-2:0.6.0-1.el9.x86_64                         libxdp-devel-1.2.6-1.el9.x86_64                         zlib-devel-1.2.11-34.el9.x86_64

Complete!
[root@netqe1 ~]# yum install -y libxdp-static
Updating Subscription Management repositories.
Unable to read consumer identity

This system is not registered with an entitlement server. You can use subscription-manager to register.

Last metadata expiration check: 2:40:56 ago on Fri 23 Sep 2022 03:42:11 AM EDT.
Dependencies resolved.
==============================================================================================================================================================================================================================================
 Package                                                     Architecture                                         Version                                                      Repository                                                Size
==============================================================================================================================================================================================================================================
Installing:
 libxdp-static                                               x86_64                                               1.2.6-1.el9                                                  beaker-CRB                                                41 k

Transaction Summary
==============================================================================================================================================================================================================================================
Install  1 Package

Total download size: 41 k
Installed size: 151 k
Downloading Packages:
libxdp-static-1.2.6-1.el9.x86_64.rpm                                                                                                                                                                          7.7 MB/s |  41 kB     00:00
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                                                                                         4.0 MB/s |  41 kB     00:00
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                                                                                                                                                      1/1
  Installing       : libxdp-static-1.2.6-1.el9.x86_64                                                                                                                                                                                     1/1
  Running scriptlet: libxdp-static-1.2.6-1.el9.x86_64                                                                                                                                                                                     1/1
  Verifying        : libxdp-static-1.2.6-1.el9.x86_64                                                                                                                                                                                     1/1
Installed products updated.

Installed:
  libxdp-static-1.2.6-1.el9.x86_64

Complete!
[root@netqe1 ~]# uname -a
Linux netqe1.knqe.lab.eng.bos.redhat.com 5.14.0-162.3.1.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Sep 16 09:38:07 EDT 2022 x86_64 x86_64 x86_64 GNU/Linux
[root@netqe1 ~]# cat /etc/redhat-release
Red Hat Enterprise Linux release 9.1 Beta (Plow)
[root@netqe1 ~]#


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