[Debian-med-packaging] Bug#1042180: macs: FTBFS: dpkg-buildpackage: error: dpkg-source -b . subprocess returned exit status 2

Lucas Nussbaum lucas at debian.org
Wed Jul 26 20:55:54 BST 2023


Source: macs
Version: 2.2.7.1-6
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20230726 ftbfs-trixie

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> dh_auto_clean || true
> I: pybuild base:240: python3.11 setup.py clean 
> /usr/lib/python3/dist-packages/setuptools/__init__.py:84: _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)
> Traceback (most recent call last):
>   File "/usr/lib/python3/dist-packages/pkg_resources/_vendor/packaging/requirements.py", line 35, in __init__
>     parsed = _parse_requirement(requirement_string)
>              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/pkg_resources/_vendor/packaging/_parser.py", line 64, in parse_requirement
>     return _parse_requirement(Tokenizer(source, rules=DEFAULT_RULES))
>            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/pkg_resources/_vendor/packaging/_parser.py", line 82, in _parse_requirement
>     url, specifier, marker = _parse_requirement_details(tokenizer)
>                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/pkg_resources/_vendor/packaging/_parser.py", line 126, in _parse_requirement_details
>     marker = _parse_requirement_marker(
>              ^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/pkg_resources/_vendor/packaging/_parser.py", line 147, in _parse_requirement_marker
>     tokenizer.raise_syntax_error(
>   File "/usr/lib/python3/dist-packages/pkg_resources/_vendor/packaging/_tokenizer.py", line 165, in raise_syntax_error
>     raise ParserSyntaxError(
> pkg_resources.extern.packaging._tokenizer.ParserSyntaxError: Expected end or semicolon (after name and no valid version specifier)
>     numpy>=>=1.17
>          ^
> 
> The above exception was the direct cause of the following exception:
> 
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/setup.py", line 84, in <module>
>     main()
>   File "/<<PKGBUILDDIR>>/setup.py", line 51, in main
>     setup(name="MACS2",
>   File "/usr/lib/python3/dist-packages/setuptools/__init__.py", line 106, in setup
>     _install_setup_requires(attrs)
>   File "/usr/lib/python3/dist-packages/setuptools/__init__.py", line 79, in _install_setup_requires
>     _fetch_build_eggs(dist)
>   File "/usr/lib/python3/dist-packages/setuptools/__init__.py", line 84, in _fetch_build_eggs
>     dist.fetch_build_eggs(dist.setup_requires)
>   File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 907, in fetch_build_eggs
>     return _fetch_build_eggs(self, requires)
>            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/setuptools/installer.py", line 38, in _fetch_build_eggs
>     resolved_dists = pkg_resources.working_set.resolve(
>                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 806, in resolve
>     requirements = list(requirements)[::-1]
>                    ^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 3174, in __init__
>     super(Requirement, self).__init__(requirement_string)
>   File "/usr/lib/python3/dist-packages/pkg_resources/_vendor/packaging/requirements.py", line 37, in __init__
>     raise InvalidRequirement(str(e)) from e
> pkg_resources.extern.packaging.requirements.InvalidRequirement: Expected end or semicolon (after name and no valid version specifier)
>     numpy>=>=1.17
>          ^
> E: pybuild pybuild:388: clean: plugin distutils failed with: exit code=1: python3.11 setup.py clean 
> dh_auto_clean: error: pybuild --clean -i python{version} -p 3.11 returned exit code 13
> rm -Rf test/macs2.2.7.1-6* test/speedtest*
> rm -f debian/*.1 debian/*-man-include
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
>    dh_autoreconf_clean -O--buildsystem=pybuild
>    dh_clean -O--buildsystem=pybuild
>  dpkg-source -b .
> dpkg-source: info: using options from macs-2.2.7.1/debian/source/options: --extend-diff-ignore=(^|/)(.*\.c)$|.*[.]egg-info/
> dpkg-source: info: using source format '3.0 (quilt)'
> dpkg-source: info: building macs using existing ./macs_2.2.7.1.orig.tar.gz
> dpkg-source: info: using patch list from debian/patches/series
> dpkg-source: info: local changes detected, the modified files are:
>  macs-2.2.7.1/.pybuild/cpython3_3.11_MACS2/.pydistutils.cfg
> dpkg-source: error: aborting due to unexpected upstream changes, see /tmp/macs_2.2.7.1-6.diff.F2puIH
> dpkg-source: info: Hint: make sure the version in debian/changelog matches the unpacked source tree
> dpkg-source: info: you can integrate the local changes with dpkg-source --commit
> dpkg-buildpackage: error: dpkg-source -b . subprocess returned exit status 2
> --------------------------------------------------------------------------------
> Build finished at 2023-07-26T19:11:48Z


The full build log is available from:
http://qa-logs.debian.net/2023/07/26/macs_2.2.7.1-6_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20230726;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20230726&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.



More information about the Debian-med-packaging mailing list