Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add correct list of dependency packages for perftest #303

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

TamaraBabayan
Copy link

While creating .deb and .rpm packages for perftest, some dependencies for proper operation are missing. This patch adds the correct list of minimum required packages that include all the necessary libraries for perftest to function successfully.

For rpm package was added the following list of dependencies libibverbs, libibumad, librdmacm, libpci3, rdma-core`

For deb package was added libibumad and rdma-core, which were missing.

Tamara Babayan added 2 commits December 19, 2024 15:27
During the RPM package build process for perftest, libraries are added and we cannot specify dependencies when we have the package.
This patch addresses the issue by adding only the minimum necessary packages that include those libraries, considering recursion.
After applying this patch, installing the package with its dependencies will work successfully.
Perftest requires the rdma-core and libibumad packages for proper operation, but they are missing from the dependency list.
As a result, perftest can be installed successfully, and its tools can be used, but some will not work without the libibumad package.
This patch adds the missing dependencies to the perftest package.
@@ -10,7 +10,7 @@ Vcs-Browser: http://git.openfabrics.org/git?p=~shamoya/perftest.git;a=summary

Package: perftest
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}, libibverbs1 (>= 1.1.6), librdmacm1 (>=1.0.8)
Depends: ${shlibs:Depends}, ${misc:Depends}, libibverbs1 (>= 1.1.6), librdmacm1 (>=1.0.8), libibumad, rdma-core

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Dependencies on libraries are added automatically at build time. For instance, the deb package depends on libibumad3 as well as on some other rdma-core libraries (libibverbs1, and others). See https://packages.debian.org/sid/perftest .

Why doe sit need to depend on rdma-core?

@@ -9,6 +9,7 @@ Url: http://www.openfabrics.org
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: libibverbs-devel librdmacm-devel libibumad-devel
BuildRequires: pciutils-devel
Requires: libibverbs libibumad librdmacm libpci3 rdma-core

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See other comment: dependencies on libraries should be auto-generated. Dependency on rdma-core: why?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants