https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: dev-python/freetype-py-2.4.0 fails tests. Discovered on: amd64 (internal ref: ci)
Created attachment 861243 [details] build.log build log and emerge --info
I can't reproduce. Can you modify the ebuild to pass `epytest -s tests` locally, and see whether it gives you a specific error?
It looks like there is an assertion failure on libffi: pypy3 -m pytest -vv -ra -l -Wdefault --color=yes -o console_output_style=count -p no:cov -p no:flake8 -p no:flakes -p no:pylint -p no:markdown -p no:sugar -p no:xvfb -p no:tavern -s tests =========================================================================== test session starts =========================================================================== platform linux -- Python 3.9.16[pypy-7.3.11-final], pytest-7.3.1, pluggy-1.0.0 -- /var/tmp/portage/dev-python/freetype-py-2.4.0/work/freetype-py-2.4.0-pypy3/install/usr/bin/pypy3 cachedir: .pytest_cache rootdir: /var/tmp/portage/dev-python/freetype-py-2.4.0/work/freetype-py-2.4.0 collecting ... ASSERTION FAILURE: (!isvariadic) || (nfixedargs >= 1) at /var/tmp/portage/dev-libs/libffi-3.4.4-r1/work/libffi-3.4.4/src/prep_cif.c:121 Fatal Python error: Aborted
Can reproduce with libffi[debug]
Well, this package is using ctypes, so either it's a bug in dev-lang/python or libffi itself, I guess. Or perhaps, a wrong use of ctypes that triggers directly in libffi instead of being caught by CPython?
(In reply to Michał Górny from comment #5) > ... bug in dev-lang/python ... Only happens with pypy3 that I can see.
Reported to pypy first at https://foss.heptapod.net/pypy/pypy/-/issues/3933.