Your message dated Wed, 14 Oct 2020 15:19:56 +0000
with message-id <e1ksizi-0006oy...@fasolo.debian.org>
and subject line Bug#971130: fixed in djangorestframework-gis 0.16-1
has caused the Debian Bug report #971130,
regarding djangorestframework-gis: FTBFS: dh_auto_test: error: pybuild --test 
-i python{version} -p 3.8 --system=custom "--test-args=cd {build_dir}; 
{interpreter} tests/manage.py test tests/django_restframework_gis_tests" 
returned exit code 13
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
971130: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=971130
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: djangorestframework-gis
Version: 0.14-4
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20200926 ftbfs-bullseye

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} 
> tests/manage.py test tests/django_restframework_gis_tests"
> I: pybuild base:217: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_djangorestframework-gis/build; 
> python3.8 tests/manage.py test tests/django_restframework_gis_tests
> Creating test database for alias 'default'...
> ......................s.s.s..........s......./usr/lib/python3/dist-packages/rest_framework/pagination.py:200:
>  UnorderedObjectListWarning: Pagination may yield inconsistent results with 
> an unordered object_list: <class 
> 'django_restframework_gis_tests.models.Location'> QuerySet.
>   paginator = self.django_paginator_class(queryset, page_size)
> ..................E.......
> ======================================================================
> ERROR: test_post_location_list_EWKT 
> (django_restframework_gis_tests.tests.TestRestFrameworkGis)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/usr/lib/python3/dist-packages/django/db/backends/utils.py", line 82, 
> in _execute
>     return self.cursor.execute(sql)
>   File "/usr/lib/python3/dist-packages/django/db/backends/sqlite3/base.py", 
> line 381, in execute
>     return Database.Cursor.execute(self, query)
> sqlite3.OperationalError: no such function: lwgeom_version
> 
> The above exception was the direct cause of the following exception:
> 
> Traceback (most recent call last):
>   File 
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_djangorestframework-gis/build/tests/django_restframework_gis_tests/tests.py",
>  line 149, in test_post_location_list_EWKT
>     response = self.client.post(self.location_list_url, data)
>   File "/usr/lib/python3/dist-packages/django/test/client.py", line 543, in 
> post
>     response = super().post(path, data=data, content_type=content_type, 
> secure=secure, **extra)
>   File "/usr/lib/python3/dist-packages/django/test/client.py", line 356, in 
> post
>     return self.generic('POST', path, post_data, content_type,
>   File "/usr/lib/python3/dist-packages/django/test/client.py", line 422, in 
> generic
>     return self.request(**r)
>   File "/usr/lib/python3/dist-packages/django/test/client.py", line 503, in 
> request
>     raise exc_value
>   File "/usr/lib/python3/dist-packages/django/core/handlers/exception.py", 
> line 34, in inner
>     response = get_response(request)
>   File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 
> 115, in _get_response
>     response = self.process_exception_by_middleware(e, request)
>   File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 
> 113, in _get_response
>     response = wrapped_callback(request, *callback_args, **callback_kwargs)
>   File "/usr/lib/python3/dist-packages/django/views/decorators/csrf.py", line 
> 54, in wrapped_view
>     return view_func(*args, **kwargs)
>   File "/usr/lib/python3/dist-packages/django/views/generic/base.py", line 
> 71, in view
>     return self.dispatch(request, *args, **kwargs)
>   File "/usr/lib/python3/dist-packages/rest_framework/views.py", line 505, in 
> dispatch
>     response = self.handle_exception(exc)
>   File "/usr/lib/python3/dist-packages/rest_framework/views.py", line 465, in 
> handle_exception
>     self.raise_uncaught_exception(exc)
>   File "/usr/lib/python3/dist-packages/rest_framework/views.py", line 476, in 
> raise_uncaught_exception
>     raise exc
>   File "/usr/lib/python3/dist-packages/rest_framework/views.py", line 502, in 
> dispatch
>     response = handler(request, *args, **kwargs)
>   File "/usr/lib/python3/dist-packages/rest_framework/generics.py", line 242, 
> in post
>     return self.create(request, *args, **kwargs)
>   File "/usr/lib/python3/dist-packages/rest_framework/mixins.py", line 19, in 
> create
>     self.perform_create(serializer)
>   File "/usr/lib/python3/dist-packages/rest_framework/mixins.py", line 24, in 
> perform_create
>     serializer.save()
>   File "/usr/lib/python3/dist-packages/rest_framework/serializers.py", line 
> 212, in save
>     self.instance = self.create(validated_data)
>   File "/usr/lib/python3/dist-packages/rest_framework/serializers.py", line 
> 948, in create
>     instance = ModelClass._default_manager.create(**validated_data)
>   File "/usr/lib/python3/dist-packages/django/db/models/manager.py", line 82, 
> in manager_method
>     return getattr(self.get_queryset(), name)(*args, **kwargs)
>   File "/usr/lib/python3/dist-packages/django/db/models/query.py", line 422, 
> in create
>     obj.save(force_insert=True, using=self.db)
>   File 
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_djangorestframework-gis/build/tests/django_restframework_gis_tests/models.py",
>  line 37, in save
>     super(BaseModel, self).save(*args, **kwargs)
>   File "/usr/lib/python3/dist-packages/django/db/models/base.py", line 743, 
> in save
>     self.save_base(using=using, force_insert=force_insert,
>   File "/usr/lib/python3/dist-packages/django/db/models/base.py", line 780, 
> in save_base
>     updated = self._save_table(
>   File "/usr/lib/python3/dist-packages/django/db/models/base.py", line 873, 
> in _save_table
>     result = self._do_insert(cls._base_manager, using, fields, update_pk, raw)
>   File "/usr/lib/python3/dist-packages/django/db/models/base.py", line 910, 
> in _do_insert
>     return manager._insert([self], fields=fields, return_id=update_pk,
>   File "/usr/lib/python3/dist-packages/django/db/models/manager.py", line 82, 
> in manager_method
>     return getattr(self.get_queryset(), name)(*args, **kwargs)
>   File "/usr/lib/python3/dist-packages/django/db/models/query.py", line 1186, 
> in _insert
>     return query.get_compiler(using=using).execute_sql(return_id)
>   File "/usr/lib/python3/dist-packages/django/db/models/sql/compiler.py", 
> line 1376, in execute_sql
>     for sql, params in self.as_sql():
>   File "/usr/lib/python3/dist-packages/django/db/models/sql/compiler.py", 
> line 1333, in as_sql
>     placeholder_rows, param_rows = self.assemble_as_sql(fields, value_rows)
>   File "/usr/lib/python3/dist-packages/django/db/models/sql/compiler.py", 
> line 1300, in assemble_as_sql
>     placeholder_rows, param_rows = zip(*sql_and_param_pair_rows)
>   File "/usr/lib/python3/dist-packages/django/db/models/sql/compiler.py", 
> line 1296, in <genexpr>
>     sql_and_param_pair_rows = (zip(*row) for row in rows_of_fields_as_sql)
>   File "/usr/lib/python3/dist-packages/django/db/models/sql/compiler.py", 
> line 1290, in <genexpr>
>     (self.field_as_sql(field, v) for field, v in zip(fields, row))
>   File "/usr/lib/python3/dist-packages/django/db/models/sql/compiler.py", 
> line 1226, in field_as_sql
>     sql, params = field.get_placeholder(val, self, self.connection), [val]
>   File 
> "/usr/lib/python3/dist-packages/django/contrib/gis/db/models/fields.py", line 
> 128, in get_placeholder
>     return connection.ops.get_geom_placeholder(self, value, compiler)
>   File 
> "/usr/lib/python3/dist-packages/django/contrib/gis/db/backends/base/operations.py",
>  line 98, in get_geom_placeholder
>     self.spatial_function_name('Transform'),
>   File 
> "/usr/lib/python3/dist-packages/django/contrib/gis/db/backends/base/operations.py",
>  line 118, in spatial_function_name
>     if func_name in self.unsupported_functions:
>   File "/usr/lib/python3/dist-packages/django/utils/functional.py", line 80, 
> in __get__
>     res = instance.__dict__[self.name] = self.func(instance)
>   File 
> "/usr/lib/python3/dist-packages/django/contrib/gis/db/backends/spatialite/operations.py",
>  line 85, in unsupported_functions
>     if not self.lwgeom_version():
>   File 
> "/usr/lib/python3/dist-packages/django/contrib/gis/db/backends/spatialite/operations.py",
>  line 169, in lwgeom_version
>     return self._get_spatialite_func('lwgeom_version()')
>   File 
> "/usr/lib/python3/dist-packages/django/contrib/gis/db/backends/spatialite/operations.py",
>  line 153, in _get_spatialite_func
>     cursor.execute('SELECT %s' % func)
>   File "/usr/lib/python3/dist-packages/django/db/backends/utils.py", line 67, 
> in execute
>     return self._execute_with_wrappers(sql, params, many=False, 
> executor=self._execute)
>   File "/usr/lib/python3/dist-packages/django/db/backends/utils.py", line 76, 
> in _execute_with_wrappers
>     return executor(sql, params, many, context)
>   File "/usr/lib/python3/dist-packages/django/db/backends/utils.py", line 84, 
> in _execute
>     return self.cursor.execute(sql, params)
>   File "/usr/lib/python3/dist-packages/django/db/utils.py", line 89, in 
> __exit__
>     raise dj_exc_value.with_traceback(traceback) from exc_value
>   File "/usr/lib/python3/dist-packages/django/db/backends/utils.py", line 82, 
> in _execute
>     return self.cursor.execute(sql)
>   File "/usr/lib/python3/dist-packages/django/db/backends/sqlite3/base.py", 
> line 381, in execute
>     return Database.Cursor.execute(self, query)
> django.db.utils.OperationalError: no such function: lwgeom_version
> 
> ----------------------------------------------------------------------
> Ran 71 tests in 0.332s
> 
> FAILED (errors=1, skipped=4)
> Destroying test database for alias 'default'...
> System check identified no issues (0 silenced).
> E: pybuild pybuild:352: test: plugin custom failed with: exit code=1: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_djangorestframework-gis/build; 
> python3.8 tests/manage.py test tests/django_restframework_gis_tests
> dh_auto_test: error: pybuild --test -i python{version} -p 3.8 --system=custom 
> "--test-args=cd {build_dir}; {interpreter} tests/manage.py test 
> tests/django_restframework_gis_tests" returned exit code 13

The full build log is available from:
   
http://qa-logs.debian.net/2020/09/26/djangorestframework-gis_0.14-4_unstable.log

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!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.

--- End Message ---
--- Begin Message ---
Source: djangorestframework-gis
Source-Version: 0.16-1
Done: Michael Fladischer <fl...@debian.org>

We believe that the bug you reported is fixed in the latest version of
djangorestframework-gis, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 971...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Michael Fladischer <fl...@debian.org> (supplier of updated 
djangorestframework-gis package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Wed, 14 Oct 2020 16:38:24 +0200
Source: djangorestframework-gis
Architecture: source
Version: 0.16-1
Distribution: unstable
Urgency: low
Maintainer: Debian Python Team <team+pyt...@tracker.debian.org>
Changed-By: Michael Fladischer <fl...@debian.org>
Closes: 971130
Changes:
 djangorestframework-gis (0.16-1) unstable; urgency=low
 .
   [ Ondřej Nový ]
   * d/control: Update Maintainer field with new Debian Python Team
     contact address.
   * d/control: Update Vcs-* fields with new Debian Python Team Salsa
     layout.
 .
   [ Michael Fladischer ]
   * New upstream release (Closes: #971130).
   * Refresh patches.
   * Add patch to conditionally disable tests that either require Django
     3 or PostGIS.
Checksums-Sha1:
 405b9464b672e7123b90b718639deeda163e6578 2266 
djangorestframework-gis_0.16-1.dsc
 8a9ff78fcc44e7d222f981dd02642722e1a587b7 43503 
djangorestframework-gis_0.16.orig.tar.gz
 664ed2d780644c5a706ee13c9e0527efbe9e732e 488 
djangorestframework-gis_0.16.orig.tar.gz.asc
 e43f9f98409f8293dfcaad9d5daac4d0b4adf458 9380 
djangorestframework-gis_0.16-1.debian.tar.xz
 c8276488717dd895b650abe051345be9d286ce19 9983 
djangorestframework-gis_0.16-1_amd64.buildinfo
Checksums-Sha256:
 3367bc42db04c4e378b9315234fcebacf3dea18fd6f95742165be732956d44a9 2266 
djangorestframework-gis_0.16-1.dsc
 19a873740bcdac5c963779a1755d0d4acf96c4f5b63915d452f4b866d50f77d7 43503 
djangorestframework-gis_0.16.orig.tar.gz
 bd8ffc6d3f564c5d75cd521977eae7fc72301b3eb2255e39313264644f62ea22 488 
djangorestframework-gis_0.16.orig.tar.gz.asc
 f72b4ca959d3b7fcfebd7c05180bec4f919926ec3d231a6567017f0702336bf5 9380 
djangorestframework-gis_0.16-1.debian.tar.xz
 86fa5515379ec1b142b5ba0f3c9eba8e3b809ffdc05fd5a489a56cfd0cf97ca9 9983 
djangorestframework-gis_0.16-1_amd64.buildinfo
Files:
 dd2d3662c8c0fbb917dbb394fccd02ab 2266 python optional 
djangorestframework-gis_0.16-1.dsc
 2c17996e0cfbcb9481486cac60e99f19 43503 python optional 
djangorestframework-gis_0.16.orig.tar.gz
 044f5fefb6d2e9504d889221c61510aa 488 python optional 
djangorestframework-gis_0.16.orig.tar.gz.asc
 88ffab58ea52a71eb09f66ab5c21e804 9380 python optional 
djangorestframework-gis_0.16-1.debian.tar.xz
 47d98dd4b550636f86e89abe43cdd7a0 9983 python optional 
djangorestframework-gis_0.16-1_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEqVSlRXW87UkkCnJc/9PIi5l90WoFAl+HDs8ACgkQ/9PIi5l9
0WpiHQf9GsDKhWFqIZ0OF1Kb9GqKu/psHsV8tpWsYiVwXxGvAwcg48QiOkgos/Eu
Gub2gnBuZrwEe/PnlN62Wtm25TkqJRHhX6TEEhf1tbLdQDmVT/HTWQzD5qXc/Ov7
MrNe+JAqEXkeudJfoQU1Uu5cp7j03AzVFeE9ud935evu6aruFoUmrUk3xXNooP8/
69BWy7mAjLKMlITqf5tw3/7qU/r85KX9RtUkSm9l9I9r3vvzc6GxlD0mPpP9Dqu7
T9Ay44frHnklcqmx1Z07Sirdsj6mDqZf4hK6uyTleqJvuQvAU9v9UPt63tNnq7ZJ
epvqNbH2wSZd0qtqkuUAsCNrCnUFGQ==
=ZBKk
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to