[rrdtool-maint] Bug#942639: fix build with Python3.8 + unusual packaging of the debug extension

Matthias Klose doko at debian.org
Sat Oct 19 14:52:48 BST 2019


On 19.10.19 15:42, Jean-Michel Vourgère wrote:
> Hi again
> 
> On Saturday, 19 October 2019 12:29:47 CEST Matthias Klose wrote:
>> The attached patch fixes the build with Python3.8.
>>
>> Noticing that you package both the normal and the debug extension module in
>> the same package python3-rrdtool.  The latter should be packaged into a
>> python-rrdtool-dbg package.
> 
> Could you explain a bit more how is this a problem for python 3.8?
> 
> Buster version has:
>    python3-rrdtool.install:
>    usr/lib/python3*/dist-packages/rrdtool*[0-9]m-*.so
> 
>    rrdtool-dbg.install:
>    usr/lib/python3*/dist-packages/rrdtool*[0-9]dm-*.so
> 
> 
> After switching to automatic debug symbols with an extra python -dbg package:
>    python3-rrdtool.install:
>    usr/lib/python3*/dist-packages/rrdtool*[0-9]m-*.so
> 
>    python3-rrdtool-dbg.install:
>    usr/lib/python3*/dist-packages/rrdtool*[0-9]dm-*.so
> 
> (This now generates a python3-rrdtool-dbg-dbgsym package)
> 
> 
> But I fail to see how this helps with python 3.8. Are the .so name changed?
> How so?

yes, the m modifier got dropped.



More information about the pkg-rrdtool-maint mailing list