Source: python-cycler
Version: 0.11.0-1
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-cycler
> dpkg-buildpackage: info: source version 0.11.0-1
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Sandro Tosi <[email protected]>
>  dpkg-source --before-build .
> dpkg-buildpackage: info: host architecture amd64
>  fakeroot debian/rules clean
> dh clean --with python3,sphinxdoc --buildsystem=pybuild
>    dh_auto_clean -O--buildsystem=pybuild
> I: pybuild base:291: python3.11 setup.py clean 
> /usr/lib/python3/dist-packages/setuptools/config/setupcfg.py:293: 
> _DeprecatedConfig: Deprecated config in `setup.cfg`
> !!
> 
>         
> ********************************************************************************
>         The license_file parameter is deprecated, use license_files instead.
> 
>         By 2023-Oct-30, you need to update your project and remove deprecated 
> calls
>         or your builds will no longer be supported.
> 
>         See 
> https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for 
> details.
>         
> ********************************************************************************
> 
> !!
>   parsed = self.parsers.get(option_name, lambda x: x)(value)
> running clean
> removing '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_cycler/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
>    dh_autoreconf_clean -O--buildsystem=pybuild
>    dh_clean -O--buildsystem=pybuild
>  debian/rules build
> dh build --with python3,sphinxdoc --buildsystem=pybuild
>    dh_update_autotools_config -O--buildsystem=pybuild
>    dh_autoreconf -O--buildsystem=pybuild
>    dh_auto_configure -O--buildsystem=pybuild
> I: pybuild base:291: python3.11 setup.py config 
> /usr/lib/python3/dist-packages/setuptools/config/setupcfg.py:293: 
> _DeprecatedConfig: Deprecated config in `setup.cfg`
> !!
> 
>         
> ********************************************************************************
>         The license_file parameter is deprecated, use license_files instead.
> 
>         By 2023-Oct-30, you need to update your project and remove deprecated 
> calls
>         or your builds will no longer be supported.
> 
>         See 
> https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for 
> details.
>         
> ********************************************************************************
> 
> !!
>   parsed = self.parsers.get(option_name, lambda x: x)(value)
> running config
>    dh_auto_build -O--buildsystem=pybuild
> I: pybuild base:291: /usr/bin/python3 setup.py build 
> /usr/lib/python3/dist-packages/setuptools/config/setupcfg.py:293: 
> _DeprecatedConfig: Deprecated config in `setup.cfg`
> !!
> 
>         
> ********************************************************************************
>         The license_file parameter is deprecated, use license_files instead.
> 
>         By 2023-Oct-30, you need to update your project and remove deprecated 
> calls
>         or your builds will no longer be supported.
> 
>         See 
> https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for 
> details.
>         
> ********************************************************************************
> 
> !!
>   parsed = self.parsers.get(option_name, lambda x: x)(value)
> running build
> running build_py
> copying cycler.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_cycler/build
> I: pybuild pybuild:340: 
> PYTHONPATH=/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_cycler/build /usr/bin/make 
> -C doc html SPHINXBUILD=/usr/share/sphinx/scripts/python3/sphinx-build
> make[1]: Entering directory '/<<PKGBUILDDIR>>/doc'
> /usr/share/sphinx/scripts/python3/sphinx-build -b html -d build/doctrees   
> source build/html
> Running Sphinx v5.3.0
> Matplotlib created a temporary config/cache directory at 
> /tmp/matplotlib-feijgw7c because the default path 
> (/home/user42/.config/matplotlib) is not a writable directory; it is highly 
> recommended to set the MPLCONFIGDIR environment variable to a writable 
> directory, in particular to speed up the import of Matplotlib and to better 
> support multiprocessing.
> WARNING: html_static_path entry '_static' does not exist
> loading pickled environment... done
> loading intersphinx inventory from https://docs.python.org/3/objects.inv...
> loading intersphinx inventory from https://matplotlib.org/objects.inv...
> WARNING: failed to reach any of the inventories with the following issues:
> intersphinx inventory 'https://docs.python.org/3/objects.inv' not fetchable 
> due to <class 'requests.exceptions.ProxyError'>: 
> HTTPSConnectionPool(host='docs.python.org', port=443): Max retries exceeded 
> with url: /3/objects.inv (Caused by ProxyError('Cannot connect to proxy.', 
> NewConnectionError('<urllib3.connection.HTTPSConnection object at 
> 0x7f22756bd090>: Failed to establish a new connection: [Errno 111] Connection 
> refused')))
> WARNING: failed to reach any of the inventories with the following issues:
> intersphinx inventory 'https://matplotlib.org/objects.inv' not fetchable due 
> to <class 'requests.exceptions.ProxyError'>: 
> HTTPSConnectionPool(host='matplotlib.org', port=443): Max retries exceeded 
> with url: /objects.inv (Caused by ProxyError('Cannot connect to proxy.', 
> NewConnectionError('<urllib3.connection.HTTPSConnection object at 
> 0x7f22756bcad0>: Failed to establish a new connection: [Errno 111] Connection 
> refused')))
> [autosummary] generating autosummary for: generated/cycler.Cycler.rst, 
> generated/cycler.concat.rst, generated/cycler.cycler.rst, index.rst
> building [mo]: targets for 0 po files that are out of date
> building [html]: targets for 0 source files that are out of date
> updating environment: 0 added, 0 changed, 0 removed
> looking for now-outdated files... none found
> no targets are out of date.
> build succeeded, 3 warnings.
> 
> The HTML pages are in build/html.
> 
> Build finished. The HTML pages are in build/html.
> make[1]: Leaving directory '/<<PKGBUILDDIR>>/doc'
>    debian/rules override_dh_auto_test
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> dh_auto_test -- --system=custom --test-args="PYTHONPATH={build_dir} 
> {interpreter} -m pytest -v"
> I: pybuild base:291: 
> PYTHONPATH=/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_cycler/build python3.11 -m 
> pytest -v
> ============================= test session starts 
> ==============================
> platform linux -- Python 3.11.4, pytest-7.4.0, pluggy-1.2.0 -- 
> /usr/bin/python3.11
> cachedir: .pytest_cache
> rootdir: /<<PKGBUILDDIR>>
> collecting ... collected 26 items
> 
> test_cycler.py::test_creation[from string] PASSED                        [  
> 3%]
> test_cycler.py::test_creation[from list] PASSED                          [  
> 7%]
> test_cycler.py::test_creation[from cycler] PASSED                        [ 
> 11%]
> test_cycler.py::test_add PASSED                                          [ 
> 15%]
> test_cycler.py::test_add_len_mismatch PASSED                             [ 
> 19%]
> test_cycler.py::test_prod PASSED                                         [ 
> 23%]
> test_cycler.py::test_inplace PASSED                                      [ 
> 26%]
> test_cycler.py::test_constructor PASSED                                  [ 
> 30%]
> test_cycler.py::test_failures PASSED                                     [ 
> 34%]
> test_cycler.py::test_simplify PASSED                                     [ 
> 38%]
> test_cycler.py::test_multiply PASSED                                     [ 
> 42%]
> test_cycler.py::test_mul_fails PASSED                                    [ 
> 46%]
> test_cycler.py::test_getitem PASSED                                      [ 
> 50%]
> test_cycler.py::test_fail_getime PASSED                                  [ 
> 53%]
> test_cycler.py::test_repr PASSED                                         [ 
> 57%]
> test_cycler.py::test_call PASSED                                         [ 
> 61%]
> test_cycler.py::test_copying PASSED                                      [ 
> 65%]
> test_cycler.py::test_keychange PASSED                                    [ 
> 69%]
> test_cycler.py::test_eq PASSED                                           [ 
> 73%]
> test_cycler.py::test_cycler_exceptions PASSED                            [ 
> 76%]
> test_cycler.py::test_starange_init PASSED                                [ 
> 80%]
> test_cycler.py::test_concat PASSED                                       [ 
> 84%]
> test_cycler.py::test_concat_fail PASSED                                  [ 
> 88%]
> test_cycler.py::test_by_key_add PASSED                                   [ 
> 92%]
> test_cycler.py::test_by_key_mul PASSED                                   [ 
> 96%]
> test_cycler.py::test_contains PASSED                                     
> [100%]
> 
> ============================== 26 passed in 0.08s 
> ==============================
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
>    create-stamp debian/debhelper-build-stamp
>  fakeroot debian/rules binary
> dh binary --with python3,sphinxdoc --buildsystem=pybuild
>    dh_testroot -O--buildsystem=pybuild
>    dh_prep -O--buildsystem=pybuild
>    dh_auto_install -O--buildsystem=pybuild
> I: pybuild base:291: /usr/bin/python3 setup.py install --root 
> /<<PKGBUILDDIR>>/debian/python3-cycler 
> /usr/lib/python3/dist-packages/setuptools/config/setupcfg.py:293: 
> _DeprecatedConfig: Deprecated config in `setup.cfg`
> !!
> 
>         
> ********************************************************************************
>         The license_file parameter is deprecated, use license_files instead.
> 
>         By 2023-Oct-30, you need to update your project and remove deprecated 
> calls
>         or your builds will no longer be supported.
> 
>         See 
> https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for 
> details.
>         
> ********************************************************************************
> 
> !!
>   parsed = self.parsers.get(option_name, lambda x: x)(value)
> running install
> /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
> running install_lib
> creating /<<PKGBUILDDIR>>/debian/python3-cycler
> creating /<<PKGBUILDDIR>>/debian/python3-cycler/usr
> creating /<<PKGBUILDDIR>>/debian/python3-cycler/usr/lib
> creating /<<PKGBUILDDIR>>/debian/python3-cycler/usr/lib/python3.11
> creating 
> /<<PKGBUILDDIR>>/debian/python3-cycler/usr/lib/python3.11/dist-packages
> copying /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_cycler/build/cycler.py -> 
> /<<PKGBUILDDIR>>/debian/python3-cycler/usr/lib/python3.11/dist-packages
> creating 
> /<<PKGBUILDDIR>>/debian/python3-cycler/usr/lib/python3.11/dist-packages/__pycache__
> copying 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_cycler/build/__pycache__/cycler.cpython-311.pyc
>  -> 
> /<<PKGBUILDDIR>>/debian/python3-cycler/usr/lib/python3.11/dist-packages/__pycache__
> byte-compiling 
> /<<PKGBUILDDIR>>/debian/python3-cycler/usr/lib/python3.11/dist-packages/cycler.py
>  to cycler.cpython-311.pyc
> running install_egg_info
> running egg_info
> writing cycler.egg-info/PKG-INFO
> writing dependency_links to cycler.egg-info/dependency_links.txt
> writing top-level names to cycler.egg-info/top_level.txt
> reading manifest file 'cycler.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> warning: no previously-included files found matching 'appveyor.yml'
> warning: no previously-included files matching '*' found under directory 
> '.github'
> adding license file 'LICENSE'
> writing manifest file 'cycler.egg-info/SOURCES.txt'
> Copying cycler.egg-info to 
> /<<PKGBUILDDIR>>/debian/python3-cycler/usr/lib/python3.11/dist-packages/cycler-0.11.0.egg-info
> Skipping SOURCES.txt
> running install_scripts
>    debian/rules override_dh_installdocs
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> dh_installdocs
> ln -s /usr/share/javascript/mathjax/MathJax.js 
> /<<PKGBUILDDIR>>/doc/build/html/_static/MathJax.js
> ln: failed to create symbolic link 
> '/<<PKGBUILDDIR>>/doc/build/html/_static/MathJax.js': File exists
> make[1]: *** [debian/rules:16: override_dh_installdocs] Error 1
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
> make: *** [debian/rules:7: binary] Error 2
> dpkg-buildpackage: error: fakeroot 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-cycler_0.11.0-1_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.

Reply via email to