Source: python-ldappool
Version: 3.0.0-3
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20240615 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>>'
> make[1]: pyversions: No such file or directory
> py3versions: no X-Python3-Version in control file, using supported versions
> pkgos-dh_auto_install --no-py2
> + PKGOS_IN_TMP=no
> + echo WARNING: --no-py2 is deprecated and always on.
> WARNING: --no-py2 is deprecated and always on.
> + shift
> + dpkg-parsechangelog -SSource
> + SRC_PKG_NAME=python-ldappool
> + echo python-ldappool
> + sed s/python-//
> + PY_MODULE_NAME=ldappool
> + py3versions -vr
> + PYTHON3S=3.12 3.11
> + [ no = yes ]
> + TARGET_DIR=python3-ldappool
> + pwd
> + python3.12 setup.py install --install-layout=deb --root 
> /<<PKGBUILDDIR>>/debian/python3-ldappool
> /usr/lib/python3/dist-packages/setuptools/dist.py:744: 
> SetuptoolsDeprecationWarning: Invalid dash-separated options
> !!
> 
>         
> ********************************************************************************
>         Usage of dash-separated 'description-file' will not be supported in 
> future
>         versions. Please use the underscore name 'description_file' instead.
> 
>         This deprecation is overdue, please update your project and remove 
> deprecated
>         calls to avoid build errors in the future.
> 
>         See 
> https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for 
> details.
>         
> ********************************************************************************
> 
> !!
>   opt = self.warn_dash_deprecation(opt, section)
> /usr/lib/python3/dist-packages/setuptools/dist.py:744: 
> SetuptoolsDeprecationWarning: Invalid dash-separated options
> !!
> 
>         
> ********************************************************************************
>         Usage of dash-separated 'author-email' will not be supported in future
>         versions. Please use the underscore name 'author_email' instead.
> 
>         This deprecation is overdue, please update your project and remove 
> deprecated
>         calls to avoid build errors in the future.
> 
>         See 
> https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for 
> details.
>         
> ********************************************************************************
> 
> !!
>   opt = self.warn_dash_deprecation(opt, section)
> /usr/lib/python3/dist-packages/setuptools/dist.py:744: 
> SetuptoolsDeprecationWarning: Invalid dash-separated options
> !!
> 
>         
> ********************************************************************************
>         Usage of dash-separated 'home-page' will not be supported in future
>         versions. Please use the underscore name 'home_page' instead.
> 
>         This deprecation is overdue, please update your project and remove 
> deprecated
>         calls to avoid build errors in the future.
> 
>         See 
> https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for 
> details.
>         
> ********************************************************************************
> 
> !!
>   opt = self.warn_dash_deprecation(opt, section)
> /usr/lib/python3/dist-packages/setuptools/dist.py:744: 
> SetuptoolsDeprecationWarning: Invalid dash-separated options
> !!
> 
>         
> ********************************************************************************
>         Usage of dash-separated 'python-requires' will not be supported in 
> future
>         versions. Please use the underscore name 'python_requires' instead.
> 
>         This deprecation is overdue, please update your project and remove 
> deprecated
>         calls to avoid build errors in the future.
> 
>         See 
> https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for 
> details.
>         
> ********************************************************************************
> 
> !!
>   opt = self.warn_dash_deprecation(opt, section)
> /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)
> /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()
> /usr/lib/python3/dist-packages/setuptools/dist.py:744: 
> SetuptoolsDeprecationWarning: Invalid dash-separated options
> !!
> 
>         
> ********************************************************************************
>         Usage of dash-separated 'description-file' will not be supported in 
> future
>         versions. Please use the underscore name 'description_file' instead.
> 
>         This deprecation is overdue, please update your project and remove 
> deprecated
>         calls to avoid build errors in the future.
> 
>         See 
> https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for 
> details.
>         
> ********************************************************************************
> 
> !!
>   opt = self.warn_dash_deprecation(opt, section)
> /usr/lib/python3/dist-packages/setuptools/dist.py:744: 
> SetuptoolsDeprecationWarning: Invalid dash-separated options
> !!
> 
>         
> ********************************************************************************
>         Usage of dash-separated 'author-email' will not be supported in future
>         versions. Please use the underscore name 'author_email' instead.
> 
>         This deprecation is overdue, please update your project and remove 
> deprecated
>         calls to avoid build errors in the future.
> 
>         See 
> https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for 
> details.
>         
> ********************************************************************************
> 
> !!
>   opt = self.warn_dash_deprecation(opt, section)
> /usr/lib/python3/dist-packages/setuptools/dist.py:744: 
> SetuptoolsDeprecationWarning: Invalid dash-separated options
> !!
> 
>         
> ********************************************************************************
>         Usage of dash-separated 'home-page' will not be supported in future
>         versions. Please use the underscore name 'home_page' instead.
> 
>         This deprecation is overdue, please update your project and remove 
> deprecated
>         calls to avoid build errors in the future.
> 
>         See 
> https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for 
> details.
>         
> ********************************************************************************
> 
> !!
>   opt = self.warn_dash_deprecation(opt, section)
> /usr/lib/python3/dist-packages/setuptools/dist.py:744: 
> SetuptoolsDeprecationWarning: Invalid dash-separated options
> !!
> 
>         
> ********************************************************************************
>         Usage of dash-separated 'python-requires' will not be supported in 
> future
>         versions. Please use the underscore name 'python_requires' instead.
> 
>         This deprecation is overdue, please update your project and remove 
> deprecated
>         calls to avoid build errors in the future.
> 
>         See 
> https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for 
> details.
>         
> ********************************************************************************
> 
> !!
>   opt = self.warn_dash_deprecation(opt, section)
> running install
> [pbr] Generating AUTHORS
> [pbr] AUTHORS complete (0.0s)
> running build
> running build_py
> creating build
> creating build/lib
> creating build/lib/ldappool
> copying ldappool/__init__.py -> build/lib/ldappool
> creating build/lib/ldappool/tests
> copying ldappool/tests/__init__.py -> build/lib/ldappool/tests
> copying ldappool/tests/test_ldappool.py -> build/lib/ldappool/tests
> copying ldappool/tests/test_ldapconnection.py -> build/lib/ldappool/tests
> running egg_info
> creating ldappool.egg-info
> writing ldappool.egg-info/PKG-INFO
> writing dependency_links to ldappool.egg-info/dependency_links.txt
> writing requirements to ldappool.egg-info/requires.txt
> writing top-level names to ldappool.egg-info/top_level.txt
> [pbr] Processing SOURCES.txt
> writing manifest file 'ldappool.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'
> writing manifest file 'ldappool.egg-info/SOURCES.txt'
> running install_lib
> creating /<<PKGBUILDDIR>>/debian/python3-ldappool
> creating /<<PKGBUILDDIR>>/debian/python3-ldappool/usr
> creating /<<PKGBUILDDIR>>/debian/python3-ldappool/usr/lib
> creating /<<PKGBUILDDIR>>/debian/python3-ldappool/usr/lib/python3
> creating 
> /<<PKGBUILDDIR>>/debian/python3-ldappool/usr/lib/python3/dist-packages
> creating 
> /<<PKGBUILDDIR>>/debian/python3-ldappool/usr/lib/python3/dist-packages/ldappool
> copying build/lib/ldappool/__init__.py -> 
> /<<PKGBUILDDIR>>/debian/python3-ldappool/usr/lib/python3/dist-packages/ldappool
> creating 
> /<<PKGBUILDDIR>>/debian/python3-ldappool/usr/lib/python3/dist-packages/ldappool/tests
> copying build/lib/ldappool/tests/__init__.py -> 
> /<<PKGBUILDDIR>>/debian/python3-ldappool/usr/lib/python3/dist-packages/ldappool/tests
> copying build/lib/ldappool/tests/test_ldappool.py -> 
> /<<PKGBUILDDIR>>/debian/python3-ldappool/usr/lib/python3/dist-packages/ldappool/tests
> copying build/lib/ldappool/tests/test_ldapconnection.py -> 
> /<<PKGBUILDDIR>>/debian/python3-ldappool/usr/lib/python3/dist-packages/ldappool/tests
> byte-compiling 
> /<<PKGBUILDDIR>>/debian/python3-ldappool/usr/lib/python3/dist-packages/ldappool/__init__.py
>  to __init__.cpython-312.pyc
> byte-compiling 
> /<<PKGBUILDDIR>>/debian/python3-ldappool/usr/lib/python3/dist-packages/ldappool/tests/__init__.py
>  to __init__.cpython-312.pyc
> byte-compiling 
> /<<PKGBUILDDIR>>/debian/python3-ldappool/usr/lib/python3/dist-packages/ldappool/tests/test_ldappool.py
>  to test_ldappool.cpython-312.pyc
> byte-compiling 
> /<<PKGBUILDDIR>>/debian/python3-ldappool/usr/lib/python3/dist-packages/ldappool/tests/test_ldapconnection.py
>  to test_ldapconnection.cpython-312.pyc
> running install_egg_info
> Copying ldappool.egg-info to 
> /<<PKGBUILDDIR>>/debian/python3-ldappool/usr/lib/python3/dist-packages/ldappool-3.0.0.egg-info
> Skipping SOURCES.txt
> running install_scripts
> + pwd
> + python3.11 setup.py install --install-layout=deb --root 
> /<<PKGBUILDDIR>>/debian/python3-ldappool
> /usr/lib/python3/dist-packages/setuptools/dist.py:744: 
> SetuptoolsDeprecationWarning: Invalid dash-separated options
> !!
> 
>         
> ********************************************************************************
>         Usage of dash-separated 'description-file' will not be supported in 
> future
>         versions. Please use the underscore name 'description_file' instead.
> 
>         This deprecation is overdue, please update your project and remove 
> deprecated
>         calls to avoid build errors in the future.
> 
>         See 
> https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for 
> details.
>         
> ********************************************************************************
> 
> !!
>   opt = self.warn_dash_deprecation(opt, section)
> /usr/lib/python3/dist-packages/setuptools/dist.py:744: 
> SetuptoolsDeprecationWarning: Invalid dash-separated options
> !!
> 
>         
> ********************************************************************************
>         Usage of dash-separated 'author-email' will not be supported in future
>         versions. Please use the underscore name 'author_email' instead.
> 
>         This deprecation is overdue, please update your project and remove 
> deprecated
>         calls to avoid build errors in the future.
> 
>         See 
> https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for 
> details.
>         
> ********************************************************************************
> 
> !!
>   opt = self.warn_dash_deprecation(opt, section)
> /usr/lib/python3/dist-packages/setuptools/dist.py:744: 
> SetuptoolsDeprecationWarning: Invalid dash-separated options
> !!
> 
>         
> ********************************************************************************
>         Usage of dash-separated 'home-page' will not be supported in future
>         versions. Please use the underscore name 'home_page' instead.
> 
>         This deprecation is overdue, please update your project and remove 
> deprecated
>         calls to avoid build errors in the future.
> 
>         See 
> https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for 
> details.
>         
> ********************************************************************************
> 
> !!
>   opt = self.warn_dash_deprecation(opt, section)
> /usr/lib/python3/dist-packages/setuptools/dist.py:744: 
> SetuptoolsDeprecationWarning: Invalid dash-separated options
> !!
> 
>         
> ********************************************************************************
>         Usage of dash-separated 'python-requires' will not be supported in 
> future
>         versions. Please use the underscore name 'python_requires' instead.
> 
>         This deprecation is overdue, please update your project and remove 
> deprecated
>         calls to avoid build errors in the future.
> 
>         See 
> https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for 
> details.
>         
> ********************************************************************************
> 
> !!
>   opt = self.warn_dash_deprecation(opt, section)
> /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)
> /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()
> /usr/lib/python3/dist-packages/setuptools/dist.py:744: 
> SetuptoolsDeprecationWarning: Invalid dash-separated options
> !!
> 
>         
> ********************************************************************************
>         Usage of dash-separated 'description-file' will not be supported in 
> future
>         versions. Please use the underscore name 'description_file' instead.
> 
>         This deprecation is overdue, please update your project and remove 
> deprecated
>         calls to avoid build errors in the future.
> 
>         See 
> https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for 
> details.
>         
> ********************************************************************************
> 
> !!
>   opt = self.warn_dash_deprecation(opt, section)
> /usr/lib/python3/dist-packages/setuptools/dist.py:744: 
> SetuptoolsDeprecationWarning: Invalid dash-separated options
> !!
> 
>         
> ********************************************************************************
>         Usage of dash-separated 'author-email' will not be supported in future
>         versions. Please use the underscore name 'author_email' instead.
> 
>         This deprecation is overdue, please update your project and remove 
> deprecated
>         calls to avoid build errors in the future.
> 
>         See 
> https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for 
> details.
>         
> ********************************************************************************
> 
> !!
>   opt = self.warn_dash_deprecation(opt, section)
> /usr/lib/python3/dist-packages/setuptools/dist.py:744: 
> SetuptoolsDeprecationWarning: Invalid dash-separated options
> !!
> 
>         
> ********************************************************************************
>         Usage of dash-separated 'home-page' will not be supported in future
>         versions. Please use the underscore name 'home_page' instead.
> 
>         This deprecation is overdue, please update your project and remove 
> deprecated
>         calls to avoid build errors in the future.
> 
>         See 
> https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for 
> details.
>         
> ********************************************************************************
> 
> !!
>   opt = self.warn_dash_deprecation(opt, section)
> /usr/lib/python3/dist-packages/setuptools/dist.py:744: 
> SetuptoolsDeprecationWarning: Invalid dash-separated options
> !!
> 
>         
> ********************************************************************************
>         Usage of dash-separated 'python-requires' will not be supported in 
> future
>         versions. Please use the underscore name 'python_requires' instead.
> 
>         This deprecation is overdue, please update your project and remove 
> deprecated
>         calls to avoid build errors in the future.
> 
>         See 
> https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for 
> details.
>         
> ********************************************************************************
> 
> !!
>   opt = self.warn_dash_deprecation(opt, section)
> running install
> [pbr] Generating AUTHORS
> [pbr] AUTHORS complete (0.0s)
> running build
> running build_py
> running egg_info
> writing ldappool.egg-info/PKG-INFO
> writing dependency_links to ldappool.egg-info/dependency_links.txt
> writing requirements to ldappool.egg-info/requires.txt
> writing top-level names to ldappool.egg-info/top_level.txt
> [pbr] Reusing existing SOURCES.txt
> running install_lib
> byte-compiling 
> /<<PKGBUILDDIR>>/debian/python3-ldappool/usr/lib/python3/dist-packages/ldappool/__init__.py
>  to __init__.cpython-311.pyc
> byte-compiling 
> /<<PKGBUILDDIR>>/debian/python3-ldappool/usr/lib/python3/dist-packages/ldappool/tests/__init__.py
>  to __init__.cpython-311.pyc
> byte-compiling 
> /<<PKGBUILDDIR>>/debian/python3-ldappool/usr/lib/python3/dist-packages/ldappool/tests/test_ldappool.py
>  to test_ldappool.cpython-311.pyc
> byte-compiling 
> /<<PKGBUILDDIR>>/debian/python3-ldappool/usr/lib/python3/dist-packages/ldappool/tests/test_ldapconnection.py
>  to test_ldapconnection.cpython-311.pyc
> running install_egg_info
> removing 
> '/<<PKGBUILDDIR>>/debian/python3-ldappool/usr/lib/python3/dist-packages/ldappool-3.0.0.egg-info'
>  (and everything under it)
> Copying ldappool.egg-info to 
> /<<PKGBUILDDIR>>/debian/python3-ldappool/usr/lib/python3/dist-packages/ldappool-3.0.0.egg-info
> Skipping SOURCES.txt
> running install_scripts
> + pwd
> + rm -rf /<<PKGBUILDDIR>>/debian/python*/usr/lib/python*/dist-packages/*.pth
> + pwd
> + rm -rf /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python*/dist-packages/*.pth
> pkgos-dh_auto_test --no-py2
> + PKGOS_TEST_PARALLEL=yes
> + PKGOS_TEST_SERIAL=no
> + PYTHONS=disabled
> + PYTHON3S=disabled
> + TEST_PARALLEL_OPT=--parallel
> + TEST_SERIAL_OPT=
> + echo WARNING: --no-py2 is deprecated, and always on.
> WARNING: --no-py2 is deprecated, and always on.
> + shift
> + py3versions -vr
> + PYTHON3S=3.12 3.11
> + [ yes = no ]
> + [ no = yes ]
> + [ 3.12 = disabled ]
> + echo 3.12
> + cut -d. -f1
> + PYMAJOR=3
> + echo ===> Testing with python (python3)
> ===> Testing with python (python3)
> + pwd
> + [ -d /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages ]
> + [ -e .stestr.conf ]
> + [ -x /usr/bin/python3-stestr ]
> + STESTR=stestr
> + rm -rf .stestr
> + PYTHON=python3.12 stestr run --parallel --subunit
> + subunit2pyunit
> 
> =========================
> Failures during discovery
> =========================
> --- import errors ---
> Failed to import test module: ldappool.tests
> Traceback (most recent call last):
>   File "/usr/lib/python3.12/unittest/loader.py", line 429, in _find_test_path
>     package = self._get_module_from_name(name)
>               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3.12/unittest/loader.py", line 339, in 
> _get_module_from_name
>     __import__(name)
>   File "/<<PKGBUILDDIR>>/ldappool/__init__.py", line 48, in <module>
>     import six
> ModuleNotFoundError: No module named 'six'
> 
> ================================================================================
> The above traceback was encountered during test discovery which imports all 
> the found test modules in the specified test_path.
> 
> ----------------------------------------------------------------------
> Ran 0 tests in 0.621s
> 
> OK
> + stestr slowest
> make[1]: *** [debian/rules:26: override_dh_auto_install] Error 3


The full build log is available from:
http://qa-logs.debian.net/2024/06/15/python-ldappool_3.0.0-3_unstable.log

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