The onload-dkms package requires libcap-dev.#315
Open
lukester1975 wants to merge 1 commit intoXilinx-CNS:v9_1from
Open
The onload-dkms package requires libcap-dev.#315lukester1975 wants to merge 1 commit intoXilinx-CNS:v9_1from
lukester1975 wants to merge 1 commit intoXilinx-CNS:v9_1from
Conversation
Collaborator
|
Hi @lukester1975, Thanks for spotting, reporting and proposing a fix for this! My first thought is that there must be a bug if the kernel module build (which AIUI should be pure kernel module for DKMS/AKMOD/kmod RPM) relies on a userspace library, even if just for a handy numerical definition from a header file or in test code, so we should fix that bug instead. That said, if we are at present relying implicitly on this then we could arguably admit as such in the package definition until such time as we have fixed (eliminated) the underlying dependency. |
Contributor
Author
|
Sure, makes sense. It's months since I tripped over it so don't recall anything further, but from a quick look I guess Thanks |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hi
E.g. if installed in a minimal system that didn't generate the debs in the first place, the module build will fail.
I guess there's an argument to include more of the
Build-Dependsif requiringdkms(andbuild-essentialtransiently) doesn't bring in all the required deps, but I've not personally had a problem other thanlibcap-dev.RPM looks OK due to
user_build_requiresfor the akmod spec, AFAICT.Thanks!