[Python-modules-team] Bug#796410: python-statsd: FTBFS: ImportError: No module named django.conf

Chris Lamb lamby at debian.org
Fri Aug 21 19:18:54 UTC 2015


Source: python-statsd
Version: 3.0.1-2
Severity: serious
Justification: fails to build from source
User: reproducible-builds at lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-Cc: reproducible-builds at lists.alioth.debian.org

Dear Maintainer,

python-statsd fails to build from source in unstable/amd64. This is not
just due to a missing Build-Depends on python-django, but there is also
some missing test harnessing to setup STATSD_HOST, etc.:

  [..]

     dh_auto_test -O--buildsystem=pybuild
  I: pybuild base:170: cd
  /tmp/buildd/python-statsd-3.0.1/.pybuild/pythonX.Y_2.7/build;
  python2.7 -m nose --with-doctest 
  E..........................................
  ======================================================================
  ERROR: Failure: ImportError (No module named django.conf)
  ----------------------------------------------------------------------
  Traceback (most recent call last):
    File "/usr/lib/python2.7/dist-packages/nose/loader.py", line 420, in
    loadTestsFromName
      addr.filename, addr.module)
    File "/usr/lib/python2.7/dist-packages/nose/importer.py", line 47,
    in importFromPath
      return self.importFromDir(dir_path, fqname)
    File "/usr/lib/python2.7/dist-packages/nose/importer.py", line 94,
    in importFromDir
      mod = load_module(part_fqname, fh, filename, desc)
    File
    "/tmp/buildd/python-statsd-3.0.1/.pybuild/pythonX.Y_2.7/build/statsd/defaults/django.py",
    line 2, in <module>
      from django.conf import settings
  ImportError: No module named django.conf
  
  ----------------------------------------------------------------------
  Ran 43 tests in 0.073s
  
  FAILED (errors=1)
  E: pybuild pybuild:262: test: plugin distutils failed with: exit
  code=1: cd
  /tmp/buildd/python-statsd-3.0.1/.pybuild/pythonX.Y_2.7/build;
  python2.7 -m nose --with-doctest 
  dh_auto_test: pybuild --test --test-nose -i python{version} -p 2.7
  --dir . returned exit code 13
  debian/rules:8: recipe for target 'build' failed
  make: *** [build] Error 25
  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/python-statsd_3.0.1-2.build1.log.gz


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: python-statsd.3.0.1-2.unstable.amd64.log.txt
URL: <http://lists.alioth.debian.org/pipermail/python-modules-team/attachments/20150821/7f5ff22f/attachment-0001.txt>


More information about the Python-modules-team mailing list