On 2011-05-22 14:16 +0200, Reuben Thomas wrote:

> 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.

Okay, then I'll probably go for /usr/lib/valgrind.  Which also means
that the file will only be shipped in one package (probably
libncurses5-dev), since providing it also under the names ncursesw.supp,
ncurses32.supp etc. is rather ugly.

Cheers,
       Sven



-- 
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