Source: django-countries
Version: 2.1.2-1
Severity: serious
Justification: fails to build from source
User: [email protected]
Usertags: ftbfs
X-Debbugs-Cc: [email protected]
Dear Maintainer,
django-countries fails to build from source in unstable/amd64:
[..]
Creating test database for alias 'default'...
Destroying test database for alias 'default'...
Traceback (most recent call last):
File "/usr/bin/django-admin", line 21, in <module>
management.execute_from_command_line()
File
"/usr/lib/python3/dist-packages/django/core/management/__init__.py",
line 385, in execute_from_command_line
utility.execute()
File
"/usr/lib/python3/dist-packages/django/core/management/__init__.py",
line 354, in execute
django.setup()
File "/usr/lib/python3/dist-packages/django/__init__.py", line 18,
in setup
from django.utils.log import configure_logging
File "/usr/lib/python3/dist-packages/django/utils/log.py", line 13,
in <module>
from django.views.debug import ExceptionReporter,
get_exception_reporter_filter
File "/usr/lib/python3/dist-packages/django/views/debug.py", line
10, in <module>
from django.http import (HttpResponse, HttpResponseServerError,
File "/usr/lib/python3/dist-packages/django/http/__init__.py", line
4, in <module>
from django.http.response import (
File "/usr/lib/python3/dist-packages/django/http/response.py", line
13, in <module>
from django.core.serializers.json import DjangoJSONEncoder
File
"/usr/lib/python3/dist-packages/django/core/serializers/__init__.py",
line 23, in <module>
from django.core.serializers.base import SerializerDoesNotExist
File
"/usr/lib/python3/dist-packages/django/core/serializers/base.py",
line 6, in <module>
from django.db import models
File "/usr/lib/python3/dist-packages/django/db/models/__init__.py",
line 6, in <module>
from django.db.models.query import Q, QuerySet, Prefetch # NOQA
File "/usr/lib/python3/dist-packages/django/db/models/query.py",
line 13, in <module>
from django.db.models.fields import AutoField, Empty
File
"/usr/lib/python3/dist-packages/django/db/models/fields/__init__.py",
line 18, in <module>
from django import forms
File "/usr/lib/python3/dist-packages/django/forms/__init__.py", line
6, in <module>
from django.forms.fields import * # NOQA
File "/usr/lib/python3/dist-packages/django/forms/fields.py", line
18, in <module>
from django.forms.utils import from_current_timezone,
to_current_timezone
File "/usr/lib/python3/dist-packages/django/forms/utils.py", line
15, in <module>
from django.utils.html import format_html, format_html_join,
escape
File "/usr/lib/python3/dist-packages/django/utils/html.py", line 16,
in <module>
from .html_parser import HTMLParser, HTMLParseError
File "/usr/lib/python3/dist-packages/django/utils/html_parser.py",
line 12, in <module>
HTMLParseError = _html_parser.HTMLParseError
AttributeError: module 'html.parser' has no attribute 'HTMLParseError'
debian/rules:14: recipe for target 'override_dh_auto_test' failed
make[1]: *** [override_dh_auto_test] Error 1
make[1]: Leaving directory '/tmp/buildd/django-countries-2.1.2'
debian/rules:10: recipe for target 'build' failed
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
[..]
The full build log is attached or can be viewed here:
https://reproducible.debian.net/logs/unstable/amd64/django-countries_2.1.2-1.build1.log.gz
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` [email protected] / chris-lamb.co.uk
`-
I: using fakeroot in build.
I: pbuilder: network access will be disabled during build
I: Current time: Sat Sep 26 10:41:51 GMT+12 2015
I: pbuilder-time-stamp: 1443307311
I: Building the build Environment
I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz]
I: creating local configuration
I: copying local configuration
I: mounting /proc filesystem
I: mounting /run/shm filesystem
I: mounting /dev/pts filesystem
I: Mounting /dev/shm
I: Mounting /sys
I: policy-rc.d already exists
I: Installing the build-deps
-> Attempting to satisfy build-dependencies
-> Creating pbuilder-satisfydepends-dummy package
Package: pbuilder-satisfydepends-dummy
Version: 0.invalid.0
Architecture: amd64
Maintainer: Debian Pbuilder Team <[email protected]>
Description: Dummy package to satisfy dependencies with aptitude - created by
pbuilder
This package was created automatically by pbuilder to satisfy the
build-dependencies of the package being currently built.
Depends: debhelper (>= 7.0.50~), dh-python, iso-codes, python-all,
python-django, python-setuptools, python3-all, python3-django,
python3-setuptools
dpkg-deb: building package 'pbuilder-satisfydepends-dummy' in
'/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'.
Selecting previously unselected package pbuilder-satisfydepends-dummy.
(Reading database ... 20294 files and directories currently installed.)
Preparing to unpack .../pbuilder-satisfydepends-dummy.deb ...
Unpacking pbuilder-satisfydepends-dummy (0.invalid.0) ...
dpkg: pbuilder-satisfydepends-dummy: dependency problems, but configuring
anyway as you requested:
pbuilder-satisfydepends-dummy depends on dh-python; however:
Package dh-python is not installed.
pbuilder-satisfydepends-dummy depends on iso-codes; however:
Package iso-codes is not installed.
pbuilder-satisfydepends-dummy depends on python-all; however:
Package python-all is not installed.
pbuilder-satisfydepends-dummy depends on python-django; however:
Package python-django is not installed.
pbuilder-satisfydepends-dummy depends on python-setuptools; however:
Package python-setuptools is not installed.
pbuilder-satisfydepends-dummy depends on python3-all; however:
Package python3-all is not installed.
pbuilder-satisfydepends-dummy depends on python3-django; however:
Package python3-django is not installed.
pbuilder-satisfydepends-dummy depends on python3-setuptools; however:
Package python3-setuptools is not installed.
Setting up pbuilder-satisfydepends-dummy (0.invalid.0) ...
Reading package lists...
Building dependency tree...
Reading state information...
Initializing package states...
Writing extended state information...
Building tag database...
pbuilder-satisfydepends-dummy is already installed at the requested version
(0.invalid.0)
pbuilder-satisfydepends-dummy is already installed at the requested version
(0.invalid.0)
The following NEW packages will be installed:
dh-python{a} iso-codes{a} libexpat1{a} libmpdec2{a} libpython-stdlib{a}
libpython2.7-minimal{a} libpython2.7-stdlib{a} libpython3-stdlib{a}
libpython3.4-minimal{a} libpython3.4-stdlib{a} libpython3.5-minimal{a}
libpython3.5-stdlib{a} libssl1.0.0{a} mime-support{a} python{a}
python-all{a} python-django{a} python-django-common{a} python-minimal{a}
python-pkg-resources{a} python-setuptools{a} python2.7{a}
python2.7-minimal{a} python3{a} python3-all{a} python3-django{a}
python3-minimal{a} python3-pkg-resources{a} python3-setuptools{a}
python3.4{a} python3.4-minimal{a} python3.5{a} python3.5-minimal{a}
0 packages upgraded, 33 newly installed, 0 to remove and 0 not upgraded.
Need to get 20.3 MB of archives. After unpacking 126 MB will be used.
Writing extended state information...
Get: 1 http://ftp.de.debian.org/debian/ unstable/main libpython2.7-minimal
amd64 2.7.10-4 [380 kB]
Get: 2 http://ftp.de.debian.org/debian/ unstable/main python2.7-minimal amd64
2.7.10-4 [1310 kB]
Get: 3 http://ftp.de.debian.org/debian/ unstable/main python-minimal amd64
2.7.9-1 [40.3 kB]
Get: 4 http://ftp.de.debian.org/debian/ unstable/main mime-support all 3.59
[36.4 kB]
Get: 5 http://ftp.de.debian.org/debian/ unstable/main libexpat1 amd64 2.1.0-7
[80.0 kB]
Get: 6 http://ftp.de.debian.org/debian/ unstable/main libssl1.0.0 amd64
1.0.2d-1 [1274 kB]
Get: 7 http://ftp.de.debian.org/debian/ unstable/main libpython2.7-stdlib amd64
2.7.10-4 [1791 kB]
Get: 8 http://ftp.de.debian.org/debian/ unstable/main python2.7 amd64 2.7.10-4
[259 kB]
Get: 9 http://ftp.de.debian.org/debian/ unstable/main libpython-stdlib amd64
2.7.9-1 [19.5 kB]
Get: 10 http://ftp.de.debian.org/debian/ unstable/main python amd64 2.7.9-1
[151 kB]
Get: 11 http://ftp.de.debian.org/debian/ unstable/main libmpdec2 amd64 2.4.1-1
[85.7 kB]
Get: 12 http://ftp.de.debian.org/debian/ unstable/main libpython3.4-minimal
amd64 3.4.3-9 [498 kB]
Get: 13 http://ftp.de.debian.org/debian/ unstable/main python3.4-minimal amd64
3.4.3-9 [1523 kB]
Get: 14 http://ftp.de.debian.org/debian/ unstable/main python3-minimal amd64
3.4.3-6 [34.8 kB]
Get: 15 http://ftp.de.debian.org/debian/ unstable/main libpython3.4-stdlib
amd64 3.4.3-9 [2123 kB]
Get: 16 http://ftp.de.debian.org/debian/ unstable/main python3.4 amd64 3.4.3-9
[223 kB]
Get: 17 http://ftp.de.debian.org/debian/ unstable/main libpython3-stdlib amd64
3.4.3-6 [18.2 kB]
Get: 18 http://ftp.de.debian.org/debian/ unstable/main dh-python all 2.20150826
[71.5 kB]
Get: 19 http://ftp.de.debian.org/debian/ unstable/main python3 amd64 3.4.3-6
[21.2 kB]
Get: 20 http://ftp.de.debian.org/debian/ unstable/main libpython3.5-minimal
amd64 3.5.0-2 [551 kB]
Get: 21 http://ftp.de.debian.org/debian/ unstable/main python3.5-minimal amd64
3.5.0-2 [1357 kB]
Get: 22 http://ftp.de.debian.org/debian/ unstable/main iso-codes all 3.61-1
[2319 kB]
Get: 23 http://ftp.de.debian.org/debian/ unstable/main libpython3.5-stdlib
amd64 3.5.0-2 [2066 kB]
Get: 24 http://ftp.de.debian.org/debian/ unstable/main python-all amd64 2.7.9-1
[996 B]
Get: 25 http://ftp.de.debian.org/debian/ unstable/main python-django-common all
1.7.9-1 [1490 kB]
Get: 26 http://ftp.de.debian.org/debian/ unstable/main python-django all
1.7.9-1 [982 kB]
Get: 27 http://ftp.de.debian.org/debian/ unstable/main python-pkg-resources all
18.3.1-2 [99.4 kB]
Get: 28 http://ftp.de.debian.org/debian/ unstable/main python-setuptools all
18.3.1-2 [201 kB]
Get: 29 http://ftp.de.debian.org/debian/ unstable/main python3.5 amd64 3.5.0-2
[185 kB]
Get: 30 http://ftp.de.debian.org/debian/ unstable/main python3-all amd64
3.4.3-6 [934 B]
Get: 31 http://ftp.de.debian.org/debian/ unstable/main python3-django all
1.7.9-1 [964 kB]
Get: 32 http://ftp.de.debian.org/debian/ unstable/main python3-pkg-resources
all 18.3.1-2 [70.1 kB]
Get: 33 http://ftp.de.debian.org/debian/ unstable/main python3-setuptools all
18.3.1-2 [119 kB]
Fetched 20.3 MB in 0s (21.2 MB/s)
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package libpython2.7-minimal:amd64.
(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 20294 files and directories currently installed.)
Preparing to unpack .../libpython2.7-minimal_2.7.10-4_amd64.deb ...
Unpacking libpython2.7-minimal:amd64 (2.7.10-4) ...
Selecting previously unselected package python2.7-minimal.
Preparing to unpack .../python2.7-minimal_2.7.10-4_amd64.deb ...
Unpacking python2.7-minimal (2.7.10-4) ...
Selecting previously unselected package python-minimal.
Preparing to unpack .../python-minimal_2.7.9-1_amd64.deb ...
Unpacking python-minimal (2.7.9-1) ...
Selecting previously unselected package mime-support.
Preparing to unpack .../mime-support_3.59_all.deb ...
Unpacking mime-support (3.59) ...
Selecting previously unselected package libexpat1:amd64.
Preparing to unpack .../libexpat1_2.1.0-7_amd64.deb ...
Unpacking libexpat1:amd64 (2.1.0-7) ...
Selecting previously unselected package libssl1.0.0:amd64.
Preparing to unpack .../libssl1.0.0_1.0.2d-1_amd64.deb ...
Unpacking libssl1.0.0:amd64 (1.0.2d-1) ...
Selecting previously unselected package libpython2.7-stdlib:amd64.
Preparing to unpack .../libpython2.7-stdlib_2.7.10-4_amd64.deb ...
Unpacking libpython2.7-stdlib:amd64 (2.7.10-4) ...
Selecting previously unselected package python2.7.
Preparing to unpack .../python2.7_2.7.10-4_amd64.deb ...
Unpacking python2.7 (2.7.10-4) ...
Selecting previously unselected package libpython-stdlib:amd64.
Preparing to unpack .../libpython-stdlib_2.7.9-1_amd64.deb ...
Unpacking libpython-stdlib:amd64 (2.7.9-1) ...
Processing triggers for man-db (2.7.3-1) ...
Setting up libpython2.7-minimal:amd64 (2.7.10-4) ...
Setting up python2.7-minimal (2.7.10-4) ...
Setting up python-minimal (2.7.9-1) ...
Selecting previously unselected package python.
(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 21096 files and directories currently installed.)
Preparing to unpack .../python_2.7.9-1_amd64.deb ...
Unpacking python (2.7.9-1) ...
Selecting previously unselected package libmpdec2:amd64.
Preparing to unpack .../libmpdec2_2.4.1-1_amd64.deb ...
Unpacking libmpdec2:amd64 (2.4.1-1) ...
Selecting previously unselected package libpython3.4-minimal:amd64.
Preparing to unpack .../libpython3.4-minimal_3.4.3-9_amd64.deb ...
Unpacking libpython3.4-minimal:amd64 (3.4.3-9) ...
Selecting previously unselected package python3.4-minimal.
Preparing to unpack .../python3.4-minimal_3.4.3-9_amd64.deb ...
Unpacking python3.4-minimal (3.4.3-9) ...
Selecting previously unselected package python3-minimal.
Preparing to unpack .../python3-minimal_3.4.3-6_amd64.deb ...
Unpacking python3-minimal (3.4.3-6) ...
Selecting previously unselected package libpython3.4-stdlib:amd64.
Preparing to unpack .../libpython3.4-stdlib_3.4.3-9_amd64.deb ...
Unpacking libpython3.4-stdlib:amd64 (3.4.3-9) ...
Selecting previously unselected package python3.4.
Preparing to unpack .../python3.4_3.4.3-9_amd64.deb ...
Unpacking python3.4 (3.4.3-9) ...
Selecting previously unselected package libpython3-stdlib:amd64.
Preparing to unpack .../libpython3-stdlib_3.4.3-6_amd64.deb ...
Unpacking libpython3-stdlib:amd64 (3.4.3-6) ...
Selecting previously unselected package dh-python.
Preparing to unpack .../dh-python_2.20150826_all.deb ...
Unpacking dh-python (2.20150826) ...
Processing triggers for man-db (2.7.3-1) ...
Setting up libssl1.0.0:amd64 (1.0.2d-1) ...
Setting up libpython3.4-minimal:amd64 (3.4.3-9) ...
Setting up libexpat1:amd64 (2.1.0-7) ...
Setting up python3.4-minimal (3.4.3-9) ...
Setting up python3-minimal (3.4.3-6) ...
Processing triggers for libc-bin (2.19-22) ...
Selecting previously unselected package python3.
(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 22056 files and directories currently installed.)
Preparing to unpack .../python3_3.4.3-6_amd64.deb ...
Unpacking python3 (3.4.3-6) ...
Selecting previously unselected package libpython3.5-minimal:amd64.
Preparing to unpack .../libpython3.5-minimal_3.5.0-2_amd64.deb ...
Unpacking libpython3.5-minimal:amd64 (3.5.0-2) ...
Selecting previously unselected package python3.5-minimal.
Preparing to unpack .../python3.5-minimal_3.5.0-2_amd64.deb ...
Unpacking python3.5-minimal (3.5.0-2) ...
Selecting previously unselected package iso-codes.
Preparing to unpack .../iso-codes_3.61-1_all.deb ...
Unpacking iso-codes (3.61-1) ...
Selecting previously unselected package libpython3.5-stdlib:amd64.
Preparing to unpack .../libpython3.5-stdlib_3.5.0-2_amd64.deb ...
Unpacking libpython3.5-stdlib:amd64 (3.5.0-2) ...
Selecting previously unselected package python-all.
Preparing to unpack .../python-all_2.7.9-1_amd64.deb ...
Unpacking python-all (2.7.9-1) ...
Selecting previously unselected package python-django-common.
Preparing to unpack .../python-django-common_1.7.9-1_all.deb ...
Unpacking python-django-common (1.7.9-1) ...
Selecting previously unselected package python-django.
Preparing to unpack .../python-django_1.7.9-1_all.deb ...
Unpacking python-django (1.7.9-1) ...
Selecting previously unselected package python-pkg-resources.
Preparing to unpack .../python-pkg-resources_18.3.1-2_all.deb ...
Unpacking python-pkg-resources (18.3.1-2) ...
Selecting previously unselected package python-setuptools.
Preparing to unpack .../python-setuptools_18.3.1-2_all.deb ...
Unpacking python-setuptools (18.3.1-2) ...
Selecting previously unselected package python3.5.
Preparing to unpack .../python3.5_3.5.0-2_amd64.deb ...
Unpacking python3.5 (3.5.0-2) ...
Selecting previously unselected package python3-all.
Preparing to unpack .../python3-all_3.4.3-6_amd64.deb ...
Unpacking python3-all (3.4.3-6) ...
Selecting previously unselected package python3-django.
Preparing to unpack .../python3-django_1.7.9-1_all.deb ...
Unpacking python3-django (1.7.9-1) ...
Selecting previously unselected package python3-pkg-resources.
Preparing to unpack .../python3-pkg-resources_18.3.1-2_all.deb ...
Unpacking python3-pkg-resources (18.3.1-2) ...
Selecting previously unselected package python3-setuptools.
Preparing to unpack .../python3-setuptools_18.3.1-2_all.deb ...
Unpacking python3-setuptools (18.3.1-2) ...
Processing triggers for man-db (2.7.3-1) ...
Setting up mime-support (3.59) ...
Setting up libpython2.7-stdlib:amd64 (2.7.10-4) ...
Setting up python2.7 (2.7.10-4) ...
Setting up libpython-stdlib:amd64 (2.7.9-1) ...
Setting up python (2.7.9-1) ...
Setting up libmpdec2:amd64 (2.4.1-1) ...
Setting up libpython3.4-stdlib:amd64 (3.4.3-9) ...
Setting up python3.4 (3.4.3-9) ...
Setting up libpython3-stdlib:amd64 (3.4.3-6) ...
Setting up libpython3.5-minimal:amd64 (3.5.0-2) ...
Setting up python3.5-minimal (3.5.0-2) ...
Setting up iso-codes (3.61-1) ...
Setting up libpython3.5-stdlib:amd64 (3.5.0-2) ...
Setting up python-all (2.7.9-1) ...
Setting up python-django-common (1.7.9-1) ...
Setting up python-django (1.7.9-1) ...
Setting up python-pkg-resources (18.3.1-2) ...
Setting up python-setuptools (18.3.1-2) ...
Setting up python3.5 (3.5.0-2) ...
Setting up python3 (3.4.3-6) ...
Setting up python3-all (3.4.3-6) ...
Setting up python3-django (1.7.9-1) ...
Setting up python3-pkg-resources (18.3.1-2) ...
Setting up python3-setuptools (18.3.1-2) ...
Setting up dh-python (2.20150826) ...
Processing triggers for libc-bin (2.19-22) ...
Reading package lists...
Building dependency tree...
Reading state information...
Reading extended state information...
Initializing package states...
Writing extended state information...
Building tag database...
-> Finished parsing the build-deps
Reading package lists...
Building dependency tree...
Reading state information...
fakeroot is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
I: Copying source file
I: copying [django-countries_2.1.2-1.dsc]
I: copying [./django-countries_2.1.2.orig.tar.gz]
I: copying [./django-countries_2.1.2-1.debian.tar.xz]
I: Extracting source
gpgv: keyblock resource `/tmp/buildd/.gnupg/trustedkeys.gpg': file open error
gpgv: Signature made Tue Sep 2 21:01:32 2014 GMT+12 using RSA key ID 90CBD8E4
gpgv: Can't check signature: public key not found
dpkg-source: warning: failed to verify signature on
./django-countries_2.1.2-1.dsc
dpkg-source: info: extracting django-countries in django-countries-2.1.2
dpkg-source: info: unpacking django-countries_2.1.2.orig.tar.gz
dpkg-source: info: unpacking django-countries_2.1.2-1.debian.tar.xz
dpkg-source: info: applying dont_include_flag_icons.patch
dpkg-source: info: applying use_iso_codes_package.patch
dpkg-source: info: applying python3.4-UnicodeDecodeError.patch
I: Building the package
I: Running cd tmp/buildd/*/ && env
PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" dpkg-buildpackage -us -uc -b
-rfakeroot
dpkg-buildpackage: source package django-countries
dpkg-buildpackage: source version 2.1.2-1
dpkg-buildpackage: source distribution unstable
dpkg-buildpackage: source changed by Michael Fladischer
<[email protected]>
dpkg-source --before-build django-countries-2.1.2
dpkg-buildpackage: host architecture amd64
fakeroot debian/rules clean
dh clean --with python2,python3 --buildsystem=pybuild
dh_testdir -O--buildsystem=pybuild
dh_auto_clean -O--buildsystem=pybuild
I: pybuild base:170: python2.7 setup.py clean
running clean
removing '/tmp/buildd/django-countries-2.1.2/.pybuild/pythonX.Y_2.7/build' (and
everything under it)
'build/bdist.linux-x86_64' does not exist -- can't clean it
'build/scripts-2.7' does not exist -- can't clean it
I: pybuild base:170: python3.5 setup.py clean
running clean
removing '/tmp/buildd/django-countries-2.1.2/.pybuild/pythonX.Y_3.5/build' (and
everything under it)
'build/bdist.linux-x86_64' does not exist -- can't clean it
'build/scripts-3.5' does not exist -- can't clean it
I: pybuild base:170: python3.4 setup.py clean
running clean
removing '/tmp/buildd/django-countries-2.1.2/.pybuild/pythonX.Y_3.4/build' (and
everything under it)
'build/bdist.linux-x86_64' does not exist -- can't clean it
'build/scripts-3.4' does not exist -- can't clean it
dh_clean -O--buildsystem=pybuild
debian/rules build
dh build --with python2,python3 --buildsystem=pybuild
dh_testdir -O--buildsystem=pybuild
dh_auto_configure -O--buildsystem=pybuild
I: pybuild base:170: python2.7 setup.py config
running config
I: pybuild base:170: python3.4 setup.py config
running config
I: pybuild base:170: python3.5 setup.py config
running config
dh_auto_build -O--buildsystem=pybuild
I: pybuild base:170: /usr/bin/python setup.py build
running build
running build_py
creating
/tmp/buildd/django-countries-2.1.2/.pybuild/pythonX.Y_2.7/build/django_countries
copying django_countries/data.py ->
/tmp/buildd/django-countries-2.1.2/.pybuild/pythonX.Y_2.7/build/django_countries
copying django_countries/ioc_data.py ->
/tmp/buildd/django-countries-2.1.2/.pybuild/pythonX.Y_2.7/build/django_countries
copying django_countries/models.py ->
/tmp/buildd/django-countries-2.1.2/.pybuild/pythonX.Y_2.7/build/django_countries
copying django_countries/fields.py ->
/tmp/buildd/django-countries-2.1.2/.pybuild/pythonX.Y_2.7/build/django_countries
copying django_countries/conf.py ->
/tmp/buildd/django-countries-2.1.2/.pybuild/pythonX.Y_2.7/build/django_countries
copying django_countries/__init__.py ->
/tmp/buildd/django-countries-2.1.2/.pybuild/pythonX.Y_2.7/build/django_countries
creating
/tmp/buildd/django-countries-2.1.2/.pybuild/pythonX.Y_2.7/build/django_countries/tests
copying django_countries/tests/test_fields.py ->
/tmp/buildd/django-countries-2.1.2/.pybuild/pythonX.Y_2.7/build/django_countries/tests
copying django_countries/tests/settings.py ->
/tmp/buildd/django-countries-2.1.2/.pybuild/pythonX.Y_2.7/build/django_countries/tests
copying django_countries/tests/test_settings.py ->
/tmp/buildd/django-countries-2.1.2/.pybuild/pythonX.Y_2.7/build/django_countries/tests
copying django_countries/tests/models.py ->
/tmp/buildd/django-countries-2.1.2/.pybuild/pythonX.Y_2.7/build/django_countries/tests
copying django_countries/tests/test_countries.py ->
/tmp/buildd/django-countries-2.1.2/.pybuild/pythonX.Y_2.7/build/django_countries/tests
copying django_countries/tests/__init__.py ->
/tmp/buildd/django-countries-2.1.2/.pybuild/pythonX.Y_2.7/build/django_countries/tests
I: pybuild base:170: /usr/bin/python3.5 setup.py build
running build
running build_py
creating
/tmp/buildd/django-countries-2.1.2/.pybuild/pythonX.Y_3.5/build/django_countries
copying django_countries/data.py ->
/tmp/buildd/django-countries-2.1.2/.pybuild/pythonX.Y_3.5/build/django_countries
copying django_countries/ioc_data.py ->
/tmp/buildd/django-countries-2.1.2/.pybuild/pythonX.Y_3.5/build/django_countries
copying django_countries/models.py ->
/tmp/buildd/django-countries-2.1.2/.pybuild/pythonX.Y_3.5/build/django_countries
copying django_countries/fields.py ->
/tmp/buildd/django-countries-2.1.2/.pybuild/pythonX.Y_3.5/build/django_countries
copying django_countries/conf.py ->
/tmp/buildd/django-countries-2.1.2/.pybuild/pythonX.Y_3.5/build/django_countries
copying django_countries/__init__.py ->
/tmp/buildd/django-countries-2.1.2/.pybuild/pythonX.Y_3.5/build/django_countries
creating
/tmp/buildd/django-countries-2.1.2/.pybuild/pythonX.Y_3.5/build/django_countries/tests
copying django_countries/tests/test_fields.py ->
/tmp/buildd/django-countries-2.1.2/.pybuild/pythonX.Y_3.5/build/django_countries/tests
copying django_countries/tests/settings.py ->
/tmp/buildd/django-countries-2.1.2/.pybuild/pythonX.Y_3.5/build/django_countries/tests
copying django_countries/tests/test_settings.py ->
/tmp/buildd/django-countries-2.1.2/.pybuild/pythonX.Y_3.5/build/django_countries/tests
copying django_countries/tests/models.py ->
/tmp/buildd/django-countries-2.1.2/.pybuild/pythonX.Y_3.5/build/django_countries/tests
copying django_countries/tests/test_countries.py ->
/tmp/buildd/django-countries-2.1.2/.pybuild/pythonX.Y_3.5/build/django_countries/tests
copying django_countries/tests/__init__.py ->
/tmp/buildd/django-countries-2.1.2/.pybuild/pythonX.Y_3.5/build/django_countries/tests
I: pybuild base:170: /usr/bin/python3 setup.py build
running build
running build_py
creating
/tmp/buildd/django-countries-2.1.2/.pybuild/pythonX.Y_3.4/build/django_countries
copying django_countries/data.py ->
/tmp/buildd/django-countries-2.1.2/.pybuild/pythonX.Y_3.4/build/django_countries
copying django_countries/ioc_data.py ->
/tmp/buildd/django-countries-2.1.2/.pybuild/pythonX.Y_3.4/build/django_countries
copying django_countries/models.py ->
/tmp/buildd/django-countries-2.1.2/.pybuild/pythonX.Y_3.4/build/django_countries
copying django_countries/fields.py ->
/tmp/buildd/django-countries-2.1.2/.pybuild/pythonX.Y_3.4/build/django_countries
copying django_countries/conf.py ->
/tmp/buildd/django-countries-2.1.2/.pybuild/pythonX.Y_3.4/build/django_countries
copying django_countries/__init__.py ->
/tmp/buildd/django-countries-2.1.2/.pybuild/pythonX.Y_3.4/build/django_countries
creating
/tmp/buildd/django-countries-2.1.2/.pybuild/pythonX.Y_3.4/build/django_countries/tests
copying django_countries/tests/test_fields.py ->
/tmp/buildd/django-countries-2.1.2/.pybuild/pythonX.Y_3.4/build/django_countries/tests
copying django_countries/tests/settings.py ->
/tmp/buildd/django-countries-2.1.2/.pybuild/pythonX.Y_3.4/build/django_countries/tests
copying django_countries/tests/test_settings.py ->
/tmp/buildd/django-countries-2.1.2/.pybuild/pythonX.Y_3.4/build/django_countries/tests
copying django_countries/tests/models.py ->
/tmp/buildd/django-countries-2.1.2/.pybuild/pythonX.Y_3.4/build/django_countries/tests
copying django_countries/tests/test_countries.py ->
/tmp/buildd/django-countries-2.1.2/.pybuild/pythonX.Y_3.4/build/django_countries/tests
copying django_countries/tests/__init__.py ->
/tmp/buildd/django-countries-2.1.2/.pybuild/pythonX.Y_3.4/build/django_countries/tests
debian/rules override_dh_auto_test
make[1]: Entering directory '/tmp/buildd/django-countries-2.1.2'
set -e; \
for python in python2.7 python3.4 python3.5; do \
PYTHONPATH="." DJANGO_SETTINGS_MODULE=django_countries.tests.settings $python
/usr/bin/django-admin test django_countries.tests;\
done
System check identified some issues:
WARNINGS:
?: (1_7.W001) MIDDLEWARE_CLASSES is not set.
HINT: Django 1.7 changed the global defaults for the
MIDDLEWARE_CLASSES. django.contrib.sessions.middleware.SessionMiddleware,
django.contrib.auth.middleware.AuthenticationMiddleware, and
django.contrib.messages.middleware.MessageMiddleware were removed from the
defaults. If your project needs these middleware then you should configure this
setting.
System check identified some issues:
WARNINGS:
?: (1_7.W001) MIDDLEWARE_CLASSES is not set.
HINT: Django 1.7 changed the global defaults for the
MIDDLEWARE_CLASSES. django.contrib.sessions.middleware.SessionMiddleware,
django.contrib.auth.middleware.AuthenticationMiddleware, and
django.contrib.messages.middleware.MessageMiddleware were removed from the
defaults. If your project needs these middleware then you should configure this
setting.
System check identified some issues:
WARNINGS:
?: (1_7.W001) MIDDLEWARE_CLASSES is not set.
HINT: Django 1.7 changed the global defaults for the
MIDDLEWARE_CLASSES. django.contrib.sessions.middleware.SessionMiddleware,
django.contrib.auth.middleware.AuthenticationMiddleware, and
django.contrib.messages.middleware.MessageMiddleware were removed from the
defaults. If your project needs these middleware then you should configure this
setting.
System check identified some issues:
WARNINGS:
?: (1_7.W001) MIDDLEWARE_CLASSES is not set.
HINT: Django 1.7 changed the global defaults for the
MIDDLEWARE_CLASSES. django.contrib.sessions.middleware.SessionMiddleware,
django.contrib.auth.middleware.AuthenticationMiddleware, and
django.contrib.messages.middleware.MessageMiddleware were removed from the
defaults. If your project needs these middleware then you should configure this
setting.
.........................
----------------------------------------------------------------------
Ran 25 tests in 0.047s
OK
Creating test database for alias 'default'...
Destroying test database for alias 'default'...
System check identified some issues:
WARNINGS:
?: (1_7.W001) MIDDLEWARE_CLASSES is not set.
HINT: Django 1.7 changed the global defaults for the
MIDDLEWARE_CLASSES. django.contrib.sessions.middleware.SessionMiddleware,
django.contrib.auth.middleware.AuthenticationMiddleware, and
django.contrib.messages.middleware.MessageMiddleware were removed from the
defaults. If your project needs these middleware then you should configure this
setting.
System check identified some issues:
WARNINGS:
?: (1_7.W001) MIDDLEWARE_CLASSES is not set.
HINT: Django 1.7 changed the global defaults for the
MIDDLEWARE_CLASSES. django.contrib.sessions.middleware.SessionMiddleware,
django.contrib.auth.middleware.AuthenticationMiddleware, and
django.contrib.messages.middleware.MessageMiddleware were removed from the
defaults. If your project needs these middleware then you should configure this
setting.
System check identified some issues:
WARNINGS:
?: (1_7.W001) MIDDLEWARE_CLASSES is not set.
HINT: Django 1.7 changed the global defaults for the
MIDDLEWARE_CLASSES. django.contrib.sessions.middleware.SessionMiddleware,
django.contrib.auth.middleware.AuthenticationMiddleware, and
django.contrib.messages.middleware.MessageMiddleware were removed from the
defaults. If your project needs these middleware then you should configure this
setting.
System check identified some issues:
WARNINGS:
?: (1_7.W001) MIDDLEWARE_CLASSES is not set.
HINT: Django 1.7 changed the global defaults for the
MIDDLEWARE_CLASSES. django.contrib.sessions.middleware.SessionMiddleware,
django.contrib.auth.middleware.AuthenticationMiddleware, and
django.contrib.messages.middleware.MessageMiddleware were removed from the
defaults. If your project needs these middleware then you should configure this
setting.
.........................
----------------------------------------------------------------------
Ran 25 tests in 0.026s
OK
Creating test database for alias 'default'...
Destroying test database for alias 'default'...
Traceback (most recent call last):
File "/usr/bin/django-admin", line 21, in <module>
management.execute_from_command_line()
File "/usr/lib/python3/dist-packages/django/core/management/__init__.py",
line 385, in execute_from_command_line
utility.execute()
File "/usr/lib/python3/dist-packages/django/core/management/__init__.py",
line 354, in execute
django.setup()
File "/usr/lib/python3/dist-packages/django/__init__.py", line 18, in setup
from django.utils.log import configure_logging
File "/usr/lib/python3/dist-packages/django/utils/log.py", line 13, in
<module>
from django.views.debug import ExceptionReporter,
get_exception_reporter_filter
File "/usr/lib/python3/dist-packages/django/views/debug.py", line 10, in
<module>
from django.http import (HttpResponse, HttpResponseServerError,
File "/usr/lib/python3/dist-packages/django/http/__init__.py", line 4, in
<module>
from django.http.response import (
File "/usr/lib/python3/dist-packages/django/http/response.py", line 13, in
<module>
from django.core.serializers.json import DjangoJSONEncoder
File "/usr/lib/python3/dist-packages/django/core/serializers/__init__.py",
line 23, in <module>
from django.core.serializers.base import SerializerDoesNotExist
File "/usr/lib/python3/dist-packages/django/core/serializers/base.py", line
6, in <module>
from django.db import models
File "/usr/lib/python3/dist-packages/django/db/models/__init__.py", line 6,
in <module>
from django.db.models.query import Q, QuerySet, Prefetch # NOQA
File "/usr/lib/python3/dist-packages/django/db/models/query.py", line 13, in
<module>
from django.db.models.fields import AutoField, Empty
File "/usr/lib/python3/dist-packages/django/db/models/fields/__init__.py",
line 18, in <module>
from django import forms
File "/usr/lib/python3/dist-packages/django/forms/__init__.py", line 6, in
<module>
from django.forms.fields import * # NOQA
File "/usr/lib/python3/dist-packages/django/forms/fields.py", line 18, in
<module>
from django.forms.utils import from_current_timezone, to_current_timezone
File "/usr/lib/python3/dist-packages/django/forms/utils.py", line 15, in
<module>
from django.utils.html import format_html, format_html_join, escape
File "/usr/lib/python3/dist-packages/django/utils/html.py", line 16, in
<module>
from .html_parser import HTMLParser, HTMLParseError
File "/usr/lib/python3/dist-packages/django/utils/html_parser.py", line 12,
in <module>
HTMLParseError = _html_parser.HTMLParseError
AttributeError: module 'html.parser' has no attribute 'HTMLParseError'
debian/rules:14: recipe for target 'override_dh_auto_test' failed
make[1]: *** [override_dh_auto_test] Error 1
make[1]: Leaving directory '/tmp/buildd/django-countries-2.1.2'
debian/rules:10: recipe for target 'build' failed
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
E: Failed autobuilding of package
I: unmounting /sys filesystem
I: unmounting /dev/shm filesystem
I: unmounting dev/pts filesystem
I: unmounting run/shm filesystem
I: unmounting proc filesystem
I: cleaning the build env
I: removing directory /var/cache/pbuilder/build//23695 and its subdirectories