Bug#800672: healpy: FTBFS: Tests require X environment

Chris Lamb lamby at debian.org
Fri Oct 2 09:41:54 UTC 2015


Source: healpy
Version: 1.8.1-1
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,

healpy fails to build from source in unstable/amd64 as it needs an X
environment, perhaps under xvfb-run?

To be clear, even if you install python-tkinter, it then fails with:

   TclError: no display name and no $DISPLAY environment variable

Here's the current log, however:

  [..]
  
  healpy/test/test_visufunc.py:27: 
  _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  _ _ _ _ _ 
  healpy/visufunc.py:656: in orthview
      import pylab
  /usr/lib/python2.7/dist-packages/pylab.py:1: in <module>
      from matplotlib.pylab import *
  /usr/lib/python2.7/dist-packages/matplotlib/pylab.py:274: in <module>
      from matplotlib.pyplot import *
  /usr/lib/python2.7/dist-packages/matplotlib/pyplot.py:109: in <module>
      _backend_mod, new_figure_manager, draw_if_interactive, _show =
      pylab_setup()
  /usr/lib/python2.7/dist-packages/matplotlib/backends/__init__.py:32:
  in pylab_setup
      globals(),locals(),[backend_name],0)
  /usr/lib/python2.7/dist-packages/matplotlib/backends/backend_tkagg.py:6:
  in <module>
      from six.moves import tkinter as Tk
  /usr/lib/python2.7/dist-packages/six.py:199: in load_module
      mod = mod._resolve()
  /usr/lib/python2.7/dist-packages/six.py:113: in _resolve
      return _import_module(self.mod)
  /usr/lib/python2.7/dist-packages/six.py:80: in _import_module
      __import__(name)
  _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  _ _ _ _ _ 
  
      """
      
      __version__ = "$Revision: 81008 $"
      
      import sys
      if sys.platform == "win32":
          # Attempt to configure Tcl/Tk without requiring PATH
          import FixTk
      try:
          import _tkinter
      except ImportError, msg:
  >       raise ImportError, str(msg) + ', please install the python-tk package'
  E       ImportError: No module named _tkinter, please install the
  python-tk package
  
  /usr/lib/python2.7/lib-tk/Tkinter.py:42: ImportError
  ==================== 10 failed, 42 passed in 67.73 seconds
  =====================
  E: pybuild pybuild:262: test: plugin distutils failed with: exit
  code=1: cd /tmp/buildd/healpy-1.8.1/.pybuild/pythonX.Y_2.7/build;
  python2.7 -m pytest 
  dh_auto_test: pybuild --test --test-pytest -i python{version} -p 2.7
  --dir . returned exit code 13
  debian/rules:17: recipe for target 'override_dh_auto_test' failed
  make[1]: *** [override_dh_auto_test] Error 25
  make[1]: Leaving directory '/tmp/buildd/healpy-1.8.1'
  debian/rules:6: 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/healpy_1.8.1-1.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: healpy.1.8.1-1.unstable.amd64.log.txt
URL: <http://lists.alioth.debian.org/pipermail/debian-science-maintainers/attachments/20151002/4d2678d8/attachment-0001.txt>


More information about the debian-science-maintainers mailing list