========================================================================
Building module pygame in /home/momits/Programme/electrip/.flatpak-builder/build/pygame-4
========================================================================
Applying patch pygame-add-search-dirs.patch
patching file config_unix.py
Running: pip3 install --ignore-installed --no-deps --prefix=/app .
Processing /run/build/pygame
Installing collected packages: pygame
Running setup.py install for pygame ... error
Complete output from command /usr/bin/python3.7 -u -c "import setuptools, tokenize;__file__='/tmp/pip-req-build-0wv7893c/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-vio75xwk/install-record.txt --single-version-externally-managed --prefix /app --compile:
running install
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.7
creating build/lib.linux-x86_64-3.7/pygame
copying lib/_numpysurfarray.py -> build/lib.linux-x86_64-3.7/pygame
copying lib/freetype.py -> build/lib.linux-x86_64-3.7/pygame
copying lib/sysfont.py -> build/lib.linux-x86_64-3.7/pygame
copying lib/__init__.py -> build/lib.linux-x86_64-3.7/pygame
copying lib/ftfont.py -> build/lib.linux-x86_64-3.7/pygame
copying lib/locals.py -> build/lib.linux-x86_64-3.7/pygame
copying lib/sndarray.py -> build/lib.linux-x86_64-3.7/pygame
copying lib/_dummybackend.py -> build/lib.linux-x86_64-3.7/pygame
copying lib/pkgdata.py -> build/lib.linux-x86_64-3.7/pygame
copying lib/midi.py -> build/lib.linux-x86_64-3.7/pygame
copying lib/macosx.py -> build/lib.linux-x86_64-3.7/pygame
copying lib/camera.py -> build/lib.linux-x86_64-3.7/pygame
copying lib/version.py -> build/lib.linux-x86_64-3.7/pygame
copying lib/cursors.py -> build/lib.linux-x86_64-3.7/pygame
copying lib/compat.py -> build/lib.linux-x86_64-3.7/pygame
copying lib/colordict.py -> build/lib.linux-x86_64-3.7/pygame
copying lib/sprite.py -> build/lib.linux-x86_64-3.7/pygame
copying lib/_camera_vidcapture.py -> build/lib.linux-x86_64-3.7/pygame
copying lib/surfarray.py -> build/lib.linux-x86_64-3.7/pygame
copying lib/_camera_opencv_highgui.py -> build/lib.linux-x86_64-3.7/pygame
copying lib/_numpysndarray.py -> build/lib.linux-x86_64-3.7/pygame
creating build/lib.linux-x86_64-3.7/pygame/gp2x
copying lib/gp2x/__init__.py -> build/lib.linux-x86_64-3.7/pygame/gp2x
copying lib/gp2x/locals.py -> build/lib.linux-x86_64-3.7/pygame/gp2x
copying lib/gp2x/constants.py -> build/lib.linux-x86_64-3.7/pygame/gp2x
creating build/lib.linux-x86_64-3.7/pygame/threads
copying lib/threads/Py25Queue.py -> build/lib.linux-x86_64-3.7/pygame/threads
copying lib/threads/__init__.py -> build/lib.linux-x86_64-3.7/pygame/threads
creating build/lib.linux-x86_64-3.7/pygame/tests
copying test/mask_test.py -> build/lib.linux-x86_64-3.7/pygame/tests
copying test/surfarray_tags.py -> build/lib.linux-x86_64-3.7/pygame/tests
copying test/color_test.py -> build/lib.linux-x86_64-3.7/pygame/tests
copying test/ftfont_test.py -> build/lib.linux-x86_64-3.7/pygame/tests
copying test/scrap_tags.py -> build/lib.linux-x86_64-3.7/pygame/tests
copying test/gfxdraw_test.py -> build/lib.linux-x86_64-3.7/pygame/tests
copying test/__main__.py -> build/lib.linux-x86_64-3.7/pygame/tests
copying test/cursors_test.py -> build/lib.linux-x86_64-3.7/pygame/tests
copying test/imageext_test.py -> build/lib.linux-x86_64-3.7/pygame/tests
copying test/sprite_test.py -> build/lib.linux-x86_64-3.7/pygame/tests
copying test/imageext_tags.py -> build/lib.linux-x86_64-3.7/pygame/tests
copying test/camera_test.py -> build/lib.linux-x86_64-3.7/pygame/tests
copying test/scrap_test.py -> build/lib.linux-x86_64-3.7/pygame/tests
copying test/surface_test.py -> build/lib.linux-x86_64-3.7/pygame/tests
copying test/__init__.py -> build/lib.linux-x86_64-3.7/pygame/tests
copying test/test_test_.py -> build/lib.linux-x86_64-3.7/pygame/tests
copying test/pixelarray_test.py -> build/lib.linux-x86_64-3.7/pygame/tests
copying test/mixer_music_test.py -> build/lib.linux-x86_64-3.7/pygame/tests
copying test/sndarray_tags.py -> build/lib.linux-x86_64-3.7/pygame/tests
copying test/display_test.py -> build/lib.linux-x86_64-3.7/pygame/tests
copying test/freetype_test.py -> build/lib.linux-x86_64-3.7/pygame/tests
copying test/threads_test.py -> build/lib.linux-x86_64-3.7/pygame/tests
copying test/compat_test.py -> build/lib.linux-x86_64-3.7/pygame/tests
copying test/overlay_test.py -> build/lib.linux-x86_64-3.7/pygame/tests
copying test/cdrom_tags.py -> build/lib.linux-x86_64-3.7/pygame/tests
copying test/transform_test.py -> build/lib.linux-x86_64-3.7/pygame/tests
copying test/rwobject_test.py -> build/lib.linux-x86_64-3.7/pygame/tests
copying test/joystick_test.py -> build/lib.linux-x86_64-3.7/pygame/tests
copying test/font_tags.py -> build/lib.linux-x86_64-3.7/pygame/tests
copying test/blit_test.py -> build/lib.linux-x86_64-3.7/pygame/tests
copying test/midi_test.py -> build/lib.linux-x86_64-3.7/pygame/tests
copying test/fastevent_test.py -> build/lib.linux-x86_64-3.7/pygame/tests
copying test/sndarray_test.py -> build/lib.linux-x86_64-3.7/pygame/tests
copying test/surflock_test.py -> build/lib.linux-x86_64-3.7/pygame/tests
copying test/key_test.py -> build/lib.linux-x86_64-3.7/pygame/tests
copying test/mixer_test.py -> build/lib.linux-x86_64-3.7/pygame/tests
copying test/ftfont_tags.py -> build/lib.linux-x86_64-3.7/pygame/tests
copying test/cdrom_test.py -> build/lib.linux-x86_64-3.7/pygame/tests
copying test/pixelcopy_test.py -> build/lib.linux-x86_64-3.7/pygame/tests
copying test/mouse_test.py -> build/lib.linux-x86_64-3.7/pygame/tests
copying test/base_test.py -> build/lib.linux-x86_64-3.7/pygame/tests
copying test/image_tags.py -> build/lib.linux-x86_64-3.7/pygame/tests
copying test/draw_test.py -> build/lib.linux-x86_64-3.7/pygame/tests
copying test/bufferproxy_test.py -> build/lib.linux-x86_64-3.7/pygame/tests
copying test/midi_tags.py -> build/lib.linux-x86_64-3.7/pygame/tests
copying test/mixer_tags.py -> build/lib.linux-x86_64-3.7/pygame/tests
copying test/font_test.py -> build/lib.linux-x86_64-3.7/pygame/tests
copying test/freetype_tags.py -> build/lib.linux-x86_64-3.7/pygame/tests
copying test/math_test.py -> build/lib.linux-x86_64-3.7/pygame/tests
copying test/sysfont_test.py -> build/lib.linux-x86_64-3.7/pygame/tests
copying test/rect_test.py -> build/lib.linux-x86_64-3.7/pygame/tests
copying test/surfarray_test.py -> build/lib.linux-x86_64-3.7/pygame/tests
copying test/mixer_music_tags.py -> build/lib.linux-x86_64-3.7/pygame/tests
copying test/event_test.py -> build/lib.linux-x86_64-3.7/pygame/tests
copying test/time_test.py -> build/lib.linux-x86_64-3.7/pygame/tests
copying test/image__save_gl_surface_test.py -> build/lib.linux-x86_64-3.7/pygame/tests
copying test/image_test.py -> build/lib.linux-x86_64-3.7/pygame/tests
creating build/lib.linux-x86_64-3.7/pygame/tests/test_utils
copying test/test_utils/test_runner.py -> build/lib.linux-x86_64-3.7/pygame/tests/test_utils
copying test/test_utils/buftools.py -> build/lib.linux-x86_64-3.7/pygame/tests/test_utils
copying test/test_utils/run_tests.py -> build/lib.linux-x86_64-3.7/pygame/tests/test_utils
copying test/test_utils/__init__.py -> build/lib.linux-x86_64-3.7/pygame/tests/test_utils
copying test/test_utils/test_machinery.py -> build/lib.linux-x86_64-3.7/pygame/tests/test_utils
copying test/test_utils/async_sub.py -> build/lib.linux-x86_64-3.7/pygame/tests/test_utils
copying test/test_utils/endian.py -> build/lib.linux-x86_64-3.7/pygame/tests/test_utils
copying test/test_utils/arrinter.py -> build/lib.linux-x86_64-3.7/pygame/tests/test_utils
copying test/test_utils/png.py -> build/lib.linux-x86_64-3.7/pygame/tests/test_utils
creating build/lib.linux-x86_64-3.7/pygame/tests/run_tests__tests
copying test/run_tests__tests/__init__.py -> build/lib.linux-x86_64-3.7/pygame/tests/run_tests__tests
copying test/run_tests__tests/run_tests__test.py -> build/lib.linux-x86_64-3.7/pygame/tests/run_tests__tests
creating build/lib.linux-x86_64-3.7/pygame/tests/run_tests__tests/all_ok
copying test/run_tests__tests/all_ok/__init__.py -> build/lib.linux-x86_64-3.7/pygame/tests/run_tests__tests/all_ok
copying test/run_tests__tests/all_ok/fake_2_test.py -> build/lib.linux-x86_64-3.7/pygame/tests/run_tests__tests/all_ok
copying test/run_tests__tests/all_ok/fake_6_test.py -> build/lib.linux-x86_64-3.7/pygame/tests/run_tests__tests/all_ok
copying test/run_tests__tests/all_ok/zero_tests_test.py -> build/lib.linux-x86_64-3.7/pygame/tests/run_tests__tests/all_ok
copying test/run_tests__tests/all_ok/no_assertions__ret_code_of_1__test.py -> build/lib.linux-x86_64-3.7/pygame/tests/run_tests__tests/all_ok
copying test/run_tests__tests/all_ok/fake_5_test.py -> build/lib.linux-x86_64-3.7/pygame/tests/run_tests__tests/all_ok
copying test/run_tests__tests/all_ok/fake_3_test.py -> build/lib.linux-x86_64-3.7/pygame/tests/run_tests__tests/all_ok
copying test/run_tests__tests/all_ok/fake_4_test.py -> build/lib.linux-x86_64-3.7/pygame/tests/run_tests__tests/all_ok
creating build/lib.linux-x86_64-3.7/pygame/tests/run_tests__tests/failures1
copying test/run_tests__tests/failures1/__init__.py -> build/lib.linux-x86_64-3.7/pygame/tests/run_tests__tests/failures1
copying test/run_tests__tests/failures1/fake_2_test.py -> build/lib.linux-x86_64-3.7/pygame/tests/run_tests__tests/failures1
copying test/run_tests__tests/failures1/fake_3_test.py -> build/lib.linux-x86_64-3.7/pygame/tests/run_tests__tests/failures1
copying test/run_tests__tests/failures1/fake_4_test.py -> build/lib.linux-x86_64-3.7/pygame/tests/run_tests__tests/failures1
creating build/lib.linux-x86_64-3.7/pygame/tests/run_tests__tests/incomplete
copying test/run_tests__tests/incomplete/__init__.py -> build/lib.linux-x86_64-3.7/pygame/tests/run_tests__tests/incomplete
copying test/run_tests__tests/incomplete/fake_2_test.py -> build/lib.linux-x86_64-3.7/pygame/tests/run_tests__tests/incomplete
copying test/run_tests__tests/incomplete/fake_3_test.py -> build/lib.linux-x86_64-3.7/pygame/tests/run_tests__tests/incomplete
creating build/lib.linux-x86_64-3.7/pygame/tests/run_tests__tests/infinite_loop
copying test/run_tests__tests/infinite_loop/__init__.py -> build/lib.linux-x86_64-3.7/pygame/tests/run_tests__tests/infinite_loop
copying test/run_tests__tests/infinite_loop/fake_2_test.py -> build/lib.linux-x86_64-3.7/pygame/tests/run_tests__tests/infinite_loop
copying test/run_tests__tests/infinite_loop/fake_1_test.py -> build/lib.linux-x86_64-3.7/pygame/tests/run_tests__tests/infinite_loop
creating build/lib.linux-x86_64-3.7/pygame/tests/run_tests__tests/print_stderr
copying test/run_tests__tests/print_stderr/__init__.py -> build/lib.linux-x86_64-3.7/pygame/tests/run_tests__tests/print_stderr
copying test/run_tests__tests/print_stderr/fake_2_test.py -> build/lib.linux-x86_64-3.7/pygame/tests/run_tests__tests/print_stderr
copying test/run_tests__tests/print_stderr/fake_3_test.py -> build/lib.linux-x86_64-3.7/pygame/tests/run_tests__tests/print_stderr
copying test/run_tests__tests/print_stderr/fake_4_test.py -> build/lib.linux-x86_64-3.7/pygame/tests/run_tests__tests/print_stderr
creating build/lib.linux-x86_64-3.7/pygame/tests/run_tests__tests/print_stdout
copying test/run_tests__tests/print_stdout/__init__.py -> build/lib.linux-x86_64-3.7/pygame/tests/run_tests__tests/print_stdout
copying test/run_tests__tests/print_stdout/fake_2_test.py -> build/lib.linux-x86_64-3.7/pygame/tests/run_tests__tests/print_stdout
copying test/run_tests__tests/print_stdout/fake_3_test.py -> build/lib.linux-x86_64-3.7/pygame/tests/run_tests__tests/print_stdout
copying test/run_tests__tests/print_stdout/fake_4_test.py -> build/lib.linux-x86_64-3.7/pygame/tests/run_tests__tests/print_stdout
creating build/lib.linux-x86_64-3.7/pygame/tests/run_tests__tests/incomplete_todo
copying test/run_tests__tests/incomplete_todo/__init__.py -> build/lib.linux-x86_64-3.7/pygame/tests/run_tests__tests/incomplete_todo
copying test/run_tests__tests/incomplete_todo/fake_2_test.py -> build/lib.linux-x86_64-3.7/pygame/tests/run_tests__tests/incomplete_todo
copying test/run_tests__tests/incomplete_todo/fake_3_test.py -> build/lib.linux-x86_64-3.7/pygame/tests/run_tests__tests/incomplete_todo
creating build/lib.linux-x86_64-3.7/pygame/tests/run_tests__tests/exclude
copying test/run_tests__tests/exclude/__init__.py -> build/lib.linux-x86_64-3.7/pygame/tests/run_tests__tests/exclude
copying test/run_tests__tests/exclude/fake_2_test.py -> build/lib.linux-x86_64-3.7/pygame/tests/run_tests__tests/exclude
copying test/run_tests__tests/exclude/invisible_tag_test.py -> build/lib.linux-x86_64-3.7/pygame/tests/run_tests__tests/exclude
copying test/run_tests__tests/exclude/magic_tag_test.py -> build/lib.linux-x86_64-3.7/pygame/tests/run_tests__tests/exclude
creating build/lib.linux-x86_64-3.7/pygame/tests/run_tests__tests/timeout
copying test/run_tests__tests/timeout/__init__.py -> build/lib.linux-x86_64-3.7/pygame/tests/run_tests__tests/timeout
copying test/run_tests__tests/timeout/fake_2_test.py -> build/lib.linux-x86_64-3.7/pygame/tests/run_tests__tests/timeout
copying test/run_tests__tests/timeout/sleep_test.py -> build/lib.linux-x86_64-3.7/pygame/tests/run_tests__tests/timeout
creating build/lib.linux-x86_64-3.7/pygame/tests/run_tests__tests/everything
copying test/run_tests__tests/everything/incomplete_todo_test.py -> build/lib.linux-x86_64-3.7/pygame/tests/run_tests__tests/everything
copying test/run_tests__tests/everything/__init__.py -> build/lib.linux-x86_64-3.7/pygame/tests/run_tests__tests/everything
copying test/run_tests__tests/everything/fake_2_test.py -> build/lib.linux-x86_64-3.7/pygame/tests/run_tests__tests/everything
copying test/run_tests__tests/everything/sleep_test.py -> build/lib.linux-x86_64-3.7/pygame/tests/run_tests__tests/everything
copying test/run_tests__tests/everything/magic_tag_test.py -> build/lib.linux-x86_64-3.7/pygame/tests/run_tests__tests/everything
creating build/lib.linux-x86_64-3.7/pygame/docs
copying docs/__main__.py -> build/lib.linux-x86_64-3.7/pygame/docs
copying docs/__init__.py -> build/lib.linux-x86_64-3.7/pygame/docs
creating build/lib.linux-x86_64-3.7/pygame/examples
copying examples/sound.py -> build/lib.linux-x86_64-3.7/pygame/examples
copying examples/eventlist.py -> build/lib.linux-x86_64-3.7/pygame/examples
copying examples/aacircle.py -> build/lib.linux-x86_64-3.7/pygame/examples
copying examples/moveit.py -> build/lib.linux-x86_64-3.7/pygame/examples
copying examples/mask.py -> build/lib.linux-x86_64-3.7/pygame/examples
copying examples/prevent_display_stretching.py -> build/lib.linux-x86_64-3.7/pygame/examples
copying examples/stars.py -> build/lib.linux-x86_64-3.7/pygame/examples
copying examples/__init__.py -> build/lib.linux-x86_64-3.7/pygame/examples
copying examples/headless_no_windows_needed.py -> build/lib.linux-x86_64-3.7/pygame/examples
copying examples/fastevents.py -> build/lib.linux-x86_64-3.7/pygame/examples
copying examples/blit_blends.py -> build/lib.linux-x86_64-3.7/pygame/examples
copying examples/pixelarray.py -> build/lib.linux-x86_64-3.7/pygame/examples
copying examples/oldalien.py -> build/lib.linux-x86_64-3.7/pygame/examples
copying examples/aliens.py -> build/lib.linux-x86_64-3.7/pygame/examples
copying examples/scrap_clipboard.py -> build/lib.linux-x86_64-3.7/pygame/examples
copying examples/blend_fill.py -> build/lib.linux-x86_64-3.7/pygame/examples
copying examples/testsprite.py -> build/lib.linux-x86_64-3.7/pygame/examples
copying examples/sound_array_demos.py -> build/lib.linux-x86_64-3.7/pygame/examples
copying examples/midi.py -> build/lib.linux-x86_64-3.7/pygame/examples
copying examples/overlay.py -> build/lib.linux-x86_64-3.7/pygame/examples
copying examples/camera.py -> build/lib.linux-x86_64-3.7/pygame/examples
copying examples/chimp.py -> build/lib.linux-x86_64-3.7/pygame/examples
copying examples/glcube.py -> build/lib.linux-x86_64-3.7/pygame/examples
copying examples/scaletest.py -> build/lib.linux-x86_64-3.7/pygame/examples
copying examples/scroll.py -> build/lib.linux-x86_64-3.7/pygame/examples
copying examples/cursors.py -> build/lib.linux-x86_64-3.7/pygame/examples
copying examples/vgrade.py -> build/lib.linux-x86_64-3.7/pygame/examples
copying examples/fonty.py -> build/lib.linux-x86_64-3.7/pygame/examples
copying examples/freetype_misc.py -> build/lib.linux-x86_64-3.7/pygame/examples
copying examples/playmus.py -> build/lib.linux-x86_64-3.7/pygame/examples
copying examples/arraydemo.py -> build/lib.linux-x86_64-3.7/pygame/examples
copying examples/liquid.py -> build/lib.linux-x86_64-3.7/pygame/examples
running build_ext
building 'pygame.imageext' extension
creating build/temp.linux-x86_64-3.7
creating build/temp.linux-x86_64-3.7/src
x86_64-unknown-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O3 -Wall -O2 -g -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -fPIC -D_REENTRANT -DENABLE_NEWBUF=1 -I/usr/X11R6/include -I/app/include/SDL -I/app/include/SDL -I/usr/include -I/usr/include -I/usr/include/python3.7m -c src/imageext.c -o build/temp.linux-x86_64-3.7/src/imageext.o
In file included from src/pygame.h:32,
from src/imageext.c:49:
src/imageext.c: In function ‘opengltosdl’:
src/_pygame.h:206:46: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define RAISE(x,y) (PyErr_SetString((x), (y)), (PyObject*)NULL)
~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
src/imageext.c:632:9: note: in expansion of macro ‘RAISE’
RAISE (PyExc_RuntimeError, "Cannot get video surface.");
^~~~~
src/_pygame.h:206:46: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define RAISE(x,y) (PyErr_SetString((x), (y)), (PyObject*)NULL)
~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
src/imageext.c:636:9: note: in expansion of macro ‘RAISE’
RAISE (PyExc_RuntimeError, "Cannot find glReadPixels function.");
^~~~~
src/_pygame.h:206:46: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define RAISE(x,y) (PyErr_SetString((x), (y)), (PyObject*)NULL)
~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
src/imageext.c:643:9: note: in expansion of macro ‘RAISE’
RAISE (PyExc_MemoryError, "Cannot allocate enough memory for pixels.");
^~~~~
src/_pygame.h:206:46: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define RAISE(x,y) (PyErr_SetString((x), (y)), (PyObject*)NULL)
~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
src/imageext.c:663:9: note: in expansion of macro ‘RAISE’
RAISE (PyExc_SDLError, SDL_GetError ());
^~~~~
x86_64-unknown-linux-gnu-gcc -pthread -shared -fstack-protector-strong -Wl,-z,relro,-z,now -fstack-protector-strong -Wl,-z,relro,-z,now -L/app/lib -fstack-protector-strong -Wl,-z,relro,-z,now -O2 -g -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-3.7/src/imageext.o -L/app/lib -L/app/lib -L/app/lib -L/app/lib -L/usr/lib/x86_64-linux-gnu -lSDL -lpthread -lSDL_image -lpng -ljpeg -lpython3.7m -o build/lib.linux-x86_64-3.7/pygame/imageext.cpython-37m-x86_64-linux-gnu.so -Wl,-rpath,/app/lib
building 'pygame.font' extension
x86_64-unknown-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O3 -Wall -O2 -g -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -fPIC -D_REENTRANT -DENABLE_NEWBUF=1 -I/usr/X11R6/include -I/app/include/SDL -I/app/include/SDL -I/usr/include/python3.7m -c src/font.c -o build/temp.linux-x86_64-3.7/src/font.o
In file included from src/pygame.h:32,
from src/font.c:31:
src/font.c: In function ‘font_init’:
src/_pygame.h:206:46: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define RAISE(x,y) (PyErr_SetString((x), (y)), (PyObject*)NULL)
~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
src/font.c:619:9: note: in expansion of macro ‘RAISE’
RAISE(PyExc_SDLError, "font not initialized");
^~~~~
src/_pygame.h:206:46: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define RAISE(x,y) (PyErr_SetString((x), (y)), (PyObject*)NULL)
~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
src/font.c:724:9: note: in expansion of macro ‘RAISE’
RAISE(PyExc_RuntimeError, SDL_GetError());
^~~~~
x86_64-unknown-linux-gnu-gcc -pthread -shared -fstack-protector-strong -Wl,-z,relro,-z,now -fstack-protector-strong -Wl,-z,relro,-z,now -L/app/lib -fstack-protector-strong -Wl,-z,relro,-z,now -O2 -g -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-3.7/src/font.o -L/app/lib -L/app/lib -L/usr/lib/x86_64-linux-gnu -lSDL -lpthread -lSDL_ttf -lpython3.7m -o build/lib.linux-x86_64-3.7/pygame/font.cpython-37m-x86_64-linux-gnu.so -Wl,-rpath,/app/lib
building 'pygame.mixer' extension
x86_64-unknown-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O3 -Wall -O2 -g -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -fPIC -D_REENTRANT -DENABLE_NEWBUF=1 -I/usr/X11R6/include -I/app/include/SDL -I/app/include/SDL -I/usr/include/python3.7m -c src/mixer.c -o build/temp.linux-x86_64-3.7/src/mixer.o
In file included from src/pygame.h:32,
from src/mixer.c:27:
src/mixer.c: In function ‘_format_view_to_audio’:
src/_pygame.h:206:46: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define RAISE(x,y) (PyErr_SetString((x), (y)), (PyObject*)NULL)
~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
src/mixer.c:136:9: note: in expansion of macro ‘RAISE’
RAISE(PyExc_ValueError, "Array has unsupported item format");
^~~~~
src/_pygame.h:206:46: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define RAISE(x,y) (PyErr_SetString((x), (y)), (PyObject*)NULL)
~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
src/mixer.c:165:13: note: in expansion of macro ‘RAISE’
RAISE(PyExc_ValueError, "Array has unsupported item format");
^~~~~
src/mixer.c: In function ‘_chunk_from_array’:
src/_pygame.h:206:46: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define RAISE(x,y) (PyErr_SetString((x), (y)), (PyObject*)NULL)
~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
src/mixer.c:1363:9: note: in expansion of macro ‘RAISE’
RAISE(PyExc_SDLError, "Mixer not initialized");
^~~~~
src/_pygame.h:206:46: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define RAISE(x,y) (PyErr_SetString((x), (y)), (PyObject*)NULL)
~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
src/mixer.c:1371:13: note: in expansion of macro ‘RAISE’
RAISE(PyExc_ValueError,
^~~~~
src/_pygame.h:206:46: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define RAISE(x,y) (PyErr_SetString((x), (y)), (PyObject*)NULL)
~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
src/mixer.c:1378:13: note: in expansion of macro ‘RAISE’
RAISE(PyExc_ValueError,
^~~~~
src/_pygame.h:206:46: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define RAISE(x,y) (PyErr_SetString((x), (y)), (PyObject*)NULL)
~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
src/mixer.c:1383:13: note: in expansion of macro ‘RAISE’
RAISE(PyExc_ValueError,
^~~~~
src/mixer.c: In function ‘sound_init’:
src/_pygame.h:206:46: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define RAISE(x,y) (PyErr_SetString((x), (y)), (PyObject*)NULL)
~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
src/mixer.c:1516:13: note: in expansion of macro ‘RAISE’
RAISE(PyExc_TypeError, arg_cnt_err_msg);
^~~~~
src/_pygame.h:206:46: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define RAISE(x,y) (PyErr_SetString((x), (y)), (PyObject*)NULL)
~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
src/mixer.c:1532:13: note: in expansion of macro ‘RAISE’
RAISE(PyExc_TypeError, arg_cnt_err_msg);
^~~~~
src/_pygame.h:206:46: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define RAISE(x,y) (PyErr_SetString((x), (y)), (PyObject*)NULL)
~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
src/mixer.c:1555:13: note: in expansion of macro ‘RAISE’
RAISE(PyExc_TypeError,
^~~~~
src/_pygame.h:206:46: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define RAISE(x,y) (PyErr_SetString((x), (y)), (PyObject*)NULL)
~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
src/mixer.c:1561:9: note: in expansion of macro ‘RAISE’
RAISE(PyExc_TypeError, arg_cnt_err_msg);
^~~~~
src/_pygame.h:206:46: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define RAISE(x,y) (PyErr_SetString((x), (y)), (PyObject*)NULL)
~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
src/mixer.c:1585:21: note: in expansion of macro ‘RAISE’
RAISE(PyExc_SDLError, SDL_GetError());
^~~~~
x86_64-unknown-linux-gnu-gcc -pthread -shared -fstack-protector-strong -Wl,-z,relro,-z,now -fstack-protector-strong -Wl,-z,relro,-z,now -L/app/lib -fstack-protector-strong -Wl,-z,relro,-z,now -O2 -g -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-3.7/src/mixer.o -L/app/lib -L/app/lib -L/usr/lib/x86_64-linux-gnu -lSDL -lpthread -lSDL_mixer -lpython3.7m -o build/lib.linux-x86_64-3.7/pygame/mixer.cpython-37m-x86_64-linux-gnu.so -Wl,-rpath,/app/lib
building 'pygame.mixer_music' extension
x86_64-unknown-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O3 -Wall -O2 -g -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -fPIC -D_REENTRANT -DENABLE_NEWBUF=1 -I/usr/X11R6/include -I/app/include/SDL -I/app/include/SDL -I/usr/include/python3.7m -c src/music.c -o build/temp.linux-x86_64-3.7/src/music.o
x86_64-unknown-linux-gnu-gcc -pthread -shared -fstack-protector-strong -Wl,-z,relro,-z,now -fstack-protector-strong -Wl,-z,relro,-z,now -L/app/lib -fstack-protector-strong -Wl,-z,relro,-z,now -O2 -g -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-3.7/src/music.o -L/app/lib -L/app/lib -L/usr/lib/x86_64-linux-gnu -lSDL -lpthread -lSDL_mixer -lpython3.7m -o build/lib.linux-x86_64-3.7/pygame/mixer_music.cpython-37m-x86_64-linux-gnu.so -Wl,-rpath,/app/lib
building 'pygame.scrap' extension
x86_64-unknown-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O3 -Wall -O2 -g -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -fPIC -D_REENTRANT -DENABLE_NEWBUF=1 -I/usr/X11R6/include -I/app/include/SDL -I/usr/include/python3.7m -c src/scrap.c -o build/temp.linux-x86_64-3.7/src/scrap.o
In file included from src/scrap.c:60:
src/scrap_x11.c: In function ‘pygame_scrap_get_types’:
src/scrap_x11.c:842:35: warning: passing argument 2 of ‘PyDict_Next’ from incompatible pointer type [-Wincompatible-pointer-types]
while (PyDict_Next (dict, &pos, &key, NULL))
^~~~
In file included from /usr/include/python3.7m/Python.h:90,
from src/scrap.h:27,
from src/scrap.c:30:
/usr/include/python3.7m/dictobject.h:96:31: note: expected ‘Py_ssize_t *’ {aka ‘long int *’} but argument is of type ‘int *’
PyObject *mp, Py_ssize_t *pos, PyObject **key, PyObject **value);
~~~~~~~~~~~~^~~
x86_64-unknown-linux-gnu-gcc -pthread -shared -fstack-protector-strong -Wl,-z,relro,-z,now -fstack-protector-strong -Wl,-z,relro,-z,now -L/app/lib -fstack-protector-strong -Wl,-z,relro,-z,now -O2 -g -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-3.7/src/scrap.o -L/app/lib -L/app/lib -L/usr/lib/x86_64-linux-gnu -lSDL -lpthread -lX11 -lpython3.7m -o build/lib.linux-x86_64-3.7/pygame/scrap.cpython-37m-x86_64-linux-gnu.so -Wl,-rpath,/app/lib
building 'pygame.pypm' extension
x86_64-unknown-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O3 -Wall -O2 -g -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -fPIC -D_REENTRANT -DENABLE_NEWBUF=1 -I/usr/X11R6/include -I/app/include/SDL -I/app/include -I/app/include -I/usr/include/python3.7m -c src/pypm.c -o build/temp.linux-x86_64-3.7/src/pypm.o
src/pypm.c: In function ‘__Pyx_ErrRestore’:
src/pypm.c:4976:18: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’?
if ((tstate->exc_type != NULL) & (tstate->exc_type != Py_None)) {
^~~~~~~~
curexc_type
src/pypm.c:4976:47: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’?
if ((tstate->exc_type != NULL) & (tstate->exc_type != Py_None)) {
^~~~~~~~
curexc_type
src/pypm.c:4977:28: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’?
tmp_type = tstate->exc_type;
^~~~~~~~
curexc_type
src/pypm.c:4978:29: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’?
tmp_value = tstate->exc_value;
^~~~~~~~~
curexc_value
src/pypm.c:4979:26: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
tmp_tb = tstate->exc_traceback;
^~~~~~~~~~~~~
curexc_traceback
src/pypm.c:4982:17: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’?
tstate->exc_type = 0;
^~~~~~~~
curexc_type
src/pypm.c:4983:17: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’?
tstate->exc_value = 0;
^~~~~~~~~
curexc_value
src/pypm.c:4984:17: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
tstate->exc_traceback = 0;
^~~~~~~~~~~~~
curexc_traceback
At top level:
src/pypm.c:2845:13: warning: ‘__pyx_doc_4pypm_5Input___dealloc__’ defined but not used [-Wunused-variable]
static char __pyx_doc_4pypm_5Input___dealloc__[] = "Close midi device if still open when the instance is destroyed.";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/pypm.c:2673:13: warning: ‘__pyx_doc_4pypm_5Input___init__’ defined but not used [-Wunused-variable]
static char __pyx_doc_4pypm_5Input___init__[] = "Instantiate MIDI input stream object.";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/pypm.c:1359:13: warning: ‘__pyx_doc_4pypm_6Output___dealloc__’ defined but not used [-Wunused-variable]
static char __pyx_doc_4pypm_6Output___dealloc__[] = "Close midi device if still open when the instance is destroyed.";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/pypm.c:1091:13: warning: ‘__pyx_doc_4pypm_6Output___init__’ defined but not used [-Wunused-variable]
static char __pyx_doc_4pypm_6Output___init__[] = "Instantiate MIDI output stream object.";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
error: command 'x86_64-unknown-linux-gnu-gcc' failed with exit status 1
----------------------------------------
Command "/usr/bin/python3.7 -u -c "import setuptools, tokenize;__file__='/tmp/pip-req-build-0wv7893c/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-vio75xwk/install-record.txt --single-version-externally-managed --prefix /app --compile" failed with error code 1 in /tmp/pip-req-build-0wv7893c/
Error: module pygame: Der Kindprozess wurde mit Status 1 beendet