--- Begin Message ---
Source: python-django-pyscss
Version: 2.0.2-10
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>>'
> 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_USE_PY2=yes
> + PKGOS_USE_PY3=yes
> + PKGOS_IN_TMP=no
> + PKGOS_USE_PY2=no
> + shift
> + dpkg-parsechangelog -SSource
> + SRC_PKG_NAME=python-django-pyscss
> + echo python-django-pyscss
> + sed s/python-//
> + PY_MODULE_NAME=django-pyscss
> + [ no = yes ]
> + [ yes = yes ]
> + py3versions -vr
> + PYTHON3S=3.9 3.10
> + [ no = yes ]
> + [ yes = yes ]
> + [ no = yes ]
> + TARGET_DIR=python3-django-pyscss
> + pwd
> + python3.9 setup.py install --install-layout=deb --root
> /<<PKGBUILDDIR>>/debian/python3-django-pyscss
> running install
> /usr/lib/python3/dist-packages/setuptools/command/install.py:34:
> SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and
> pip and other standards-based tools.
> warnings.warn(
> running build
> running build_py
> creating build
> creating build/lib
> creating build/lib/django_pyscss
> copying django_pyscss/__init__.py -> build/lib/django_pyscss
> copying django_pyscss/compressor.py -> build/lib/django_pyscss
> copying django_pyscss/compiler.py -> build/lib/django_pyscss
> copying django_pyscss/utils.py -> build/lib/django_pyscss
> creating build/lib/django_pyscss/extension
> copying django_pyscss/extension/__init__.py ->
> build/lib/django_pyscss/extension
> copying django_pyscss/extension/django.py -> build/lib/django_pyscss/extension
> running egg_info
> creating django_pyscss.egg-info
> writing django_pyscss.egg-info/PKG-INFO
> writing dependency_links to django_pyscss.egg-info/dependency_links.txt
> writing requirements to django_pyscss.egg-info/requires.txt
> writing top-level names to django_pyscss.egg-info/top_level.txt
> /usr/lib/python3/dist-packages/calmjs/cli.py:234: RuntimeWarning: Unable to
> locate the 'npm' binary or runtime; default module level functions will not
> work. Please either provide PATH and/or update PATH environment variable with
> one that provides 'npm'; or specify a working NODE_PATH environment variable
> with npm installed; or have install 'npm' into the current working directory
> (/<<PKGBUILDDIR>>) either through npm or calmjs framework for this package.
> Restart or reload this module once that is done. Alternatively, create a
> manual Driver instance for 'npm' with explicitly defined arguments.
> warnings.warn(msg, RuntimeWarning)
> writing manifest file 'django_pyscss.egg-info/SOURCES.txt'
> reading manifest file 'django_pyscss.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> warning: no previously-included files matching '*.pyc' found under directory
> 'tests'
> warning: no previously-included files matching '*.pyc' found under directory
> 'testproject'
> adding license file 'LICENSE'
> writing manifest file 'django_pyscss.egg-info/SOURCES.txt'
> running install_lib
> creating /<<PKGBUILDDIR>>/debian/python3-django-pyscss
> creating /<<PKGBUILDDIR>>/debian/python3-django-pyscss/usr
> creating /<<PKGBUILDDIR>>/debian/python3-django-pyscss/usr/lib
> creating /<<PKGBUILDDIR>>/debian/python3-django-pyscss/usr/lib/python3
> creating
> /<<PKGBUILDDIR>>/debian/python3-django-pyscss/usr/lib/python3/dist-packages
> creating
> /<<PKGBUILDDIR>>/debian/python3-django-pyscss/usr/lib/python3/dist-packages/django_pyscss
> copying build/lib/django_pyscss/__init__.py ->
> /<<PKGBUILDDIR>>/debian/python3-django-pyscss/usr/lib/python3/dist-packages/django_pyscss
> copying build/lib/django_pyscss/compressor.py ->
> /<<PKGBUILDDIR>>/debian/python3-django-pyscss/usr/lib/python3/dist-packages/django_pyscss
> copying build/lib/django_pyscss/compiler.py ->
> /<<PKGBUILDDIR>>/debian/python3-django-pyscss/usr/lib/python3/dist-packages/django_pyscss
> creating
> /<<PKGBUILDDIR>>/debian/python3-django-pyscss/usr/lib/python3/dist-packages/django_pyscss/extension
> copying build/lib/django_pyscss/extension/__init__.py ->
> /<<PKGBUILDDIR>>/debian/python3-django-pyscss/usr/lib/python3/dist-packages/django_pyscss/extension
> copying build/lib/django_pyscss/extension/django.py ->
> /<<PKGBUILDDIR>>/debian/python3-django-pyscss/usr/lib/python3/dist-packages/django_pyscss/extension
> copying build/lib/django_pyscss/utils.py ->
> /<<PKGBUILDDIR>>/debian/python3-django-pyscss/usr/lib/python3/dist-packages/django_pyscss
> byte-compiling
> /<<PKGBUILDDIR>>/debian/python3-django-pyscss/usr/lib/python3/dist-packages/django_pyscss/__init__.py
> to __init__.cpython-39.pyc
> byte-compiling
> /<<PKGBUILDDIR>>/debian/python3-django-pyscss/usr/lib/python3/dist-packages/django_pyscss/compressor.py
> to compressor.cpython-39.pyc
> byte-compiling
> /<<PKGBUILDDIR>>/debian/python3-django-pyscss/usr/lib/python3/dist-packages/django_pyscss/compiler.py
> to compiler.cpython-39.pyc
> byte-compiling
> /<<PKGBUILDDIR>>/debian/python3-django-pyscss/usr/lib/python3/dist-packages/django_pyscss/extension/__init__.py
> to __init__.cpython-39.pyc
> byte-compiling
> /<<PKGBUILDDIR>>/debian/python3-django-pyscss/usr/lib/python3/dist-packages/django_pyscss/extension/django.py
> to django.cpython-39.pyc
> byte-compiling
> /<<PKGBUILDDIR>>/debian/python3-django-pyscss/usr/lib/python3/dist-packages/django_pyscss/utils.py
> to utils.cpython-39.pyc
> running install_egg_info
> Copying django_pyscss.egg-info to
> /<<PKGBUILDDIR>>/debian/python3-django-pyscss/usr/lib/python3/dist-packages/django_pyscss-2.0.2.egg-info
> Skipping SOURCES.txt
> running install_scripts
> + pwd
> + python3.10 setup.py install --install-layout=deb --root
> /<<PKGBUILDDIR>>/debian/python3-django-pyscss
> running install
> /usr/lib/python3/dist-packages/setuptools/command/install.py:34:
> SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and
> pip and other standards-based tools.
> warnings.warn(
> running build
> running build_py
> running egg_info
> writing django_pyscss.egg-info/PKG-INFO
> writing dependency_links to django_pyscss.egg-info/dependency_links.txt
> writing requirements to django_pyscss.egg-info/requires.txt
> writing top-level names to django_pyscss.egg-info/top_level.txt
> /usr/lib/python3/dist-packages/calmjs/cli.py:234: RuntimeWarning: Unable to
> locate the 'npm' binary or runtime; default module level functions will not
> work. Please either provide PATH and/or update PATH environment variable with
> one that provides 'npm'; or specify a working NODE_PATH environment variable
> with npm installed; or have install 'npm' into the current working directory
> (/<<PKGBUILDDIR>>) either through npm or calmjs framework for this package.
> Restart or reload this module once that is done. Alternatively, create a
> manual Driver instance for 'npm' with explicitly defined arguments.
> warnings.warn(msg, RuntimeWarning)
> reading manifest file 'django_pyscss.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> warning: no previously-included files matching '*.pyc' found under directory
> 'tests'
> warning: no previously-included files matching '*.pyc' found under directory
> 'testproject'
> adding license file 'LICENSE'
> writing manifest file 'django_pyscss.egg-info/SOURCES.txt'
> running install_lib
> byte-compiling
> /<<PKGBUILDDIR>>/debian/python3-django-pyscss/usr/lib/python3/dist-packages/django_pyscss/__init__.py
> to __init__.cpython-310.pyc
> byte-compiling
> /<<PKGBUILDDIR>>/debian/python3-django-pyscss/usr/lib/python3/dist-packages/django_pyscss/compressor.py
> to compressor.cpython-310.pyc
> byte-compiling
> /<<PKGBUILDDIR>>/debian/python3-django-pyscss/usr/lib/python3/dist-packages/django_pyscss/compiler.py
> to compiler.cpython-310.pyc
> byte-compiling
> /<<PKGBUILDDIR>>/debian/python3-django-pyscss/usr/lib/python3/dist-packages/django_pyscss/extension/__init__.py
> to __init__.cpython-310.pyc
> byte-compiling
> /<<PKGBUILDDIR>>/debian/python3-django-pyscss/usr/lib/python3/dist-packages/django_pyscss/extension/django.py
> to django.cpython-310.pyc
> byte-compiling
> /<<PKGBUILDDIR>>/debian/python3-django-pyscss/usr/lib/python3/dist-packages/django_pyscss/utils.py
> to utils.cpython-310.pyc
> running install_egg_info
> removing
> '/<<PKGBUILDDIR>>/debian/python3-django-pyscss/usr/lib/python3/dist-packages/django_pyscss-2.0.2.egg-info'
> (and everything under it)
> Copying django_pyscss.egg-info to
> /<<PKGBUILDDIR>>/debian/python3-django-pyscss/usr/lib/python3/dist-packages/django_pyscss-2.0.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
> + pwd
> + [ -d /<<PKGBUILDDIR>>/debian/python-django-pyscss/usr/bin ]
> set -e ; for pyvers in 3.9 3.10; do \
> echo "===> Testing with python$pyvers" ; \
> PYTHONPATH=.:/<<PKGBUILDDIR>>/testproject http_proxy=127.0.0.1:9
> https_proxy=127.0.0.1:9 PYTHON=python$pyvers python$pyvers setup.py test ; \
> done
> ===> Testing with python3.9
> running test
> WARNING: Testing via this command is deprecated and will be removed in a
> future version. Users looking for a generic test entry point independent of
> test runner are encouraged to use tox.
> running egg_info
> writing django_pyscss.egg-info/PKG-INFO
> writing dependency_links to django_pyscss.egg-info/dependency_links.txt
> writing requirements to django_pyscss.egg-info/requires.txt
> writing top-level names to django_pyscss.egg-info/top_level.txt
> /usr/lib/python3/dist-packages/calmjs/cli.py:234: RuntimeWarning: Unable to
> locate the 'npm' binary or runtime; default module level functions will not
> work. Please either provide PATH and/or update PATH environment variable with
> one that provides 'npm'; or specify a working NODE_PATH environment variable
> with npm installed; or have install 'npm' into the current working directory
> (/<<PKGBUILDDIR>>) either through npm or calmjs framework for this package.
> Restart or reload this module once that is done. Alternatively, create a
> manual Driver instance for 'npm' with explicitly defined arguments.
> warnings.warn(msg, RuntimeWarning)
> reading manifest file 'django_pyscss.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> warning: no previously-included files matching '*.pyc' found under directory
> 'tests'
> warning: no previously-included files matching '*.pyc' found under directory
> 'testproject'
> adding license file 'LICENSE'
> writing manifest file 'django_pyscss.egg-info/SOURCES.txt'
> running build_ext
> Creating test database for alias 'default'...
> Found 29 test(s).
> Destroying test database for alias 'default'...
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/setup.py", line 32, in <module>
> setup(
> File "/usr/lib/python3/dist-packages/setuptools/__init__.py", line 153, in
> setup
> return distutils.core.setup(**attrs)
> File "/usr/lib/python3.9/distutils/core.py", line 148, in setup
> dist.run_commands()
> File "/usr/lib/python3.9/distutils/dist.py", line 966, in run_commands
> self.run_command(cmd)
> File "/usr/lib/python3.9/distutils/dist.py", line 985, in run_command
> cmd_obj.run()
> File "/usr/lib/python3/dist-packages/setuptools/command/test.py", line 223,
> in run
> self.run_tests()
> File "/usr/lib/python3/dist-packages/setuptools/command/test.py", line 226,
> in run_tests
> test = unittest.main(
> File "/usr/lib/python3.9/unittest/main.py", line 100, in __init__
> self.parseArgs(argv)
> File "/usr/lib/python3.9/unittest/main.py", line 147, in parseArgs
> self.createTests()
> File "/usr/lib/python3.9/unittest/main.py", line 158, in createTests
> self.test = self.testLoader.loadTestsFromNames(self.testNames,
> File "/usr/lib/python3.9/unittest/loader.py", line 220, in
> loadTestsFromNames
> suites = [self.loadTestsFromName(name, module) for name in names]
> File "/usr/lib/python3.9/unittest/loader.py", line 220, in <listcomp>
> suites = [self.loadTestsFromName(name, module) for name in names]
> File "/usr/lib/python3.9/unittest/loader.py", line 205, in loadTestsFromName
> test = obj()
> File "/<<PKGBUILDDIR>>/testproject/runtests.py", line 19, in runtests
> failures = test_runner.run_tests(['tests'])
> File "/usr/lib/python3/dist-packages/django/test/runner.py", line 1006, in
> run_tests
> self.run_checks(databases)
> File "/usr/lib/python3/dist-packages/django/test/runner.py", line 925, in
> run_checks
> call_command("check", verbosity=self.verbosity, databases=databases)
> File "/usr/lib/python3/dist-packages/django/core/management/__init__.py",
> line 198, in call_command
> return command.execute(*args, **defaults)
> File "/usr/lib/python3/dist-packages/django/core/management/base.py", line
> 460, 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
> 487, 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 14,
> in check_url_config
> return check_resolver(resolver)
> File "/usr/lib/python3/dist-packages/django/core/checks/urls.py", line 24,
> in check_resolver
> return check_method()
> File "/usr/lib/python3/dist-packages/django/urls/resolvers.py", line 480,
> in check
> for pattern in self.url_patterns:
> File "/usr/lib/python3/dist-packages/django/utils/functional.py", line 49,
> in __get__
> res = instance.__dict__[self.name] = self.func(instance)
> File "/usr/lib/python3/dist-packages/django/urls/resolvers.py", line 696,
> in url_patterns
> patterns = getattr(self.urlconf_module, "urlpatterns",
> self.urlconf_module)
> File "/usr/lib/python3/dist-packages/django/utils/functional.py", line 49,
> in __get__
> res = instance.__dict__[self.name] = self.func(instance)
> File "/usr/lib/python3/dist-packages/django/urls/resolvers.py", line 689,
> in urlconf_module
> return import_module(self.urlconf_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>>/testproject/testproject/urls.py", line 1, in <module>
> from django.conf.urls import include, url
> ImportError: cannot import name 'url' from 'django.conf.urls'
> (/usr/lib/python3/dist-packages/django/conf/urls/__init__.py)
> make[1]: *** [debian/rules:22: override_dh_auto_install] Error 1
The full build log is available from:
http://qa-logs.debian.net/2022/06/24/python-django-pyscss_2.0.2-10_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.
--- End Message ---