Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.bugs.rc > #382509 > unrolled thread
| Started by | Lucas Nussbaum <lucas@debian.org> |
|---|---|
| First post | 2025-01-24 21:40 +0100 |
| Last post | 2025-02-10 13:10 +0100 |
| Articles | 5 — 4 participants |
Back to article view | Back to linux.debian.bugs.rc
Bug#1094040: pystray: FTBFS: distutils.errors.DistutilsError: 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. Lucas Nussbaum <lucas@debian.org> - 2025-01-24 21:40 +0100
Bug#1094040: pystray: FTBFS: distutils.errors.DistutilsError: 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. Colin Watson <cjwatson@debian.org> - 2025-02-05 17:10 +0100
Bug#1094040: pystray: FTBFS: distutils.errors.DistutilsError: 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. Matthias Klose <doko@debian.org> - 2025-02-06 14:40 +0100
Processed: Re: Bug#1094040: pystray: FTBFS: distutils.errors.DistutilsError: 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. "Debian Bug Tracking System" <owner@bugs.debian.org> - 2025-02-05 17:10 +0100
Bug#1094040: marked as done (pystray: FTBFS: distutils.errors.DistutilsError: 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.) "Debian Bug Tracking System" <owner@bugs.debian.org> - 2025-02-10 13:10 +0100
| From | Lucas Nussbaum <lucas@debian.org> |
|---|---|
| Date | 2025-01-24 21:40 +0100 |
| Subject | Bug#1094040: pystray: FTBFS: distutils.errors.DistutilsError: 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. |
| Message-ID | <K8yDf-bAgG-79@gated-at.bofh.it> |
Source: pystray
Version: 0.19.5-1
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas@debian.org
Usertags: ftbfs-20250124 ftbfs-trixie
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> debian/rules clean
> dh clean --buildsystem=pybuild --with sphinxdoc
> dh_auto_clean -O--buildsystem=pybuild
> I: pybuild base:311: python3.12 setup.py clean
> /usr/lib/python3/dist-packages/setuptools/__init__.py:94: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated.
> !!
>
> ********************************************************************************
> Requirements should be satisfied by a PEP 517 installer.
> If you are using pip, you can try `pip install --use-pep517`.
> ********************************************************************************
>
> !!
> 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.
>
> The above exception was the direct cause of the following exception:
>
> Traceback (most recent call last):
> File "/build/reproducible-path/pystray-0.19.5/setup.py", line 81, in <module>
> setuptools.setup(
> File "/usr/lib/python3/dist-packages/setuptools/__init__.py", line 116, in setup
> _install_setup_requires(attrs)
> File "/usr/lib/python3/dist-packages/setuptools/__init__.py", line 89, in _install_setup_requires
> _fetch_build_eggs(dist)
> File "/usr/lib/python3/dist-packages/setuptools/__init__.py", line 94, in _fetch_build_eggs
> dist.fetch_build_eggs(dist.setup_requires)
> File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 659, in fetch_build_eggs
> return _fetch_build_eggs(self, requires)
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> File "/usr/lib/python3/dist-packages/setuptools/installer.py", line 44, in _fetch_build_eggs
> resolved_dists = pkg_resources.working_set.resolve(
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 892, in resolve
> dist = self._resolve_dist(
> ^^^^^^^^^^^^^^^^^^^
> File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 928, in _resolve_dist
> dist = best[req.key] = env.best_match(
> ^^^^^^^^^^^^^^^
> File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 1266, in best_match
> return self.obtain(req, installer)
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^
> File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 1302, in obtain
> return installer(requirement) if installer else None
> ^^^^^^^^^^^^^^^^^^^^^^
> File "/usr/lib/python3/dist-packages/setuptools/installer.py", line 109, in _fetch_build_egg_no_warn
> raise DistutilsError(str(e)) from e
> distutils.errors.DistutilsError: 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.
> E: pybuild pybuild:389: clean: plugin distutils failed with: exit code=1: python3.12 setup.py clean
> dh_auto_clean: error: pybuild --clean -i python{version} -p "3.12 3.13" returned exit code 13
> make: *** [debian/rules:9: clean] Error 25
The full build log is available from:
http://qa-logs.debian.net/2025/01/24/pystray_0.19.5-1_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20250124;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20250124&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects
If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.
[toc] | [next] | [standalone]
| From | Colin Watson <cjwatson@debian.org> |
|---|---|
| Date | 2025-02-05 17:10 +0100 |
| Message-ID | <KcQ8q-eD37-9@gated-at.bofh.it> |
| In reply to | #382509 |
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: lucas@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) [cjwatson@debian.org]
[toc] | [prev] | [next] | [standalone]
| From | Matthias Klose <doko@debian.org> |
|---|---|
| Date | 2025-02-06 14:40 +0100 |
| Message-ID | <KdagN-ePTL-3@gated-at.bofh.it> |
| In reply to | #383608 |
On 05.02.25 17:03, Colin Watson wrote:
> 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 $@
yes, I added that, because without the removal I get:
debian/rules build
py3versions: no X-Python3-Version in control file, using supported versions
<string>:1: SyntaxWarning: invalid escape sequence '\d'
python3.12 setup.py build
configuration error: `project.classifiers[1]` must be trove-classifier
DESCRIPTION:
`PyPI classifier <https://pypi.org/classifiers/>`_.
GIVEN VALUE:
"License :: OSI Approved :: CMU License (MIT-CMU)"
OFFENDING RULE: 'format'
DEFINITION:
{
"type": "string",
"format": "trove-classifier"
}
For more details about `format` see
https://validate-pyproject.readthedocs.io/en/latest/api/validate_pyproject.formats.html
Traceback (most recent call last):
File "/home/packages/pillow/pillow-11.1.0/setup.py", line 1035, in
<module>
setup(
File "/usr/lib/python3/dist-packages/setuptools/__init__.py", line
117, in setup
return distutils.core.setup(**attrs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/setuptools/_distutils/core.py",
line 157, in setup
dist.parse_config_files()
File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 648,
in parse_config_files
pyprojecttoml.apply_configuration(self, filename, ignore_option_errors)
File
"/usr/lib/python3/dist-packages/setuptools/config/pyprojecttoml.py",
line 72, in apply_configuration
config = read_configuration(filepath, True, ignore_option_errors, dist)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File
"/usr/lib/python3/dist-packages/setuptools/config/pyprojecttoml.py",
line 140, in read_configuration
validate(subset, filepath)
File
"/usr/lib/python3/dist-packages/setuptools/config/pyprojecttoml.py",
line 61, in validate
raise ValueError(f"{error}\n{summary}") from None
ValueError: invalid pyproject.toml config: `project.classifiers[1]`.
configuration error: `project.classifiers[1]` must be trove-classifier
make: *** [debian/rules:38: build-stamp-python3.12] Error 1
[toc] | [prev] | [next] | [standalone]
| From | "Debian Bug Tracking System" <owner@bugs.debian.org> |
|---|---|
| Date | 2025-02-05 17:10 +0100 |
| Subject | Processed: Re: Bug#1094040: pystray: FTBFS: distutils.errors.DistutilsError: 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. |
| Message-ID | <KcQ8r-eD37-15@gated-at.bofh.it> |
| In reply to | #382509 |
Processing control commands: > reassign -1 python3-pil Bug #1094040 [src:pystray] pystray: FTBFS: distutils.errors.DistutilsError: 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. Bug reassigned from package 'src:pystray' to 'python3-pil'. No longer marked as found in versions pystray/0.19.5-1. Ignoring request to alter fixed versions of bug #1094040 to the same values previously set > affects -1 src:pystray Bug #1094040 [python3-pil] pystray: FTBFS: distutils.errors.DistutilsError: 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. Added indication that 1094040 affects src:pystray > tag -1 patch Bug #1094040 [python3-pil] pystray: FTBFS: distutils.errors.DistutilsError: 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. Added tag(s) patch. -- 1094040: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1094040 Debian Bug Tracking System Contact owner@bugs.debian.org with problems
[toc] | [prev] | [next] | [standalone]
| From | "Debian Bug Tracking System" <owner@bugs.debian.org> |
|---|---|
| Date | 2025-02-10 13:10 +0100 |
| Subject | Bug#1094040: marked as done (pystray: FTBFS: distutils.errors.DistutilsError: 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.) |
| Message-ID | <KeALU-fL71-19@gated-at.bofh.it> |
| In reply to | #382509 |
[Multipart message — attachments visible in raw view] — view raw
Your message dated Mon, 10 Feb 2025 13:08:01 +0100 with message-id <1491fded-3bdb-4238-91c6-bfc35113ad14@debian.org> and subject line should be fixed in 11.1.0-5 has caused the Debian Bug report #1094040, regarding pystray: FTBFS: distutils.errors.DistutilsError: 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. 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 owner@bugs.debian.org immediately.) -- 1094040: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1094040 Debian Bug Tracking System Contact owner@bugs.debian.org with problems
[toc] | [prev] | [standalone]
Back to top | Article view | linux.debian.bugs.rc
csiph-web