 dpkg-buildpackage -rfakeroot -D -us -uc -b
dpkg-buildpackage: source package celery-haystack
dpkg-buildpackage: source version 0.9-1
dpkg-buildpackage: source distribution unstable
dpkg-buildpackage: source changed by Michael Fladischer <fladi@debian.org>
 dpkg-source --before-build celery-haystack-0.9
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:184: python2.7 setup.py clean 
running clean
removing '/home/lamby/temp/cdt.20151126153543.U8Aq5QgwRU/celery-haystack-0.9/.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:184: python3.5 setup.py clean 
running clean
removing '/home/lamby/temp/cdt.20151126153543.U8Aq5QgwRU/celery-haystack-0.9/.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:184: python3.4 setup.py clean 
running clean
removing '/home/lamby/temp/cdt.20151126153543.U8Aq5QgwRU/celery-haystack-0.9/.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
   debian/rules override_dh_clean
make[1]: Entering directory '/home/lamby/temp/cdt.20151126153543.U8Aq5QgwRU/celery-haystack-0.9'
rm -rf celery_haystack/tests/whoosh_index
dh_clean
make[1]: Leaving directory '/home/lamby/temp/cdt.20151126153543.U8Aq5QgwRU/celery-haystack-0.9'
 debian/rules build
dh build --with python2,python3 --buildsystem=pybuild
   dh_testdir -O--buildsystem=pybuild
   dh_auto_configure -O--buildsystem=pybuild
I: pybuild base:184: python2.7 setup.py config 
running config
I: pybuild base:184: python3.5 setup.py config 
running config
I: pybuild base:184: python3.4 setup.py config 
running config
   dh_auto_build -O--buildsystem=pybuild
I: pybuild base:184: /usr/bin/python setup.py build 
running build
running build_py
creating /home/lamby/temp/cdt.20151126153543.U8Aq5QgwRU/celery-haystack-0.9/.pybuild/pythonX.Y_2.7/build/celery_haystack
copying celery_haystack/signals.py -> /home/lamby/temp/cdt.20151126153543.U8Aq5QgwRU/celery-haystack-0.9/.pybuild/pythonX.Y_2.7/build/celery_haystack
copying celery_haystack/utils.py -> /home/lamby/temp/cdt.20151126153543.U8Aq5QgwRU/celery-haystack-0.9/.pybuild/pythonX.Y_2.7/build/celery_haystack
copying celery_haystack/__init__.py -> /home/lamby/temp/cdt.20151126153543.U8Aq5QgwRU/celery-haystack-0.9/.pybuild/pythonX.Y_2.7/build/celery_haystack
copying celery_haystack/indexes.py -> /home/lamby/temp/cdt.20151126153543.U8Aq5QgwRU/celery-haystack-0.9/.pybuild/pythonX.Y_2.7/build/celery_haystack
copying celery_haystack/conf.py -> /home/lamby/temp/cdt.20151126153543.U8Aq5QgwRU/celery-haystack-0.9/.pybuild/pythonX.Y_2.7/build/celery_haystack
copying celery_haystack/tasks.py -> /home/lamby/temp/cdt.20151126153543.U8Aq5QgwRU/celery-haystack-0.9/.pybuild/pythonX.Y_2.7/build/celery_haystack
copying celery_haystack/test_settings.py -> /home/lamby/temp/cdt.20151126153543.U8Aq5QgwRU/celery-haystack-0.9/.pybuild/pythonX.Y_2.7/build/celery_haystack
copying celery_haystack/models.py -> /home/lamby/temp/cdt.20151126153543.U8Aq5QgwRU/celery-haystack-0.9/.pybuild/pythonX.Y_2.7/build/celery_haystack
creating /home/lamby/temp/cdt.20151126153543.U8Aq5QgwRU/celery-haystack-0.9/.pybuild/pythonX.Y_2.7/build/celery_haystack/tests
copying celery_haystack/tests/__init__.py -> /home/lamby/temp/cdt.20151126153543.U8Aq5QgwRU/celery-haystack-0.9/.pybuild/pythonX.Y_2.7/build/celery_haystack/tests
copying celery_haystack/tests/tests.py -> /home/lamby/temp/cdt.20151126153543.U8Aq5QgwRU/celery-haystack-0.9/.pybuild/pythonX.Y_2.7/build/celery_haystack/tests
copying celery_haystack/tests/models.py -> /home/lamby/temp/cdt.20151126153543.U8Aq5QgwRU/celery-haystack-0.9/.pybuild/pythonX.Y_2.7/build/celery_haystack/tests
copying celery_haystack/tests/search_indexes.py -> /home/lamby/temp/cdt.20151126153543.U8Aq5QgwRU/celery-haystack-0.9/.pybuild/pythonX.Y_2.7/build/celery_haystack/tests
copying celery_haystack/tests/search_sites.py -> /home/lamby/temp/cdt.20151126153543.U8Aq5QgwRU/celery-haystack-0.9/.pybuild/pythonX.Y_2.7/build/celery_haystack/tests
I: pybuild base:184: /usr/bin/python3.5 setup.py build 
running build
running build_py
creating /home/lamby/temp/cdt.20151126153543.U8Aq5QgwRU/celery-haystack-0.9/.pybuild/pythonX.Y_3.5/build/celery_haystack
copying celery_haystack/signals.py -> /home/lamby/temp/cdt.20151126153543.U8Aq5QgwRU/celery-haystack-0.9/.pybuild/pythonX.Y_3.5/build/celery_haystack
copying celery_haystack/utils.py -> /home/lamby/temp/cdt.20151126153543.U8Aq5QgwRU/celery-haystack-0.9/.pybuild/pythonX.Y_3.5/build/celery_haystack
copying celery_haystack/__init__.py -> /home/lamby/temp/cdt.20151126153543.U8Aq5QgwRU/celery-haystack-0.9/.pybuild/pythonX.Y_3.5/build/celery_haystack
copying celery_haystack/indexes.py -> /home/lamby/temp/cdt.20151126153543.U8Aq5QgwRU/celery-haystack-0.9/.pybuild/pythonX.Y_3.5/build/celery_haystack
copying celery_haystack/conf.py -> /home/lamby/temp/cdt.20151126153543.U8Aq5QgwRU/celery-haystack-0.9/.pybuild/pythonX.Y_3.5/build/celery_haystack
copying celery_haystack/tasks.py -> /home/lamby/temp/cdt.20151126153543.U8Aq5QgwRU/celery-haystack-0.9/.pybuild/pythonX.Y_3.5/build/celery_haystack
copying celery_haystack/test_settings.py -> /home/lamby/temp/cdt.20151126153543.U8Aq5QgwRU/celery-haystack-0.9/.pybuild/pythonX.Y_3.5/build/celery_haystack
copying celery_haystack/models.py -> /home/lamby/temp/cdt.20151126153543.U8Aq5QgwRU/celery-haystack-0.9/.pybuild/pythonX.Y_3.5/build/celery_haystack
creating /home/lamby/temp/cdt.20151126153543.U8Aq5QgwRU/celery-haystack-0.9/.pybuild/pythonX.Y_3.5/build/celery_haystack/tests
copying celery_haystack/tests/__init__.py -> /home/lamby/temp/cdt.20151126153543.U8Aq5QgwRU/celery-haystack-0.9/.pybuild/pythonX.Y_3.5/build/celery_haystack/tests
copying celery_haystack/tests/tests.py -> /home/lamby/temp/cdt.20151126153543.U8Aq5QgwRU/celery-haystack-0.9/.pybuild/pythonX.Y_3.5/build/celery_haystack/tests
copying celery_haystack/tests/models.py -> /home/lamby/temp/cdt.20151126153543.U8Aq5QgwRU/celery-haystack-0.9/.pybuild/pythonX.Y_3.5/build/celery_haystack/tests
copying celery_haystack/tests/search_indexes.py -> /home/lamby/temp/cdt.20151126153543.U8Aq5QgwRU/celery-haystack-0.9/.pybuild/pythonX.Y_3.5/build/celery_haystack/tests
copying celery_haystack/tests/search_sites.py -> /home/lamby/temp/cdt.20151126153543.U8Aq5QgwRU/celery-haystack-0.9/.pybuild/pythonX.Y_3.5/build/celery_haystack/tests
I: pybuild base:184: /usr/bin/python3 setup.py build 
running build
running build_py
creating /home/lamby/temp/cdt.20151126153543.U8Aq5QgwRU/celery-haystack-0.9/.pybuild/pythonX.Y_3.4/build/celery_haystack
copying celery_haystack/signals.py -> /home/lamby/temp/cdt.20151126153543.U8Aq5QgwRU/celery-haystack-0.9/.pybuild/pythonX.Y_3.4/build/celery_haystack
copying celery_haystack/utils.py -> /home/lamby/temp/cdt.20151126153543.U8Aq5QgwRU/celery-haystack-0.9/.pybuild/pythonX.Y_3.4/build/celery_haystack
copying celery_haystack/__init__.py -> /home/lamby/temp/cdt.20151126153543.U8Aq5QgwRU/celery-haystack-0.9/.pybuild/pythonX.Y_3.4/build/celery_haystack
copying celery_haystack/indexes.py -> /home/lamby/temp/cdt.20151126153543.U8Aq5QgwRU/celery-haystack-0.9/.pybuild/pythonX.Y_3.4/build/celery_haystack
copying celery_haystack/conf.py -> /home/lamby/temp/cdt.20151126153543.U8Aq5QgwRU/celery-haystack-0.9/.pybuild/pythonX.Y_3.4/build/celery_haystack
copying celery_haystack/tasks.py -> /home/lamby/temp/cdt.20151126153543.U8Aq5QgwRU/celery-haystack-0.9/.pybuild/pythonX.Y_3.4/build/celery_haystack
copying celery_haystack/test_settings.py -> /home/lamby/temp/cdt.20151126153543.U8Aq5QgwRU/celery-haystack-0.9/.pybuild/pythonX.Y_3.4/build/celery_haystack
copying celery_haystack/models.py -> /home/lamby/temp/cdt.20151126153543.U8Aq5QgwRU/celery-haystack-0.9/.pybuild/pythonX.Y_3.4/build/celery_haystack
creating /home/lamby/temp/cdt.20151126153543.U8Aq5QgwRU/celery-haystack-0.9/.pybuild/pythonX.Y_3.4/build/celery_haystack/tests
copying celery_haystack/tests/__init__.py -> /home/lamby/temp/cdt.20151126153543.U8Aq5QgwRU/celery-haystack-0.9/.pybuild/pythonX.Y_3.4/build/celery_haystack/tests
copying celery_haystack/tests/tests.py -> /home/lamby/temp/cdt.20151126153543.U8Aq5QgwRU/celery-haystack-0.9/.pybuild/pythonX.Y_3.4/build/celery_haystack/tests
copying celery_haystack/tests/models.py -> /home/lamby/temp/cdt.20151126153543.U8Aq5QgwRU/celery-haystack-0.9/.pybuild/pythonX.Y_3.4/build/celery_haystack/tests
copying celery_haystack/tests/search_indexes.py -> /home/lamby/temp/cdt.20151126153543.U8Aq5QgwRU/celery-haystack-0.9/.pybuild/pythonX.Y_3.4/build/celery_haystack/tests
copying celery_haystack/tests/search_sites.py -> /home/lamby/temp/cdt.20151126153543.U8Aq5QgwRU/celery-haystack-0.9/.pybuild/pythonX.Y_3.4/build/celery_haystack/tests
   debian/rules override_dh_auto_test
make[1]: Entering directory '/home/lamby/temp/cdt.20151126153543.U8Aq5QgwRU/celery-haystack-0.9'
PYBUILD_SYSTEM=custom PYBUILD_TEST_ARGS="PYTHONPATH=. HAYSTACK=v2 python2.7 /usr/bin/django-admin test --settings=celery_haystack.test_settings" dh_auto_test
I: pybuild base:184: PYTHONPATH=. HAYSTACK=v2 python2.7 /usr/bin/django-admin test --settings=celery_haystack.test_settings
Traceback (most recent call last):
  File "/usr/bin/django-admin", line 21, in <module>
    management.execute_from_command_line()
  File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", line 350, in execute_from_command_line
    utility.execute()
  File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", line 324, in execute
    django.setup()
  File "/usr/lib/python2.7/dist-packages/django/__init__.py", line 18, in setup
    apps.populate(settings.INSTALLED_APPS)
  File "/usr/lib/python2.7/dist-packages/django/apps/registry.py", line 85, in populate
    app_config = AppConfig.create(entry)
  File "/usr/lib/python2.7/dist-packages/django/apps/config.py", line 90, in create
    module = import_module(entry)
  File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
    __import__(name)
  File "/usr/lib/python2.7/dist-packages/haystack/__init__.py", line 57, in <module>
    signal_processor_class = loading.import_class(signal_processor_path)
  File "/usr/lib/python2.7/dist-packages/haystack/utils/loading.py", line 32, in import_class
    module_itself = importlib.import_module(module_path)
  File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
    __import__(name)
  File "/home/lamby/temp/cdt.20151126153543.U8Aq5QgwRU/celery-haystack-0.9/celery_haystack/signals.py", line 6, in <module>
    from .utils import enqueue_task
  File "/home/lamby/temp/cdt.20151126153543.U8Aq5QgwRU/celery-haystack-0.9/celery_haystack/utils.py", line 2, in <module>
    from django.utils.importlib import import_module
ImportError: No module named importlib
E: pybuild pybuild:274: test: plugin custom failed with: exit code=1: PYTHONPATH=. HAYSTACK=v2 python2.7 /usr/bin/django-admin test --settings=celery_haystack.test_settings
dh_auto_test: pybuild --test -i python{version} -p 2.7 --dir . returned exit code 13
debian/rules:12: recipe for target 'override_dh_auto_test' failed
make[1]: *** [override_dh_auto_test] Error 25
make[1]: Leaving directory '/home/lamby/temp/cdt.20151126153543.U8Aq5QgwRU/celery-haystack-0.9'
debian/rules:9: recipe for target 'build' failed
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
