[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1028746: afdko: FTBFS: dpkg-buildpackage: error: dpkg-source -b . subprocess returned exit status 2



Source: afdko
Version: 3.6.2+dfsg1-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas@debian.org
Usertags: ftbfs-20230113 ftbfs-bookworm

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
> I: pybuild base:240: python3.10 setup.py clean 
> /usr/lib/python3/dist-packages/setuptools/config/setupcfg.py:508: SetuptoolsDeprecationWarning: The license_file parameter is deprecated, use license_files instead.
>   warnings.warn(msg, warning_class)
> /usr/lib/python3/dist-packages/setuptools/installer.py:27: SetuptoolsDeprecationWarning: setuptools.installer is deprecated. Requirements should be satisfied by a PEP 517 installer.
>   warnings.warn(
> /usr/bin/python3.10: No module named pip
> Traceback (most recent call last):
>   File "/usr/lib/python3/dist-packages/setuptools/installer.py", line 82, in fetch_build_egg
>     subprocess.check_call(cmd)
>   File "/usr/lib/python3.10/subprocess.py", line 369, in check_call
>     raise CalledProcessError(retcode, cmd)
> subprocess.CalledProcessError: Command '['/usr/bin/python3.10', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/tmp/tmp94tbzosq', '--quiet', 'tomli>=1.0.0']' returned non-zero exit status 1.
> 
> The above exception was the direct cause of the following exception:
> 
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/setup.py", line 251, in <module>
>     main()
>   File "/<<PKGBUILDDIR>>/setup.py", line 203, in main
>     setup(name="afdko",
>   File "/usr/lib/python3/dist-packages/setuptools/__init__.py", line 86, in setup
>     _install_setup_requires(attrs)
>   File "/usr/lib/python3/dist-packages/setuptools/__init__.py", line 80, in _install_setup_requires
>     dist.fetch_build_eggs(dist.setup_requires)
>   File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 874, in fetch_build_eggs
>     resolved_dists = pkg_resources.working_set.resolve(
>   File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 789, in resolve
>     dist = best[req.key] = env.best_match(
>   File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 1075, in best_match
>     return self.obtain(req, installer)
>   File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 1087, in obtain
>     return installer(requirement)
>   File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 944, in fetch_build_egg
>     return fetch_build_egg(self, req)
>   File "/usr/lib/python3/dist-packages/setuptools/installer.py", line 84, in fetch_build_egg
>     raise DistutilsError(str(e)) from e
> distutils.errors.DistutilsError: Command '['/usr/bin/python3.10', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/tmp/tmp94tbzosq', '--quiet', 'tomli>=1.0.0']' returned non-zero exit status 1.
> E: pybuild pybuild:388: 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 3.11" returned exit code 13
> make[1]: [debian/rules:18: override_dh_auto_clean] Error 25 (ignored)
> 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 afdko-3.6.2+dfsg1/debian/source/options: --extend-diff-ignore=^[^/]*[.]egg-info/ --extend-diff-ignore=^[^/]*[.]pybuild/
> dpkg-source: info: using source format '3.0 (quilt)'
> dpkg-source: info: building afdko using existing ./afdko_3.6.2+dfsg1.orig.tar.xz
> dpkg-source: warning: ignoring deletion of file c/spot/source/TAGS, use --include-removal to override
> dpkg-source: info: local changes detected, the modified files are:
>  afdko-3.6.2+dfsg1/.eggs/README.txt
> dpkg-source: error: aborting due to unexpected upstream changes, see /tmp/afdko_3.6.2+dfsg1-1.diff.mfBsZS
> 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-01-13T20:30:09Z


The full build log is available from:
http://qa-logs.debian.net/2023/01/13/afdko_3.6.2+dfsg1-1_unstable.log

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


Reply to: