🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.dist
Article #5474

Bug#1154802: xpra: FTBFS: /usr/include/python3.14/cpython/longintrepr.h:124:26: error: array subscript ‘PyLongObject {aka cons...

#5474
From: Santiago Vila
Date: Sun, 22 Nov 2026 12:00
59 lines
6367 bytes
Package: src:xpra
Version: 3.1.5+dfsg1-0.5
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/202611/

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:xpra, 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:85:
In function ‘_PyLong_IsCompact’,
    inlined from ‘__Pyx_PyObject_CompareFloatIntBoolEq’ at xpra/x11/bindings/keyboard_bindings.c:29336:9,
    inlined from ‘__Pyx_PyObject_CompareBoolEq_object_object’ at xpra/x11/bindings/keyboard_bindings.c:29504:20,
    inlined from ‘__pyx_f_4xpra_3x11_8bindings_17keyboard_bindings_27X11KeyboardBindingsInstance_xmodmap_setkeycodes’ at xpra/x11/bindings/keyboard_bindings.c:12361:24:
/usr/include/python3.14/cpython/longintrepr.h:124:26: error: array subscript ‘PyLongObject {aka const struct _longobject}[0]’ is partly outside array bounds of ‘PyObject[1]’ {aka ‘struct _object[1]’} [-Werror=array-bounds=]
  124 |     return op->long_value.lv_tag < (2 << _PyLong_NON_SIZE_BITS);
      |            ~~~~~~~~~~~~~~^~~~~~~
/usr/include/python3.14/object.h: In function ‘__pyx_f_4xpra_3x11_8bindings_17keyboard_bindings_27X11KeyboardBindingsInstance_xmodmap_setkeycodes’:
/usr/include/python3.14/object.h:652:22: note: object ‘_Py_NoneStruct’ of size 16
  652 | PyAPI_DATA(PyObject) _Py_NoneStruct; /* Don't use this directly */
      |                      ^~~~~~~~~~~~~~
In function ‘PyFloat_AS_DOUBLE’,
    inlined from ‘__Pyx_PyObject_CompareBoolEq_object_object’ at xpra/x11/bindings/keyboard_bindings.c:29497:32,
    inlined from ‘__pyx_f_4xpra_3x11_8bindings_17keyboard_bindings_27X11KeyboardBindingsInstance_xmodmap_setkeycodes’ at xpra/x11/bindings/keyboard_bindings.c:12361:24:
/usr/include/python3.14/cpython/floatobject.h:16:29: error: array subscript ‘PyFloatObject[0]’ is partly outside array bounds of ‘PyObject[1]’ {aka ‘struct _object[1]’} [-Werror=array-bounds=]
   16 |     return _PyFloat_CAST(op)->ob_fval;
      |                             ^
/usr/include/python3.14/object.h: In function ‘__pyx_f_4xpra_3x11_8bindings_17keyboard_bindings_27X11KeyboardBindingsInstance_xmodmap_setkeycodes’:
/usr/include/python3.14/object.h:652:22: note: object ‘_Py_NoneStruct’ of size 16
  652 | PyAPI_DATA(PyObject) _Py_NoneStruct; /* Don't use this directly */
      |                      ^~~~~~~~~~~~~~
cc1: all warnings being treated as errors
error: Command '['x86_64-linux-gnu-gcc', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-fcf-protection', '-Wdate-time', '-D_FORTIFY_SOURCE=2', '-fPIC', '-I/usr/include/python3.14', '-c', 'xpra/x11/bindings/keyboard_bindings.c', '-o', 'build/temp.linux-x86_64-cpython-314/xpra/x11/bindings/keyboard_bindings.o', '-Wall', '-Werror', '-Wno-error=strict-prototypes', '-Wno-error=deprecated-declarations', '-fPIC', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-fcf-protection']' returned non-zero exit status 1.
E: pybuild pybuild:485: build: plugin distutils failed with: exit code=1: /usr/bin/python3 setup.py build --with-verbose --with-Xdummy --without-Xdummy_wrapper --with-html5 --without-minify --without-html5_gzip --without-enc_ffmpeg 
dh_auto_build: error: pybuild --build -i python{version} -p "3.15 3.14" --parallel=2 returned exit code 13
make: *** [debian/rules:21: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------
Technical Details
Message-ID: <O2eoF-dsNe-5@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!news-fra.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!newsfeed.xs3.de!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-fra.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!newsfeed.xs3.de!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: Santiago Vila <sanvila@debian.org>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1154802: xpra: FTBFS: /usr/include/python3.14/cpython/longintrepr.h:124:26: error: array subscript ‘PyLongObject {aka const struct _longobject}[0]’ is partly outside array bounds of ‘PyObject[1]’ {aka ‘struct _object[1]’} [-Werror=array-bounds=]
Date: Sun, 22 Nov 2026 13:00:01 +0100
Message-ID: <O2eoF-dsNe-5@gated-at.bofh.it>
X-Original-To: Debian BTS <submit@bugs.debian.org>
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Sun Nov 22 11:58:21 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.462
Reply-To: Santiago Vila <sanvila@debian.org>, 1154802@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: sanvila@debian.org, onlyjob@debian.org
X-Debian-Pr-Message: report 1154802
X-Debian-Pr-Package: src:xpra
X-Debian-Pr-Keywords: forky ftbfs sid
X-Debian-Pr-Source: xpra
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2004095
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 59
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Sun, 22 Nov 2026 11:55:02 +0000
X-Original-Message-ID: <E1xV69u-005hXj-1p@paradis.debian.org>