[Reproducible-builds] Bug#813873: python-mpop: FTBFS: ImportError: No module named eps_format

Chris Lamb lamby at debian.org
Sat Feb 6 07:49:28 UTC 2016


Source: python-mpop
Version: 1.0.0-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,

python-mpop fails to build from source in unstable/amd64.

Also note:

 WARNING: intersphinx inventory 'http://docs.python.org/objects.inv' not fetchable due to <class 'urllib2.URLError'>: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590)>

FTBFS section is:

  [..]

  
  /home/lamby/temp/cdt.20160206082813.bm9Dtvm7g3/python-mpop-1.0.0/doc/source/input.rst:32: WARNING: autodoc: failed to import module u'mpop.satin.eps_format'; the following exception was raised:
  Traceback (most recent call last):
    File "/usr/lib/python2.7/dist-packages/sphinx/ext/autodoc.py", line 385, in import_object
      __import__(self.modname)
  ImportError: No module named eps_format
  /home/lamby/temp/cdt.20160206082813.bm9Dtvm7g3/python-mpop-1.0.0/doc/source/input.rst:41: WARNING: autodoc: failed to import module u'mpop.satin.hdfeos_l1b'; the following exception was raised:
  Traceback (most recent call last):
    File "/usr/lib/python2.7/dist-packages/sphinx/ext/autodoc.py", line 385, in import_object
      __import__(self.modname)
    File "/home/lamby/temp/cdt.20160206082813.bm9Dtvm7g3/python-mpop-1.0.0/mpop/satin/hdfeos_l1b.py", line 42, in <module>
      from pyhdf.SD import SD
  ImportError: No module named pyhdf.SD
  /home/lamby/temp/cdt.20160206082813.bm9Dtvm7g3/python-mpop-1.0.0/doc/source/input.rst:50: WARNING: autodoc: failed to import module u'mpop.satin.msg_hdf'; the following exception was raised:
  Traceback (most recent call last):
    File "/usr/lib/python2.7/dist-packages/sphinx/ext/autodoc.py", line 385, in import_object
      __import__(self.modname)
    File "/home/lamby/temp/cdt.20160206082813.bm9Dtvm7g3/python-mpop-1.0.0/mpop/satin/msg_hdf.py", line 35, in <module>
      import pyresample.utils
  ImportError: No module named utils
  /home/lamby/temp/cdt.20160206082813.bm9Dtvm7g3/python-mpop-1.0.0/doc/source/input.rst:68: WARNING: autodoc: failed to import module u'mpop.satin.hrpt'; the following exception was raised:
  Traceback (most recent call last):
    File "/usr/lib/python2.7/dist-packages/sphinx/ext/autodoc.py", line 385, in import_object
      __import__(self.modname)
    File "/home/lamby/temp/cdt.20160206082813.bm9Dtvm7g3/python-mpop-1.0.0/mpop/satin/hrpt.py", line 48, in <module>
      SATPOS_DIR = os.path.sep.join(os.environ["AAPP_PREFIX"].split(os.path.sep)[:-1])
    File "/usr/lib/python2.7/UserDict.py", line 40, in __getitem__
      raise KeyError(key)
  KeyError: 'AAPP_PREFIX'
  /home/lamby/temp/cdt.20160206082813.bm9Dtvm7g3/python-mpop-1.0.0/doc/source/input.rst:77: WARNING: autodoc: failed to import module u'mpop.satin.eps1a'; the following exception was raised:
  Traceback (most recent call last):
    File "/usr/lib/python2.7/dist-packages/sphinx/ext/autodoc.py", line 385, in import_object
      __import__(self.modname)
    File "/home/lamby/temp/cdt.20160206082813.bm9Dtvm7g3/python-mpop-1.0.0/mpop/satin/eps1a.py", line 45, in <module>
      SATPOS_DIR = os.path.sep.join(os.environ["AAPP_PREFIX"].split(os.path.sep)[:-1])
    File "/usr/lib/python2.7/UserDict.py", line 40, in __getitem__
      raise KeyError(key)
  KeyError: 'AAPP_PREFIX'
  /home/lamby/temp/cdt.20160206082813.bm9Dtvm7g3/python-mpop-1.0.0/doc/source/pp.rst:96: WARNING: Include file u'/home/lamby/temp/cdt.20160206082813.bm9Dtvm7g3/satprod/etc/meteosat07.cfg' not found or reading it failed
  /home/lamby/temp/cdt.20160206082813.bm9Dtvm7g3/python-mpop-1.0.0/doc/source/pp.rst:114: WARNING: Include file u'/home/lamby/temp/cdt.20160206082813.bm9Dtvm7g3/python-mpop-1.0.0/mpop/instruments/mviri.py' not found or reading it failed
  looking for now-outdated files... none found
  pickling environment... done
  checking consistency... done
  preparing documents... done
  writing output... [ 14%] image
  writing output... [ 28%] index
  writing output... [ 42%] input
  writing output... [ 57%] install
  writing output... [ 71%] pp
  writing output... [ 85%] quickstart
  writing output... [100%] saturn
  
  generating indices... genindex py-modindex
  writing additional pages... search
  copying static files... WARNING: html_static_path entry u'/home/lamby/temp/cdt.20160206082813.bm9Dtvm7g3/python-mpop-1.0.0/doc/source/_static' does not exist
  done
  copying extra files... done
  dumping search index in English (code: en) ... done
  dumping object inventory... done
  build succeeded, 9 warnings.
  
  Build finished. The HTML pages are in build/html.
  make[2]: Leaving directory '/home/lamby/temp/cdt.20160206082813.bm9Dtvm7g3/python-mpop-1.0.0/doc'
  make[1]: Leaving directory '/home/lamby/temp/cdt.20160206082813.bm9Dtvm7g3/python-mpop-1.0.0'
     debian/rules override_dh_auto_test
  make[1]: Entering directory '/home/lamby/temp/cdt.20160206082813.bm9Dtvm7g3/python-mpop-1.0.0'
  pyversions: missing X(S)-Python-Version in control file, fall back to debian/pyversions
  pyversions: missing debian/pyversions file, fall back to supported versions
  set -e -x; \
  for py in 2.7; do \
  	env PYTHONPATH=. PPP_CONFIG_DIR=debian/etc/mpop python$py -m unittest discover mpop; \
  	env PYTHONPATH=. PPP_CONFIG_DIR=debian/etc/mpop python$py -m unittest discover test; \
  done
  + env PYTHONPATH=. PPP_CONFIG_DIR=debian/etc/mpop python2.7 -m unittest discover mpop
  .........[WARNING: 2016-02-06 08:29:53 : mpop] Can't load data, no config file for 
  [WARNING: 2016-02-06 08:29:53 : mpop] Can't load data, no config file for 
  [WARNING: 2016-02-06 08:29:53 : mpop] Can't load data, no config file for 
  ..[WARNING: 2016-02-06 08:29:53 : mpop] Cannot project nonloaded channels: set([<mpop.channel.Channel object at 0x7f56e58fdc50>]).
  ....[WARNING: 2016-02-06 08:29:53 : mpop] CO2 correction not performed, channel data missing.
  ........................[WARNING: 2016-02-06 08:29:53 : imageo] Nothing to stretch !
  [WARNING: 2016-02-06 08:29:53 : imageo] Nothing to stretch !
  [WARNING: 2016-02-06 08:29:53 : imageo] Nothing to stretch !
  [WARNING: 2016-02-06 08:29:53 : imageo] Nothing to stretch !
  [WARNING: 2016-02-06 08:29:53 : imageo] Nothing to stretch !
  [WARNING: 2016-02-06 08:29:53 : imageo] Nothing to stretch !
  [WARNING: 2016-02-06 08:29:53 : imageo] Nothing to stretch !
  E.[WARNING: 2016-02-06 08:29:53 : imageo] Nothing to stretch !
  [WARNING: 2016-02-06 08:29:53 : imageo] Nothing to stretch !
  [WARNING: 2016-02-06 08:29:53 : imageo] Nothing to stretch !
  [WARNING: 2016-02-06 08:29:53 : imageo] Nothing to stretch !
  [WARNING: 2016-02-06 08:29:53 : imageo] Nothing to stretch !
  [WARNING: 2016-02-06 08:29:53 : imageo] Nothing to stretch !
  [WARNING: 2016-02-06 08:29:53 : imageo] Nothing to stretch !
  [WARNING: 2016-02-06 08:29:53 : imageo] Nothing to stretch !
  [WARNING: 2016-02-06 08:29:53 : imageo] Nothing to stretch !
  [WARNING: 2016-02-06 08:29:53 : imageo] Nothing to stretch !
  ../usr/lib/python2.7/dist-packages/numpy/ma/core.py:3113: FutureWarning: Currently, slicing will try to return a view of the data, but will return a copy of the mask. In the future, it will try to return both as views.
    FutureWarning
  /usr/lib/python2.7/dist-packages/numpy/ma/core.py:3192: FutureWarning: Currently, slicing will try to return a view of the data, but will return a copy of the mask. In the future, it will try to return both as views. This means that using `__setitem__` will propagate values back through all masks that are present.
    FutureWarning
  ...........E............
  ======================================================================
  ERROR: test_stretch (imageo.test_image.TestFlatImage)
  Stretch a flat image.
  ----------------------------------------------------------------------
  Traceback (most recent call last):
    File "/home/lamby/temp/cdt.20160206082813.bm9Dtvm7g3/python-mpop-1.0.0/mpop/imageo/test_image.py", line 713, in test_stretch
      self.img.stretch("histogram")
    File "mpop/imageo/image.py", line 824, in stretch
      self.stretch_hist_equalize(i, **kwarg)
    File "mpop/imageo/image.py", line 878, in stretch_hist_equalize
      imhist, bins = np.histogram(carr, nwidth, normed=True)
    File "/usr/lib/python2.7/dist-packages/numpy/lib/function_base.py", line 386, in histogram
      n = np.zeros(bins, ntype)
  TypeError: 'float' object cannot be interpreted as an index
  
  ======================================================================
  ERROR: test_stretch (imageo.test_image.TestRegularImage)
  Stretch an image.
  ----------------------------------------------------------------------
  Traceback (most recent call last):
    File "/home/lamby/temp/cdt.20160206082813.bm9Dtvm7g3/python-mpop-1.0.0/mpop/imageo/test_image.py", line 461, in test_stretch
      self.img.stretch("linear")
    File "mpop/imageo/image.py", line 821, in stretch
      self.stretch_linear(i, **kwarg)
    File "mpop/imageo/image.py", line 929, in stretch_linear
      hist, bins = np.histogram(carr, nwidth)
    File "/usr/lib/python2.7/dist-packages/numpy/lib/function_base.py", line 386, in histogram
      n = np.zeros(bins, ntype)
  TypeError: 'float' object cannot be interpreted as an index
  
  ----------------------------------------------------------------------
  Ran 67 tests in 0.201s
  
  FAILED (errors=2)
  debian/rules:22: recipe for target 'override_dh_auto_test' failed
  make[1]: *** [override_dh_auto_test] Error 1
  make[1]: Leaving directory '/home/lamby/temp/cdt.20160206082813.bm9Dtvm7g3/python-mpop-1.0.0'
  debian/rules:11: recipe for target 'build' failed
  make: *** [build] Error 2

  [..]

The full build log is attached.


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: python-mpop.1.0.0-1.unstable.amd64.log.txt.gz
Type: application/octet-stream
Size: 3347 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20160206/c59e74e9/attachment.obj>


More information about the Reproducible-builds mailing list