--- Begin Message ---
Source: python-djangosaml2
Version: 1.9.0-1
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20240313 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>>'
> debian/rules:16: warning: overriding recipe for target 'override_dh_auto_test'
> debian/rules:14: warning: ignoring old recipe for target
> 'override_dh_auto_test'
> dh_auto_test -- --system=custom --test-args="cd {build_dir};
> DJANGO_SETTINGS_MODULE=tests.settings {interpreter} -m django test
> djangosaml2.tests testprofiles"
> I: pybuild pybuild:308: cp -r /<<PKGBUILDDIR>>/tests
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_django-saml2/build/; mv
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_django-saml2/build/tests/testprofiles
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_django-saml2/build/
> I: pybuild base:305: cd
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_django-saml2/build;
> DJANGO_SETTINGS_MODULE=tests.settings python3.12 -m django test
> djangosaml2.tests testprofiles
> Creating test database for alias 'default'...
> Found 52 test(s).
> Destroying test database for alias 'default'...
> Traceback (most recent call last):
> File "/usr/lib/python3/dist-packages/django/template/backends/django.py",
> line 128, in get_package_libraries
> module = import_module(entry[1])
> ^^^^^^^^^^^^^^^^^^^^^^^
> File "/usr/lib/python3.12/importlib/__init__.py", line 90, in import_module
> return _bootstrap._gcd_import(name[level:], package, level)
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
> File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
> File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
> File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
> File "<frozen importlib._bootstrap_external>", line 995, in exec_module
> File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
> File
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_django-saml2/build/djangosaml2/templatetags/idplist.py",
> line 17, in <module>
> from djangosaml2.conf import config_settings_loader
> File
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_django-saml2/build/djangosaml2/conf.py",
> line 24, in <module>
> from saml2.config import SPConfig
> ModuleNotFoundError: No module named 'saml2'
>
> The above exception was the direct cause of the following exception:
>
> Traceback (most recent call last):
> File "<frozen runpy>", line 198, in _run_module_as_main
> File "<frozen runpy>", line 88, in _run_code
> File "/usr/lib/python3/dist-packages/django/__main__.py", line 9, in
> <module>
> management.execute_from_command_line()
> File "/usr/lib/python3/dist-packages/django/core/management/__init__.py",
> line 442, in execute_from_command_line
> utility.execute()
> File "/usr/lib/python3/dist-packages/django/core/management/__init__.py",
> line 436, in execute
> self.fetch_command(subcommand).run_from_argv(self.argv)
> File
> "/usr/lib/python3/dist-packages/django/core/management/commands/test.py",
> line 24, in run_from_argv
> super().run_from_argv(argv)
> File "/usr/lib/python3/dist-packages/django/core/management/base.py", line
> 412, in run_from_argv
> self.execute(*args, **cmd_options)
> File "/usr/lib/python3/dist-packages/django/core/management/base.py", line
> 458, in execute
> output = self.handle(*args, **options)
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> File
> "/usr/lib/python3/dist-packages/django/core/management/commands/test.py",
> line 68, in handle
> failures = test_runner.run_tests(test_labels)
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> File "/usr/lib/python3/dist-packages/django/test/runner.py", line 1060, in
> run_tests
> self.run_checks(databases)
> File "/usr/lib/python3/dist-packages/django/test/runner.py", line 977, in
> run_checks
> call_command("check", verbosity=self.verbosity, databases=databases)
> File "/usr/lib/python3/dist-packages/django/core/management/__init__.py",
> line 194, in call_command
> return command.execute(*args, **defaults)
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> File "/usr/lib/python3/dist-packages/django/core/management/base.py", line
> 458, in execute
> output = self.handle(*args, **options)
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> File
> "/usr/lib/python3/dist-packages/django/core/management/commands/check.py",
> line 76, in handle
> self.check(
> File "/usr/lib/python3/dist-packages/django/core/management/base.py", line
> 485, in check
> all_issues = checks.run_checks(
> ^^^^^^^^^^^^^^^^^^
> File "/usr/lib/python3/dist-packages/django/core/checks/registry.py", line
> 88, in run_checks
> new_errors = check(app_configs=app_configs, databases=databases)
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> File "/usr/lib/python3/dist-packages/django/core/checks/templates.py", line
> 60, in check_for_template_tags_with_the_same_name
> for module_name, module_path in get_template_tag_modules():
> File "/usr/lib/python3/dist-packages/django/template/backends/django.py",
> line 105, in get_template_tag_modules
> for name in get_package_libraries(pkg):
> File "/usr/lib/python3/dist-packages/django/template/backends/django.py",
> line 130, in get_package_libraries
> raise InvalidTemplateLibrary(
> django.template.library.InvalidTemplateLibrary: Invalid template library
> specified. ImportError raised when trying to load
> 'djangosaml2.templatetags.idplist': No module named 'saml2'
> E: pybuild pybuild:389: test: plugin custom failed with: exit code=1: cd
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_django-saml2/build;
> DJANGO_SETTINGS_MODULE=tests.settings python3.12 -m django test
> djangosaml2.tests testprofiles
> I: pybuild pybuild:308: cp -r /<<PKGBUILDDIR>>/tests
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_django-saml2/build/; mv
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_django-saml2/build/tests/testprofiles
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_django-saml2/build/
> I: pybuild base:305: cd
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_django-saml2/build;
> DJANGO_SETTINGS_MODULE=tests.settings python3.11 -m django test
> djangosaml2.tests testprofiles
> Creating test database for alias 'default'...
> Found 52 test(s).
> Destroying test database for alias 'default'...
> Traceback (most recent call last):
> File "<frozen runpy>", line 198, in _run_module_as_main
> File "<frozen runpy>", line 88, in _run_code
> File "/usr/lib/python3/dist-packages/django/__main__.py", line 9, in
> <module>
> management.execute_from_command_line()
> File "/usr/lib/python3/dist-packages/django/core/management/__init__.py",
> line 442, in execute_from_command_line
> utility.execute()
> File "/usr/lib/python3/dist-packages/django/core/management/__init__.py",
> line 436, in execute
> self.fetch_command(subcommand).run_from_argv(self.argv)
> File
> "/usr/lib/python3/dist-packages/django/core/management/commands/test.py",
> line 24, in run_from_argv
> super().run_from_argv(argv)
> File "/usr/lib/python3/dist-packages/django/core/management/base.py", line
> 412, in run_from_argv
> self.execute(*args, **cmd_options)
> File "/usr/lib/python3/dist-packages/django/core/management/base.py", line
> 458, in execute
> output = self.handle(*args, **options)
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> File
> "/usr/lib/python3/dist-packages/django/core/management/commands/test.py",
> line 68, in handle
> failures = test_runner.run_tests(test_labels)
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> File "/usr/lib/python3/dist-packages/django/test/runner.py", line 1060, in
> run_tests
> self.run_checks(databases)
> File "/usr/lib/python3/dist-packages/django/test/runner.py", line 977, in
> run_checks
> call_command("check", verbosity=self.verbosity, databases=databases)
> File "/usr/lib/python3/dist-packages/django/core/management/__init__.py",
> line 194, in call_command
> return command.execute(*args, **defaults)
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> File "/usr/lib/python3/dist-packages/django/core/management/base.py", line
> 458, in execute
> output = self.handle(*args, **options)
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> File
> "/usr/lib/python3/dist-packages/django/core/management/commands/check.py",
> line 76, in handle
> self.check(
> File "/usr/lib/python3/dist-packages/django/core/management/base.py", line
> 485, in check
> all_issues = checks.run_checks(
> ^^^^^^^^^^^^^^^^^^
> File "/usr/lib/python3/dist-packages/django/core/checks/registry.py", line
> 88, in run_checks
> new_errors = check(app_configs=app_configs, databases=databases)
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> File "/usr/lib/python3/dist-packages/django/core/checks/urls.py", line 42,
> in check_url_namespaces_unique
> all_namespaces = _load_all_namespaces(resolver)
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> File "/usr/lib/python3/dist-packages/django/core/checks/urls.py", line 61,
> in _load_all_namespaces
> url_patterns = getattr(resolver, "url_patterns", [])
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> File "/usr/lib/python3/dist-packages/django/utils/functional.py", line 57,
> in __get__
> res = instance.__dict__[self.name] = self.func(instance)
> ^^^^^^^^^^^^^^^^^^^
> File "/usr/lib/python3/dist-packages/django/urls/resolvers.py", line 715,
> in url_patterns
> patterns = getattr(self.urlconf_module, "urlpatterns",
> self.urlconf_module)
> ^^^^^^^^^^^^^^^^^^^
> File "/usr/lib/python3/dist-packages/django/utils/functional.py", line 57,
> in __get__
> res = instance.__dict__[self.name] = self.func(instance)
> ^^^^^^^^^^^^^^^^^^^
> File "/usr/lib/python3/dist-packages/django/urls/resolvers.py", line 708,
> in urlconf_module
> return import_module(self.urlconf_name)
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> File "/usr/lib/python3.11/importlib/__init__.py", line 126, in import_module
> return _bootstrap._gcd_import(name[level:], package, level)
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
> File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
> File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
> File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
> File "<frozen importlib._bootstrap_external>", line 940, in exec_module
> File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
> File
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_django-saml2/build/testprofiles/urls.py",
> line 12, in <module>
> path("saml2/", include("djangosaml2.urls")),
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^
> File "/usr/lib/python3/dist-packages/django/urls/conf.py", line 38, in
> include
> urlconf_module = import_module(urlconf_module)
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> File "/usr/lib/python3.11/importlib/__init__.py", line 126, in import_module
> return _bootstrap._gcd_import(name[level:], package, level)
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
> File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
> File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
> File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
> File "<frozen importlib._bootstrap_external>", line 940, in exec_module
> File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
> File
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_django-saml2/build/djangosaml2/urls.py",
> line 18, in <module>
> from . import views
> File
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_django-saml2/build/djangosaml2/views.py",
> line 44, in <module>
> import saml2
> ModuleNotFoundError: No module named 'saml2'
> E: pybuild pybuild:389: test: plugin custom failed with: exit code=1: cd
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_django-saml2/build;
> DJANGO_SETTINGS_MODULE=tests.settings python3.11 -m django test
> djangosaml2.tests testprofiles
> dh_auto_test: error: pybuild --test -i python{version} -p "3.12 3.11"
> --system=custom "--test-args=cd {build_dir};
> DJANGO_SETTINGS_MODULE=tests.settings {interpreter} -m django test
> djangosaml2.tests testprofiles" returned exit code 13
The full build log is available from:
http://qa-logs.debian.net/2024/03/13/python-djangosaml2_1.9.0-1_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240313;users=lu...@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240313&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.
--- End Message ---