Source: djangorestframework-gis Version: 0.7-1 Severity: serious Tags: sid Justification: fails to build from source User: reproducible-bui...@lists.alioth.debian.org Usertags: ftbfs
Dear Maintainer, The package fails to build: Creating test database for alias 'default'... Traceback (most recent call last): File "runtests.py", line 13, in <module> execute_from_command_line(args) File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", line 385, in execute_from_command_line utility.execute() File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", line 377, in execute self.fetch_command(subcommand).run_from_argv(self.argv) File "/usr/lib/python2.7/dist-packages/django/core/management/commands/test.py", line 50, in run_from_argv super(Command, self).run_from_argv(argv) File "/usr/lib/python2.7/dist-packages/django/core/management/base.py", line 288, in run_from_argv self.execute(*args, **options.__dict__) File "/usr/lib/python2.7/dist-packages/django/core/management/commands/test.py", line 71, in execute super(Command, self).execute(*args, **options) File "/usr/lib/python2.7/dist-packages/django/core/management/base.py", line 338, in execute output = self.handle(*args, **options) File "/usr/lib/python2.7/dist-packages/django/core/management/commands/test.py", line 88, in handle failures = test_runner.run_tests(test_labels) File "/usr/lib/python2.7/dist-packages/django/test/runner.py", line 147, in run_tests old_config = self.setup_databases() File "/usr/lib/python2.7/dist-packages/django/test/runner.py", line 109, in setup_databases return setup_databases(self.verbosity, self.interactive, **kwargs) File "/usr/lib/python2.7/dist-packages/django/test/runner.py", line 299, in setup_databases serialize=connection.settings_dict.get("TEST", {}).get("SERIALIZE", True), File "/usr/lib/python2.7/dist-packages/django/contrib/gis/db/backends/spatialite/creation.py", line 35, in create_test_db self.load_spatialite_sql() File "/usr/lib/python2.7/dist-packages/django/contrib/gis/db/backends/spatialite/creation.py", line 93, in load_spatialite_sql if self.connection.ops.spatial_version[:2] >= (2, 4): File "/usr/lib/python2.7/dist-packages/django/utils/functional.py", line 55, in __get__ res = instance.__dict__[self.func.__name__] = self.func(instance) File "/usr/lib/python2.7/dist-packages/django/contrib/gis/db/backends/spatialite/operations.py", line 142, in spatial_version six.reraise(ImproperlyConfigured, ImproperlyConfigured(new_msg), sys.exc_info()[2]) File "/usr/lib/python2.7/dist-packages/django/contrib/gis/db/backends/spatialite/operations.py", line 136, in spatial_version version = self.spatialite_version_tuple()[1:] File "/usr/lib/python2.7/dist-packages/django/contrib/gis/db/backends/spatialite/operations.py", line 279, in spatialite_version_tuple version = self.spatialite_version() File "/usr/lib/python2.7/dist-packages/django/contrib/gis/db/backends/spatialite/operations.py", line 270, in spatialite_version return self._get_spatialite_func('spatialite_version()') File "/usr/lib/python2.7/dist-packages/django/contrib/gis/db/backends/spatialite/operations.py", line 252, in _get_spatialite_func cursor = self.connection._cursor() File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 138, in _cursor self.ensure_connection() File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 133, in ensure_connection self.connect() File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 122, in connect self.connection = self.get_new_connection(conn_params) File "/usr/lib/python2.7/dist-packages/django/contrib/gis/db/backends/spatialite/base.py", line 64, in get_new_connection six.reraise(ImproperlyConfigured, ImproperlyConfigured(new_msg), sys.exc_info()[2]) File "/usr/lib/python2.7/dist-packages/django/contrib/gis/db/backends/spatialite/base.py", line 59, in get_new_connection cur.execute("SELECT load_extension(%s)", (self.spatialite_lib,)) File "/usr/lib/python2.7/dist-packages/django/db/backends/sqlite3/base.py", line 485, in execute return Database.Cursor.execute(self, query, params) django.core.exceptions.ImproperlyConfigured: Cannot determine the SpatiaLite version for the ":memory:" database (error was "Unable to load the SpatiaLite library extension "libspatialite.so.7" because: /usr/lib/x86_64-linux-gnu/libspatialite.so.7: undefined symbol: sqlite3_spatialite_init"). Was the SpatiaLite initialization SQL loaded on this database? debian/rules:13: recipe for target 'override_dh_auto_test' failed Full build log: https://reproducible.debian.net/rb-pkg/unstable/amd64/djangorestframework-gis.html -- System Information: Debian Release: stretch/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 3.19.0-23-generic (SMP w/8 CPU cores) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org