Finding all the source packages that include a copy of valgrind.h

Mark Wielaard mjw at redhat.com
Fri Sep 12 20:40:28 UTC 2014


Hi Josh,

On Fri, 2014-09-12 at 08:47 -0700, Josh Stone wrote:
> On 09/12/2014 08:09 AM, Mark Wielaard wrote:
> > Is there a magic repoquery that I could run, or some other way to search
> > through all source rpm files?
> 
> The header should be captured in debuginfo sources, so:
> 
> $ repoquery --whatprovides '/usr/src/debug/*/valgrind.h' \
>   --repoid=fedora-debuginfo --release=21 | sort -V
> 
> $ repoquery --whatprovides '/usr/src/debug/*/valgrind.h' \
>   --repoid=rawhide-debuginfo | sort -V
> 
> That finds most of the ones you mentioned, but not realmd or ipxe.
> Maybe those don't actually use it?

Awesome. That was precisely what I was looking for.
In the case of realmd the valgrind.h files is in the package, it is even
#included in some of the sources, but no VALGRIND macro is ever used in
the source. So effectively it isn't used. ipxe is explicitly disabling
generating a debuginfo package in the spec file, so don't want to be
found.

> Here's the list I get for rawhide:
> 
> 0ad-debuginfo-0:0.0.16-10.fc22.x86_64
> condor-debuginfo-0:8.1.4-7.a1a7df5.fc22.x86_64
> fwbuilder-debuginfo-0:5.1.0.3599-5.fc20.x86_64
> gcr-debuginfo-0:3.13.91-1.fc22.x86_64
> glib2-debuginfo-0:2.41.4-3.fc22.x86_64
> gperftools-debuginfo-0:2.2.1-2.fc22.x86_64
> libgnome-keyring-debuginfo-0:3.12.0-4.fc22.x86_64
> libsecret-debuginfo-0:0.18-4.fc22.x86_64
> lwp-debuginfo-0:2.6-10.fc22.x86_64
> mono-debuginfo-0:2.10.8-7.fc21.x86_64
> pidgin-debuginfo-0:2.10.9-5.fc22.x86_64
> planner-debuginfo-0:0.14.6-17.fc22.x86_64
> re2-debuginfo-0:20131024-3.fc22.x86_64
> v8-debuginfo-1:3.14.5.10-13.fc22.x86_64
> valgrind-debuginfo-1:3.10.0-1.fc22.x86_64

Thanks. I'll start by investigating these packages and file bug reports
against them if they really include a private copy of valgrind.h.

Cheers,

Mark


More information about the devel mailing list