Skip to content

error when building rpm packages on Fedora 43 #236

Description

@argonauts12

When building rpm packages on fedora 43 from source using make pkg I receive 2 errors. I've tried building on two different fedora 43 systems, one a relatively fresh install.

I am not having the issue addressed in #227

First Error

RPM build errors: File not found: /home/argonauts12/rpmbuild/BUILD/bpftune-0.4-build/BUILDROOT/usr/include/bpftune

I modified buildrpm/bpftune.spec by adding the line %define _includedir /usr/src/debug/bpftune-0.4-2.fc43.x86_64/include/ and ran make pkg again. This time it failed with error:

Second Error

RPM build errors: File not found: /home/argonauts12/rpmbuild/BUILD/bpftune-0.4-build/BUILDROOT/var/lib/pcp/pmdas/bpftune/*

I updated buildrpm/bpftune.spec again to remove pcp-pmda from the build - deleting lines 51-59 and 95-96. Ran make pkg again and it built successfully.

I didn't look into a non hackish way to fix this issue - I was just trying to brute force it. I haven't worked with rpm spec files in a decade.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions