[Bug 2258796] Review Request: python-kivy - Open source UI framework

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=2258796



--- Comment #4 from Benson Muite <benson_muite@xxxxxxxxxxxxx> ---
When building locally, the following are reported as errors:

/home/fedora/python-kivy/kivy-2.3.0/kivy/graphics/cgl_backend/cgl_gl.c: In
function ‘__pyx_f_4kivy_8graphics_11cgl_backend_6cgl_gl_link_static’:
/home/fedora/python-kivy/kivy-2.3.0/kivy/graphics/cgl_backend/cgl_gl.c:4544:52:
error: assignment to ‘void (*)(GLuint,  GLsizei,  const GLchar **, const GLint
*)’ {aka ‘void (*)(unsigned int,  int,  const char **, const int *)’} from
incompatible pointer type ‘void (*)(GLuint,  GLsizei,  const GLchar * const*,
const GLint *)’ {aka ‘void (*)(unsigned int,  int,  const char * const*, const
int *)’} [-Wincompatible-pointer-types]
 4544 |   __pyx_v_4kivy_8graphics_3cgl_cgl->glShaderSource = glShaderSource;
      |                                                    ^
[INFO   ] building 'kivy.core.window._window_sdl2' extension
[INFO   ] gcc -fno-strict-overflow -Wsign-compare
-DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -fexceptions -fexceptions -fexceptions
-fPIC -I/home/fedora/python-kivy/kivy-2.3.0/kivy/include -I/usr/include/SDL2
-I/usr/local/include/SDL2 -I/usr/include/SDL2 -I/usr/include/SDL2
-I/usr/include/sysprof-6 -I/usr/include/libpng16 -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -I/usr/include/webp -I/usr/include/harfbuzz
-I/usr/include/freetype2 -I/usr/include/python3.12 -c
/home/fedora/python-kivy/kivy-2.3.0/kivy/core/window/_window_sdl2.c -o
build/temp.linux-aarch64-cpython-312/home/fedora/python-kivy/kivy-2.3.0/kivy/core/window/_window_sdl2.o
/home/fedora/python-kivy/kivy-2.3.0/kivy/core/window/_window_sdl2.c: In
function
‘__pyx_pf_4kivy_4core_6window_12_window_sdl2_18_WindowSDL2Storage_6setup_window’:
/home/fedora/python-kivy/kivy-2.3.0/kivy/core/window/_window_sdl2.c:8724:23:
error: passing argument 1 of ‘SDL_SetEventFilter’ from incompatible pointer
type [-Wincompatible-pointer-types]
 8724 |   SDL_SetEventFilter(((SDL_EventFilter
*)__pyx_f_4kivy_4core_6window_12_window_sdl2__event_filter), ((void
*)__pyx_v_self));
      |                     
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                       |
      |                       int (**)(void *, SDL_Event *)
In file included from /usr/include/SDL2/SDL.h:41,
                 from
/home/fedora/python-kivy/kivy-2.3.0/kivy/core/window/_window_sdl2.c:1253:
/usr/include/SDL2/SDL_events.h:1024:65: note: expected ‘SDL_EventFilter’ {aka
‘int (*)(void *, SDL_Event *)’} but argument is of type ‘int (**)(void *,
SDL_Event *)’
 1024 | extern DECLSPEC void SDLCALL SDL_SetEventFilter(SDL_EventFilter filter,
      |                                                 ~~~~~~~~~~~~~~~~^~~~~~
 error: command '/usr/bin/gcc' failed with exit code 1
make: *** [Makefile:51: build] Error 1


-- 
You are receiving this mail because:
You are always notified about changes to this product and component
You are on the CC list for the bug.
https://bugzilla.redhat.com/show_bug.cgi?id=2258796

Report this comment as SPAM: https://bugzilla.redhat.com/enter_bug.cgi?product=Bugzilla&format=report-spam&short_desc=Report%20of%20Bug%202258796%23c4
--
_______________________________________________
package-review mailing list -- package-review@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to package-review-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/package-review@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue




[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite Conditions]     [KDE Users]

  Powered by Linux