Your message dated Tue, 27 Oct 2026 10:29:34 +0000
with message-id <[email protected]>
and subject line Re: Bug#1151828: python-svglib: FTBFS: E ImportError: cannot
import name '_imaging' from 'PIL'
(/usr/lib/python3/dist-packages/PIL/__init__.py)
has caused the Debian Bug report #1151828,
regarding python-svglib: FTBFS: E ImportError: cannot import name '_imaging'
from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py)
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1151828: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1151828
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:python-svglib
Version: 1.5.1+dfsg-1
Severity: serious
Tags: ftbfs forky sid
Dear maintainer:
During a rebuild of all packages in unstable, this package failed to build.
Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:
https://people.debian.org/~sanvila/build-logs/202610/
About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.
If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.
If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:python-svglib, so that this is still
visible in the BTS web page for this package.
Thanks.
--------------------------------------------------------------------------------
[...]
from reportlab.lib.utils import bytestr, isUnicode, char2int, isStr, isBytes
/usr/lib/python3/dist-packages/reportlab/lib/utils.py:15: in <module>
from PIL import Image
/usr/lib/python3/dist-packages/PIL/Image.py:94: in <module>
from . import _imaging as core
E ImportError: cannot import name '_imaging' from 'PIL'
(/usr/lib/python3/dist-packages/PIL/__init__.py)
=========================== short test summary info ============================
ERROR tests/test_basic.py
ERROR tests/test_fonts.py
!!!!!!!!!!!!!!!!!!! Interrupted: 2 errors during collection !!!!!!!!!!!!!!!!!!!!
============================== 2 errors in 0.32s ===============================
E: pybuild pybuild:485: test: plugin distutils failed with: exit code=2: cd
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.15_python-svglib/build; python3.15 -m
pytest tests
I: pybuild base:383: cd
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_python-svglib/build; python3.14 -m
pytest tests
============================= test session starts ==============================
platform linux -- Python 3.14.8, pytest-9.1.1, pluggy-1.6.0
rootdir: /<<PKGBUILDDIR>>
collected 102 items
tests/test_basic.py .................................................... [ 50%]
.......... [ 60%]
tests/test_fonts.py ............s.....................s..... [100%]
======================== 100 passed, 2 skipped in 0.24s ========================
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.15
3.14" --parallel=2 returned exit code 13
make: *** [debian/rules:7: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit
status 2
--------------------------------------------------------------------------------
--- End Message ---
--- Begin Message ---
On Fri, Oct 23, 2026 at 04:44:58PM +0000, Santiago Vila wrote:
from reportlab.lib.utils import bytestr, isUnicode, char2int, isStr, isBytes
/usr/lib/python3/dist-packages/reportlab/lib/utils.py:15: in <module>
from PIL import Image
/usr/lib/python3/dist-packages/PIL/Image.py:94: in <module>
from . import _imaging as core
E ImportError: cannot import name '_imaging' from 'PIL'
(/usr/lib/python3/dist-packages/PIL/__init__.py)
This was a temporary problem, fixed by rebuilding pillow against Python
3.15. I've confirmed that python-svglib builds again now.
Thanks,
--
Colin Watson (he/him) [[email protected]]
--- End Message ---