#1147231 pygattlib: FTBFS against python 3.15rc2

Package:
src:pygattlib
Source:
src:pygattlib
Submitter:
Maximiliano Curia
Date:
2026-10-30 10:05:04 UTC
Severity:
normal
Tags:
#1147231#5
Date:
2026-09-09 20:39:25 UTC
From:
To:
Hi!

While rebuilding the python related packages against the Python 3.15rc2
version we found that pygattlib fails to build from source [1].

To fix it, I backported upstream commit 73a73b71: Fix build for Python
3.13 [2].

I've applied the upstream fix in the sandbox [3] to verify that it
builds successfully, please consider applying the patch to support the
upcoming 3.15 version.

Setting the severity to important for now. Once Python 3.15 is released,
it will be added to python3-defaults and this bug will become release
critical.

Happy hacking,

[1]: https://debusine.debian.net/debian/r-python-python3.15/artifact/4284740/
[2]: https://github.com/oscaracena/pygattlib/commit/73a73b71cfc139e1e0a08816fb976ff330c77ea5
[3]: https://debusine.debian.net/debian/r-python-python3.15/

#1147231#12
Date:
2026-10-30 06:34:57 UTC
From:
To:
Hi Maximiliano

I'm confused, quilt is confused:

the existing 36.patch has identical contents.

Greetings

#1147231#17
Date:
2026-10-30 10:03:47 UTC
From:
To:
¡Hola Alexandre!

El 2026-10-30 a las 07:34 +0100, Alexandre Detiste escribió:

Interesting, looking at the information in here it seems that it was
caused by a bad build timing, an incomplete git repository history and
overlooks from my part to all of these.

So, the package failed to build with 3.15 as a supported version, that
queued the package for me to review it, the relevant error in the build
log is:
/usr/bin/x86_64-linux-gnu-ld.bfd: cannot find -lboost_python315: No such file or directory

A rebuild of boost python wouid probably have fixed that.

But instead of focussing on that I went directly to the git repository,
rebuilt the package locally and found another problem that was causing
the package to fail to build aginst 3.13, without noticing that the git
repository was missing the latest nmu 0~20210616-1.1. By the time I
already had a boost library rebuilt against Python 3.15. So the
originnal problem was no longer present.

All of this is mostly my fault for fast tracking preparing the patches,
closing the bug.

My only pending request here is, if possible, please try to merge the
nmu in the git repository.

Happy hacking,