Package: src:pyevolve
Version: 0.6~rc1+svn398+dfsg-9
Severity: serious

Dear maintainer:

I tried to build this package with "dpkg-buildpackage -A"
(which is what the "Arch: all" autobuilder would do to build it)
but it failed:

--------------------------------------------------------------------------------
[...]
 debian/rules build-indep
dh  build-indep --with python2,sphinxdoc --buildsystem=pybuild
   dh_testdir -i -O--buildsystem=pybuild
   dh_update_autotools_config -i -O--buildsystem=pybuild
   dh_auto_configure -i -O--buildsystem=pybuild
I: pybuild base:184: python2.7 setup.py config 
running config
   debian/rules override_dh_auto_build
make[1]: Entering directory '/<<BUILDDIR>>/pyevolve-0.6~rc1+svn398+dfsg'
dh_auto_build
I: pybuild base:184: /usr/bin/python setup.py build 
running build
running build_py

[... snipped ...]

   
   .. versionadded:: 0.6
      The *GTreeGPMutatorSubtree* function
   
        Slot [Crossover] (Count: 1)
                Name: GTreeGPCrossoverSinglePoint - Weight: 0.50
                Doc:  The crossover of the GTreeGP, Single Point for Genetic 
Programming

   ..note:: This crossover method creates offspring with restriction of the
            *max_depth* parameter.
   
   Accepts the *max_attempt* parameter, *max_depth* (required).   
   

- GTree
        Height:                 2
        Nodes:                  5

GTreeNodeBase [Childs=2] - [gp_mul]
  GTreeNodeBase [Childs=2] - [gp_add]
    GTreeNodeBase [Childs=0] - [a]
    GTreeNodeBase [Childs=0] - [a]
  GTreeNodeBase [Childs=0] - [b]

- GTreeGP
        Expression: gp_mul(gp_add(a, a), b)

Traceback (most recent call last):
  File "pyevolve_ex19_gp.py", line 85, in <module>
    main_run()
  File "pyevolve_ex19_gp.py", line 82, in main_run
    graph.write_jpeg('tree.png', prog='dot')
  File "/usr/lib/python2.7/dist-packages/pydot.py", line 1746, in <lambda>
    lambda path, f=frmt, prog=self.prog: self.write(path, format=f, prog=prog)
  File "/usr/lib/python2.7/dist-packages/pydot.py", line 1851, in write
    fobj.write(self.create(prog, format))
  File "/usr/lib/python2.7/dist-packages/pydot.py", line 1961, in create
    status, stderr_output))
pydot.InvocationException: Program terminated with status: 1. stderr follows: 
Format: "jpeg" not recognized. Use one of: canon cmap cmapx cmapx_np dot eps 
fig gd gd2 gv imap imap_np ismap pdf pic plain plain-ext png pov ps ps2 svg 
svgz tk vml vmlz x11 xdot xdot1.2 xdot1.4 xlib

E: pybuild pybuild:274: test: plugin custom failed with: exit code=1: /bin/sh 
/<<BUILDDIR>>/pyevolve-0.6~rc1+svn398+dfsg/debian/tests/run-most-examples
dh_auto_test: pybuild --test -i python{version} -p 2.7 returned exit code 13
debian/rules:37: recipe for target 'override_dh_auto_test' failed
make[1]: *** [override_dh_auto_test] Error 25
make[1]: Leaving directory '/<<BUILDDIR>>/pyevolve-0.6~rc1+svn398+dfsg'
debian/rules:22: recipe for target 'build-indep' failed
make: *** [build-indep] Error 2
dpkg-buildpackage: error: debian/rules build-indep gave error exit status 2
--------------------------------------------------------------------------------

Because this source package only generates "Arch: all" packages, this
is the same as a FTBFS bug in the usual sense and the fact that I was
using "dpkg-buildpackage -A" is quite irrelevant.

For this particular package, I've also checked that it fails to build
from source in the reproducible builds site:

https://tests.reproducible-builds.org/

Thanks.

Reply via email to