[Python-modules-team] Bug#873501: kivy FTBFS with Cython 0.26

Adrian Bunk bunk at debian.org
Mon Aug 28 12:54:39 UTC 2017


Source: kivy
Version: 1.9.1-1
Severity: serious
Tags: buster sid

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

...
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/local/include/SDL2 -I/usr/include/SDL2 -I/usr/include/python2.7 -c kivy/core/text/_text_sdl2.c -o build/temp.linux-amd64-2.7/kivy/core/text/_text_sdl2.o
x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -Wdate-time -D_FORTIFY_SOURCE=2 -g -fdebug-prefix-map=/build/python2.7-qMUuQf/python2.7-2.7.13=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-amd64-2.7/kivy/core/text/_text_sdl2.o -lGL -lSDL2 -lSDL2_ttf -lSDL2_image -lSDL2_mixer -o /build/1st/kivy-1.9.1/.pybuild/pythonX.Y_2.7/build/kivy/core/text/_text_sdl2.so -L/usr/local/include/SDL2 -L/usr/include/SDL2 -lm
cythoning kivy/graphics/opengl.pyx to kivy/graphics/opengl.c
 
 Error compiling Cython file:
 ------------------------------------------------------------
 ...
 def glCheckFramebufferStatus(GLenum target):
     '''See: `glCheckFramebufferStatus() on Kronos website
     <http://www.khronos.org/opengles/sdk/docs/man/xhtml/glCheckFramebufferStatus.xml>`_
     '''
     cdef GLenum result
     result = c_opengl.CheckFramebufferStatus(target)
                     ^
 ------------------------------------------------------------
 
 kivy/graphics/opengl.pyx:544:21: cimported module has no attribute 'CheckFramebufferStatus'
building 'kivy.graphics.opengl' extension
creating build/temp.linux-amd64-2.7/kivy/graphics
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 kivy/graphics/opengl.c -o build/temp.linux-amd64-2.7/kivy/graphics/opengl.o
kivy/graphics/opengl.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 Python-modules-team mailing list