Package: src:python-django-babel
Version: 0.6.2-5
Severity: serious
Tags: ftbfs

Dear maintainer:

During a rebuild of all packages in unstable, your package failed to build:

--------------------------------------------------------------------------------
[...]
 debian/rules build
make: pyversions: No such file or directory
py3versions: no X-Python3-Version in control file, using supported versions
dh build --buildsystem=python_distutils --with python3,sphinxdoc
   dh_update_autotools_config -O--buildsystem=python_distutils
   dh_autoreconf -O--buildsystem=python_distutils
   dh_auto_configure -O--buildsystem=python_distutils
dh_auto_configure: warning: Please use the third-party "pybuild" build system 
instead of python-distutils
dh_auto_configure: warning: This feature will be removed in compat 12.
   debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
make[1]: pyversions: No such file or directory
py3versions: no X-Python3-Version in control file, using supported versions
echo "Do nothing..."
Do nothing...
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   debian/rules override_dh_auto_test
make[1]: Entering directory '/<<PKGBUILDDIR>>'
make[1]: pyversions: No such file or directory
py3versions: no X-Python3-Version in control file, using supported versions
echo "Do nothing..."
Do nothing...
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   create-stamp debian/debhelper-build-stamp
 fakeroot debian/rules binary
make: pyversions: No such file or directory
py3versions: no X-Python3-Version in control file, using supported versions
dh binary --buildsystem=python_distutils --with python3,sphinxdoc
   dh_testroot -O--buildsystem=python_distutils
   dh_prep -O--buildsystem=python_distutils
   debian/rules override_dh_auto_install
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-django-babel
+ echo python-django-babel
+ sed s/python-//
+ PY_MODULE_NAME=django-babel
+ py3versions -vr
+ PYTHON3S=3.13 3.12
+ [ no = yes ]
+ TARGET_DIR=python3-django-babel
+ pwd
+ python3.13 setup.py install --install-layout=deb --root 
/<<PKGBUILDDIR>>/debian/python3-django-babel
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
creating build/lib/django_babel
copying django_babel/__init__.py -> build/lib/django_babel
copying django_babel/middleware.py -> build/lib/django_babel
copying django_babel/extract.py -> build/lib/django_babel
creating build/lib/django_babel/templatetags
copying django_babel/templatetags/babel.py -> 
build/lib/django_babel/templatetags
copying django_babel/templatetags/__init__.py -> 
build/lib/django_babel/templatetags
creating build/lib/django_babel/management
copying django_babel/management/__init__.py -> build/lib/django_babel/management
creating build/lib/django_babel/management/commands
copying django_babel/management/commands/babel.py -> 
build/lib/django_babel/management/commands
copying django_babel/management/commands/__init__.py -> 
build/lib/django_babel/management/commands
running install_lib
creating 
/<<PKGBUILDDIR>>/debian/python3-django-babel/usr/lib/python3/dist-packages
creating 
/<<PKGBUILDDIR>>/debian/python3-django-babel/usr/lib/python3/dist-packages/django_babel
creating 
/<<PKGBUILDDIR>>/debian/python3-django-babel/usr/lib/python3/dist-packages/django_babel/templatetags
copying build/lib/django_babel/templatetags/babel.py -> 
/<<PKGBUILDDIR>>/debian/python3-django-babel/usr/lib/python3/dist-packages/django_babel/templatetags
copying build/lib/django_babel/templatetags/__init__.py -> 
/<<PKGBUILDDIR>>/debian/python3-django-babel/usr/lib/python3/dist-packages/django_babel/templatetags
creating 
/<<PKGBUILDDIR>>/debian/python3-django-babel/usr/lib/python3/dist-packages/django_babel/management
creating 
/<<PKGBUILDDIR>>/debian/python3-django-babel/usr/lib/python3/dist-packages/django_babel/management/commands
copying build/lib/django_babel/management/commands/babel.py -> 
/<<PKGBUILDDIR>>/debian/python3-django-babel/usr/lib/python3/dist-packages/django_babel/management/commands
copying build/lib/django_babel/management/commands/__init__.py -> 
/<<PKGBUILDDIR>>/debian/python3-django-babel/usr/lib/python3/dist-packages/django_babel/management/commands
copying build/lib/django_babel/management/__init__.py -> 
/<<PKGBUILDDIR>>/debian/python3-django-babel/usr/lib/python3/dist-packages/django_babel/management
copying build/lib/django_babel/__init__.py -> 
/<<PKGBUILDDIR>>/debian/python3-django-babel/usr/lib/python3/dist-packages/django_babel
copying build/lib/django_babel/middleware.py -> 
/<<PKGBUILDDIR>>/debian/python3-django-babel/usr/lib/python3/dist-packages/django_babel
copying build/lib/django_babel/extract.py -> 
/<<PKGBUILDDIR>>/debian/python3-django-babel/usr/lib/python3/dist-packages/django_babel
byte-compiling 
/<<PKGBUILDDIR>>/debian/python3-django-babel/usr/lib/python3/dist-packages/django_babel/templatetags/babel.py
 to babel.cpython-313.pyc
byte-compiling 
/<<PKGBUILDDIR>>/debian/python3-django-babel/usr/lib/python3/dist-packages/django_babel/templatetags/__init__.py
 to __init__.cpython-313.pyc
byte-compiling 
/<<PKGBUILDDIR>>/debian/python3-django-babel/usr/lib/python3/dist-packages/django_babel/management/commands/babel.py
 to babel.cpython-313.pyc
byte-compiling 
/<<PKGBUILDDIR>>/debian/python3-django-babel/usr/lib/python3/dist-packages/django_babel/management/commands/__init__.py
 to __init__.cpython-313.pyc
byte-compiling 
/<<PKGBUILDDIR>>/debian/python3-django-babel/usr/lib/python3/dist-packages/django_babel/management/__init__.py
 to __init__.cpython-313.pyc
byte-compiling 
/<<PKGBUILDDIR>>/debian/python3-django-babel/usr/lib/python3/dist-packages/django_babel/__init__.py
 to __init__.cpython-313.pyc
byte-compiling 
/<<PKGBUILDDIR>>/debian/python3-django-babel/usr/lib/python3/dist-packages/django_babel/middleware.py
 to middleware.cpython-313.pyc
byte-compiling 
/<<PKGBUILDDIR>>/debian/python3-django-babel/usr/lib/python3/dist-packages/django_babel/extract.py
 to extract.cpython-313.pyc
running install_egg_info
running egg_info
creating django_babel.egg-info
writing django_babel.egg-info/PKG-INFO
writing dependency_links to django_babel.egg-info/dependency_links.txt
writing entry points to django_babel.egg-info/entry_points.txt
writing requirements to django_babel.egg-info/requires.txt
writing top-level names to django_babel.egg-info/top_level.txt
writing manifest file 'django_babel.egg-info/SOURCES.txt'
reading manifest file 'django_babel.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no previously-included files matching '*.pyc' found anywhere in 
distribution
warning: no previously-included files matching '*.pyo' found anywhere in 
distribution
no previously-included directories found matching 'docs/_build'
adding license file 'COPYING'
adding license file 'AUTHORS'
writing manifest file 'django_babel.egg-info/SOURCES.txt'
Copying django_babel.egg-info to 
/<<PKGBUILDDIR>>/debian/python3-django-babel/usr/lib/python3/dist-packages/django_babel-0.6.2.egg-info
Skipping SOURCES.txt
running install_scripts
+ pwd
+ python3.12 setup.py install --install-layout=deb --root 
/<<PKGBUILDDIR>>/debian/python3-django-babel
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
byte-compiling 
/<<PKGBUILDDIR>>/debian/python3-django-babel/usr/lib/python3/dist-packages/django_babel/templatetags/babel.py
 to babel.cpython-312.pyc
byte-compiling 
/<<PKGBUILDDIR>>/debian/python3-django-babel/usr/lib/python3/dist-packages/django_babel/templatetags/__init__.py
 to __init__.cpython-312.pyc
byte-compiling 
/<<PKGBUILDDIR>>/debian/python3-django-babel/usr/lib/python3/dist-packages/django_babel/management/commands/babel.py
 to babel.cpython-312.pyc
byte-compiling 
/<<PKGBUILDDIR>>/debian/python3-django-babel/usr/lib/python3/dist-packages/django_babel/management/commands/__init__.py
 to __init__.cpython-312.pyc
byte-compiling 
/<<PKGBUILDDIR>>/debian/python3-django-babel/usr/lib/python3/dist-packages/django_babel/management/__init__.py
 to __init__.cpython-312.pyc
byte-compiling 
/<<PKGBUILDDIR>>/debian/python3-django-babel/usr/lib/python3/dist-packages/django_babel/__init__.py
 to __init__.cpython-312.pyc
byte-compiling 
/<<PKGBUILDDIR>>/debian/python3-django-babel/usr/lib/python3/dist-packages/django_babel/middleware.py
 to middleware.cpython-312.pyc
byte-compiling 
/<<PKGBUILDDIR>>/debian/python3-django-babel/usr/lib/python3/dist-packages/django_babel/extract.py
 to extract.cpython-312.pyc
running install_egg_info
running egg_info
writing django_babel.egg-info/PKG-INFO
writing dependency_links to django_babel.egg-info/dependency_links.txt
writing entry points to django_babel.egg-info/entry_points.txt
writing requirements to django_babel.egg-info/requires.txt
writing top-level names to django_babel.egg-info/top_level.txt
reading manifest file 'django_babel.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no previously-included files matching '*.pyc' found anywhere in 
distribution
warning: no previously-included files matching '*.pyo' found anywhere in 
distribution
no previously-included directories found matching 'docs/_build'
adding license file 'COPYING'
adding license file 'AUTHORS'
writing manifest file 'django_babel.egg-info/SOURCES.txt'
removing 
'/<<PKGBUILDDIR>>/debian/python3-django-babel/usr/lib/python3/dist-packages/django_babel-0.6.2.egg-info'
 (and everything under it)
Copying django_babel.egg-info to 
/<<PKGBUILDDIR>>/debian/python3-django-babel/usr/lib/python3/dist-packages/django_babel-0.6.2.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
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_installdocs -O--buildsystem=python_distutils
   debian/rules override_dh_sphinxdoc
make[1]: Entering directory '/<<PKGBUILDDIR>>'
make[1]: pyversions: No such file or directory
py3versions: no X-Python3-Version in control file, using supported versions
DJANGO_SETTINGS_MODULE=tests.testproject.settings PYTHONPATH=. python3 -m 
sphinx -b html docs 
debian/python-django-babel-doc/usr/share/doc/python-django-babel-doc/html
Running Sphinx v8.1.3
loading translations [en]... done
making output directory... done
Converting `source_suffix = '.rst'` to `source_suffix = {'.rst': 
'restructuredtext'}`.
ERROR: Invalid value `None` in intersphinx_mapping['https://docs.python.org/']. 
Expected a two-element tuple or list.

Configuration error:
Invalid `intersphinx_mapping` configuration (1 error).
make[1]: *** [debian/rules:32: override_dh_sphinxdoc] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:7: binary] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary subprocess returned exit 
status 2
--------------------------------------------------------------------------------

The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:

https://people.debian.org/~sanvila/build-logs/202412/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and affects, so that this is still visible in the BTS web
page for this package.

Thanks.

Reply via email to