Source: python-django-rest-framework-guardian Version: 0.3.0-3 Severity: serious Justification: FTBFS Tags: bookworm sid ftbfs User: lu...@debian.org Usertags: ftbfs-20220624 ftbfs-bookworm
Hi, During a rebuild of all packages in sid, your package failed to build on amd64. Relevant part (hopefully): > make[1]: Entering directory '/<<PKGBUILDDIR>>' > dh_auto_test -- --system=custom --test-args="cd {build_dir}; {interpreter} > manage.py test" > I: pybuild pybuild:300: cp -r /<<PKGBUILDDIR>>/tests > /<<PKGBUILDDIR>>/manage.py > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-restframework-guardian/build > I: pybuild base:239: cd > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-restframework-guardian/build; > python3.9 manage.py test > Traceback (most recent call last): > File > "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-restframework-guardian/build/manage.py", > line 16, in <module> > execute_from_command_line(sys.argv) > File "/usr/lib/python3/dist-packages/django/core/management/__init__.py", > line 446, in execute_from_command_line > utility.execute() > File "/usr/lib/python3/dist-packages/django/core/management/__init__.py", > line 420, in execute > django.setup() > File "/usr/lib/python3/dist-packages/django/__init__.py", line 24, in setup > apps.populate(settings.INSTALLED_APPS) > File "/usr/lib/python3/dist-packages/django/apps/registry.py", line 116, in > populate > app_config.import_models() > File "/usr/lib/python3/dist-packages/django/apps/config.py", line 304, in > import_models > self.models_module = import_module(models_module_name) > File "/usr/lib/python3.9/importlib/__init__.py", line 127, in import_module > return _bootstrap._gcd_import(name[level:], package, level) > File "<frozen importlib._bootstrap>", line 1030, in _gcd_import > File "<frozen importlib._bootstrap>", line 1007, in _find_and_load > File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked > File "<frozen importlib._bootstrap>", line 680, in _load_unlocked > File "<frozen importlib._bootstrap_external>", line 850, in exec_module > File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed > File > "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-restframework-guardian/build/tests/models.py", > line 2, in <module> > from django.utils.translation import ugettext_lazy as _ > ImportError: cannot import name 'ugettext_lazy' from > 'django.utils.translation' > (/usr/lib/python3/dist-packages/django/utils/translation/__init__.py) > E: pybuild pybuild:369: test: plugin custom failed with: exit code=1: cd > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-restframework-guardian/build; > python3.9 manage.py test > I: pybuild pybuild:300: cp -r /<<PKGBUILDDIR>>/tests > /<<PKGBUILDDIR>>/manage.py > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-restframework-guardian/build > I: pybuild base:239: cd > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-restframework-guardian/build; > python3.10 manage.py test > Traceback (most recent call last): > File > "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-restframework-guardian/build/manage.py", > line 16, in <module> > execute_from_command_line(sys.argv) > File "/usr/lib/python3/dist-packages/django/core/management/__init__.py", > line 446, in execute_from_command_line > utility.execute() > File "/usr/lib/python3/dist-packages/django/core/management/__init__.py", > line 420, in execute > django.setup() > File "/usr/lib/python3/dist-packages/django/__init__.py", line 24, in setup > apps.populate(settings.INSTALLED_APPS) > File "/usr/lib/python3/dist-packages/django/apps/registry.py", line 116, in > populate > app_config.import_models() > File "/usr/lib/python3/dist-packages/django/apps/config.py", line 304, in > import_models > self.models_module = import_module(models_module_name) > File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module > return _bootstrap._gcd_import(name[level:], package, level) > File "<frozen importlib._bootstrap>", line 1050, in _gcd_import > File "<frozen importlib._bootstrap>", line 1027, in _find_and_load > File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked > File "<frozen importlib._bootstrap>", line 688, in _load_unlocked > File "<frozen importlib._bootstrap_external>", line 883, in exec_module > File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed > File > "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-restframework-guardian/build/tests/models.py", > line 2, in <module> > from django.utils.translation import ugettext_lazy as _ > ImportError: cannot import name 'ugettext_lazy' from > 'django.utils.translation' > (/usr/lib/python3/dist-packages/django/utils/translation/__init__.py) > E: pybuild pybuild:369: test: plugin custom failed with: exit code=1: cd > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-restframework-guardian/build; > python3.10 manage.py test > dh_auto_test: error: pybuild --test -i python{version} -p "3.9 3.10" > --system=custom "--test-args=cd {build_dir}; {interpreter} manage.py test" > returned exit code 13 The full build log is available from: http://qa-logs.debian.net/2022/06/24/python-django-rest-framework-guardian_0.3.0-3_unstable.log All bugs filed during this archive rebuild are listed at: https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20220624;users=lu...@debian.org or: https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20220624&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 marking 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.