Control: retitle -1 pymc FTBFS with test failure: ValueError: size is not 
compatible with inputs

On Mon, Dec 19, 2016 at 10:11:33PM +0100, Lucas Nussbaum wrote:
>...
> During a rebuild of all packages in sid, your package failed to build on
> amd64.
> 
> Relevant part (hopefully):
> > make[1]: Entering directory '/<<BUILDDIR>>/pymc-2.2+ds'
> > dh_auto_clean
> > dh_auto_clean: Compatibility levels before 9 are deprecated (level 7 in use)
> >     python setup.py clean -a
> > /usr/lib/python2.7/dist-packages/numpy/distutils/system_info.py:572: 
> > UserWarning: 
> >     Atlas (http://math-atlas.sourceforge.net/) libraries not found.
> >     Directories to search for the libraries can be specified in the
> >     numpy/distutils/site.cfg file (section [atlas]) or by setting
> >     the ATLAS environment variable.
> >   self.calc_info()
> > /usr/bin/ld: cannot find -lcblas
> > collect2: error: ld returned 1 exit status
>...

The actual failure is a test failure later in the build:

...
======================================================================
ERROR: Failure: ValueError (size is not compatible with inputs)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/loader.py", line 418, 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 
"/<<BUILDDIR>>/pymc-2.2+ds/build/lib.linux-x86_64-2.7/pymc/tests/test_special_methods.py",
 line 16, in <module>
    pm.Binomial('x3',100,.4),
  File 
"/<<BUILDDIR>>/pymc-2.2+ds/build/lib.linux-x86_64-2.7/pymc/distributions.py", 
line 270, in __init__
    Stochastic.__init__(self, logp=logp, random=random, logp_partial_gradients 
= logp_partial_gradients, dtype=dtype, **arg_dict_out)
  File 
"/<<BUILDDIR>>/pymc-2.2+ds/build/lib.linux-x86_64-2.7/pymc/PyMCObjects.py", 
line 705, in __init__
    verbose=verbose)
  File "/<<BUILDDIR>>/pymc-2.2+ds/build/lib.linux-x86_64-2.7/pymc/Node.py", 
line 201, in __init__
    Node.__init__(self, doc, name, parents, cache_depth, verbose=verbose)
  File "/<<BUILDDIR>>/pymc-2.2+ds/build/lib.linux-x86_64-2.7/pymc/Node.py", 
line 119, in __init__
    self.parents = parents
  File "/<<BUILDDIR>>/pymc-2.2+ds/build/lib.linux-x86_64-2.7/pymc/Node.py", 
line 140, in _set_parents
    self.gen_lazy_function()
  File 
"/<<BUILDDIR>>/pymc-2.2+ds/build/lib.linux-x86_64-2.7/pymc/PyMCObjects.py", 
line 730, in gen_lazy_function
    self.value = self._random(**self._parents.value)
  File 
"/<<BUILDDIR>>/pymc-2.2+ds/build/lib.linux-x86_64-2.7/pymc/distributions.py", 
line 110, in newfun
    return randfun(size=shape, *args, **kwargs)
  File 
"/<<BUILDDIR>>/pymc-2.2+ds/build/lib.linux-x86_64-2.7/pymc/distributions.py", 
line 724, in rbinomial
    return np.random.binomial(np.ravel(n),np.ravel(p),size)
  File "mtrand.pyx", line 3788, in mtrand.RandomState.binomial 
(numpy/random/mtrand/mtrand.c:32376)
  File "mtrand.pyx", line 388, in mtrand.discnp_array 
(numpy/random/mtrand/mtrand.c:9960)
ValueError: size is not compatible with inputs

----------------------------------------------------------------------
Ran 111 tests in 4.814s

FAILED (SKIP=7, errors=1)
Plotting disabled
debian/rules:41: recipe for target 'override_dh_auto_test' failed
make[1]: *** [override_dh_auto_test] Error 1


cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed

Reply via email to