Source: python-mongomock Version: 4.1.2-2 Severity: minor Tags: trixie sid ftbfs User: [email protected] Usertags: ftbfs-binary-20230816 ftbfs-binary-after-build User: [email protected] Usertags: qa-doublebuild
Hi, This package fails to do build a binary-only build (not source) after a successful build (dpkg-buildpackage ; dpkg-buildpackage -b). This is probably a clear violation of Debian Policy section 4.9 (clean target), but this is filed as severity:minor for now, because a discussion on debian-devel showed that we might want to revisit the requirement of a working 'clean' target. More information about this class of issues, included common problems and solutions, is available at https://wiki.debian.org/qa.debian.org/FTBFS/DoubleBuild Relevant part of the build log: > cd /<<PKGBUILDDIR>> && runuser -u user42 -- dpkg-buildpackage --sanitize-env > -us -uc -rfakeroot -b > --------------------------------------------------------------------------------------------------------------------------------------- > > dpkg-buildpackage: info: source package python-mongomock > dpkg-buildpackage: info: source version 4.1.2-2 > dpkg-buildpackage: info: source distribution unstable > dpkg-buildpackage: info: source changed by Timo Röhling <[email protected]> > dpkg-source --before-build . > dpkg-buildpackage: info: host architecture amd64 > debian/rules clean > dh clean --buildsystem pybuild --with python3 > debian/rules override_dh_auto_clean > make[1]: Entering directory '/<<PKGBUILDDIR>>' > dh_auto_clean > I: pybuild base:291: 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) > WARNING: The wheel package is not available. > /usr/lib/python3/dist-packages/setuptools/command/develop.py:40: > EasyInstallDeprecationWarning: easy_install command is deprecated. > !! > > > ******************************************************************************** > Please avoid running ``setup.py`` and ``easy_install``. > Instead, use pypa/build, pypa/installer or other > standards-based tools. > > See https://github.com/pypa/setuptools/issues/917 for details. > > ******************************************************************************** > > !! > easy_install.initialize_options(self) > /usr/lib/python3/dist-packages/setuptools/_distutils/cmd.py:66: > SetuptoolsDeprecationWarning: setup.py install is deprecated. > !! > > > ******************************************************************************** > Please avoid running ``setup.py`` directly. > Instead, use pypa/build, pypa/installer or other > standards-based tools. > > See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html > for details. > > ******************************************************************************** > > !! > self.initialize_options() > running clean > removing '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mongomock/build' (and > everything under it) > 'build/bdist.linux-x86_64' does not exist -- can't clean it > 'build/scripts-3.11' does not exist -- can't clean it > rm -rf mongomock.egg-info > make[1]: Leaving directory '/<<PKGBUILDDIR>>' > dh_autoreconf_clean -O--buildsystem=pybuild > dh_clean -O--buildsystem=pybuild > debian/rules binary > dh binary --buildsystem pybuild --with python3 > dh_update_autotools_config -O--buildsystem=pybuild > dh_autoreconf -O--buildsystem=pybuild > debian/rules override_dh_auto_configure > make[1]: Entering directory '/<<PKGBUILDDIR>>' > echo "__version__ = '4.1.2'" > mongomock/__version__.py > dh_auto_configure > I: pybuild base:291: python3.11 setup.py config > /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) > WARNING: The wheel package is not available. > /usr/lib/python3/dist-packages/setuptools/command/develop.py:40: > EasyInstallDeprecationWarning: easy_install command is deprecated. > !! > > > ******************************************************************************** > Please avoid running ``setup.py`` and ``easy_install``. > Instead, use pypa/build, pypa/installer or other > standards-based tools. > > See https://github.com/pypa/setuptools/issues/917 for details. > > ******************************************************************************** > > !! > easy_install.initialize_options(self) > /usr/lib/python3/dist-packages/setuptools/_distutils/cmd.py:66: > SetuptoolsDeprecationWarning: setup.py install is deprecated. > !! > > > ******************************************************************************** > Please avoid running ``setup.py`` directly. > Instead, use pypa/build, pypa/installer or other > standards-based tools. > > See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html > for details. > > ******************************************************************************** > > !! > self.initialize_options() > running config > make[1]: Leaving directory '/<<PKGBUILDDIR>>' > dh_auto_build -O--buildsystem=pybuild > I: pybuild base:291: /usr/bin/python3 setup.py build > /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) > WARNING: The wheel package is not available. > /usr/lib/python3/dist-packages/setuptools/command/develop.py:40: > EasyInstallDeprecationWarning: easy_install command is deprecated. > !! > > > ******************************************************************************** > Please avoid running ``setup.py`` and ``easy_install``. > Instead, use pypa/build, pypa/installer or other > standards-based tools. > > See https://github.com/pypa/setuptools/issues/917 for details. > > ******************************************************************************** > > !! > easy_install.initialize_options(self) > /usr/lib/python3/dist-packages/setuptools/_distutils/cmd.py:66: > SetuptoolsDeprecationWarning: setup.py install is deprecated. > !! > > > ******************************************************************************** > Please avoid running ``setup.py`` directly. > Instead, use pypa/build, pypa/installer or other > standards-based tools. > > See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html > for details. > > ******************************************************************************** > > !! > self.initialize_options() > running build > running build_py > creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mongomock/build/mongomock > copying mongomock/results.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mongomock/build/mongomock > copying mongomock/object_id.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mongomock/build/mongomock > copying mongomock/patch.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mongomock/build/mongomock > copying mongomock/write_concern.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mongomock/build/mongomock > copying mongomock/read_concern.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mongomock/build/mongomock > copying mongomock/mongo_client.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mongomock/build/mongomock > copying mongomock/__init__.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mongomock/build/mongomock > copying mongomock/aggregate.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mongomock/build/mongomock > copying mongomock/filtering.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mongomock/build/mongomock > copying mongomock/collection.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mongomock/build/mongomock > copying mongomock/command_cursor.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mongomock/build/mongomock > copying mongomock/thread.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mongomock/build/mongomock > copying mongomock/helpers.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mongomock/build/mongomock > copying mongomock/not_implemented.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mongomock/build/mongomock > copying mongomock/gridfs.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mongomock/build/mongomock > copying mongomock/read_preferences.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mongomock/build/mongomock > copying mongomock/codec_options.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mongomock/build/mongomock > copying mongomock/database.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mongomock/build/mongomock > copying mongomock/store.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mongomock/build/mongomock > copying mongomock/__version__.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mongomock/build/mongomock > running egg_info > creating mongomock.egg-info > writing mongomock.egg-info/PKG-INFO > writing dependency_links to mongomock.egg-info/dependency_links.txt > writing requirements to mongomock.egg-info/requires.txt > writing top-level names to mongomock.egg-info/top_level.txt > [pbr] Processing SOURCES.txt > writing manifest file 'mongomock.egg-info/SOURCES.txt' > warning: no files found matching 'AUTHORS' > warning: no files found matching 'ChangeLog' > warning: no previously-included files found matching '.gitignore' > warning: no previously-included files found matching '.gitreview' > warning: no previously-included files matching '*.pyc' found anywhere in > distribution > reading manifest template 'MANIFEST.in' > warning: no files found matching 'AUTHORS' > warning: no files found matching 'Changelog' > adding license file 'LICENSE' > writing manifest file 'mongomock.egg-info/SOURCES.txt' > copying mongomock/__init__.pyi -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mongomock/build/mongomock > debian/rules override_dh_auto_test > make[1]: Entering directory '/<<PKGBUILDDIR>>' > rm tests/test__bulk_operations.py tests/test__gridfs.py > tests/test__mongomock.py > rm: cannot remove 'tests/test__bulk_operations.py': No such file or directory > rm: cannot remove 'tests/test__gridfs.py': No such file or directory > rm: cannot remove 'tests/test__mongomock.py': No such file or directory > make[1]: *** [debian/rules:15: override_dh_auto_test] Error 1 > make[1]: Leaving directory '/<<PKGBUILDDIR>>' > make: *** [debian/rules:8: binary] Error 2 > dpkg-buildpackage: error: debian/rules binary subprocess returned exit status > 2 > > E: Command 'cd /<<PKGBUILDDIR>> && runuser -u user42 -- dpkg-buildpackage > --sanitize-env -us -uc -rfakeroot -b' failed to run. The full build log is available from: http://qa-logs.debian.net/2023/08/16/python-mongomock_4.1.2-2_unstable.log 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.

