[Pkg-samba-maint] Bug#972912: Incorrect fix to bug

Sven Mueller sven.mueller72 at gmail.com
Thu Dec 17 15:44:11 GMT 2020


Hi Mathieu.

Just wanted to say that your fix here seems wrong:
The symbols file says when a specific symbol for a specific lib was added.
If I rebuild ldb against Python 3.9, it will suddenly claim that - for
example -  symbol PYLDB_UTIL_2.1.0 at PYLDB_UTIL_2.1.0 was added to the
package - for the Python 3.9 specific lib - in package version 2:2.1.0 -
Even though that package version was not built against Python 3.9 at all.

The better fix would be to explicitly build against specific Python
versions (python3.8-dev, python3.9-dev build dependencies) and have
appropriate symbols listed for both of them.

Currently, if a package builds against the ldb python bindings for Python
3.9, it will generate versioned dependencies that are incorrect (if all it
uses would be the above symbol, it would depend on python3-ldb >= 2:2.1.0 -
which didn't have any Python 3.9 bindings) - and fail after installation.

To be fair though, I'm not even sure having the symbols file for the python
bindings .so files makes much sense.

Cheers,
Sven
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-samba-maint/attachments/20201217/01f1111b/attachment.html>


More information about the Pkg-samba-maint mailing list