Bug#873509: python-admesh FTBFS with Cython 0.26

Adrian Bunk bunk at debian.org
Mon Aug 28 14:34:08 UTC 2017


Source: python-admesh
Version: 0.98.7-1
Severity: serious

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/python-admesh.html

...
   dh_auto_build -O--buildsystem=pybuild
I: pybuild base:184: /usr/bin/python setup.py build 
running build
running build_ext
generating cadmesh.pxd and admesh.pyx
found /usr/include/admesh/stl.h
cythoning admesh.pyx to admesh.c

Error compiling Cython file:
------------------------------------------------------------
...

    def write_edge(self, edge, label='admesh'):
        """stl_write_edge"""
        
        by_label = label.encode('UTF-8')
        stl_write_edge(&self._c_stl_file, by_label, edge)
                                                       ^
------------------------------------------------------------

admesh.pyx:224:56: Cannot convert Python object to 'stl_hash_edge'
building 'admesh' extension
creating build
creating build/temp.linux-amd64-2.7
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python2.7 -c admesh.c -o build/temp.linux-amd64-2.7/admesh.o
admesh.c:1:2: error: #error Do not use this file, it is the result of a failed Cython compilation.
 #error Do not use this file, it is the result of a failed Cython compilation.
  ^~~~~
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
E: pybuild pybuild:283: build: plugin distutils failed with: exit code=1: /usr/bin/python setup.py build 
dh_auto_build: pybuild --build -i python{version} -p 2.7 returned exit code 13
debian/rules:6: recipe for target 'build' failed
make: *** [build] Error 25



More information about the debian-science-maintainers mailing list