Article View: linux.debian.bugs.rc
Article #1491Bug#1151772: pyopengl: FTBFS: ModuleNotFoundError: No module named 'pygame.base'
From: Santiago Vila
Date: Fri, 23 Oct 2026 16:40
Date: Fri, 23 Oct 2026 16:40
77 lines
5714 bytes
5714 bytes
Package: src:pyopengl
Version: 3.1.10+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/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:pyopengl, so that this is still
visible in the BTS web page for this package.
Thanks.
--------------------------------------------------------------------------------
[...]
File "<frozen importlib._bootstrap>", line 915, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 747, in exec_module
File "<frozen importlib._bootstrap>", line 549, in _call_with_frames_removed
File "/usr/lib/python3/dist-packages/pygame/__init__.py", line 92, in <module>
from pygame.base import * # pylint: disable=wildcard-import; lgtm[py/polluting-import]
ModuleNotFoundError: No module named 'pygame.base'
============================= test session starts ==============================
platform linux -- Python 3.15.0, pytest-9.1.1, pluggy-1.6.0
rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.15_opengl/build
configfile: pyproject.toml
plugins: xvfb-3.1.1
collected 0 items
============================ no tests ran in 0.10s =============================
E: pybuild pybuild:485: test: plugin pyproject failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.15_opengl/build; python3.15 -m pytest tests
I: pybuild base:383: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_opengl/build; python3.14 -m pytest tests
============================= test session starts ==============================
platform linux -- Python 3.14.8, pytest-9.1.1, pluggy-1.6.0
rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_opengl/build
configfile: pyproject.toml
plugins: xvfb-3.1.1
collected 91 items / 1 skipped
tests/test_arraydatatype.py ..s..s....s..... [ 17%]
tests/test_checks.py ..s.x..................X [ 43%]
tests/test_core.py ..........s................ [ 73%]
tests/test_evaluators.py ....... [ 81%]
tests/test_tess.py ... [ 84%]
tests/test_textures.py ............. [ 98%]
tests/test_vbo_memusage.py . [100%]
=============================== warnings summary ===============================
<frozen importlib._bootstrap>:491
<frozen importlib._bootstrap>:491: RuntimeWarning: Your system is avx2 capable but pygame was not built with support for it. The performance of some of your blits could be adversely affected. Consider enabling compile time detection with environment variables like PYGAME_DETECT_AVX2=1 if you are compiling without cross compilation.
../../../../../../usr/lib/python3/dist-packages/numpy/_pytesttester.py:79
/usr/lib/python3/dist-packages/numpy/_pytesttester.py:79: PytestCollectionWarning: cannot collect 'test' because it is not a function.
def __call__(self, label='fast', verbose=1, extra_argv=None,
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
======= 84 passed, 6 skipped, 1 xfailed, 1 xpassed, 2 warnings in 14.31s =======
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.15 3.14" --parallel=2 returned exit code 13
make[1]: *** [debian/rules:8: override_dh_auto_test] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:5: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------
Technical Details
Message-ID:
<NRqtb-7qzu-25@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!fu-berlin.de!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!fu-berlin.de!bofh.it!news.nic.it!robomod From: Santiago Vila <sanvila@debian.org> Newsgroups: linux.debian.bugs.rc Subject: Bug#1151772: pyopengl: FTBFS: ModuleNotFoundError: No module named 'pygame.base' Date: Fri, 23 Oct 2026 18:40:01 +0200 Message-ID: <NRqtb-7qzu-25@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:54 2026 Old-Return-Path: <debbugs@buxtehude.debian.org> X-Spam-Flag: NO X-Spam-Score: -1.7 Reply-To: Santiago Vila <sanvila@debian.org>, 1151772@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: sanvila@debian.org, team+python@tracker.debian.org X-Debian-Pr-Message: report 1151772 X-Debian-Pr-Package: src:pyopengl X-Debian-Pr-Keywords: forky ftbfs sid X-Debian-Pr-Source: pyopengl X-Debian-Message: from BTS X-Mailing-List: <debian-bugs-rc@lists.debian.org> archive/latest/835726 List-ID: <debian-bugs-rc.lists.debian.org> List-URL: <https://lists.debian.org/debian-bugs-rc/> Approved: robomod@news.nic.it Lines: 77 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Fri, 23 Oct 2026 16:27:10 +0000 X-Original-Message-ID: <E1xKI6o-0052D9-0S@paradis.debian.org>