termux-user-repository / tur

A place for all types of Termux packages.
Other
445 stars 81 forks source link

[Package]: renpy #875

Open Veha0001 opened 7 months ago

Veha0001 commented 7 months ago

Name

Ren'Py

Home page URL

https://www.renpy.org/

Source code URL

https://github.com/renpy/renpy

Packaging policy acknowledgement

Additional information

Error compiling Cython file:

... sf.base = base sf.length = length sf.tell = 0

        rv = SDL_AllocRW()
        rv.size = subfile_size
                  ^

src/pygame_sdl2/rwobject.pyx:453:22: Cannot assign type 'Sint64 (SDL_RWops ) except? -1 nogil' to 'Sint64 ()(SDL_RWops ) noexcept'. Exception values are incompatible. Suggest adding 'noexcept' to type 'Sint64 (SDL_RWops ) except? -1 nogil'.

Error compiling Cython file:

... sf.length = length sf.tell = 0

        rv = SDL_AllocRW()
        rv.size = subfile_size
        rv.seek = subfile_seek
                  ^

src/pygame_sdl2/rwobject.pyx:454:22: Cannot assign type 'Sint64 (SDL_RWops , Sint64, int) except? -1 nogil' to 'Sint64 ()(SDL_RWops , Sint64, int) noexcept'. Exception values are incompatible. Suggest adding 'noexcept' to type 'Sint64 (SDL_RWops , Sint64, int) except? -1 nogil'.

Error compiling Cython file:

... sf.tell = 0

        rv = SDL_AllocRW()
        rv.size = subfile_size
        rv.seek = subfile_seek
        rv.read = subfile_read
                  ^

src/pygame_sdl2/rwobject.pyx:455:22: Cannot assign type 'size_t (SDL_RWops , void , size_t, size_t) except? -1 nogil' to 'size_t ()(SDL_RWops , void , size_t, size_t) noexcept'. Exception values are incompatible. Suggest adding 'noexcept' to type 'size_t (SDL_RWops , void *, size_t, size_t) except? -1 nogil'.

Error compiling Cython file:

... rv = SDL_AllocRW() rv.size = subfile_size rv.seek = subfile_seek rv.read = subfile_read rv.write = NULL rv.close = subfile_close ^

src/pygame_sdl2/rwobject.pyx:457:23: Cannot assign type 'int (SDL_RWops ) except? -1 nogil' to 'int ()(SDL_RWops ) noexcept'. Exception values are incompatible. Suggest adding 'noexcept' to type 'int (SDL_RWops ) except? -1 nogil'.

Error compiling Cython file:

... raise IOError("{!r} is not a filename or file-like object.".format(filelike))

Py_INCREF(filelike)

rv = SDL_AllocRW()
rv.size = python_size
          ^

src/pygame_sdl2/rwobject.pyx:474:14: Cannot assign type 'Sint64 (SDL_RWops ) except? -1 nogil' to 'Sint64 ()(SDL_RWops ) noexcept'. Exception values are incompatible. Suggest adding 'noexcept' to type 'Sint64 (SDL_RWops ) except? -1 nogil'.

Error compiling Cython file:

...

Py_INCREF(filelike)

rv = SDL_AllocRW()
rv.size = python_size
rv.seek = python_seek
          ^

src/pygame_sdl2/rwobject.pyx:475:14: Cannot assign type 'Sint64 (SDL_RWops , Sint64, int) except? -1 nogil' to 'Sint64 ()(SDL_RWops , Sint64, int) noexcept'. Exception values are incompatible. Suggest adding 'noexcept' to type 'Sint64 (SDL_RWops , Sint64, int) except? -1 nogil'.

Error compiling Cython file:

... Py_INCREF(filelike)

rv = SDL_AllocRW()
rv.size = python_size
rv.seek = python_seek
rv.read = python_read
          ^

src/pygame_sdl2/rwobject.pyx:476:14: Cannot assign type 'size_t (SDL_RWops , void , size_t, size_t) except? -1 nogil' to 'size_t ()(SDL_RWops , void , size_t, size_t) noexcept'. Exception values are incompatible. Suggest adding 'noexcept' to type 'size_t (SDL_RWops , void *, size_t, size_t) except? -1 nogil'.

Error compiling Cython file:

...

rv = SDL_AllocRW()
rv.size = python_size
rv.seek = python_seek
rv.read = python_read
rv.write = python_write
           ^

src/pygame_sdl2/rwobject.pyx:477:15: Cannot assign type 'size_t (SDL_RWops , const void , size_t, size_t) except? -1 nogil' to 'size_t ()(SDL_RWops , const void , size_t, size_t) noexcept'. Exception values are incompatible. Suggest adding 'noexcept' to type 'size_t (SDL_RWops , const void *, size_t, size_t) except? -1 nogil'.

Error compiling Cython file:

... rv = SDL_AllocRW() rv.size = python_size rv.seek = python_seek rv.read = python_read rv.write = python_write rv.close = python_close ^

src/pygame_sdl2/rwobject.pyx:478:15: Cannot assign type 'int (SDL_RWops ) except? -1 nogil' to 'int ()(SDL_RWops ) noexcept'. Exception values are incompatible. Suggest adding 'noexcept' to type 'int (SDL_RWops ) except? -1 nogil'.

Error compiling Cython file:

... bf.base = <Uint8 *> bf.view.buf bf.here = bf.base bf.stop = bf.base + bf.view.len

    rw = SDL_AllocRW()
    rw.size = buffile_size
              ^

src/pygame_sdl2/rwobject.pyx:702:18: Cannot assign type 'Sint64 (SDL_RWops ) except? -1 nogil' to 'Sint64 ()(SDL_RWops ) noexcept'. Exception values are incompatible. Suggest adding 'noexcept' to type 'Sint64 (SDL_RWops ) except? -1 nogil'.

Error compiling Cython file:

... bf.here = bf.base bf.stop = bf.base + bf.view.len

    rw = SDL_AllocRW()
    rw.size = buffile_size
    rw.seek = buffile_seek
              ^

src/pygame_sdl2/rwobject.pyx:703:18: Cannot assign type 'Sint64 (SDL_RWops , Sint64, int) except? -1 nogil' to 'Sint64 ()(SDL_RWops , Sint64, int) noexcept'. Exception values are incompatible. Suggest adding 'noexcept' to type 'Sint64 (SDL_RWops , Sint64, int) except? -1 nogil'.

Error compiling Cython file:

... bf.stop = bf.base + bf.view.len

    rw = SDL_AllocRW()
    rw.size = buffile_size
    rw.seek = buffile_seek
    rw.read = buffile_read
              ^

src/pygame_sdl2/rwobject.pyx:704:18: Cannot assign type 'size_t (SDL_RWops , void , size_t, size_t) except? -1 nogil' to 'size_t ()(SDL_RWops , void , size_t, size_t) noexcept'. Exception values are incompatible. Suggest adding 'noexcept' to type 'size_t (SDL_RWops , void *, size_t, size_t) except? -1 nogil'.

Error compiling Cython file:

...

    rw = SDL_AllocRW()
    rw.size = buffile_size
    rw.seek = buffile_seek
    rw.read = buffile_read
    rw.write = buffile_write
               ^

src/pygame_sdl2/rwobject.pyx:705:19: Cannot assign type 'size_t (SDL_RWops , const void , size_t, size_t) except? -1 nogil' to 'size_t ()(SDL_RWops , const void , size_t, size_t) noexcept'. Exception values are incompatible. Suggest adding 'noexcept' to type 'size_t (SDL_RWops , const void *, size_t, size_t) except? -1 nogil'.

Error compiling Cython file:

... rw = SDL_AllocRW() rw.size = buffile_size rw.seek = buffile_seek rw.read = buffile_read rw.write = buffile_write rw.close = buffile_close ^

src/pygame_sdl2/rwobject.pyx:706:19: Cannot assign type 'int (SDL_RWops ) except? -1 nogil' to 'int ()(SDL_RWops ) noexcept'. Exception values are incompatible. Suggest adding 'noexcept' to type 'int (SDL_RWops ) except? -1 nogil'.

Error compiling Cython file:

... sf.b = to_rwops(b) sf.split = SDL_RWsize(sf.a) sf.tell = 0

    rw = SDL_AllocRW()
    rw.size = splitfile_size
              ^

src/pygame_sdl2/rwobject.pyx:734:18: Cannot assign type 'Sint64 (SDL_RWops ) except? -1 nogil' to 'Sint64 ()(SDL_RWops ) noexcept'. Exception values are incompatible. Suggest adding 'noexcept' to type 'Sint64 (SDL_RWops ) except? -1 nogil'.

Error compiling Cython file:

... sf.split = SDL_RWsize(sf.a) sf.tell = 0

    rw = SDL_AllocRW()
    rw.size = splitfile_size
    rw.seek = splitfile_seek
              ^

src/pygame_sdl2/rwobject.pyx:735:18: Cannot assign type 'Sint64 (SDL_RWops , Sint64, int) except? -1 nogil' to 'Sint64 ()(SDL_RWops , Sint64, int) noexcept'. Exception values are incompatible. Suggest adding 'noexcept' to type 'Sint64 (SDL_RWops , Sint64, int) except? -1 nogil'.

Error compiling Cython file:

... sf.tell = 0

    rw = SDL_AllocRW()
    rw.size = splitfile_size
    rw.seek = splitfile_seek
    rw.read = splitfile_read
              ^

src/pygame_sdl2/rwobject.pyx:736:18: Cannot assign type 'size_t (SDL_RWops , void , size_t, size_t) except? -1 nogil' to 'size_t ()(SDL_RWops , void , size_t, size_t) noexcept'. Exception values are incompatible. Suggest adding 'noexcept' to type 'size_t (SDL_RWops , void *, size_t, size_t) except? -1 nogil'.

Error compiling Cython file:

... rw = SDL_AllocRW() rw.size = splitfile_size rw.seek = splitfile_seek rw.read = splitfile_read rw.write = NULL rw.close = splitfile_close ^

src/pygame_sdl2/rwobject.pyx:738:19: Cannot assign type 'int (SDL_RWops ) except? -1 nogil' to 'int ()(SDL_RWops ) noexcept'. Exception values are incompatible. Suggest adding 'noexcept' to type 'int (SDL_RWops ) except? -1 nogil'.

Command '['cython', '--3str', '-X', 'profile=False', '-X', 'embedsignature=True', '-Iinclude', '-Igen3', '-a', 'src/pygame_sdl2/rwobject.pyx', '-o', 'gen3/pygame_sdl2.rwobject.c']' returned non-zero exit status 1.


And to build renpy , I haven't tried yet.
Is anyone know to build this renpy engine to work on temux-x11.  And then to run DDLC!
IntinteDAO commented 6 months ago

Can you upload build.sh file?

licy183 commented 6 months ago

Per https://bugs.gentoo.org/911781, renpy doesn't compile with Cython 3. Please try pip install cython<3 and then pip install renpy.