Source: pyopengl Version: 3.1.6+dfsg-4 Severity: serious Justification: FTBFS Tags: trixie sid ftbfs User: lu...@debian.org Usertags: ftbfs-20231212 ftbfs-trixie
Hi, During a rebuild of all packages in sid, your package failed to build on amd64. Relevant part (hopefully): > make[1]: Entering directory '/<<PKGBUILDDIR>>' > xvfb-run -a -s "-screen 0 1024x768x24 -ac +extension GLX +render -noreset" > dh_auto_test > I: pybuild base:310: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_opengl/build; > python3.12 -m pytest tests > ============================= test session starts > ============================== > platform linux -- Python 3.12.1, pytest-7.4.3, pluggy-1.3.0 > rootdir: /<<PKGBUILDDIR>> > collected 0 items / 10 errors / 1 skipped > > ==================================== ERRORS > ==================================== > _ ERROR collecting > .pybuild/cpython3_3.12_opengl/build/tests/test_arraydatatype.py _ > ImportError while importing test module > '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_opengl/build/tests/test_arraydatatype.py'. > Hint: make sure your test modules/packages have valid Python names. > Traceback: > /usr/lib/python3.12/importlib/__init__.py:90: in import_module > return _bootstrap._gcd_import(name[level:], package, level) > tests/test_arraydatatype.py:1: in <module> > import basetestcase > tests/basetestcase.py:2: in <module> > import unittest, pygame, pygame.display, time, os > /usr/lib/python3/dist-packages/pygame/__init__.py:92: in <module> > from pygame.base import * # pylint: disable=wildcard-import; > lgtm[py/polluting-import] > E ModuleNotFoundError: No module named 'pygame.base' > ___ ERROR collecting .pybuild/cpython3_3.12_opengl/build/tests/test_core.py > ____ > ImportError while importing test module > '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_opengl/build/tests/test_core.py'. > Hint: make sure your test modules/packages have valid Python names. > Traceback: > /usr/lib/python3.12/importlib/__init__.py:90: in import_module > return _bootstrap._gcd_import(name[level:], package, level) > tests/test_core.py:3: in <module> > import pygame, pygame.display > /usr/lib/python3/dist-packages/pygame/__init__.py:92: in <module> > from pygame.base import * # pylint: disable=wildcard-import; > lgtm[py/polluting-import] > E ModuleNotFoundError: No module named 'pygame.base' > _ ERROR collecting > .pybuild/cpython3_3.12_opengl/build/tests/test_evaluators.py _ > ImportError while importing test module > '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_opengl/build/tests/test_evaluators.py'. > Hint: make sure your test modules/packages have valid Python names. > Traceback: > /usr/lib/python3.12/importlib/__init__.py:90: in import_module > return _bootstrap._gcd_import(name[level:], package, level) > tests/test_evaluators.py:1: in <module> > import basetestcase > tests/basetestcase.py:2: in <module> > import unittest, pygame, pygame.display, time, os > /usr/lib/python3/dist-packages/pygame/__init__.py:92: in <module> > from pygame.base import * # pylint: disable=wildcard-import; > lgtm[py/polluting-import] > E ModuleNotFoundError: No module named 'pygame.base' > _ ERROR collecting > .pybuild/cpython3_3.12_opengl/build/tests/test_glgetactiveuniform.py _ > ImportError while importing test module > '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_opengl/build/tests/test_glgetactiveuniform.py'. > Hint: make sure your test modules/packages have valid Python names. > Traceback: > /usr/lib/python3.12/importlib/__init__.py:90: in import_module > return _bootstrap._gcd_import(name[level:], package, level) > tests/test_glgetactiveuniform.py:2: in <module> > import pygame > /usr/lib/python3/dist-packages/pygame/__init__.py:92: in <module> > from pygame.base import * # pylint: disable=wildcard-import; > lgtm[py/polluting-import] > E ModuleNotFoundError: No module named 'pygame.base' > _ ERROR collecting > .pybuild/cpython3_3.12_opengl/build/tests/test_glgetfloat_leak.py _ > ImportError while importing test module > '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_opengl/build/tests/test_glgetfloat_leak.py'. > Hint: make sure your test modules/packages have valid Python names. > Traceback: > /usr/lib/python3.12/importlib/__init__.py:90: in import_module > return _bootstrap._gcd_import(name[level:], package, level) > tests/test_glgetfloat_leak.py:4: in <module> > import pygame > /usr/lib/python3/dist-packages/pygame/__init__.py:92: in <module> > from pygame.base import * # pylint: disable=wildcard-import; > lgtm[py/polluting-import] > E ModuleNotFoundError: No module named 'pygame.base' > _ ERROR collecting > .pybuild/cpython3_3.12_opengl/build/tests/test_glx_pygame.py _ > ImportError while importing test module > '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_opengl/build/tests/test_glx_pygame.py'. > Hint: make sure your test modules/packages have valid Python names. > Traceback: > /usr/lib/python3.12/importlib/__init__.py:90: in import_module > return _bootstrap._gcd_import(name[level:], package, level) > tests/test_glx_pygame.py:11: in <module> > from pygamegltest import pygametest > tests/pygamegltest.py:24: in <module> > import pygame, pygame.display > /usr/lib/python3/dist-packages/pygame/__init__.py:92: in <module> > from pygame.base import * # pylint: disable=wildcard-import; > lgtm[py/polluting-import] > E ModuleNotFoundError: No module named 'pygame.base' > _ ERROR collecting > .pybuild/cpython3_3.12_opengl/build/tests/test_sf2946226.py _ > ImportError while importing test module > '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_opengl/build/tests/test_sf2946226.py'. > Hint: make sure your test modules/packages have valid Python names. > Traceback: > /usr/lib/python3.12/importlib/__init__.py:90: in import_module > return _bootstrap._gcd_import(name[level:], package, level) > tests/test_sf2946226.py:1: in <module> > import pygame, sys > /usr/lib/python3/dist-packages/pygame/__init__.py:92: in <module> > from pygame.base import * # pylint: disable=wildcard-import; > lgtm[py/polluting-import] > E ModuleNotFoundError: No module named 'pygame.base' > ___ ERROR collecting .pybuild/cpython3_3.12_opengl/build/tests/test_tess.py > ____ > ImportError while importing test module > '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_opengl/build/tests/test_tess.py'. > Hint: make sure your test modules/packages have valid Python names. > Traceback: > /usr/lib/python3.12/importlib/__init__.py:90: in import_module > return _bootstrap._gcd_import(name[level:], package, level) > tests/test_tess.py:1: in <module> > import basetestcase > tests/basetestcase.py:2: in <module> > import unittest, pygame, pygame.display, time, os > /usr/lib/python3/dist-packages/pygame/__init__.py:92: in <module> > from pygame.base import * # pylint: disable=wildcard-import; > lgtm[py/polluting-import] > E ModuleNotFoundError: No module named 'pygame.base' > _ ERROR collecting .pybuild/cpython3_3.12_opengl/build/tests/test_textures.py > __ > ImportError while importing test module > '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_opengl/build/tests/test_textures.py'. > Hint: make sure your test modules/packages have valid Python names. > Traceback: > /usr/lib/python3.12/importlib/__init__.py:90: in import_module > return _bootstrap._gcd_import(name[level:], package, level) > tests/test_textures.py:1: in <module> > import basetestcase > tests/basetestcase.py:2: in <module> > import unittest, pygame, pygame.display, time, os > /usr/lib/python3/dist-packages/pygame/__init__.py:92: in <module> > from pygame.base import * # pylint: disable=wildcard-import; > lgtm[py/polluting-import] > E ModuleNotFoundError: No module named 'pygame.base' > _ ERROR collecting > .pybuild/cpython3_3.12_opengl/build/tests/test_vbo_memusage.py _ > ImportError while importing test module > '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_opengl/build/tests/test_vbo_memusage.py'. > Hint: make sure your test modules/packages have valid Python names. > Traceback: > /usr/lib/python3.12/importlib/__init__.py:90: in import_module > return _bootstrap._gcd_import(name[level:], package, level) > tests/test_vbo_memusage.py:1: in <module> > import pygamegltest > tests/pygamegltest.py:24: in <module> > import pygame, pygame.display > /usr/lib/python3/dist-packages/pygame/__init__.py:92: in <module> > from pygame.base import * # pylint: disable=wildcard-import; > lgtm[py/polluting-import] > E ModuleNotFoundError: No module named 'pygame.base' > =========================== short test summary info > ============================ > ERROR tests/test_arraydatatype.py > ERROR tests/test_core.py > ERROR tests/test_evaluators.py > ERROR tests/test_glgetactiveuniform.py > ERROR tests/test_glgetfloat_leak.py > ERROR tests/test_glx_pygame.py > ERROR tests/test_sf2946226.py > ERROR tests/test_tess.py > ERROR tests/test_textures.py > ERROR tests/test_vbo_memusage.py > !!!!!!!!!!!!!!!!!!! Interrupted: 10 errors during collection > !!!!!!!!!!!!!!!!!!! > ======================== 1 skipped, 10 errors in 0.78s > ========================= > E: pybuild pybuild:395: test: plugin distutils failed with: exit code=2: cd > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_opengl/build; python3.12 -m pytest > tests > I: pybuild base:310: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_opengl/build; > python3.11 -m pytest tests > ============================= test session starts > ============================== > platform linux -- Python 3.11.7, pytest-7.4.3, pluggy-1.3.0 > rootdir: /<<PKGBUILDDIR>> > collected 66 items / 1 skipped > > tests/test_arraydatatype.py ..s..s....s..... [ > 24%] > tests/test_core.py .......................... [ > 63%] > tests/test_evaluators.py ....... [ > 74%] > tests/test_tess.py ... [ > 78%] > tests/test_textures.py ............. [ > 98%] > tests/test_vbo_memusage.py s > [100%] > > =============================== warnings summary > =============================== > <frozen importlib._bootstrap>:241 > <frozen importlib._bootstrap>:241: 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/pygame/pkgdata.py:25 > /usr/lib/python3/dist-packages/pygame/pkgdata.py:25: DeprecationWarning: > pkg_resources is deprecated as an API. See > https://setuptools.pypa.io/en/latest/pkg_resources.html > from pkg_resources import resource_stream, resource_exists > > .pybuild/cpython3_3.11_opengl/build/tests/test_textures.py::TestTextures::test_draw_bitmap_pixels > /usr/lib/python3.11/unittest/case.py:678: DeprecationWarning: It is > deprecated to return a value that is not None from a test case (<bound method > TestTextures.test_draw_bitmap_pixels of <test_textures.TestTextures > testMethod=test_draw_bitmap_pixels>>) > return self.run(*args, **kwds) > > -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html > ================== 62 passed, 5 skipped, 3 warnings in 5.52s > =================== > dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.12 > 3.11" returned exit code 13 The full build log is available from: http://qa-logs.debian.net/2023/12/12/pyopengl_3.1.6+dfsg-4_unstable.log All bugs filed during this archive rebuild are listed at: https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20231212;users=lu...@debian.org or: https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20231212&fusertaguser=lu...@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results A list of current common problems and possible solutions is available at http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute! If you reassign this bug to another package, please mark it as 'affects'-ing this package. See https://www.debian.org/Bugs/server-control#affects If you fail to reproduce this, please provide a build log and diff it with mine so that we can identify if something relevant changed in the meantime.