Article View: linux.debian.bugs.rc
Article #1487Bug#1151768: numpy-rms: FTBFS: ModuleNotFoundError: No module named '_cffi_backend'. Although a module with this name was found ...
From: Santiago Vila
Date: Fri, 23 Oct 2026 16:40
Date: Fri, 23 Oct 2026 16:40
141 lines
9801 bytes
9801 bytes
Package: src:numpy-rms
Version: 0.7.0-3
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/202610/
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:numpy-rms, so that this is still
visible in the BTS web page for this package.
Thanks.
--------------------------------------------------------------------------------
[...]
~~~~^^^^^^^^^^^^^^^^^^
File "numpy_rms/_rms_cffi.py", line 6, in <module>
ffibuilder = FFI()
File "/usr/lib/python3/dist-packages/cffi/api.py", line 41, in __init__
import _cffi_backend as backend
ModuleNotFoundError: No module named '_cffi_backend'. Although a module with this name was found for a different Python version (_cffi_backend.cpython-314-x86_64-linux-gnu.so).
TIP pass --env-dir and --sdist-extract-dir to keep the build environment and sources, then see https://build.pypa.io/en/stable/how-to/troubleshooting.html#debug-a-failed-build for help debugging a failed build
ERROR Backend subprocess exited when trying to invoke build_wheel
E: pybuild pybuild:485: build: plugin pyproject failed with: exit code=1: python3.15 -m build --skip-dependency-check --no-isolation --wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.15
I: pybuild plugin_pyproject:142: Building wheel for python3.14 with "build" module
I: pybuild base:383: python3.14 -m build --skip-dependency-check --no-isolation --wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14
* Building wheel...
running bdist_wheel
running build
running build_py
creating build/lib.linux-x86_64-cpython-314/numpy_rms
copying numpy_rms/_rms_cffi.py -> build/lib.linux-x86_64-cpython-314/numpy_rms
copying numpy_rms/__init__.py -> build/lib.linux-x86_64-cpython-314/numpy_rms
copying numpy_rms/fallback.py -> build/lib.linux-x86_64-cpython-314/numpy_rms
running egg_info
creating numpy_rms.egg-info
writing numpy_rms.egg-info/PKG-INFO
writing dependency_links to numpy_rms.egg-info/dependency_links.txt
writing requirements to numpy_rms.egg-info/requires.txt
writing top-level names to numpy_rms.egg-info/top_level.txt
writing manifest file 'numpy_rms.egg-info/SOURCES.txt'
reading manifest file 'numpy_rms.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
adding license file 'LICENSE'
writing manifest file 'numpy_rms.egg-info/SOURCES.txt'
copying numpy_rms/_rms.c -> build/lib.linux-x86_64-cpython-314/numpy_rms
running build_ext
generating cffi module 'build/temp.linux-x86_64-cpython-314/_numpy_rms.c'
creating build/temp.linux-x86_64-cpython-314
building '_numpy_rms' extension
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 build/temp.linux-x86_64-cpython-314/_numpy_rms.c -o build/temp.linux-x86_64-cpython-314/build/temp.linux-x86_64-cpython-314/_numpy_rms.o -O3 -Wall -Wextra -mavx
build/temp.linux-x86_64-cpython-314/_numpy_rms.c: In function ‘rms_avx2’:
build/temp.linux-x86_64-cpython-314/_numpy_rms.c:616:37: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
616 | for (int output_i = 0; output_i < output_length; output_i++) {
| ^
x86_64-linux-gnu-gcc -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 -Wl,-z,relro -Wl,-z,now -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 build/temp.linux-x86_64-cpython-314/build/temp.linux-x86_64-cpython-314/_numpy_rms.o -L/usr/lib/x86_64-linux-gnu -o build/lib.linux-x86_64-cpython-314/_numpy_rms.abi3.so
installing to build/bdist.linux-x86_64/wheel
running install
running install_lib
creating build/bdist.linux-x86_64/wheel
creating build/bdist.linux-x86_64/wheel/numpy_rms
copying build/lib.linux-x86_64-cpython-314/numpy_rms/_rms.c -> build/bdist.linux-x86_64/wheel/./numpy_rms
copying build/lib.linux-x86_64-cpython-314/numpy_rms/_rms_cffi.py -> build/bdist.linux-x86_64/wheel/./numpy_rms
copying build/lib.linux-x86_64-cpython-314/numpy_rms/__init__.py -> build/bdist.linux-x86_64/wheel/./numpy_rms
copying build/lib.linux-x86_64-cpython-314/numpy_rms/fallback.py -> build/bdist.linux-x86_64/wheel/./numpy_rms
copying build/lib.linux-x86_64-cpython-314/_numpy_rms.abi3.so -> build/bdist.linux-x86_64/wheel/.
running install_egg_info
Copying numpy_rms.egg-info to build/bdist.linux-x86_64/wheel/./numpy_rms-0.7.0.egg-info
running install_scripts
creating build/bdist.linux-x86_64/wheel/numpy_rms-0.7.0.dist-info/WHEEL
creating '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/.tmp-h3emo86k/numpy_rms-0.7.0-cp314-cp314-linux_x86_64.whl' and adding 'build/bdist.linux-x86_64/wheel' to it
adding '_numpy_rms.abi3.so'
adding 'numpy_rms/__init__.py'
adding 'numpy_rms/_rms.c'
adding 'numpy_rms/_rms_cffi.py'
adding 'numpy_rms/fallback.py'
adding 'numpy_rms-0.7.0.dist-info/licenses/LICENSE'
adding 'numpy_rms-0.7.0.dist-info/METADATA'
adding 'numpy_rms-0.7.0.dist-info/WHEEL'
adding 'numpy_rms-0.7.0.dist-info/top_level.txt'
adding 'numpy_rms-0.7.0.dist-info/RECORD'
removing build/bdist.linux-x86_64/wheel
WARNING `project.license` as a TOML table is deprecated
!!
********************************************************************************
Please use a simple string containing a SPDX expression for `project.license`. You can also use `project.license-files`. (Both options available on setuptools>=77.0.0).
By 2027-Feb-18, you need to update your project and remove deprecated calls
or your builds will no longer be supported.
See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
********************************************************************************
!!
WARNING License classifiers are deprecated.
!!
********************************************************************************
Please consider removing the following classifiers in favor of a SPDX license expression:
License :: OSI Approved :: MIT License
See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
********************************************************************************
!!
WARNING License classifiers are deprecated.
!!
********************************************************************************
Please consider removing the following classifiers in favor of a SPDX license expression:
License :: OSI Approved :: MIT License
See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
********************************************************************************
!!
Successfully built numpy_rms-0.7.0-cp314-cp314-linux_x86_64.whl
I: pybuild plugin_pyproject:168: Unpacking wheel built for python3.14 with "installer" module
dh_auto_build: error: pybuild --build -i python{version} -p "3.15 3.14" --parallel=2 returned exit code 13
make: *** [debian/rules:5: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------
Technical Details
Message-ID:
<NRqtb-7qzu-1@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.corradoroberto.it!bofh.it!news.nic.it!robomodShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.corradoroberto.it!bofh.it!news.nic.it!robomod From: Santiago Vila <sanvila@debian.org> Newsgroups: linux.debian.bugs.rc Subject: Bug#1151768: numpy-rms: FTBFS: ModuleNotFoundError: No module named '_cffi_backend'. Although a module with this name was found for a different Python version (_cffi_backend.cpython-314-x86_64-linux-gnu.so). Date: Fri, 23 Oct 2026 18:40:01 +0200 Message-ID: <NRqtb-7qzu-1@gated-at.bofh.it> X-Original-To: Debian BTS <submit@bugs.debian.org> X-Mailbox-Line: From debian-bugs-rc-request@lists.debian.org Fri Oct 23 16:30:16 2026 Old-Return-Path: <debbugs@buxtehude.debian.org> X-Spam-Flag: NO X-Spam-Score: -1.459 Reply-To: Santiago Vila <sanvila@debian.org>, 1151768@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: sanvila@debian.org, team+homeassistant@tracker.debian.org X-Debian-Pr-Message: report 1151768 X-Debian-Pr-Package: src:numpy-rms X-Debian-Pr-Keywords: forky ftbfs sid X-Debian-Pr-Source: numpy-rms X-Debian-Message: from BTS X-Mailing-List: <debian-bugs-rc@lists.debian.org> archive/latest/835722 List-ID: <debian-bugs-rc.lists.debian.org> List-URL: <https://lists.debian.org/debian-bugs-rc/> Approved: robomod@news.nic.it Lines: 141 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Fri, 23 Oct 2026 16:27:02 +0000 X-Original-Message-ID: <E1xKI6g-0052Cl-0F@paradis.debian.org>