Bug#843107: python-mpop: FTBFS: ImportError: No module named trollsift.parser
Chris Lamb
lamby at debian.org
Thu Nov 3 21:30:37 UTC 2016
Source: python-mpop
Version: 1.3.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:
[…]
creating build/lib.linux-x86_64-2.7/mpop/tests
copying mpop/tests/test_geo_image.py -> build/lib.linux-x86_64-2.7/mpop/tests
copying mpop/tests/test_doc.py -> build/lib.linux-x86_64-2.7/mpop/tests
copying mpop/tests/__init__.py -> build/lib.linux-x86_64-2.7/mpop/tests
copying mpop/tests/test_mipp.py -> build/lib.linux-x86_64-2.7/mpop/tests
copying mpop/tests/test_scene.py -> build/lib.linux-x86_64-2.7/mpop/tests
copying mpop/tests/test_plugin.py -> build/lib.linux-x86_64-2.7/mpop/tests
copying mpop/tests/test_seviri.py -> build/lib.linux-x86_64-2.7/mpop/tests
copying mpop/tests/test_channel.py -> build/lib.linux-x86_64-2.7/mpop/tests
copying mpop/tests/test_image.py -> build/lib.linux-x86_64-2.7/mpop/tests
copying mpop/tests/test_visir.py -> build/lib.linux-x86_64-2.7/mpop/tests
copying mpop/tests/test_satin_helpers.py -> build/lib.linux-x86_64-2.7/mpop/tests
copying mpop/tests/test_nc_pps_l2.py -> build/lib.linux-x86_64-2.7/mpop/tests
copying mpop/tests/test_satellites.py -> build/lib.linux-x86_64-2.7/mpop/tests
copying mpop/tests/test_pp_core.py -> build/lib.linux-x86_64-2.7/mpop/tests
copying mpop/tests/test_projector.py -> build/lib.linux-x86_64-2.7/mpop/tests
copying mpop/tests/test_viirs_sdr.py -> build/lib.linux-x86_64-2.7/mpop/tests
env PYTHONPATH=/home/lamby/temp/cdt.20161103212915.XxOo8TNjqe.db.python-mpop/python-mpop-1.3.0 PPP_CONFIG_DIR=/home/lamby/temp/cdt.20161103212915.XxOo8TNjqe.db.python-mpop/python-mpop-1.3.0/etc \
/usr/bin/make -C doc html
make[2]: Entering directory '/home/lamby/temp/cdt.20161103212915.XxOo8TNjqe.db.python-mpop/python-mpop-1.3.0/doc'
sphinx-build -b html -d build/doctrees source build/html
Running Sphinx v1.4.8
making output directory...
loading pickled environment... not yet created
loading intersphinx inventory from /usr/share/doc/python-doc/html/objects.inv...
building [mo]: targets for 0 po files that are out of date
building [html]: targets for 7 source files that are out of date
updating environment: 7 added, 0 changed, 0 removed
reading sources... [ 14%] image
reading sources... [ 28%] index
reading sources... [ 42%] input
reading sources... [ 57%] install
reading sources... [ 71%] pp
reading sources... [ 85%] quickstart
reading sources... [100%] saturn
/home/lamby/temp/cdt.20161103212915.XxOo8TNjqe.db.python-mpop/python-mpop-1.3.0/mpop/satin/viirs_sdr.py:docstring of mpop.satin.viirs_sdr.ViirsSDRReader.get_sunsat_angles:4: ERROR: Unexpected indentation.
/home/lamby/temp/cdt.20161103212915.XxOo8TNjqe.db.python-mpop/python-mpop-1.3.0/mpop/satin/viirs_sdr.py:docstring of mpop.satin.viirs_sdr.ViirsSDRReader.get_sunsat_angles:5: WARNING: Block quote ends without a blank line; unexpected unindent.
/home/lamby/temp/cdt.20161103212915.XxOo8TNjqe.db.python-mpop/python-mpop-1.3.0/doc/source/input.rst:58: 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 519, in import_object
__import__(self.modname)
File "/home/lamby/temp/cdt.20161103212915.XxOo8TNjqe.db.python-mpop/python-mpop-1.3.0/mpop/satin/hdfeos_l1b.py", line 41, in <module>
from trollsift.parser import Parser, globify
ImportError: No module named trollsift.parser
/home/lamby/temp/cdt.20161103212915.XxOo8TNjqe.db.python-mpop/python-mpop-1.3.0/doc/source/input.rst:85: 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 519, in import_object
__import__(self.modname)
File "/home/lamby/temp/cdt.20161103212915.XxOo8TNjqe.db.python-mpop/python-mpop-1.3.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.20161103212915.XxOo8TNjqe.db.python-mpop/python-mpop-1.3.0/doc/source/input.rst:94: 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 519, in import_object
__import__(self.modname)
File "/home/lamby/temp/cdt.20161103212915.XxOo8TNjqe.db.python-mpop/python-mpop-1.3.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.20161103212915.XxOo8TNjqe.db.python-mpop/python-mpop-1.3.0/doc/source/pp.rst:99: WARNING: Include file u'/home/lamby/temp/cdt.20161103212915.XxOo8TNjqe.db.python-mpop/satprod/etc/meteosat07.cfg' not found or reading it failed
/home/lamby/temp/cdt.20161103212915.XxOo8TNjqe.db.python-mpop/python-mpop-1.3.0/doc/source/pp.rst:117: WARNING: Include file u'/home/lamby/temp/cdt.20161103212915.XxOo8TNjqe.db.python-mpop/python-mpop-1.3.0/mpop/instruments/mviri.py' not found or reading it failed
/home/lamby/temp/cdt.20161103212915.XxOo8TNjqe.db.python-mpop/python-mpop-1.3.0/doc/source/pp.rst:128: WARNING: error while formatting arguments for mpop.scene.Satellite: unhashable type: 'list'
/home/lamby/temp/cdt.20161103212915.XxOo8TNjqe.db.python-mpop/python-mpop-1.3.0/mpop/scene.py:docstring of mpop.scene.SatelliteInstrumentScene.estimate_cth:2: SEVERE: Unexpected section title.
General purpose
===============
/home/lamby/temp/cdt.20161103212915.XxOo8TNjqe.db.python-mpop/python-mpop-1.3.0/mpop/scene.py:docstring of mpop.scene.SatelliteInstrumentScene.estimate_cth:6: ERROR: Unexpected indentation.
/home/lamby/temp/cdt.20161103212915.XxOo8TNjqe.db.python-mpop/python-mpop-1.3.0/mpop/scene.py:docstring of mpop.scene.SatelliteInstrumentScene.estimate_cth:10: WARNING: Block quote ends without a blank line; unexpected unindent.
/home/lamby/temp/cdt.20161103212915.XxOo8TNjqe.db.python-mpop/python-mpop-1.3.0/mpop/scene.py:docstring of mpop.scene.SatelliteInstrumentScene.estimate_cth:11: SEVERE: Unexpected section title.
Example call
============
/home/lamby/temp/cdt.20161103212915.XxOo8TNjqe.db.python-mpop/python-mpop-1.3.0/mpop/scene.py:docstring of mpop.scene.SatelliteInstrumentScene.estimate_cth:13: WARNING: Block quote ends without a blank line; unexpected unindent.
/home/lamby/temp/cdt.20161103212915.XxOo8TNjqe.db.python-mpop/python-mpop-1.3.0/mpop/scene.py:docstring of mpop.scene.SatelliteInstrumentScene.estimate_cth:14: SEVERE: Unexpected section title.
input arguments
===============
/home/lamby/temp/cdt.20161103212915.XxOo8TNjqe.db.python-mpop/python-mpop-1.3.0/mpop/scene.py:docstring of mpop.scene.SatelliteInstrumentScene.estimate_cth:19: WARNING: Block quote ends without a blank line; unexpected unindent.
/home/lamby/temp/cdt.20161103212915.XxOo8TNjqe.db.python-mpop/python-mpop-1.3.0/mpop/channel.py:docstring of mpop.channel.Channel.get_viewing_geometry:4: ERROR: Unexpected indentation.
/home/lamby/temp/cdt.20161103212915.XxOo8TNjqe.db.python-mpop/python-mpop-1.3.0/mpop/channel.py:docstring of mpop.channel.Channel.get_viewing_geometry:6: WARNING: Definition list ends without a blank line; unexpected unindent.
/home/lamby/temp/cdt.20161103212915.XxOo8TNjqe.db.python-mpop/python-mpop-1.3.0/mpop/channel.py:docstring of mpop.channel.Channel.get_viewing_geometry:8: WARNING: Block quote ends without a blank line; unexpected unindent.
/home/lamby/temp/cdt.20161103212915.XxOo8TNjqe.db.python-mpop/python-mpop-1.3.0/mpop/channel.py:docstring of mpop.channel.Channel.parallax_corr:7: ERROR: Unexpected indentation.
/home/lamby/temp/cdt.20161103212915.XxOo8TNjqe.db.python-mpop/python-mpop-1.3.0/mpop/channel.py:docstring of mpop.channel.Channel.parallax_corr:14: WARNING: Block quote ends without a blank line; unexpected unindent.
/home/lamby/temp/cdt.20161103212915.XxOo8TNjqe.db.python-mpop/python-mpop-1.3.0/mpop/channel.py:docstring of mpop.channel.Channel.parallax_corr:30: ERROR: Unexpected indentation.
/home/lamby/temp/cdt.20161103212915.XxOo8TNjqe.db.python-mpop/python-mpop-1.3.0/mpop/channel.py:docstring of mpop.channel.Channel.vinc_vect:15: ERROR: Unexpected indentation.
/home/lamby/temp/cdt.20161103212915.XxOo8TNjqe.db.python-mpop/python-mpop-1.3.0/doc/source/pp.rst:156: WARNING: error while formatting arguments for mpop.satellites.build_sat_instr_compositer: unhashable type: 'list'
/home/lamby/temp/cdt.20161103212915.XxOo8TNjqe.db.python-mpop/python-mpop-1.3.0/doc/source/pp.rst:156: WARNING: error while formatting arguments for mpop.satellites.get_sat_instr_compositer: unhashable type: 'list'
/home/lamby/temp/cdt.20161103212915.XxOo8TNjqe.db.python-mpop/python-mpop-1.3.0/mpop/tools.py:docstring of mpop.tools.estimate_cth:3: ERROR: Unexpected indentation.
/home/lamby/temp/cdt.20161103212915.XxOo8TNjqe.db.python-mpop/python-mpop-1.3.0/mpop/tools.py:docstring of mpop.tools.estimate_cth:18: WARNING: Block quote ends without a blank line; unexpected unindent.
looking for now-outdated files... none found
pickling environment... done
checking consistency... /home/lamby/temp/cdt.20161103212915.XxOo8TNjqe.db.python-mpop/python-mpop-1.3.0/doc/source/saturn.rst:: WARNING: document isn't included in any toctree
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.20161103212915.XxOo8TNjqe.db.python-mpop/python-mpop-1.3.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, 28 warnings.
Build finished. The HTML pages are in build/html.
make[2]: Leaving directory '/home/lamby/temp/cdt.20161103212915.XxOo8TNjqe.db.python-mpop/python-mpop-1.3.0/doc'
make[1]: Leaving directory '/home/lamby/temp/cdt.20161103212915.XxOo8TNjqe.db.python-mpop/python-mpop-1.3.0'
debian/rules override_dh_auto_test
make[1]: Entering directory '/home/lamby/temp/cdt.20161103212915.XxOo8TNjqe.db.python-mpop/python-mpop-1.3.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 setup.py test; \
done
+ env PYTHONPATH=. PPP_CONFIG_DIR=debian/etc/mpop python2.7 setup.py test
/usr/lib/python2.7/dist-packages/setuptools/dist.py:331: UserWarning: Normalizing 'v1.3.0' to '1.3.0'
normalized_version,
running test
running egg_info
creating mpop.egg-info
writing requirements to mpop.egg-info/requires.txt
writing mpop.egg-info/PKG-INFO
writing top-level names to mpop.egg-info/top_level.txt
writing dependency_links to mpop.egg-info/dependency_links.txt
writing manifest file 'mpop.egg-info/SOURCES.txt'
reading manifest file 'mpop.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'mpop.egg-info/SOURCES.txt'
running build_ext
test_boundaries_to_extent (mpop.tests.test_satin_helpers.TestSatinHelpers)
Test conversion of area boundaries to area extent. ... /usr/lib/python2.7/dist-packages/numpy/lib/nanfunctions.py:236: RuntimeWarning: All-NaN axis encountered
warnings.warn("All-NaN axis encountered", RuntimeWarning)
/usr/lib/python2.7/dist-packages/numpy/lib/nanfunctions.py:343: RuntimeWarning: All-NaN slice encountered
warnings.warn("All-NaN slice encountered", RuntimeWarning)
ok
test_area (mpop.tests.test_channel.TestGenericChannel)
Area setting and retrieving. ... ok
test_cmp (mpop.tests.test_channel.TestGenericChannel)
Comparison of generic channels. ... ok
test_init (mpop.tests.test_channel.TestGenericChannel)
Creation of a generic channel. ... ok
test_as_image (mpop.tests.test_channel.TestChannel)
Check the geo_image version of the channel. ... ok
test_check_range (mpop.tests.test_channel.TestChannel)
Check the range of a channel. ... ok
test_cmp (mpop.tests.test_channel.TestChannel)
Comparison of channels. ... ok
test_init (mpop.tests.test_channel.TestChannel)
Creation of a channel. ... ok
test_is_loaded (mpop.tests.test_channel.TestChannel)
Check load status of a channel. ... ok
test_str (mpop.tests.test_channel.TestChannel)
String output for a channel. ... ok
test_sunzen_corr (mpop.tests.test_channel.TestChannel)
Test Sun zenith angle correction. ... ok
test_creation (mpop.tests.test_image.TestImageCreation)
Creation of an image. ... ok
test_clip (mpop.tests.test_image.TestRegularImage)
Clip an image. ... ok
test_convert (mpop.tests.test_image.TestRegularImage)
Convert an image. ... ok
test_gamma (mpop.tests.test_image.TestRegularImage)
Gamma correction on an image. ... ok
test_invert (mpop.tests.test_image.TestRegularImage)
Invert an image. ... ok
test_is_empty (mpop.tests.test_image.TestRegularImage)
Test if an image is empty. ... ok
test_merge (mpop.tests.test_image.TestRegularImage)
Merging of an image with another. ... ok
test_pil_image (mpop.tests.test_image.TestRegularImage)
Return an PIL image. ... ok
test_putalpha (mpop.tests.test_image.TestRegularImage)
Add an alpha channel. ... ok
test_replace_luminance (mpop.tests.test_image.TestRegularImage)
Replace luminance in an image. ... ok
test_resize (mpop.tests.test_image.TestRegularImage)
Resize an image. ... ok
test_save (mpop.tests.test_image.TestRegularImage)
Save an image. ... ok
test_shape (mpop.tests.test_image.TestRegularImage)
Shape of an image. ... ok
test_stretch (mpop.tests.test_image.TestRegularImage)
Stretch an image. ... /home/lamby/temp/cdt.20161103212915.XxOo8TNjqe.db.python-mpop/python-mpop-1.3.0/mpop/imageo/image.py:1062: MaskedArrayFutureWarning: setting an item on a masked array which has a shared mask will not copy the mask and also change the original mask array in the future.
Check the NumPy 1.11 release notes for more information.
res[~res.mask] = np.interp(carr, bins, cdf)
ok
test_stretch (mpop.tests.test_image.TestFlatImage)
Stretch a flat image. ... No handlers could be found for logger "mpop.imageo.image"
ok
test_clip (mpop.tests.test_image.TestEmptyImage)
Clip an empty image. ... ok
test_convert (mpop.tests.test_image.TestEmptyImage)
Convert an empty image. ... ok
test_gamma (mpop.tests.test_image.TestEmptyImage)
Gamma correction on an empty image. ... ok
test_invert (mpop.tests.test_image.TestEmptyImage)
Invert an empty image. ... ok
test_is_empty (mpop.tests.test_image.TestEmptyImage)
Test if an image is empty. ... ok
test_merge (mpop.tests.test_image.TestEmptyImage)
Merging of an empty image with another. ... ok
test_pil_image (mpop.tests.test_image.TestEmptyImage)
Return an empty PIL image. ... ERROR
test_putalpha (mpop.tests.test_image.TestEmptyImage)
Add an alpha channel to en empty image ... ok
test_replace_luminance (mpop.tests.test_image.TestEmptyImage)
Replace luminance in an empty image. ... ok
test_resize (mpop.tests.test_image.TestEmptyImage)
Resize an empty image. ... ok
test_save (mpop.tests.test_image.TestEmptyImage)
Save an empty image. ... ok
test_shape (mpop.tests.test_image.TestEmptyImage)
Shape of an empty image. ... ok
test_stretch (mpop.tests.test_image.TestEmptyImage)
Stretch an empty image ... ok
test_stretch (mpop.tests.test_image.TestNoDataImage)
Stretch a no data image. ... ok
test_save (mpop.tests.test_geo_image.TestGeoImage)
Save a geo image. ... ok
test_save_geotiff (mpop.tests.test_geo_image.TestGeoImage)
Save to geotiff format. ... ok
test_save_geotiff_16 (mpop.tests.test_geo_image.TestGeoImage)
Save to geotiff 16-bits format. ... ok
test_save_geotiff_32 (mpop.tests.test_geo_image.TestGeoImage)
Save to geotiff 32-bits format. ... ok
test_save_geotiff_compress (mpop.tests.test_geo_image.TestGeoImage)
Save to geotiff format with compression. ... ok
test_save_geotiff_fill_value (mpop.tests.test_geo_image.TestGeoImage)
Save to geotiff format. ... ok
test_save_geotiff_fill_value_subst (mpop.tests.test_geo_image.TestGeoImage)
Save to geotiff format. ... ok
test_save_geotiff_floats (mpop.tests.test_geo_image.TestGeoImage)
Save to geotiff format with floats. ... ok
test_save_geotiff_geotransform (mpop.tests.test_geo_image.TestGeoImage)
Save to geotiff format with custom geotransform ... ok
test_init (mpop.tests.test_projector.TestProjector)
Creation of coverage. ... skipped 'temporarily disabled'
test_project_array (mpop.tests.test_projector.TestProjector)
Test the project_array function. ... ok
test_fullname (mpop.tests.test_scene.TestSatelliteScene)
Fullname of a sat scene. ... ok
test_init (mpop.tests.test_scene.TestSatelliteScene)
Creation of a satellite scene. ... ok
test_check_channels (mpop.tests.test_scene.TestSatelliteInstrumentScene)
Check loaded channels. ... ok
test_getitem (mpop.tests.test_scene.TestSatelliteInstrumentScene)
__getitem__ for sat scenes. ... ok
test_init (mpop.tests.test_scene.TestSatelliteInstrumentScene)
Creation of a satellite instrument scene. ... ok
test_init_area (mpop.tests.test_scene.TestSatelliteInstrumentScene)
Creation of a satellite instrument scene. ... ok
test_init_orbit (mpop.tests.test_scene.TestSatelliteInstrumentScene)
Creation of a satellite instrument scene. ... ok
test_init_time_slot (mpop.tests.test_scene.TestSatelliteInstrumentScene)
Creation of a satellite instrument scene. ... ok
test_load (mpop.tests.test_scene.TestSatelliteInstrumentScene)
Loading channels into a scene. ... ok
test_loaded_channels (mpop.tests.test_scene.TestSatelliteInstrumentScene)
Loaded channels list. ... ok
test_project (mpop.tests.test_scene.TestSatelliteInstrumentScene)
Projecting a scene. ... ok
test_setitem (mpop.tests.test_scene.TestSatelliteInstrumentScene)
__setitem__ for sat scenes. ... ok
======================================================================
ERROR: test_pil_image (mpop.tests.test_image.TestEmptyImage)
Return an empty PIL image.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/lamby/temp/cdt.20161103212915.XxOo8TNjqe.db.python-mpop/python-mpop-1.3.0/mpop/tests/test_image.py", line 184, in test_pil_image
pilimg = self.img.pil_image()
File "/home/lamby/temp/cdt.20161103212915.XxOo8TNjqe.db.python-mpop/python-mpop-1.3.0/mpop/imageo/image.py", line 408, in pil_image
return Pil.new(self.mode, (0, 0))
File "/usr/lib/python2.7/dist-packages/PIL/Image.py", line 2021, in new
_check_size(size)
File "/usr/lib/python2.7/dist-packages/PIL/Image.py", line 2001, in _check_size
raise ValueError("Width and Height must be > 0")
ValueError: Width and Height must be > 0
----------------------------------------------------------------------
Ran 63 tests in 0.306s
FAILED (errors=1, skipped=1)
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.20161103212915.XxOo8TNjqe.db.python-mpop/python-mpop-1.3.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.3.0-1.unstable.amd64.log.txt.gz
Type: application/octet-stream
Size: 11785 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-grass-devel/attachments/20161103/e572410c/attachment-0001.obj>
More information about the Pkg-grass-devel
mailing list