Your message dated Fri, 28 Aug 2026 09:49:41 +0000
with message-id <[email protected]>
and subject line Bug#1145456: fixed in libratbag 0.18-2
has caused the Debian Bug report #1145456,
regarding libratbag: FTBFS: _libratbag.so.p/libratbag.c:4583:17: error:
implicit declaration of function 'PyInt_FromLong'; did you mean
'PyLong_FromLong'? [-Wimplicit-function-declaration]
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1145456: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1145456
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:libratbag
Version: 0.18-1
Severity: serious
Tags: ftbfs forky sid
Dear maintainer:
During a rebuild of all packages in unstable, this package failed to build.
Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:
https://people.debian.org/~sanvila/build-logs/202608/
About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.
If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.
If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:libratbag, so that this is still
visible in the BTS web page for this package.
Thanks.
--------------------------------------------------------------------------------
[...]
[68/86] cc -Iratbagd.devel.p -I. -I.. -I../src -I../rbtree/s
[too-long-redacted] .o -c ../ratbagd/ratbagd-test.c
[69/86] cc -Iratbagd.devel.p -I. -I.. -I../src -I../rbtree/s
[too-long-redacted] .c.o -c ../src/libratbag-util.c
[70/86] cc -I_libratbag.so.p -I. -I.. -I../src -I../tools -I
[too-long-redacted] -c _libratbag.so.p/libratbag.c
FAILED: [code=1] _libratbag.so.p/meson-generated_libratbag.c.o
cc -I_libratbag.so.p -I. -I.. -I../src -I../tools -I/usr/inc
[too-long-redacted] -c _libratbag.so.p/libratbag.c
_libratbag.so.p/libratbag.c: In function
â_wrap_ratbag_device_get_vendor_idâ:
_libratbag.so.p/libratbag.c:4583:17: error: implicit declaration of function
âPyInt_FromLongâ; did you mean âPyLong_FromLongâ?
[-Wimplicit-function-declaration]
4583 | resultobj = PyInt_FromLong((long) result);
| ^~~~~~~~~~~~~~
| PyLong_FromLong
_libratbag.so.p/libratbag.c:4583:15: error: assignment to âPyObject *â {aka
âstruct _object *â} from âintâ makes pointer from integer without a
cast [-Wint-conversion]
4583 | resultobj = PyInt_FromLong((long) result);
| ^
_libratbag.so.p/libratbag.c: In function
â_wrap_ratbag_device_get_product_idâ:
_libratbag.so.p/libratbag.c:4609:15: error: assignment to âPyObject *â {aka
âstruct _object *â} from âintâ makes pointer from integer without a
cast [-Wint-conversion]
4609 | resultobj = PyInt_FromLong((long) result);
| ^
_libratbag.so.p/libratbag.c: In function
â_wrap_ratbag_device_get_product_versionâ:
_libratbag.so.p/libratbag.c:4635:15: error: assignment to âPyObject *â {aka
âstruct _object *â} from âintâ makes pointer from integer without a
cast [-Wint-conversion]
4635 | resultobj = PyInt_FromLong((long) result);
| ^
_libratbag.so.p/libratbag.c: In function
â_wrap_ratbag_profile_get_report_rate_listâ:
_libratbag.so.p/libratbag.c:5168:12: error: implicit declaration of function
âPyInt_Checkâ; did you mean âPySet_Checkâ?
[-Wimplicit-function-declaration]
5168 | if (!PyInt_Check(s)) {
| ^~~~~~~~~~~
| PySet_Check
_libratbag.so.p/libratbag.c:5173:17: error: implicit declaration of function
âPyInt_AsLongâ; did you mean âPyLong_AsLongâ?
[-Wimplicit-function-declaration]
5173 | arg2[i] = PyInt_AsLong(s);
| ^~~~~~~~~~~~
| PyLong_AsLong
_libratbag.so.p/libratbag.c:5182:38: error: passing argument 3 of
âPyList_SetItemâ makes pointer from integer without a cast
[-Wint-conversion]
5182 | PyList_SetItem(swig_obj[1], i, PyInt_FromLong(arg2[i]));
| ^~~~~~~~~~~~~~~~~~~~~~~
| |
| int
In file included from /usr/include/python3.14/Python.h:92,
from _libratbag.so.p/libratbag.c:206:
/usr/include/python3.14/listobject.h:35:56: note: expected âPyObject *â
{aka âstruct _object *â} but argument is of type âintâ
35 | PyAPI_FUNC(int) PyList_SetItem(PyObject *, Py_ssize_t, PyObject *);
| ^~~~~~~~~~
_libratbag.so.p/libratbag.c: In function
â_wrap_ratbag_profile_get_debounce_listâ:
_libratbag.so.p/libratbag.c:5350:38: error: passing argument 3 of
âPyList_SetItemâ makes pointer from integer without a cast
[-Wint-conversion]
5350 | PyList_SetItem(swig_obj[1], i, PyInt_FromLong(arg2[i]));
| ^~~~~~~~~~~~~~~~~~~~~~~
| |
| int
/usr/include/python3.14/listobject.h:35:56: note: expected âPyObject *â
{aka âstruct _object *â} but argument is of type âintâ
35 | PyAPI_FUNC(int) PyList_SetItem(PyObject *, Py_ssize_t, PyObject *);
| ^~~~~~~~~~
_libratbag.so.p/libratbag.c: In function
â_wrap_ratbag_resolution_get_dpi_listâ:
_libratbag.so.p/libratbag.c:5688:38: error: passing argument 3 of
âPyList_SetItemâ makes pointer from integer without a cast
[-Wint-conversion]
5688 | PyList_SetItem(swig_obj[1], i, PyInt_FromLong(arg2[i]));
| ^~~~~~~~~~~~~~~~~~~~~~~
| |
| int
/usr/include/python3.14/listobject.h:35:56: note: expected âPyObject *â
{aka âstruct _object *â} but argument is of type âintâ
35 | PyAPI_FUNC(int) PyList_SetItem(PyObject *, Py_ssize_t, PyObject *);
| ^~~~~~~~~~
[71/86] cc -Iratbagd.devel.p -I. -I.. -I../src -I../rbtree/s
[too-long-redacted] .o -c ../ratbagd/ratbagd-json.c
ninja: build stopped: subcommand failed.
dh_auto_build: error: cd obj-x86_64-linux-gnu && LC_ALL=C.UTF-8 ninja -j2 -v
returned exit code 1
make: *** [debian/rules:8: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit
status 2
--------------------------------------------------------------------------------
--- End Message ---
--- Begin Message ---
Source: libratbag
Source-Version: 0.18-2
Done: Stephen Kitt <[email protected]>
We believe that the bug you reported is fixed in the latest version of
libratbag, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Stephen Kitt <[email protected]> (supplier of updated libratbag package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Fri, 28 Aug 2026 11:32:16 +0200
Source: libratbag
Architecture: source
Version: 0.18-2
Distribution: unstable
Urgency: medium
Maintainer: Stephen Kitt <[email protected]>
Changed-By: Stephen Kitt <[email protected]>
Closes: 1145456
Changes:
libratbag (0.18-2) unstable; urgency=medium
.
* Apply upstream patch to build with SWIG 4.5.0. Closes: #1145456.
* Drop “Priority: optional” since it’s now the default.
* Drop “Rules-Requires-Root: no” since it’s now the default.
* Standards-Version 4.7.4, no further change needed.
* Bump to debhelper compatibility level 14.
* Update debian/watch to version 5.
Checksums-Sha1:
82f400dd73678ac2a6900b1c14ea605ee20039f0 2204 libratbag_0.18-2.dsc
f11100045d43c253546c07f38ac1a390d1b91f58 6696 libratbag_0.18-2.debian.tar.xz
0a5788f2b552d9a6f83a4cd96e29f8b183bd4a6c 10290
libratbag_0.18-2_source.buildinfo
Checksums-Sha256:
abfad2de9c691f6dc208d355c8f426aa07f4b50476bf49255412a2d72d382e41 2204
libratbag_0.18-2.dsc
f2d996038afe6e80bf8312c99add783861dc57067029de5799aa0b3eb4dc5760 6696
libratbag_0.18-2.debian.tar.xz
3fa4cb19dea3b4f7a1d4483e501ca7b0543ba56d5deb18842860c1792ac533ae 10290
libratbag_0.18-2_source.buildinfo
Files:
56a5a1b6c4f36442a42b47f78ba6599b 2204 libs optional libratbag_0.18-2.dsc
bf48ccd1617638f206596a3ca55e135b 6696 libs optional
libratbag_0.18-2.debian.tar.xz
4e1d775c214e099698fd5b973bf95ead 10290 libs optional
libratbag_0.18-2_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEnPVX/hPLkMoq7x0ggNMC9Yhtg5wFAmqRVbIACgkQgNMC9Yht
g5yAEg//V35ErDZ7NBboHSFpSTkD6g/JIN6uTx1HDchfo8fVoW689Vl9f2McsZHm
XGzfKBFSfIgJB3NDxzeme5ucOmxLxCCKYa2HDChScbTDJ/fftRjDn0rGm1S27lNw
hVDmcQT79lDPVJ6wYMPb0OJTahkaW7MSJ5re1XB24MDmw23IKccOCYtWzhsz9qX1
fS5MnnmfBfQ5mzK76SDiSz8xxZrpOy1mIbn6YREvF2Z4izV9juBAY2W3MTCjEw1r
hVzlLCldOOwQWwbnD5s7Bpz5fYqlZyWyZiSrha4DfmGgB+O0CudhWhUBHqmFlxNc
4ePobMkknYhvzvA+1YnpW5L4VfhaTB7k8HrkbY+dfqm1LXnAWueLfseYrCRR0rm2
+4sbp/CrL9g6VoRx1otBOHlU69Pz7A2kQI5sE+E9CGfniQdKP2aK/jeEh/HtdKAW
cVyHNeq6bttMUQCJImNpoCDsmuoymylSAJ/SBQ5obm9xH0JHVezEA62z/u6e8MTa
vYYwG9CPJM7N6uCPFX9TFjBcqvaObKdLgBXl2MHVUUqMgM85+mi9gQH2fmmQLWTG
vRwzD7PxZvgaMBnNnc1iuEGVJJ29QiJo6G9tqg/HoRhvoXTm09VAyQ8HjLGsBCaX
n79OHv7izpNq0MkuWIm3liO+fytodNXbUJAtfUW8Ie0QXKn8yj4=
=M4Cj
-----END PGP SIGNATURE-----
pgpwbwrRc9xeX.pgp
Description: PGP signature
--- End Message ---