https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: app-text/calibre-5.32.0-r1 fails tests. Discovered on: amd64 (internal ref: ci) NOTE: This machine uses GCC-11: https://gcc.gnu.org/gcc-11/porting_to.html If you think this is a GCC-11 related issue, please block bug 732706.
Created attachment 750894 [details] build.log build log and emerge --info
Error(s) that match a know pattern in addition to what has been reported in the summary: ImportError: cannot import name '_imagingft' from 'PIL' (/usr/lib/python3.9/site-packages/PIL/__init__.py) ModuleNotFoundError: No module named '_imaging'
The import succeeds for me with pillow-8.3.2: [ebuild R ] dev-python/pillow-8.3.2::gentoo USE="jpeg lcms tiff truetype xcb zlib -examples -imagequant -jpeg2k -test -tk -webp" PYTHON_TARGETS="python3_8 python3_9 python3_10 (-pypy3)" 0 KiB
I think this is provided by USE=truetype iirc
I did a test build of pillow-8.3.2 with USE="-* python_targets_python3_10" and it still installed the relevant files: > /usr/lib/python3.10/site-packages/PIL/_imagingmath.cpython-310-x86_64-linux-gnu.so > /usr/lib/python3.10/site-packages/PIL/_imaging.cpython-310-x86_64-linux-gnu.so > /usr/lib/python3.10/site-packages/PIL/_imagingtk.cpython-310-x86_64-linux-gnu.so > /usr/lib/python3.10/site-packages/PIL/_imagingmorph.cpython-310-x86_64-linux-gnu.so
(In reply to Zac Medico from comment #5) > I did a test build of pillow-8.3.2 with USE="-* python_targets_python3_10" > and it still installed the relevant files: > > > /usr/lib/python3.10/site-packages/PIL/_imagingmath.cpython-310-x86_64-linux-gnu.so > > /usr/lib/python3.10/site-packages/PIL/_imaging.cpython-310-x86_64-linux-gnu.so > > /usr/lib/python3.10/site-packages/PIL/_imagingtk.cpython-310-x86_64-linux-gnu.so > > /usr/lib/python3.10/site-packages/PIL/_imagingmorph.cpython-310-x86_64-linux-gnu.so Not imagingft, right?
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1fcdcc8c88c02b6d7232c14f172b1b21c0020216 commit 1fcdcc8c88c02b6d7232c14f172b1b21c0020216 Author: Sam James <sam@gentoo.org> AuthorDate: 2022-06-23 05:16:46 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-06-23 05:16:46 +0000 app-text/calibre: fix pillow dep Closes: https://bugs.gentoo.org/823476 Signed-off-by: Sam James <sam@gentoo.org> app-text/calibre/{calibre-5.44.0.ebuild => calibre-5.44.0-r1.ebuild} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)