Xpra: Ticket #523: Fedora 19 Cython Compile error

Having problems building from trunk on fedora 19 here is the error.

cythoning xpra/codecs/enc_x264/encoder.pyx to xpra/codecs/enc_x264/encoder.c
building 'xpra.codecs.enc_x264.encoder' extension
creating build/temp.linux-x86_64-2.7/xpra/codecs/enc_x264
gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -O2 -fPIC -I/usr/include/python2.7 -c xpra/codecs/enc_x264/encoder.c -o build/temp.linux-x86_64-2.7/xpra/codecs/enc_x264/encoder.o -Wall -Werror=implicit-function-declaration -fPIC
gcc -pthread -shared -Wl,-z,relro -O2 build/temp.linux-x86_64-2.7/xpra/codecs/enc_x264/encoder.o -L/usr/lib64 -lx264 -lpython2.7 -o build/lib.linux-x86_64-2.7/xpra/codecs/enc_x264/encoder.so -Wall
cythoning xpra/codecs/dec_avcodec/decoder.pyx to xpra/codecs/dec_avcodec/decoder.c
Error compiling Cython file:
------------------------------------------------------------
...
    return (LIBAVCODEC_VERSION_MAJOR, LIBAVCODEC_VERSION_MINOR, LIBAVCODEC_VERSION_MICRO)
def get_info():
    f = {}
    for e in get_encodings():
        f["formats.%s" % e] = get_colorspaces(e)
                                            ^
------------------------------------------------------------
xpra/codecs/dec_avcodec/decoder.pyx:193:45: undeclared name not builtin: get_colorspaces
building 'xpra.codecs.dec_avcodec.decoder' extension
creating build/temp.linux-x86_64-2.7/xpra/codecs/dec_avcodec
creating build/temp.linux-x86_64-2.7/xpra/codecs/memalign
gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -O2 -fPIC -I/usr/include/ffmpeg -I/usr/include/python2.7 -c xpra/codecs/dec_avcodec/decoder.c -o build/temp.linux-x86_64-2.7/xpra/codecs/dec_avcodec/decoder.o -Wall -Werror=implicit-function-declaration -fPIC
xpra/codecs/dec_avcodec/decoder.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 'gcc' failed with exit status 1
error: Bad exit status from /var/tmp/rpm-tmp.13tYAd (%build)


Thu, 27 Feb 2014 04:13:51 GMT - Antoine Martin: owner changed

r5599 should fix that.


Thu, 27 Feb 2014 04:59:36 GMT - Smo:

Compiles now without error


Thu, 27 Feb 2014 05:34:03 GMT - Antoine Martin: status changed; resolution set


Sat, 23 Jan 2021 04:58:18 GMT - migration script:

this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/523