Control: reassign -1 python3-pil Control: affects -1 src:pystray Control: tag -1 patch
On Fri, Jan 24, 2025 at 09:30:55PM +0100, Lucas Nussbaum wrote: > Source: pystray > Version: 0.19.5-1 > Severity: serious > Justification: FTBFS > Tags: trixie sid ftbfs > User: lu...@debian.org > Usertags: ftbfs-20250124 ftbfs-trixie > > Hi, > > During a rebuild of all packages in sid, your package failed to build > on amd64. [...] > > dist.fetch_build_eggs(dist.setup_requires) > > /usr/bin/python3.12: No module named pip > > Traceback (most recent call last): > > File "/usr/lib/python3/dist-packages/setuptools/installer.py", line 107, > > in _fetch_build_egg_no_warn > > subprocess.check_call(cmd) > > File "/usr/lib/python3.12/subprocess.py", line 413, in check_call > > raise CalledProcessError(retcode, cmd) > > subprocess.CalledProcessError: Command '['/usr/bin/python3.12', '-m', > > 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', > > '/tmp/tmpx5sdn4zk', '--quiet', 'Pillow']' returned non-zero exit status 1. This is because pillow >= 11.1.0-1 is built in such a way that the Python packaging system doesn't know its package name. You can spot this from the fact that it installs files under /usr/lib/python3/dist-packages/UNKNOWN-0.0.0.egg-info/ (which is bad for other reasons, since it'd be easy for those to conflict). This seems to have happened because of a strange addition of "rm -f pyproject.toml" in debian/rules. If I remove that, nothing seems to go wrong, the package has sensible metadata again, and pystray builds. diff -Nru pillow-11.1.0/debian/rules pillow-11.1.0/debian/rules --- pillow-11.1.0/debian/rules 2025-01-23 10:30:44.000000000 +0000 +++ pillow-11.1.0/debian/rules 2025-02-05 15:53:51.000000000 +0000 @@ -34,7 +34,6 @@ build-stamp: $(PY3VERS:%=build-stamp-python%) $(PY3VERS:%=check-stamp-python%) touch $@ build-stamp-python%: - rm -f pyproject.toml # tar xvf debian/lcms-images.tar.gz $(SET_CROSS_ENV) python$* setup.py build touch $@ Thanks, -- Colin Watson (he/him) [cjwat...@debian.org]