Package: src:autoradio
Version: 2.8.10-1
Severity: serious
Tags: ftbfs

Dear maintainer:

I tried to build this package in buster but it failed:

--------------------------------------------------------------------------------
[...]
dpkg-buildpackage: info: source package autoradio
dpkg-buildpackage: info: source version 2.8.10-1
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Andrea Capriotti 
<capri...@debian.org>
 dpkg-source --before-build autoradio-2.8.10
 fakeroot debian/rules clean
dh clean
   debian/rules override_dh_auto_clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_clean
dh_auto_clean: Please use the third-party "pybuild" build system instead of 
python-distutils
dh_auto_clean: This feature will be removed in compat 12.
pyversions: missing X(S)-Python-Version in control file, fall back to 
debian/pyversions
pyversions: missing debian/pyversions file, fall back to supported versions
        python setup.py clean -a
django_extensions is not installed; I do not use it
Traceback (most recent call last):
  File "setup.py", line 16, in <module>
    django.setup()
  File "/usr/lib/python2.7/dist-packages/django/__init__.py", line 27, in setup
    apps.populate(settings.INSTALLED_APPS)
  File "/usr/lib/python2.7/dist-packages/django/apps/registry.py", line 108, in 
populate
    app_config.import_models()
  File "/usr/lib/python2.7/dist-packages/django/apps/config.py", line 202, in 
import_models
    self.models_module = import_module(models_module_name)
  File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
    __import__(name)
  File "/<<PKGBUILDDIR>>/autoradio/jingles/models.py", line 4, in <module>
    from autoradio.autoradio_config import *
  File "/<<PKGBUILDDIR>>/autoradio/autoradio_config.py", line 75, in <module>
    locale.setlocale(locale.LC_ALL, config['autoradiod']['locale'])
  File "/usr/lib/python2.7/locale.py", line 581, in setlocale
    return _setlocale(category, locale)
locale.Error: unsupported locale setting
dh_auto_clean: python setup.py clean -a returned exit code 1
debian/rules:5: recipe for target 'override_dh_auto_clean' failed
make[1]: *** [override_dh_auto_clean] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
debian/rules:3: recipe for target 'clean' failed
make: *** [clean] Error 2
dpkg-buildpackage: error: fakeroot debian/rules clean subprocess returned exit 
status 2
--------------------------------------------------------------------------------

The build was made with "dpkg-buildpackage -A" in my autobuilder
but it also fails in reproducible builds:

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/autoradio.html

In this case the error is different: "ImportError: No module named magic".

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

Thanks.

Reply via email to