[From nobody Tue Sep  1 20:55:11 2026
Received: (at submit) by bugs.debian.org; 25 Aug 2026 12:42:33 +0000
X-Spam-Checker-Version: SpamAssassin 4.0.1-bugs.debian.org_2005_01_02
 (2024-03-25) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-121.0 required=4.0 tests=ALL_TRUSTED,BAYES_00,
 BODY_INCLUDES_PACKAGE,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,
 DKIM_VALID_AU,DKIM_VALID_EF,FROMDEVELOPER,HAS_PACKAGE,
 PP_MIME_FAKE_ASCII_TEXT,SPF_HELO_PASS,SPF_PASS,
 USER_IN_DKIM_WELCOMELIST,X_DEBBUGS_CC autolearn=ham autolearn_force=no
 version=4.0.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 14; hammy, 150; neutral, 77; spammy,
 0. spammytokens: hammytokens:0.000-+--pkgbuilddir,
 0.000-+--PKGBUILDDIR, 0.000-+--HTo:N*Debian, 0.000-+--forky,
 0.000-+--H*F:U*sanvila
Return-path: &lt;sanvila@debian.org&gt;
Received: from mailly.debian.org ([2001:41b8:202:deb:6564:a62:52c3:4b72]:51582)
 by buxtehude.debian.org with esmtps
 (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
 (Exim 4.96) (envelope-from &lt;sanvila@debian.org&gt;) id 1wyqU5-004EyV-24
 for submit@bugs.debian.org; Tue, 25 Aug 2026 12:42:33 +0000
Received: via submission
 from C=NA, ST=NA, L=Ankh Morpork, O=Debian SMTP, OU=Debian SMTP CA,
 CN=paradis.debian.org, EMAIL=hostmaster@paradis.debian.org (verified)
 by mailly.debian.org with esmtps
 (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
 (Exim 4.96) (envelope-from &lt;sanvila@debian.org&gt;) id 1wyqU4-001gdX-09
 for submit@bugs.debian.org; Tue, 25 Aug 2026 12:42:32 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debian.org; 
 s=smtpauto.paradis;
 h=Date:Message-Id:Subject:To:From:Reply-To:Cc:
 MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID:
 Content-Description:In-Reply-To:References;
 bh=FfJAtixhfx6454qLNIPjDp7f7+MVVi228PNo1tcqLG8=; b=OE6qkX82o5KFqZxIZmycdSEBc2
 8TwYJ9nTY9TAz4r8aFPoeSHhV4BW0Exy4w1nW7kVjvTa+LlIffxOrW2BWfii9HPyNpfn54cMmrYCf
 ZtuxwDCmLQO/R9A9wUcC8sGez5hRz+Rc1gaQqo4+90UVdLksMvjP+vw6dbbDzXf3e2VIVMNRSxqRQ
 8/j/bBgrBTOHLZqxowEl2/1VVQSwdUOL87Org67uiUJ9vKmIcz0uJEUFFjNT8PUzIQ4ppUfLz5Q9a
 9yqoudcn9GeBUfJ6okvpgBsQSpm62CmM9U+vTE1dM3SZ1iksN9u2UpUADbfrPxDdJlLtGcz/hyy6M
 1oQx4ytw==;
Received: from sanvila by paradis.debian.org with local (Exim 4.96)
 (envelope-from &lt;sanvila@debian.org&gt;) id 1wyqU2-000IZP-0A
 for submit@bugs.debian.org; Tue, 25 Aug 2026 12:42:30 +0000
From: Santiago Vila &lt;sanvila@debian.org&gt;
To: Debian BTS &lt;submit@bugs.debian.org&gt;
Subject: kicad: FTBFS:
 /&lt;&lt;PKGBUILDDIR&gt;&gt;/debian/build/pcbnew/pcbnew_wrap.cxx:5599:38: error:
 'PyInt_FromLong' was not declared in this scope;
 did you mean 'PyLong_FromLong'?
X-Debbugs-Cc: sanvila@debian.org
Message-Id: &lt;E1wyqU2-000IZP-0A@paradis.debian.org&gt;
Date: Tue, 25 Aug 2026 12:42:30 +0000
Delivered-To: submit@bugs.debian.org

Package: src:kicad
Version: 10.0.5+dfsg-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:kicad, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
In file included from /usr/include/python3.14/Python.h:64,
                 from /&lt;&lt;PKGBUILDDIR&gt;&gt;/debian/build/pcbnew/pcbnew_wrap.cxx:207:
/&lt;&lt;PKGBUILDDIR&gt;&gt;/debian/build/pcbnew/pcbnew_wrap.cxx: In function ‘PyObject* wxRect_Get(wxRect*)’:
/&lt;&lt;PKGBUILDDIR&gt;&gt;/debian/build/pcbnew/pcbnew_wrap.cxx:5599:38: error: ‘PyInt_FromLong’ was not declared in this scope; did you mean ‘PyLong_FromLong’?
 5599 |             PyTuple_SET_ITEM(res, 0, PyInt_FromLong(self-&gt;x));
      |                                      ^~~~~~~~~~~~~~
/usr/include/python3.14/pyport.h:37:38: note: in definition of macro ‘_Py_CAST’
   37 | #define _Py_CAST(type, expr) ((type)(expr))
      |                                      ^~~~
/usr/include/python3.14/cpython/tupleobject.h:40:51: note: in expansion of macro ‘_PyObject_CAST’
   40 |     PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
      |                                                   ^~~~~~~~~~~~~~
/&lt;&lt;PKGBUILDDIR&gt;&gt;/debian/build/pcbnew/pcbnew_wrap.cxx:5599:13: note: in expansion of macro ‘PyTuple_SET_ITEM’
 5599 |             PyTuple_SET_ITEM(res, 0, PyInt_FromLong(self-&gt;x));
      |             ^~~~~~~~~~~~~~~~
]