Your message dated Fri, 13 Dec 2024 13:51:04 +0000
with message-id <e1tm64o-0039gd...@fasolo.debian.org>
and subject line Bug#1089823: fixed in python3.12 3.12.8-3
has caused the Debian Bug report #1089823,
regarding libpython3.12-dev: regression: `extern "C"` not closed in 
tracemalloc.h when using Py_LIMITED_API
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 ow...@bugs.debian.org
immediately.)


-- 
1089823: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1089823
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: libpython3.12-dev
Version: 3.12.8-2
Severity: serious
Justification: makes another package (pyqt6) FTBFS

Dear Maintainer,

When building pyqt6 with the latest python3.12 from sid, I get the following
error:

  g++ -c -pipe -g -O2 -ffile-prefix-map=/pyqt6=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
-Wdate-time -D_FORTIFY_SOURCE=2 -O2 -fno-exceptions -Wall -Wextra -D_REENTRANT 
-fPIC -DPy_LIMITED_API=0x03090000 -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_PLUGIN 
-DQT_CORE_LIB -I. -I/usr/include/dbus-1.0 
-I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/python3.12 
-I/usr/include/x86_64-linux-gnu/qt6 -I/usr/include/x86_64-linux-gnu/qt6/QtCore 
-I. -I/usr/lib/x86_64-linux-gnu/qt6/mkspecs/linux-g++ -o dbus.o 
../../../../dbus/dbus.cpp
  In file included from /usr/include/c++/14/utility:68,
                   from /usr/include/x86_64-linux-gnu/qt6/QtCore/qglobal.h:15,
                   from 
/usr/include/x86_64-linux-gnu/qt6/QtCore/qcoreapplication.h:7,
                   from 
/usr/include/x86_64-linux-gnu/qt6/QtCore/QCoreApplication:1,
                   from ../../../../dbus/dbus.cpp:29:
  /usr/include/c++/14/bits/stl_relops.h:86:5: error: template with C linkage
     86 |     template <class _Tp>
        |     ^~~~~~~~
  In file included from /usr/include/python3.12/Python.h:107,
                   from /usr/include/dbus-1.0/dbus/dbus-python.h:34,
                   from ../../../../dbus/dbus.cpp:27:
  /usr/include/python3.12/tracemalloc.h:4:1: note: ‘extern "C"’ linkage started 
here
      4 | extern "C" {
        | ^~~~~~~~~~

This happened because of the following upstream commit:
https://github.com/python/cpython/commit/65bca19db54eb765

It changed the structure of tracemalloc.h to the following:

  #ifndef Py_TRACEMALLOC_H
  #define Py_TRACEMALLOC_H
  #ifdef __cplusplus
  extern "C" {
  #endif

  #ifndef Py_LIMITED_API
  /* ... */

  #ifdef __cplusplus
  }
  #endif
  #endif /* !Py_LIMITED_API */
  #endif /* !Py_TRACEMALLOC_H */

Here, if Py_LIMITED_API is defined, the `extern "C"` block is opened but never
closed.

--
Dmitry Shachnev

Attachment: signature.asc
Description: PGP signature


--- End Message ---
--- Begin Message ---
Source: python3.12
Source-Version: 3.12.8-3
Done: Matthias Klose <d...@debian.org>

We believe that the bug you reported is fixed in the latest version of
python3.12, 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 1089...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Matthias Klose <d...@debian.org> (supplier of updated python3.12 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 ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Fri, 13 Dec 2024 14:19:48 +0100
Source: python3.12
Architecture: source
Version: 3.12.8-3
Distribution: unstable
Urgency: medium
Maintainer: Matthias Klose <d...@debian.org>
Changed-By: Matthias Klose <d...@debian.org>
Closes: 1089823
Changes:
 python3.12 (3.12.8-3) unstable; urgency=medium
 .
   * Update to the 3.12 branch 2024-12-13.
     - Make sure extern "C" is closed when using Py_LIMITED_API (#127904).
       Closes: #1089823.
Checksums-Sha1:
 cb8ff9e7d4dd1e16ce658e0d22e6ff7dd58def51 4252 python3.12_3.12.8-3.dsc
 25551c85c0f01e4d5ffed458b4f0199782d5470e 274096 
python3.12_3.12.8-3.debian.tar.xz
 6e1206330733a46b03412e96c254ac73fe0f5098 10676 
python3.12_3.12.8-3_source.buildinfo
Checksums-Sha256:
 8917d6ef5bcf1ccfc47735745b73a41d3484237d60e2b30360481699eef042d9 4252 
python3.12_3.12.8-3.dsc
 c25e378fbc1cc8ae45237ae799b83b40d22b0f9a0aed49ab1944d73583f64b74 274096 
python3.12_3.12.8-3.debian.tar.xz
 9c2e94623140fb73bf9d398773100e322ca6f26a99671a36e4eae4ac5e4d75e5 10676 
python3.12_3.12.8-3_source.buildinfo
Files:
 cfb0ff642f7ac23af68bcabdc0e55cbf 4252 python optional python3.12_3.12.8-3.dsc
 3590478591f30c8c460c2cee82805c50 274096 python optional 
python3.12_3.12.8-3.debian.tar.xz
 6fb63d173d7bb4a5547da1d5cb44cc41 10676 python optional 
python3.12_3.12.8-3_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQJEBAEBCgAuFiEE1WVxuIqLuvFAv2PWvX6qYHePpvUFAmdcNhMQHGRva29AZGVi
aWFuLm9yZwAKCRC9fqpgd4+m9fd+D/9jq2CJh7MTudTPDjNJJTsB9lMYZ+7vSC47
wqWd/Q2u6Bf9XS7B3ZkOiEX0e9wkNhtMZLvAH8fzRk6926x3h+GmM+dyieXTypql
dboyCk+QtKZTcRxd86ShCr5v67VeeVSGIWrQQ6wVp2k9bAEkDi12jdzZ8RMHIjvR
EAAnS2+HpJhXWrJYJp6k4Y9Pyq0GEldEFuugIJ3xS9sIfnLJ9brrS5SJsqpisViP
oc5yh/7e/xGgwx0NyGxrqnzcfVcvNhHdQj9vzb6MUQbTtAtGxYTNjlg5HgkVOzYu
ja/d0x3Iowhay1cKiG8uPP1GaYqhkok1vNo9VDqhwPJczCapIptcmm9dFsarEquz
i1rAjHAuPBm/ZWeqecTI69ThfM5RNdFgB0qtfQITSsH+LuVhlWtQSDGBbUBl7bao
ircc9u9KTGiB+eV6rwsoYC6AG2+XjEwa55wvkXkfUJi/UIoD0X/85jqYW8j9emEQ
KExq40pbV9C7GTFlyLTMeMNQ3EjiS4j3sQjFSTETDnQsBz6UuNpSol6C82gY0AgE
nyAR2xkgOiB34Egad+mlTmmo1U0TBPias8INpZf+QyAE4LiLbJwpHFXcaJNxN6W1
btxBpA50hZRc6RPqRsBOoW/bZrxXGcLsAsRKZ8OrMQIyrdRmqC7Qq4qPcYI4BZ/r
ieSvGrffRw==
=QleF
-----END PGP SIGNATURE-----

Attachment: pgpMIkTbYzPOL.pgp
Description: PGP signature


--- End Message ---

Reply via email to