[Python-modules-team] Bug#812114: jsonpickle: FTBFS: SyntaxError: unexpected EOF while parsing

Chris Lamb lamby at debian.org
Wed Jan 20 18:06:51 UTC 2016


Source: jsonpickle
Version: 0.9.2-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,

jsonpickle fails to build from source in unstable/amd64:

  [..]
  
  ======================================================================
  ERROR: test_ndarray_roundtrip (numpy_test.NumpyTestCase)
  ----------------------------------------------------------------------
  Traceback (most recent call last):
    File "/home/lamby/temp/cdt.20160120190203.sPKSaEICvX/jsonpickle-0.9.2/tests/numpy_test.py", line 103, in test_ndarray_roundtrip
      decoded = self.roundtrip(array)
    File "/home/lamby/temp/cdt.20160120190203.sPKSaEICvX/jsonpickle-0.9.2/tests/numpy_test.py", line 32, in roundtrip
      return jsonpickle.decode(jsonpickle.encode(obj))
    File "/home/lamby/temp/cdt.20160120190203.sPKSaEICvX/jsonpickle-0.9.2/jsonpickle/__init__.py", line 148, in decode
      return unpickler.decode(string, backend=backend, keys=keys)
    File "/home/lamby/temp/cdt.20160120190203.sPKSaEICvX/jsonpickle-0.9.2/jsonpickle/unpickler.py", line 26, in decode
      return context.restore(backend.decode(string), reset=reset)
    File "/home/lamby/temp/cdt.20160120190203.sPKSaEICvX/jsonpickle-0.9.2/jsonpickle/unpickler.py", line 119, in restore
      value = self._restore(obj)
    File "/home/lamby/temp/cdt.20160120190203.sPKSaEICvX/jsonpickle-0.9.2/jsonpickle/unpickler.py", line 159, in _restore
      return restore(obj)
    File "/home/lamby/temp/cdt.20160120190203.sPKSaEICvX/jsonpickle-0.9.2/jsonpickle/unpickler.py", line 235, in _restore_object
      instance = handler(self).restore(obj)
    File "/home/lamby/temp/cdt.20160120190203.sPKSaEICvX/jsonpickle-0.9.2/jsonpickle/ext/numpy.py", line 49, in restore
      dtype = self.restore_dtype(data)
    File "/home/lamby/temp/cdt.20160120190203.sPKSaEICvX/jsonpickle-0.9.2/jsonpickle/ext/numpy.py", line 19, in restore_dtype
      return np.dtype(dtype)
    File "/usr/lib/python2.7/dist-packages/numpy/core/_internal.py", line 191, in _commastring
      newitem = (dtype, eval(repeats))
    File "<string>", line 1
      (
      ^
  SyntaxError: unexpected EOF while parsing
  
  ----------------------------------------------------------------------
  Ran 230 tests in 0.166s
  
  FAILED (errors=1, skipped=9)
  E: pybuild pybuild:274: test: plugin custom failed with: exit code=1: tests/runtests.py
  dh_auto_test: pybuild --test -i python{version} -p 2.7 --dir . returned exit code 13
  debian/rules:10: recipe for target 'override_dh_auto_test' failed
  make[1]: *** [override_dh_auto_test] Error 25
  make[1]: Leaving directory '/home/lamby/temp/cdt.20160120190203.sPKSaEICvX/jsonpickle-0.9.2'
  debian/rules:7: 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: jsonpickle.0.9.2-1.unstable.amd64.log.txt.gz
Type: application/octet-stream
Size: 3991 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/python-modules-team/attachments/20160120/76efdbad/attachment.obj>


More information about the Python-modules-team mailing list