xpra icon
Bug tracker and wiki

This bug tracker and wiki are being discontinued
please use https://github.com/Xpra-org/xpra instead.

Opened 8 years ago

Closed 8 years ago

Last modified 16 months ago

#523 closed defect (fixed)

Fedora 19 Cython Compile error

Reported by: Smo Owned by: Smo
Priority: major Milestone: 0.12
Component: core Version: trunk
Keywords: Cc:


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:

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)

Change History (4)

comment:1 Changed 8 years ago by Antoine Martin

Owner: changed from Antoine Martin to Smo

r5599 should fix that.

comment:2 Changed 8 years ago by Smo

Compiles now without error

comment:3 Changed 8 years ago by Antoine Martin

Resolution: fixed
Status: newclosed

comment:4 Changed 16 months ago by migration script

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

Note: See TracTickets for help on using tickets.