Source: debspawn
Version: 0.5.2-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: [email protected]
Usertags: ftbfs-20220917 ftbfs-bookworm
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> debian/rules clean
> dh clean --with python3 --buildsystem=pybuild
> dh_auto_clean -O--buildsystem=pybuild
> I: pybuild base:240: python3.10 setup.py clean
> configuration error: `project.license` must be valid exactly by one
> definition (2 matches found):
>
> - keys:
> 'file': {type: string}
> required: ['file']
> - keys:
> 'text': {type: string}
> required: ['text']
>
> DESCRIPTION:
> `Project license <https://www.python.org/dev/peps/pep-0621/#license>`_.
>
> GIVEN VALUE:
> "LGPL-3.0-or-later"
>
> OFFENDING RULE: 'oneOf'
>
> DEFINITION:
> {
> "oneOf": [
> {
> "properties": {
> "file": {
> "type": "string",
> "$$description": [
> "Relative path to the file (UTF-8) which contains
> the license for the",
> "project."
> ]
> }
> },
> "required": [
> "file"
> ]
> },
> {
> "properties": {
> "text": {
> "type": "string",
> "$$description": [
> "The license of the project whose meaning is that
> of the",
> "`License field from the core metadata",
>
> "<https://packaging.python.org/specifications/core-metadata/#license>`_."
> ]
> }
> },
> "required": [
> "text"
> ]
> }
> ]
> }
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/setup.py", line 104, in <module>
> setup(
> File "/usr/lib/python3/dist-packages/setuptools/__init__.py", line 87, in
> setup
> return distutils.core.setup(**attrs)
> File "/usr/lib/python3/dist-packages/setuptools/_distutils/core.py", line
> 159, in setup
> dist.parse_config_files()
> File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 868, in
> parse_config_files
> pyprojecttoml.apply_configuration(self, filename, ignore_option_errors)
> File "/usr/lib/python3/dist-packages/setuptools/config/pyprojecttoml.py",
> line 62, in apply_configuration
> config = read_configuration(filepath, True, ignore_option_errors, dist)
> File "/usr/lib/python3/dist-packages/setuptools/config/pyprojecttoml.py",
> line 126, in read_configuration
> validate(subset, filepath)
> File "/usr/lib/python3/dist-packages/setuptools/config/pyprojecttoml.py",
> line 51, in validate
> raise ValueError(f"{error}\n{summary}") from None
> ValueError: invalid pyproject.toml config: `project.license`.
> configuration error: `project.license` must be valid exactly by one
> definition (2 matches found):
>
> - keys:
> 'file': {type: string}
> required: ['file']
> - keys:
> 'text': {type: string}
> required: ['text']
>
> E: pybuild pybuild:379: clean: plugin distutils failed with: exit code=1:
> python3.10 setup.py clean
> dh_auto_clean: error: pybuild --clean -i python{version} -p 3.10 returned
> exit code 13
> make: *** [debian/rules:6: clean] Error 25
The full build log is available from:
http://qa-logs.debian.net/2022/09/17/debspawn_0.5.2-1_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20220917;[email protected]
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20220917&[email protected]&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 marking 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.