Source: django-assets Version: 2.0-2 Severity: serious Justification: FTBFS Tags: bookworm sid ftbfs User: lu...@debian.org Usertags: ftbfs-20221220 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_build > I: pybuild base:240: /usr/bin/python3.11 setup.py build > running build > running build_py > creating > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_django-assets/build/django_assets > copying django_assets/__init__.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_django-assets/build/django_assets > copying django_assets/glob.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_django-assets/build/django_assets > copying django_assets/models.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_django-assets/build/django_assets > copying django_assets/settings.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_django-assets/build/django_assets > copying django_assets/loaders.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_django-assets/build/django_assets > copying django_assets/manifest.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_django-assets/build/django_assets > copying django_assets/pytest_plugin.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_django-assets/build/django_assets > copying django_assets/env.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_django-assets/build/django_assets > copying django_assets/filter.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_django-assets/build/django_assets > copying django_assets/finders.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_django-assets/build/django_assets > creating > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_django-assets/build/django_assets/management > copying django_assets/management/__init__.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_django-assets/build/django_assets/management > creating > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_django-assets/build/django_assets/templatetags > copying django_assets/templatetags/__init__.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_django-assets/build/django_assets/templatetags > copying django_assets/templatetags/assets.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_django-assets/build/django_assets/templatetags > creating > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_django-assets/build/django_assets/management/commands > copying django_assets/management/commands/__init__.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_django-assets/build/django_assets/management/commands > copying django_assets/management/commands/assets.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_django-assets/build/django_assets/management/commands > I: pybuild base:240: /usr/bin/python3 setup.py build > running build > running build_py > creating > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-assets/build/django_assets > copying django_assets/__init__.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-assets/build/django_assets > copying django_assets/glob.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-assets/build/django_assets > copying django_assets/models.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-assets/build/django_assets > copying django_assets/settings.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-assets/build/django_assets > copying django_assets/loaders.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-assets/build/django_assets > copying django_assets/manifest.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-assets/build/django_assets > copying django_assets/pytest_plugin.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-assets/build/django_assets > copying django_assets/env.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-assets/build/django_assets > copying django_assets/filter.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-assets/build/django_assets > copying django_assets/finders.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-assets/build/django_assets > creating > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-assets/build/django_assets/management > copying django_assets/management/__init__.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-assets/build/django_assets/management > creating > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-assets/build/django_assets/templatetags > copying django_assets/templatetags/__init__.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-assets/build/django_assets/templatetags > copying django_assets/templatetags/assets.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-assets/build/django_assets/templatetags > creating > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-assets/build/django_assets/management/commands > copying django_assets/management/commands/__init__.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-assets/build/django_assets/management/commands > copying django_assets/management/commands/assets.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-assets/build/django_assets/management/commands > PYTHONPATH=. python3 -m sphinx -b html -d docs/_build/.doctrees -N docs > docs/_build/html > Running Sphinx v5.3.0 > making output directory... done > WARNING: while setting up extension conf.py: directive 'autodata' is already > registered, it will be overridden > loading intersphinx inventory from > /usr/share/doc/python3.10/html/objects.inv... > loading intersphinx inventory from > /usr/share/doc/python-webassets-doc/html/objects.inv... > building [mo]: targets for 0 po files that are out of date > building [html]: targets for 4 source files that are out of date > updating environment: [new config] 4 added, 0 changed, 0 removed > reading sources... [ 25%] index > reading sources... [ 50%] jinja2 > reading sources... [ 75%] settings > reading sources... [100%] staticfiles > > looking for now-outdated files... none found > pickling environment... done > checking consistency... /<<PKGBUILDDIR>>/docs/staticfiles.rst: WARNING: > document isn't included in any toctree > done > preparing documents... done > writing output... [ 25%] index > writing output... [ 50%] jinja2 > writing output... [ 75%] settings > writing output... [100%] staticfiles > > generating indices... genindex py-modindex done > writing additional pages... search done > copying static files... done > copying extra files... done > dumping search index in English (code: en)... done > dumping object inventory... done > build succeeded, 2 warnings. > > The HTML pages are in docs/_build/html. > make[1]: Leaving directory '/<<PKGBUILDDIR>>' > dh_auto_test -O--buildsystem=pybuild > I: pybuild base:240: cd > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_django-assets/build; python3.11 -m > nose -v tests > tests.test_django.TestConfig.test_custom_options ... ok > The builtin options have different names within the Django ... ok > tests.test_django.TestFilter.test_template ... ok > tests.test_django.TestLoader.test ... ok > tests.test_django.TestLoader.test_cached_loader ... ok > Finders are used to find source files. ... ok > If debug is disabled, the finders are not used. ... ok > Test that the cssrewrite filter can deal with staticfiles. ... ok > Globs can be used across staticdirs. ... ERROR > Recursive globs. ... ERROR > An error is raised if a source file is missing. ... ok > The files we write to STATIC_ROOT are served in debug mode ... ok > tests.test_django.TestTemplateTag.test_debug_option ... ok > Ensure the tag correcly spits out the urls the bundle returns. ... ok > tests.test_django.TestTemplateTag.test_reference_bundles ... ok > tests.test_django.TestTemplateTag.test_reference_files ... ok > tests.test_django.TestTemplateTag.test_reference_mixed ... ok > Using commas is optional. ... ok > tests.test_django.TestTemplateTag.test_with_vars ... ok > > ====================================================================== > ERROR: Globs can be used across staticdirs. > ---------------------------------------------------------------------- > Traceback (most recent call last): > File "/usr/lib/python3/dist-packages/nose/case.py", line 197, in runTest > self.test(*self.arg) > File > "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_django-assets/build/tests/test_django.py", > line 254, in test_find_with_glob > self.mkbundle('file?', output="out").build() > File "/usr/lib/python3/dist-packages/webassets/bundle.py", line 680, in > build > hunks.append(bundle._build( > ^^^^^^^^^^^^^^ > File "/usr/lib/python3/dist-packages/webassets/bundle.py", line 617, in > _build > hunk = self._merge_and_apply( > ^^^^^^^^^^^^^^^^^^^^^^ > File "/usr/lib/python3/dist-packages/webassets/bundle.py", line 475, in > _merge_and_apply > resolved_contents = self.resolve_contents(ctx, force=True) > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > File "/usr/lib/python3/dist-packages/webassets/bundle.py", line 234, in > resolve_contents > result = ctx.resolver.resolve_source(ctx, item) > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > File "/usr/lib/python3/dist-packages/webassets/env.py", line 252, in > resolve_source > return self.search_for_source(ctx, item) > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > File > "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_django-assets/build/django_assets/env.py", > line 136, in search_for_source > return list(self.glob_staticfiles(item)) > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > File > "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_django-assets/build/django_assets/env.py", > line 128, in glob_staticfiles > for file in globber.glob(item): > ^^^^^^^^^^^^^^^^^^ > File > "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_django-assets/build/django_assets/glob.py", > line 171, in glob > return list(self.iglob(pathname, with_matches)) > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > File > "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_django-assets/build/django_assets/glob.py", > line 224, in _iglob > for name, groups in self.resolve_pattern( > ^^^^^^^^^^^^^^^^^^^^^ > File > "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_django-assets/build/django_assets/glob.py", > line 277, in resolve_pattern > return fnmatch_filter(names, pattern) > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > File > "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_django-assets/build/django_assets/glob.py", > line 60, in fnmatch_filter > _cache[pat] = re.compile(res) > ^^^^^^^^^^^^^^^ > File "/usr/lib/python3.11/re/__init__.py", line 227, in compile > return _compile(pattern, flags) > ^^^^^^^^^^^^^^^^^^^^^^^^ > File "/usr/lib/python3.11/re/__init__.py", line 294, in _compile > p = _compiler.compile(pattern, flags) > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > File "/usr/lib/python3.11/re/_compiler.py", line 743, in compile > p = _parser.parse(p, flags) > ^^^^^^^^^^^^^^^^^^^^^^^ > File "/usr/lib/python3.11/re/_parser.py", line 980, in parse > p = _parse_sub(source, state, flags & SRE_FLAG_VERBOSE, 0) > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > File "/usr/lib/python3.11/re/_parser.py", line 455, in _parse_sub > itemsappend(_parse(source, state, verbose, nested + 1, > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > File "/usr/lib/python3.11/re/_parser.py", line 841, in _parse > raise source.error('global flags not at the start ' > re.error: global flags not at the start of the expression at position 9 > > ====================================================================== > ERROR: Recursive globs. > ---------------------------------------------------------------------- > Traceback (most recent call last): > File "/usr/lib/python3/dist-packages/nose/case.py", line 197, in runTest > self.test(*self.arg) > File > "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_django-assets/build/tests/test_django.py", > line 260, in test_find_with_recursive_glob > self.mkbundle('**/*.js', output="out").build() > File "/usr/lib/python3/dist-packages/webassets/bundle.py", line 680, in > build > hunks.append(bundle._build( > ^^^^^^^^^^^^^^ > File "/usr/lib/python3/dist-packages/webassets/bundle.py", line 617, in > _build > hunk = self._merge_and_apply( > ^^^^^^^^^^^^^^^^^^^^^^ > File "/usr/lib/python3/dist-packages/webassets/bundle.py", line 475, in > _merge_and_apply > resolved_contents = self.resolve_contents(ctx, force=True) > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > File "/usr/lib/python3/dist-packages/webassets/bundle.py", line 234, in > resolve_contents > result = ctx.resolver.resolve_source(ctx, item) > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > File "/usr/lib/python3/dist-packages/webassets/env.py", line 252, in > resolve_source > return self.search_for_source(ctx, item) > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > File > "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_django-assets/build/django_assets/env.py", > line 136, in search_for_source > return list(self.glob_staticfiles(item)) > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > File > "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_django-assets/build/django_assets/env.py", > line 128, in glob_staticfiles > for file in globber.glob(item): > ^^^^^^^^^^^^^^^^^^ > File > "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_django-assets/build/django_assets/glob.py", > line 171, in glob > return list(self.iglob(pathname, with_matches)) > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > File > "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_django-assets/build/django_assets/glob.py", > line 223, in _iglob > for dirname, dir_groups in dirs: > File > "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_django-assets/build/django_assets/glob.py", > line 224, in _iglob > for name, groups in self.resolve_pattern( > ^^^^^^^^^^^^^^^^^^^^^ > File > "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_django-assets/build/django_assets/glob.py", > line 277, in resolve_pattern > return fnmatch_filter(names, pattern) > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > File > "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_django-assets/build/django_assets/glob.py", > line 60, in fnmatch_filter > _cache[pat] = re.compile(res) > ^^^^^^^^^^^^^^^ > File "/usr/lib/python3.11/re/__init__.py", line 227, in compile > return _compile(pattern, flags) > ^^^^^^^^^^^^^^^^^^^^^^^^ > File "/usr/lib/python3.11/re/__init__.py", line 294, in _compile > p = _compiler.compile(pattern, flags) > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > File "/usr/lib/python3.11/re/_compiler.py", line 743, in compile > p = _parser.parse(p, flags) > ^^^^^^^^^^^^^^^^^^^^^^^ > File "/usr/lib/python3.11/re/_parser.py", line 980, in parse > p = _parse_sub(source, state, flags & SRE_FLAG_VERBOSE, 0) > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > File "/usr/lib/python3.11/re/_parser.py", line 455, in _parse_sub > itemsappend(_parse(source, state, verbose, nested + 1, > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > File "/usr/lib/python3.11/re/_parser.py", line 841, in _parse > raise source.error('global flags not at the start ' > re.error: global flags not at the start of the expression at position 6 > > ---------------------------------------------------------------------- > Ran 19 tests in 0.104s > > FAILED (errors=2) > E: pybuild pybuild:386: test: plugin distutils failed with: exit code=1: cd > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_django-assets/build; python3.11 -m > nose -v tests > I: pybuild base:240: cd > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-assets/build; python3.10 -m > nose -v tests > tests.test_django.TestConfig.test_custom_options ... ok > The builtin options have different names within the Django ... ok > tests.test_django.TestFilter.test_template ... ok > tests.test_django.TestLoader.test ... ok > tests.test_django.TestLoader.test_cached_loader ... ok > Finders are used to find source files. ... ok > If debug is disabled, the finders are not used. ... ok > Test that the cssrewrite filter can deal with staticfiles. ... ok > Globs can be used across staticdirs. ... ok > Recursive globs. ... ok > An error is raised if a source file is missing. ... ok > The files we write to STATIC_ROOT are served in debug mode ... ok > tests.test_django.TestTemplateTag.test_debug_option ... ok > Ensure the tag correcly spits out the urls the bundle returns. ... ok > tests.test_django.TestTemplateTag.test_reference_bundles ... ok > tests.test_django.TestTemplateTag.test_reference_files ... ok > tests.test_django.TestTemplateTag.test_reference_mixed ... ok > Using commas is optional. ... ok > tests.test_django.TestTemplateTag.test_with_vars ... ok > > ---------------------------------------------------------------------- > Ran 19 tests in 0.128s > > OK > dh_auto_test: error: pybuild --test --test-nose -i python{version} -p "3.11 > 3.10" returned exit code 13 The full build log is available from: http://qa-logs.debian.net/2022/12/20/django-assets_2.0-2_unstable.log All bugs filed during this archive rebuild are listed at: https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20221220;users=lu...@debian.org or: https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20221220&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.