Your message dated Sun, 23 Aug 2026 17:09:09 +0000
with message-id <[email protected]>
and subject line Bug#1145091: fixed in python-setproctitle 1.3.7-3
has caused the Debian Bug report #1145091,
regarding python-setproctitle: FTBFS building against python 3.15
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.)
--
1145091: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1145091
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:python-setproctitle
Version: 1.3.7-2
User: [email protected]
Usertags: python3.15
Tags: patch
Hi!
While rebuilding the python related packages against the python version
3.15rc1 we found that python-setproctitle fails to build from source [1].
This fixed upstream with the commit "fix: fix segfault after clearenv()
on Python 3.15" (68125ab). I'm attaching the patch used to build the
package in the sandbox.
Please consider including this patch in your next upload.
Happy hacking,
[1]:
https://debusine.debian.net/debian/r-python-python3.15/work-request/1063575/
--
"Can you imagine what I would do if I could do all I can?" -- Sun Tzu
Saludos /\/\ /\ >< `/
commit 68125abf821ee6ebfb4a4eb86ffe655a4c072c9e
Author: Victor Stinner <[email protected]>
Date: Thu Oct 30 15:12:24 2025 +0100
fix: fix segfault after clearenv() on Python 3.15
Fix find_argv_from_env() if clearenv() has been called. Python 3.15
implements os.environ.clear() as clearenv().
Co-Authored-By: Karolina Surma <[email protected]>
diff --git a/src/spt_setup.c b/src/spt_setup.c
index ba7a7a6..4078d36 100644
--- a/src/spt_setup.c
+++ b/src/spt_setup.c
@@ -139,6 +139,13 @@ find_argv_from_env(int argc, char *arg0)
}
buf[argc] = NULL;
+ /* environ can be NULL if clearenv() has been called.
+ * Python 3.15 implements os.environ.clear() as clearenv(). */
+ if (!environ) {
+ spt_debug("environ pointer is NULL");
+ goto exit;
+ }
+
/* Walk back from environ until you find argc-1 null-terminated strings.
* Don't look for argv[0] as it's probably not preceded by 0. */
ptr = environ[0];
--- End Message ---
--- Begin Message ---
Source: python-setproctitle
Source-Version: 1.3.7-3
Done: Emmanuel Arias <[email protected]>
We believe that the bug you reported is fixed in the latest version of
python-setproctitle, 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.
Emmanuel Arias <[email protected]> (supplier of updated python-setproctitle
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: Sun, 23 Aug 2026 13:48:41 -0300
Source: python-setproctitle
Architecture: source
Version: 1.3.7-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <[email protected]>
Changed-By: Emmanuel Arias <[email protected]>
Closes: 1145091
Changes:
python-setproctitle (1.3.7-3) unstable; urgency=medium
.
* Team upload.
* d/patches: Add patch to fix FTBTS building against py3.15
(Closes: #1145091).
* Standards-Version: 4.7.4 (routine-update)
* Reorder sequence of d/control VCS fields (cme)
* Remove Priority field (cme)
Checksums-Sha1:
05a2d833cc5697e779675c8a27c39e6695946d05 2295 python-setproctitle_1.3.7-3.dsc
52de0603cb1b9b5d1a7f70d181d902bd93b49848 5336
python-setproctitle_1.3.7-3.debian.tar.xz
98290433d6391ecffedd57f5db1e2ff2202a1aeb 7562
python-setproctitle_1.3.7-3_amd64.buildinfo
Checksums-Sha256:
84f48d2a19870763b2146533e30cb4a767dd1ecafa46008e7902ad9066aa3dc4 2295
python-setproctitle_1.3.7-3.dsc
433a562f137c2622d7644250d2ba7bb602a65556ab961803946d6688b95587b9 5336
python-setproctitle_1.3.7-3.debian.tar.xz
7d4763cc676ed87729ec92469196c5887bef9f6682b74784a1f8e76524ee7a64 7562
python-setproctitle_1.3.7-3_amd64.buildinfo
Files:
ace89ac96c148d55c336658384deabc0 2295 python optional
python-setproctitle_1.3.7-3.dsc
59283d6828c677130c06945e0edd4d0b 5336 python optional
python-setproctitle_1.3.7-3.debian.tar.xz
5414dc16fe5c4be6ac8282377246726e 7562 python optional
python-setproctitle_1.3.7-3_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJGBAEBCgAwFiEEE3lnVbvHK7ir4q61+p3sXeEcY/EFAmqLJZkSHGVhbWFudUBk
ZWJpYW4ub3JnAAoJEPqd7F3hHGPx0AYP/3IH48OAuSK8xMRFSRZ2kPUTA2OfIMU4
gLfdj7kA1+JAyyAunyJLq+mmqRmOg3LHGmvITyjC2QXigl01MTE2seki9JGEoJ0s
ywuEh3u7QixNnwnUeB6yxmAUuuhRipGgkFYt9/Y67nH+8g4GRReLBljzpzkPg11f
lIslOHahcNbEZ22Up2TsW+y2iq6bjcy/jwkbnp6PiyHnEEAVCNBRDZ+EnNHNgoOB
kPAYS6LDoN3sCCRzAR92OUCMLZHNQ7grrv8Wyn5Sr9GXissbzrrsu3tPOwxYOk5c
3+O8Zyl4coM6OtH2lCvHM+1hG5eNc8506ejKkF+KmHQs8HcbQXYFRJcHqe/S+7TT
V6btKTRcqtMtq43KEZ4yLt1qD8Y45qo7DAeLvfermpRAny61q8XtdNdcPOh2IFVD
9SKLeNvGDovT28PeDSTi6kbCkCH1zBrDzTcqW2p1pCUc/4n8pFMueYQDS7Gudgdw
ulYWEXPcAkR6hTNPE+doft9s6siLrpMqFmJYK3BSqjbZB0yxj/nPdd2iZhXcbV01
ZiugV/jIV45gSURVyViSSfta41YCNLNgxln3CMyFWFIA0+RErGALMvtfqrvd7ED2
SkMy/1uN0klUrn/AcwxuDesYxk4C4gYYtnqJ7nc9zZAZR7LcBHwuS0HMOKU2PO1T
j/G3Ct7hcK9G
=K44X
-----END PGP SIGNATURE-----
pgp9UsyTWw54D.pgp
Description: PGP signature
--- End Message ---