Summary: | app-text/calibre-5.32.0-r1 fails tests: ModuleNotFoundError: No module named _imaging | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Agostino Sarubbo <ago> |
Component: | Current packages | Assignee: | Zac Medico <zmedico> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | sam |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | build.log |
Description
Agostino Sarubbo
2021-11-13 06:48:07 UTC
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(-) |