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:
- 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?
(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?
It should be fixed in dpdk-20.11-1.el8fdb.4
*** Bug 1912094 has been marked as a duplicate of this bug. ***