On 22 May 2011 13:08, Sven Joachim <svenj...@gmx.de> wrote:
> On 2011-05-21 00:02 +0200, Reuben Thomas wrote:
>
>> ncurses comes with a valgrind suppressions file these days; please
>> ship it in the ncurses dev packages.
>
> Good idea, thanks.  Is there a standard place where packages should put
> such .supp files?  The python package dumps one in /usr/lib/valgrind,
> claiming "there's no need to to add it with the --suppressions option",
> but that statement appears to be false (see #550999).
>
> If there is no standard place, I would just put ncurses.supp into
> /usr/share/doc/<packagename>, since that's where it is most likely to be
> discovered.

http://packages.debian.org/search?searchon=contents&keywords=.supp&mode=path&suite=stable&arch=any

reveals that of the various possible locations, /usr/lib/valgrind is
favourite and /usr/share/doc is not used.

I would put it in /usr/lib/valgrind, as this increases the motivation
for default.supp to be automatically generated by an apt hook. It is
also the only place I've ever thought of looking for .supp files
myself. Finally, it chimes nicely with a valgrind bug report:

http://bugs.kde.org/show_bug.cgi?id=93376

in the sense that if this were implemented it would make picking up
default suppressions from multiple files much easier.

-- 
http://rrt.sc3d.org



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to