https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: dev-python/pyscreenshot-3.1 fails tests. Discovered on: amd64 (internal ref: ci)
Created attachment 857445 [details] build.log build log and emerge --info
Error(s) that match a know pattern: E FileNotFoundError: [Errno 2] No such file or directory: '/var/tmp/portage/dev-python/pyscreenshot-3.1/temp/fillscreenfg5zn046/ref.bmp' E fillscreen.FillscreenError: fillscreen stopped: <EasyProcess cmd_param=['/var/tmp/portage/dev-python/pyscreenshot-3.1/work/pyscreenshot-3.1-python3_9/install/usr/bin/python3.9', '/var/tmp/portage/dev-python/pyscreenshot-3.1/work/pyscreenshot-3.1/tests/fillscreen_pygame.py', '--image', '/var/tmp/portage/dev-python/pyscreenshot-3.1/temp/fillscreenfg5zn046/ref.bmp', '--debug'] cmd=['/var/tmp/portage/dev-python/pyscreenshot-3.1/work/pyscreenshot-3.1-python3_9/install/usr/bin/python3.9', '/var/tmp/portage/dev-python/pyscreenshot-3.1/work/pyscreenshot-3.1/tests/fillscreen_pygame.py', '--image', '/var/tmp/portage/dev-python/pyscreenshot-3.1/temp/fillscreenfg5zn046/ref.bmp', '--debug'] oserror=None return_code=1 stdout="" stderr="Traceback (most recent call last): E ModuleNotFoundError: No module named 'pygame'" timeout_happened=False> E OSError: Pillow was built without XCB support" timeout_happened=False> E pyscreenshot.err.FailedBackendError: <EasyProcess cmd_param=['/var/tmp/portage/dev-python/pyscreenshot-3.1/work/pyscreenshot-3.1-python3_9/install/usr/bin/python3.9', '-m', 'pyscreenshot.cli.grab', '--filename', '/var/tmp/portage/dev-python/pyscreenshot-3.1/temp/pyscreenshot70l7qvug/screenshot.png', '--backend', 'pil', '--debug'] cmd=['/var/tmp/portage/dev-python/pyscreenshot-3.1/work/pyscreenshot-3.1-python3_9/install/usr/bin/python3.9', '-m', 'pyscreenshot.cli.grab', '--filename', '/var/tmp/portage/dev-python/pyscreenshot-3.1/temp/pyscreenshot70l7qvug/screenshot.png', '--backend', 'pil', '--debug'] oserror=None return_code=1 stdout="" stderr="Traceback (most recent call last): except FailedBackendError: :exception FileNotFoundError: If the file cannot be found. :exception PIL.UnidentifiedImageError: If the image cannot be opened and :exception TypeError: If ``formats`` is not ``None``, a list or a tuple. :exception ValueError: If the ``mode`` is not "r", or if a ``StringIO`` FAILED tests/test_default.py::test_default - fillscreen.FillscreenError: fill... FAILED tests/test_mss.py::test_mss - FileNotFoundError: [Errno 2] No such fil... FAILED tests/test_pil.py::test_pil - pyscreenshot.err.FailedBackendError: <Ea... ModuleNotFoundError: No module named 'pygame' ModuleNotFoundError: No module named 'pygame'" timeout_happened=False> OSError: Pillow was built without XCB support OSError: Pillow was built without XCB support" timeout_happened=False>
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6830f7b2a3fc4e9347ac533cd72330fd35f29c26 commit 6830f7b2a3fc4e9347ac533cd72330fd35f29c26 Author: Michał Górny <mgorny@gentoo.org> AuthorDate: 2023-03-13 15:13:48 +0000 Commit: Michał Górny <mgorny@gentoo.org> CommitDate: 2023-03-13 15:13:48 +0000 dev-python/pyscreenshot: Fix test dependencies Closes: https://bugs.gentoo.org/900965 Signed-off-by: Michał Górny <mgorny@gentoo.org> dev-python/pyscreenshot/pyscreenshot-3.1.ebuild | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)