https://bugs.kde.org/show_bug.cgi?id=476553

--- Comment #2 from Peter Klotz <peter.klot...@gmail.com> ---
Hi Mark

Thanks, your suggestion brought me a lot closer to building the RPM.
However at the end I got messages about unpackaged files:

> Checking for unpackaged file(s): /usr/lib/rpm/check-files 
> /home/user/rpmbuild/BUILDROOT/valgrind-3.22.0.x86_64
> error: Installed (but unpackaged) file(s) found:
>    
> /usr/lib/debug/usr/libexec/valgrind/cachegrind-amd64-linux-3.22.0.x86_64.debug
>    ...
>    /usr/libexec/valgrind/32bit-core-valgrind-s1.xml
> 
> RPM build errors:
>     Installed (but unpackaged) file(s) found:
>    
> /usr/lib/debug/usr/libexec/valgrind/cachegrind-amd64-linux-3.22.0.x86_64.debug
>    ...
>    /usr/libexec/valgrind/32bit-core-valgrind-s1.xml
>    ...

To fix those, another patch was needed:
> diff -Nur valgrind-3.22.0/valgrind.spec valgrind-3.22.0.patched/valgrind.spec
> --- valgrind-3.22.0/valgrind.spec       2023-10-31 18:26:43.000000000 +0100
> +++ valgrind-3.22.0.patched/valgrind.spec       2023-11-08 07:13:21.246612838 
> +0100
> @@ -42,6 +42,7 @@
>  %{_includedir}/valgrind
>  %{_libdir}/valgrind
>  %{_libdir}/pkgconfig/*
> +%{_libexecdir}/valgrind
> 
>  %doc
>  %defattr(-,root,root)

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to