Re: python debug packages

2016-05-17 Thread Matthias Klose

On 14.05.2016 23:26, Iustin Pop wrote:

On 2016-04-22 19:36:12, Matthias Klose wrote:

On 22.04.2016 16:58, Jean-Michel Vourgère wrote:

Hi

Now that debug symbols are automatically generated in -dbgsym packages,
how do you handle the debug
/usr/lib/python2.7/dist-packages/.x86_64-linux-gnu_d.so files?

They used to go in a generic -dbg package.


[…]


- Do not migrate to new style -dbgsym packages and keep everything in
rrtool-dbg, like it is now.


that would be my preferred solution.


Reading
https://wiki.debian.org/Python/LibraryStyleGuide#Building_python_-dbg_packages,
there is some hints to this, but it's not clear that only automatic
debug packages work for Python packages. Would it make sense to update
the wiki page and say "don't migrate to dbgsym packages as Python needs
debug extensions and not only debug symbols"?


sounds fine.



Re: python debug packages

2016-05-14 Thread Iustin Pop
On 2016-04-22 19:36:12, Matthias Klose wrote:
> On 22.04.2016 16:58, Jean-Michel Vourgère wrote:
> > Hi
> > 
> > Now that debug symbols are automatically generated in -dbgsym packages,
> > how do you handle the debug
> > /usr/lib/python2.7/dist-packages/.x86_64-linux-gnu_d.so files?
> > 
> > They used to go in a generic -dbg package.

[…]

> > - Do not migrate to new style -dbgsym packages and keep everything in
> > rrtool-dbg, like it is now.
> 
> that would be my preferred solution.

Reading
https://wiki.debian.org/Python/LibraryStyleGuide#Building_python_-dbg_packages,
there is some hints to this, but it's not clear that only automatic
debug packages work for Python packages. Would it make sense to update
the wiki page and say "don't migrate to dbgsym packages as Python needs
debug extensions and not only debug symbols"?

thanks,
iustin



Re: python debug packages

2016-04-22 Thread Matthias Klose

On 22.04.2016 16:58, Jean-Michel Vourgère wrote:

Hi

Now that debug symbols are automatically generated in -dbgsym packages,
how do you handle the debug
/usr/lib/python2.7/dist-packages/.x86_64-linux-gnu_d.so files?

They used to go in a generic -dbg package.

I'm thinking about rrdtool, and it already has a lot of packages:
https://tracker.debian.org/pkg/rrdtool

I'm considering creating a specific python-rrdtool-dbg package.

Other options I can think of are:
- Put the debug .so file into the main python-rrdtool package


no, that would add dependencies on the python-dbg packages by default.


- Do not migrate to new style -dbgsym packages and keep everything in
rrtool-dbg, like it is now.


that would be my preferred solution.


- Stop bothering about this debug .so file, and trash it.


please don't.