Your message dated Fri, 21 Aug 2026 19:14:29 +0000
with message-id <[email protected]>
and subject line Bug#1145035: fixed in babeltrace2 2.1.2-2
has caused the Debian Bug report #1145035,
regarding babeltrace2: FTBFS with swig 4.5.0
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.)


-- 
1145035: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1145035
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: babeltrace2
Version: 2.1.2-1
Severity: serious
Tags: ftbfs sid forky
Justification: Policy 4.9
User: [email protected]
Usertags: swig-4.5.0

Dear Maintainer,

The babeltrace2 package FTBFS with swig 4.5.0, which is currently in unstable. 
An excerpt of the build log is shown below.

This is due to the removal of the Python 2 compatibility macros in version 
4.5.0. According to the SWIG authors, these macros were retained in the 
generated code (pyhead.swg) solely for user typemaps. Any typemap using these 
macros must be updated to call the Python 3 C API directly.

Best,

Rafael Laboissière

##### Build log excerpt

x86_64-linux-gnu-g++ -std=c++11 -fPIC -I/usr/include/glib-2.0 
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread 
-fvisibility=hidden -fvisibility-inlines-hidden -pthread -I/usr/includ
e/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include 
-I/usr/include/sysprof-6 -pthread -Wall -Wextra -Wmissing-declarations 
-Wnull-dereference -Wundef -Wredundant-decls -Wshadow 
-Wsuggest-attribute=format -Ww
rite-strings -Wformat=2 -Wstrict-aliasing -Wmissing-noreturn -Winit-self 
-Wduplicated-cond -Wduplicated-branches -Wlogical-op -Wsuggest-override 
-Wno-sign-compare -Wno-cast-function-type -Wno-maybe-uninitialized
 -g -O2 -ffile-prefix-map=<<BUILD-DIR>>/babeltrace2-2.1.2=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -Wno-shadow -Wno-null-derefer
ence -Wno-deprecated-declarations -Wno-redundant-decls 
-Wno-missing-field-initializers -Wno-unused-parameter -I../../../../include 
-I../../../../src -I../../../../src -include common/config.h -Wdate-time -D_FORT
IFY_SOURCE=2 -I./bt2 -I/usr/include/python3.14 -c bt2/native_bt.cpp -o 
build/temp.linux-x86_64-cpython-314/bt2/native_bt.o
In file included from bt2/native_bt.cpp:4039:
bt2/native_bt_error.i.hpp: In function ‘PyObject* 
bt_bt2_format_bt_error_cause(const bt_error_cause*)’:
bt2/native_bt_error.i.hpp:22:26: error: ‘PyString_FromString’ was not declared 
in this scope; did you mean ‘PyLong_FromString’?
   22 |     py_error_cause_str = PyString_FromString(error_cause_str);
      |                          ^~~~~~~~~~~~~~~~~~~
      |                          PyLong_FromString
bt2/native_bt_error.i.hpp: In function ‘PyObject* bt_bt2_format_bt_error(const 
bt_error*)’:
bt2/native_bt_error.i.hpp:38:20: error: ‘PyString_FromString’ was not declared 
in this scope; did you mean ‘PyLong_FromString’?
   38 |     py_error_str = PyString_FromString(error_str);
      |                    ^~~~~~~~~~~~~~~~~~~
      |                    PyLong_FromString
bt2/native_bt.cpp: In function ‘PyObject* _wrap_plugin_get_version(PyObject*, 
PyObject*)’:
bt2/native_bt.cpp:20695:55: error: ‘SWIG_Python_str_FromChar’ was not declared 
in this scope
20695 |       resultobj = SWIG_Python_AppendOutput(resultobj, 
SWIG_Python_str_FromChar(*arg5), 0);
      |                                                       
^~~~~~~~~~~~~~~~~~~~~~~~
bt2/native_bt.cpp: In function ‘PyObject* 
_wrap_bt2_plugin_get_version(PyObject*, PyObject*)’:
bt2/native_bt.cpp:21175:55: error: ‘SWIG_Python_str_FromChar’ was not declared 
in this scope
21175 |       resultobj = SWIG_Python_AppendOutput(resultobj, 
SWIG_Python_str_FromChar(*arg5), 0);
      |                                                       
^~~~~~~~~~~~~~~~~~~~~~~~
bt2/native_bt.cpp: In function ‘PyObject* 
_wrap_trace_borrow_environment_entry_by_index_const(PyObject*, PyObject*)’:
bt2/native_bt.cpp:24548:55: error: ‘SWIG_Python_str_FromChar’ was not declared 
in this scope
24548 |       resultobj = SWIG_Python_AppendOutput(resultobj, 
SWIG_Python_str_FromChar(*arg3), 1);
      |                                                       
^~~~~~~~~~~~~~~~~~~~~~~~
error: command '/usr/bin/x86_64-linux-gnu-g++' failed with exit code 1
make[5]: *** [Makefile:741: build-python-bindings.stamp] Error 1

--- End Message ---
--- Begin Message ---
Source: babeltrace2
Source-Version: 2.1.2-2
Done: Michael Jeanson <[email protected]>

We believe that the bug you reported is fixed in the latest version of
babeltrace2, 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.
Michael Jeanson <[email protected]> (supplier of updated babeltrace2 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, 21 Aug 2026 14:26:20 -0400
Source: babeltrace2
Architecture: source
Version: 2.1.2-2
Distribution: unstable
Urgency: medium
Maintainer: Michael Jeanson <[email protected]>
Changed-By: Michael Jeanson <[email protected]>
Closes: 1145035
Changes:
 babeltrace2 (2.1.2-2) unstable; urgency=medium
 .
   * Bump standards version to 4.7.4
   * Fix FTBFS with Swig 4.5.0 (Closes: #1145035)
Checksums-Sha1:
 61162c96354f1e6da0286b077d4ca3f0d5c13b13 2694 babeltrace2_2.1.2-2.dsc
 942200308652ee71cfd88ae1fb76f6ce0742637b 4520096 babeltrace2_2.1.2.orig.tar.bz2
 82c4d7047543605f57f4cf11994ef7ccbe14dd4e 833 babeltrace2_2.1.2.orig.tar.bz2.asc
 7d1c4c8bc13ba1c2a97ef66ca3a9128a7c24a9c2 25688 
babeltrace2_2.1.2-2.debian.tar.xz
 d1758b0f5c188e7b25c83a365a939b4a8a05b8eb 8392 
babeltrace2_2.1.2-2_source.buildinfo
Checksums-Sha256:
 315be6a8b6942984edb89e65d627a707ecc75f85e46232c89767404b84c84a92 2694 
babeltrace2_2.1.2-2.dsc
 12833fd234ad679b8bd42b28c07c9141b9f788b3b11ebedec33d2e6c3cb02c9c 4520096 
babeltrace2_2.1.2.orig.tar.bz2
 8aa272392acd1ba6493ddb7a9a2d51e0c9b5216c66456697dca35574f7c78ef6 833 
babeltrace2_2.1.2.orig.tar.bz2.asc
 364e49cf63673f511939f719df9985b6e059170d818256e22476361f2a5bf2cb 25688 
babeltrace2_2.1.2-2.debian.tar.xz
 3374c90f76faaedbb6f57e1a31298587aac5ec1866c4876b07ba1f3a65c8abb9 8392 
babeltrace2_2.1.2-2_source.buildinfo
Files:
 dfed5733f18d90527313feb2a280bda4 2694 libs optional babeltrace2_2.1.2-2.dsc
 d9c9c210ed129837e1b540c7a6159ab2 4520096 libs optional 
babeltrace2_2.1.2.orig.tar.bz2
 57e91225c9ddd230f832f14bfc95f80c 833 libs optional 
babeltrace2_2.1.2.orig.tar.bz2.asc
 b5b117f9b889505d7bbcc82958eb0f1c 25688 libs optional 
babeltrace2_2.1.2-2.debian.tar.xz
 6988decd4785033180774ce4e0d746a5 8392 libs optional 
babeltrace2_2.1.2-2_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJIBAEBCgAyFiEEmGYkMkK2Qid54gtihlYfRSGA/P4FAmqInk8UHG1qZWFuc29u
QGRlYmlhbi5vcmcACgkQhlYfRSGA/P7EUA/9HptWL9+g/vJkGnAecaNjymLWXJAK
A0cQ6YXWlaWyyZENHtYv4ygDQGDkKpmnu2N3r+MkOLl0D/IfBQpPOUN0fgDEx4qW
f+C00WwLVNbc8gAa8X2vroSqONzVTNQo6LzLBXbB5b4PjSuCi9JqKYyozoOypLPr
SlWdIxft2AUAV9tzNhM9T55GyDxjk/9eMQT7SAfihPvvnfeApyvssByKTUHJlOUO
Ztnkds+YvtaXmlGn/vXpa618PaKjwLII39qJ7PeBZe4LV2CBJzodiJVeyS1wafn5
+IjGN/rOmdsjnw8JuGTDbnbJ0WltBg1CK4IOPfdaI1QRaBFC7AZbjkTYDOThq8KG
+dOVdrpKE833ujon3M1Kuf7demoyo1nn8cwawV1ZyxZAcTg3FsP+R8+dhZr9CHz+
6SLU9N0D0syz54Kuvmr1G9VSqXiQbsR8PsiADXS3HYfIM/TSqmNkSblXLRZUbUMY
oT/ogHfVtLi88UWI0+KMmXMR5fQ+UfU6rI9qUGxFmyO7Xibwl0hzekthsmt97IiE
QFCJ8UIEj7CgsH0sA/M+11wj9uzj+UetIAxKs3/vqHeju1k5BMFyzzMCbhTZ3EgA
KLt1P+cVWbTjCdRynl1FBAUgAlXgGIIs3LqNCE7qlV/k6+RtjwrPpuYdE8KdT5v8
H+0ehaWDNmpdGng=
=wT3h
-----END PGP SIGNATURE-----

Attachment: pgpxEf9E3z9n3.pgp
Description: PGP signature


--- End Message ---

Reply via email to