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.
When building rpm packages on fedora 43 from source using
make pkgI 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/bpftuneI modified
buildrpm/bpftune.specby adding the line%define _includedir /usr/src/debug/bpftune-0.4-2.fc43.x86_64/include/and ranmake pkgagain. 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.specagain to remove pcp-pmda from the build - deleting lines 51-59 and 95-96. Ranmake pkgagain 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.