[Python-modules-team] Bug#966952: python-virtualenv: FTBFS: dpkg-buildpackage: error: dpkg-source -b . subprocess returned exit status 2
Lucas Nussbaum
lucas at debian.org
Mon Aug 3 09:34:10 BST 2020
Source: python-virtualenv
Version: 20.0.27+ds-1
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20200802 ftbfs-bullseye
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> dpkg-buildpackage
> -----------------
>
> Command: dpkg-buildpackage -us -uc -sa -rfakeroot
> dpkg-buildpackage: info: source package python-virtualenv
> dpkg-buildpackage: info: source version 20.0.27+ds-1
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Stefano Rivera <stefanor at debian.org>
> dpkg-source --before-build .
> dpkg-buildpackage: info: host architecture amd64
> debian/rules clean
> dh clean --with python3 --buildsystem=pybuild
> dh_auto_clean -O--buildsystem=pybuild
> pybuild --clean -i python{version} -p 3.8
> D: pybuild pybuild:560: version: 4.20200315
> D: pybuild pybuild:561: ['/usr/bin/pybuild', '--clean', '-i', 'python{version}', '-p', '3.8']
> D: pybuild pybuild:36: cfg: Namespace(after_build=None, after_clean=None, after_configure=None, after_install=None, after_test=None, before_build=None, before_clean=None, before_configure=None, before_install=None, before_test=None, build_args=None, build_only=False, clean_args=None, clean_only=True, configure_args=None, configure_only=False, custom_tests=False, destdir='debian/tmp', detect_only=False, dir='/<<PKGBUILDDIR>>', disable=None, ext_destdir=None, ext_pattern='\\.so(\\.[^/]*)?$', ext_sub_pattern=None, ext_sub_repl=None, install_args=None, install_dir=None, install_only=False, interpreter=['python{version}'], list_systems=False, name='virtualenv', print_args=None, quiet=False, really_quiet=False, system=None, test_args=None, test_nose=False, test_nose2=False, test_only=False, test_pytest=False, test_tox=False, verbose=True, versions=['3.8'])
> D: pybuild __init__:36: cannot initialize 'cmake' plugin
> Traceback (most recent call last):
> File "/usr/share/dh-python/dhpython/build/__init__.py", line 32, in <module>
> module.BuildSystem.is_usable()
> File "/usr/share/dh-python/dhpython/build/base.py", line 120, in is_usable
> raise Exception("missing command: %s" % command)
> Exception: missing command: cmake
> D: pybuild tools:232: invoking: /usr/bin/dpkg-architecture
> D: pybuild pybuild:131: detected build system: distutils (certainty: 61%)
> D: pybuild plugin_distutils:56: pydistutils config file:
> [clean]
> all=1
> [build]
> build-lib=/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_virtualenv/build
> [install]
> force=1
> install-layout=deb
> install-scripts=$base/bin
> install-lib=/usr/lib/python3.8/dist-packages
> prefix=/usr
> [easy_install]
> allow_hosts=None
>
> I: pybuild base:217: python3.8 setup.py clean
> D: pybuild tools:232: invoking: python3.8 setup.py clean
> running clean
> removing '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_virtualenv/build' (and everything under it)
> 'build/bdist.linux-x86_64' does not exist -- can't clean it
> 'build/scripts-3.8' does not exist -- can't clean it
> rm -rf .pybuild/
> find . -name \*.pyc -exec rm {} \;
> dh_autoreconf_clean -O--buildsystem=pybuild
> dh_clean -O--buildsystem=pybuild
> rm -f debian/debhelper-build-stamp
> rm -rf debian/.debhelper/
> rm -f -- debian/python3-virtualenv.substvars debian/virtualenv.substvars debian/files
> rm -fr -- debian/python3-virtualenv/ debian/tmp/ debian/virtualenv/
> find . \( \( \
> \( -path .\*/.git -o -path .\*/.svn -o -path .\*/.bzr -o -path .\*/.hg -o -path .\*/CVS -o -path .\*/.pc -o -path .\*/_darcs \) -prune -o -type f -a \
> \( -name '#*#' -o -name '.*~' -o -name '*~' -o -name DEADJOE \
> -o -name '*.orig' -o -name '*.rej' -o -name '*.bak' \
> -o -name '.*.orig' -o -name .*.rej -o -name '.SUMS' \
> -o -name TAGS -o \( -path '*/.deps/*' -a -name '*.P' \) \
> \) -exec rm -f {} + \) -o \
> \( -type d -a -name autom4te.cache -prune -exec rm -rf {} + \) \)
> dpkg-source -b .
> dpkg-source: info: using source format '3.0 (quilt)'
> dpkg-source: info: building python-virtualenv using existing ./python-virtualenv_20.0.27+ds.orig.tar.xz
> dpkg-source: info: using patch list from debian/patches/series
> dpkg-source: warning: file python-virtualenv-20.0.27+ds/src/virtualenv/version.py has no final newline (either original or modified version)
> dpkg-source: info: local changes detected, the modified files are:
> python-virtualenv-20.0.27+ds/src/virtualenv/version.py
> dpkg-source: error: aborting due to unexpected upstream changes, see /tmp/python-virtualenv_20.0.27+ds-1.diff.8S16cS
> 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 2020-08-02T17:33:45Z
The full build log is available from:
http://qa-logs.debian.net/2020/08/02/python-virtualenv_20.0.27+ds-1_unstable.log
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!
About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.
More information about the Python-modules-team
mailing list