Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.rc > #424684

Bug#1145498: kicad: FTBFS: /<<PKGBUILDDIR>>/debian/build/pcbnew/pcbnew_wrap.cxx:5599:38: error: 'PyInt_FromLong' was not declared in this scope; did you mean 'PyLong_FromLong'?

From Santiago Vila <sanvila@debian.org>
Newsgroups linux.debian.bugs.rc
Subject Bug#1145498: kicad: FTBFS: /<<PKGBUILDDIR>>/debian/build/pcbnew/pcbnew_wrap.cxx:5599:38: error: 'PyInt_FromLong' was not declared in this scope; did you mean 'PyLong_FromLong'?
Date 2026-08-25 14:50 +0200
Message-ID <NvYLf-d9KH-11@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


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 /<<PKGBUILDDIR>>/debian/build/pcbnew/pcbnew_wrap.cxx:207:
/<<PKGBUILDDIR>>/debian/build/pcbnew/pcbnew_wrap.cxx: In function ‘PyObject* wxRect_Get(wxRect*)’:
/<<PKGBUILDDIR>>/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->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))
      |                                                   ^~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/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->x));
      |             ^~~~~~~~~~~~~~~~

Back to linux.debian.bugs.rc | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Bug#1145498: kicad: FTBFS: /<<PKGBUILDDIR>>/debian/build/pcbnew/pcbnew_wrap.cxx:5599:38: error: 'PyInt_FromLong' was not declared in this scope; did you mean 'PyLong_FromLong'? Santiago Vila <sanvila@debian.org> - 2026-08-25 14:50 +0200
  Processed: Bug#1145498: Patch available at Salsa "Debian Bug Tracking System" <owner@bugs.debian.org> - 2026-08-28 14:20 +0200
  Bug#1145498: Patch available at Salsa Rafael Laboissière <rafael@debian.org> - 2026-08-28 14:20 +0200
  Bug#1145498: marked as done (kicad: FTBFS: /<<PKGBUILDDIR>>/debian/build/pcbnew/pcbnew_wrap.cxx:5599:38:  error: 'PyInt_FromLong' was not declared in this scope; did you mean  'PyLong_FromLong'?) "Debian Bug Tracking System" <owner@bugs.debian.org> - 2026-09-01 22:00 +0200

csiph-web