archlinux 64 xpra-winswitch 0.11.1-1 => xpra-winswitch dependencies:
community/cython 0.20-1
Error compiling Cython file: ------------------------------------------------------------ ... self.pixel_format = ARGB else: self.pixel_format = BGRA else: raise Exception("invalid image depth: %s bpp" % self.depth) assert self.pixel_format in RGB_FORMATS ^ ------------------------------------------------------------
compile fine with downgrade to cython2-0.19.2-1
r5271 removes the offending line, which didn't do anything anyway. (will backport to v0.11.x)
Hopefully, this is the only problem with Cython 0.20, which I have only tested with win32 and OSX...
Backported in r5273 (will be included in 0.11.2), tested on Ubuntu 13.10 and Fedora 20, closing.
Seems to be another one
cythoning xpra/codecs/nvenc/encoder.pyx to xpra/codecs/nvenc/encoder.c Error compiling Cython file: ------------------------------------------------------------ ... self.cuda_context = self.cuda_device.make_context(flags=driver.ctx_flags.SCHED_AUTO | driver.ctx_flags.MAP_HOST) debug("init_cuda() cuda_context=%s", self.cuda_context) self.cuda_device_info = { "device.name" : self.cuda_device.name(), "device.pci_bus_id" : self.cuda_device.pci_bus_id() "device.memory" : self.cuda_device.total_memory()/1024/1024, ^ ------------------------------------------------------------ xpra/codecs/nvenc/encoder.pyx:1328:16: Expected '}', found 'BEGIN_STRING' building 'xpra.codecs.nvenc.encoder' extension creating build/temp.linux-x86_64-2.7/xpra/codecs/nvenc gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --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-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -I/opt/cuda/include -I/opt/nvenc_3.0_linux_sdk/Samples/core/include -I/opt/nvenc_3.0_linux_sdk/Samples/nvEncodeApp/inc -I/usr/include/python2.7 -c xpra/codecs/nvenc/encoder.c -o build/temp.linux-x86_64-2.7/xpra/codecs/nvenc/encoder.o -Wall -Werror=implicit-function-declaration -fPIC xpra/codecs/nvenc/encoder.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
I added a comma and recompiled. It seems to have worked is this correct?
I've attached the patch
Yes, applied in r5291, thanks.
(this one broke all versions of Cython - not just 0.20)
this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/503