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

Enable libtraceevent/libtracefs support for Fedora #266

Open
wants to merge 1 commit into
base: pending
Choose a base branch
from

Conversation

jamesjer
Copy link

@jamesjer jamesjer commented Aug 9, 2024

As noted in https://src.fedoraproject.org/rpms/ndctl/pull-request/2, the expression 0%{?rhel} evaluates to zero on Fedora, so the conditional %if 0%{?rhel} < 9 evaluates to true, since 0 is less than 9. The result is that ndctl builds for Fedora lack support for libtraceevent and libtracefs, which is fixed by this PR.

@AlisonSchofield
Copy link
Contributor

I just posted this on the mailing list. Please take a look and confirm that's what you want. https://lore.kernel.org/nvdimm/[email protected]/

AlisonSchofield pushed a commit that referenced this pull request Aug 22, 2024
As noted in https://src.fedoraproject.org/rpms/ndctl/pull-request/2,
the expression "0%{?rhel}" evaluates to zero on Fedora, so the
conditional "%if 0%{?rhel} < 9" evaluates to true, since 0 is less
than 9. The result is that ndctl builds for Fedora lack support for
libtraceevent and libtracefs. Correct the expression.

Reposted here from github pull request:
#266

Signed-off-by: Jerry James <[email protected]>
Reviewed-by: Vishal Verma <[email protected]>
Reviewed-by: Dave Jiang <[email protected]>
Signed-off-by: Alison Schofield <[email protected]>
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