Bug 1908615 - FDB DPDK 20.11 fdb version dpdk-tools install failed on both rhel8.3 and rhel8.4
Summary: FDB DPDK 20.11 fdb version dpdk-tools install failed on both rhel8.3 and rhel8.4
Keywords:
Status: MODIFIED
Alias: None
Product: Red Hat Enterprise Linux Fast Datapath
Classification: Red Hat
Component: DPDK
Version: RHEL 8.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Timothy Redaelli
QA Contact: liting
URL:
Whiteboard:
: 1912094 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-12-17 07:49 UTC by Hekai Wang
Modified: 2023-07-13 07:25 UTC (History)
5 users (show)

Fixed In Version: dpdk-20.11-1.el8fdb.4
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker FD-990 0 None None None 2022-02-22 06:01:53 UTC

Description Hekai Wang 2020-12-17 07:49:03 UTC
Description of problem:
dpdk 20.11 fdb rpm package install failed on both rhel8.3 and rhel8.4 


Version-Release number of selected component (if applicable):
dpdk/20.11/1.el8fdb.3/x86_64/dpdk-tools-20.11-1.el8fdb.3.x86_64.rpm

How reproducible:
Always

Steps to Reproduce:
[root@dell-per730-18 libexec]# ls -al /usr/libexec/platform-python*
lrwxrwxrwx. 1 root root    20 Nov 24 02:54 /usr/libexec/platform-python -> ./platform-python3.6
lrwxrwxrwx. 1 root root    18 Dec 17 02:47 /usr/libexec/platform-python3 -> platform-python3.6
-rwxr-xr-x. 2 root root 11824 Nov 24 02:54 /usr/libexec/platform-python3.6
lrwxrwxrwx. 1 root root    28 Nov 24 02:54 /usr/libexec/platform-python3.6-config -> ./platform-python3.6m-config
-rwxr-xr-x. 2 root root 11824 Nov 24 02:54 /usr/libexec/platform-python3.6m
-rwxr-xr-x. 1 root root   204 Nov 24 02:54 /usr/libexec/platform-python3.6m-config
-rwxr-xr-x. 1 root root  3626 Nov 24 02:47 /usr/libexec/platform-python3.6m-x86_64-config
lrwxrwxrwx. 1 root root    27 Nov 24 02:54 /usr/libexec/platform-python-config -> ./platform-python3.6-config
[root@dell-per730-18 libexec]# rpm -qa | grep dpdk-tools-20.11-1.el8fdb.3.x86_64 || rpm -ivh http://download-node-02.eng.bos.redhat.com/brewroot/packages/dpdk/20.11/1.el8fdb.3/x86_64/dpdk-tools-20.11-1.el8fdb.3.x86_64.rpm
Retrieving http://download-node-02.eng.bos.redhat.com/brewroot/packages/dpdk/20.11/1.el8fdb.3/x86_64/dpdk-tools-20.11-1.el8fdb.3.x86_64.rpm
error: Failed dependencies:
	/usr/libexec/platform-python3 is needed by dpdk-tools-20.11-1.el8fdb.3.x86_64
[root@dell-per730-18 libexec]# rpm -qa | grep platform-python
platform-python-devel-3.6.8-33.el8.x86_64
platform-python-3.6.8-33.el8.x86_64
platform-python-setuptools-39.2.0-6.el8.noarch
platform-python-pip-9.0.3-18.el8.noarch

1.
2.
3.

Actual results:
Install failed

Expected results:
Install successfully


Additional info:

Comment 1 David Marchand 2021-01-05 15:58:22 UTC
- Hekai,

Just to confirm, did you create this symlink?
lrwxrwxrwx. 1 root root    18 Dec 17 02:47 /usr/libexec/platform-python3 -> platform-python3.6
A RHEL 8.3 system of mine does not have it.


- Timothy,

The problem Hekai describes is a packaging issue.

The downstream specfile currently replaces python shebang with content of ${__python3}.
As far as I can see, this gets filled with /usr/lib/platform-python3.
This should be either /usr/lib/platform-python or /usr/bin/python3.

I think you are better placed than me to fix this, wdyt?

Comment 2 Hekai Wang 2021-01-06 01:58:54 UTC
(In reply to David Marchand from comment #1)
> - Hekai,
> 
> Just to confirm, did you create this symlink?
> lrwxrwxrwx. 1 root root    18 Dec 17 02:47 /usr/libexec/platform-python3 ->
> platform-python3.6
> A RHEL 8.3 system of mine does not have it.

Yes , It still does not work even I create a symlink for it .
Thanks .
[root@dell-per730-18 libexec]# ls -al /usr/libexec/platform-python*
lrwxrwxrwx. 1 root root    20 Nov 24 02:54 /usr/libexec/platform-python -> ./platform-python3.6
lrwxrwxrwx. 1 root root    18 Dec 17 02:47 /usr/libexec/platform-python3 -> platform-python3.6
> 
> 
> - Timothy,
> 
> The problem Hekai describes is a packaging issue.
> 
> The downstream specfile currently replaces python shebang with content of
> ${__python3}.
> As far as I can see, this gets filled with /usr/lib/platform-python3.
> This should be either /usr/lib/platform-python or /usr/bin/python3.
> 
> I think you are better placed than me to fix this, wdyt?

Comment 3 Timothy Redaelli 2021-01-12 19:38:52 UTC
It should be fixed in dpdk-20.11-1.el8fdb.4

Comment 4 Timothy Redaelli 2021-01-13 18:37:22 UTC
*** Bug 1912094 has been marked as a duplicate of this bug. ***


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