[winswitch] error or not

Antoine Martin antoine at nagafix.co.uk
Mon Aug 29 04:26:56 BST 2016


On 29/08/16 04:44, Michael Durkin via shifter-users wrote:
> Im not sure if this is a bug or just too old of ubuntu built on ...
> trusty 14.04 ...
Ubuntu Trusty will be supported in the next release so this is
definitely possible.
With trunk, unless you build against private ffmpeg headers as per:
http://xpra.org/trac/ticket/1256
you may need to build "--without-csc_swcale".
The v0.17.x branch may require more patching still and is not supported
with trusty.

> Cythonizing xpra/x11/bindings/keyboard_bindings.pyx
> 
> Error compiling Cython file:
> ------------------------------------------------------------
> ...
>         cdef XkbRF_VarDefsRec rdefs
>         cdef XkbComponentNamesRec rnames
>         cdef char *locale = setlocale(LC_ALL, NULL)
>         log("setxkbmap: using locale=%s", locale)
> 
>         rdefs.model = model or b""
>                            ^
> ------------------------------------------------------------
> 
> xpra/x11/bindings/keyboard_bindings.pyx:273:28: Obtaining 'char *' from
> temporary Python value
> Traceback (most recent call last):
>   File "setup.py", line 2388, in <module>
>     setup_options["ext_modules"] = cythonize(ext_modules, gdb_debug=False)
>   File "/usr/lib/python2.7/dist-packages/Cython/Build/Dependencies.py",
> line 798, in cythonize
>     cythonize_one(*args[1:])
>   File "/usr/lib/python2.7/dist-packages/Cython/Build/Dependencies.py",
> line 915, in cythonize_one
>     raise CompileError(None, pyx_file)
> Cython.Compiler.Errors.CompileError: xpra/x11/bindings/keyboard_bindings.pyx
> odroid at odroid:~/Downloads/xpra-0.17.5$
Try with this changeset for older versions of Cython:
http://xpra.org/trac/changeset/13488
You may also need to apply this patch for building trunk with an old
version of Cython:
http://xpra.org/trac/browser/xpra/trunk/src/patches/compile-with-old-cython.patch?rev=13489

Cheers
Antoine



More information about the shifter-users mailing list