Already up to date. ==> Making package: python-pygame 1.9.6-1 (Sat Jul 27 00:35:14 2024) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Retrieving sources... -> Downloading pygame-1.9.6.tar.gz... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 99 3147k 99 3119k 0 0 4954k 0 --:--:-- --:--:-- --:--:-- 4954k 100 3147k 100 3147k 0 0 4994k 0 --:--:-- --:--:-- --:--:-- 26.9M ==> Validating source files with md5sums... pygame-1.9.6.tar.gz ... Passed ==> Extracting sources... -> Extracting pygame-1.9.6.tar.gz with bsdtar ==> Entering fakeroot environment... ==> Starting package()... /srv/maat/src/python-pygame/src/pygame-1.9.6/setup.py:336: SyntaxWarning: invalid escape sequence '\d' return ', '.join(s for s in findall('\d+', ver)[0:3]) /srv/maat/src/python-pygame/src/pygame-1.9.6/setup.py:343: SyntaxWarning: invalid escape sequence '\s' major_exp_search = re.compile('define\s+PG_MAJOR_VERSION\s+([0-9]+)').search /srv/maat/src/python-pygame/src/pygame-1.9.6/setup.py:344: SyntaxWarning: invalid escape sequence '\s' minor_exp_search = re.compile('define\s+PG_MINOR_VERSION\s+([0-9]+)').search /srv/maat/src/python-pygame/src/pygame-1.9.6/setup.py:345: SyntaxWarning: invalid escape sequence '\s' patch_exp_search = re.compile('define\s+PG_PATCH_VERSION\s+([0-9]+)').search WARNING, No "Setup" File Exists, Running "buildconfig/config.py" Using UNIX configuration... Hunting dependencies... SDL : found 1.2.68 FONT : found IMAGE : found MIXER : found PNG : found JPEG : found SCRAP : found PORTMIDI: found PORTTIME: found FREETYPE: found 26.1.20 If you get compiler errors during install, doublecheck the compiler flags in the "Setup" file. Continuing With "setup.py" running install /usr/lib/python3.12/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated. !! ******************************************************************************** Please avoid running ``setup.py`` directly. Instead, use pypa/build, pypa/installer or other standards-based tools. See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details. ******************************************************************************** !! self.initialize_options() running build running build_py creating build creating build/lib.linux-x86_64-cpython-312 creating build/lib.linux-x86_64-cpython-312/pygame copying src_py/__init__.py -> build/lib.linux-x86_64-cpython-312/pygame copying src_py/_camera_opencv_highgui.py -> build/lib.linux-x86_64-cpython-312/pygame copying src_py/_camera_vidcapture.py -> build/lib.linux-x86_64-cpython-312/pygame copying src_py/_dummybackend.py -> build/lib.linux-x86_64-cpython-312/pygame copying src_py/_numpysndarray.py -> build/lib.linux-x86_64-cpython-312/pygame copying src_py/_numpysurfarray.py -> build/lib.linux-x86_64-cpython-312/pygame copying src_py/camera.py -> build/lib.linux-x86_64-cpython-312/pygame copying src_py/colordict.py -> build/lib.linux-x86_64-cpython-312/pygame copying src_py/compat.py -> build/lib.linux-x86_64-cpython-312/pygame copying src_py/cursors.py -> build/lib.linux-x86_64-cpython-312/pygame copying src_py/draw_py.py -> build/lib.linux-x86_64-cpython-312/pygame copying src_py/freetype.py -> build/lib.linux-x86_64-cpython-312/pygame copying src_py/ftfont.py -> build/lib.linux-x86_64-cpython-312/pygame copying src_py/locals.py -> build/lib.linux-x86_64-cpython-312/pygame copying src_py/macosx.py -> build/lib.linux-x86_64-cpython-312/pygame copying src_py/midi.py -> build/lib.linux-x86_64-cpython-312/pygame copying src_py/pkgdata.py -> build/lib.linux-x86_64-cpython-312/pygame copying src_py/sndarray.py -> build/lib.linux-x86_64-cpython-312/pygame copying src_py/sprite.py -> build/lib.linux-x86_64-cpython-312/pygame copying src_py/surfarray.py -> build/lib.linux-x86_64-cpython-312/pygame copying src_py/sysfont.py -> build/lib.linux-x86_64-cpython-312/pygame copying src_py/version.py -> build/lib.linux-x86_64-cpython-312/pygame creating build/lib.linux-x86_64-cpython-312/pygame/threads copying src_py/threads/Py25Queue.py -> build/lib.linux-x86_64-cpython-312/pygame/threads copying src_py/threads/__init__.py -> build/lib.linux-x86_64-cpython-312/pygame/threads creating build/lib.linux-x86_64-cpython-312/pygame/tests copying test/__init__.py -> build/lib.linux-x86_64-cpython-312/pygame/tests copying test/__main__.py -> build/lib.linux-x86_64-cpython-312/pygame/tests copying test/base_test.py -> build/lib.linux-x86_64-cpython-312/pygame/tests copying test/blit_test.py -> build/lib.linux-x86_64-cpython-312/pygame/tests copying test/bufferproxy_test.py -> build/lib.linux-x86_64-cpython-312/pygame/tests copying test/camera_test.py -> build/lib.linux-x86_64-cpython-312/pygame/tests copying test/cdrom_tags.py -> build/lib.linux-x86_64-cpython-312/pygame/tests copying test/cdrom_test.py -> build/lib.linux-x86_64-cpython-312/pygame/tests copying test/color_test.py -> build/lib.linux-x86_64-cpython-312/pygame/tests copying test/compat_test.py -> build/lib.linux-x86_64-cpython-312/pygame/tests copying test/constants_test.py -> build/lib.linux-x86_64-cpython-312/pygame/tests copying test/cursors_test.py -> build/lib.linux-x86_64-cpython-312/pygame/tests copying test/display_test.py -> build/lib.linux-x86_64-cpython-312/pygame/tests copying test/draw_test.py -> build/lib.linux-x86_64-cpython-312/pygame/tests copying test/event_test.py -> build/lib.linux-x86_64-cpython-312/pygame/tests copying test/fastevent_tags.py -> build/lib.linux-x86_64-cpython-312/pygame/tests copying test/fastevent_test.py -> build/lib.linux-x86_64-cpython-312/pygame/tests copying test/font_tags.py -> build/lib.linux-x86_64-cpython-312/pygame/tests copying test/font_test.py -> build/lib.linux-x86_64-cpython-312/pygame/tests copying test/freetype_tags.py -> build/lib.linux-x86_64-cpython-312/pygame/tests copying test/freetype_test.py -> build/lib.linux-x86_64-cpython-312/pygame/tests copying test/ftfont_tags.py -> build/lib.linux-x86_64-cpython-312/pygame/tests copying test/ftfont_test.py -> build/lib.linux-x86_64-cpython-312/pygame/tests copying test/gfxdraw_test.py -> build/lib.linux-x86_64-cpython-312/pygame/tests copying test/image__save_gl_surface_test.py -> build/lib.linux-x86_64-cpython-312/pygame/tests copying test/image_tags.py -> build/lib.linux-x86_64-cpython-312/pygame/tests copying test/image_test.py -> build/lib.linux-x86_64-cpython-312/pygame/tests copying test/imageext_tags.py -> build/lib.linux-x86_64-cpython-312/pygame/tests copying test/imageext_test.py -> build/lib.linux-x86_64-cpython-312/pygame/tests copying test/joystick_test.py -> build/lib.linux-x86_64-cpython-312/pygame/tests copying test/key_test.py -> build/lib.linux-x86_64-cpython-312/pygame/tests copying test/mask_test.py -> build/lib.linux-x86_64-cpython-312/pygame/tests copying test/math_test.py -> build/lib.linux-x86_64-cpython-312/pygame/tests copying test/midi_tags.py -> build/lib.linux-x86_64-cpython-312/pygame/tests copying test/midi_test.py -> build/lib.linux-x86_64-cpython-312/pygame/tests copying test/mixer_music_tags.py -> build/lib.linux-x86_64-cpython-312/pygame/tests copying test/mixer_music_test.py -> build/lib.linux-x86_64-cpython-312/pygame/tests copying test/mixer_tags.py -> build/lib.linux-x86_64-cpython-312/pygame/tests copying test/mixer_test.py -> build/lib.linux-x86_64-cpython-312/pygame/tests copying test/mouse_test.py -> build/lib.linux-x86_64-cpython-312/pygame/tests copying test/overlay_tags.py -> build/lib.linux-x86_64-cpython-312/pygame/tests copying test/overlay_test.py -> build/lib.linux-x86_64-cpython-312/pygame/tests copying test/pixelarray_test.py -> build/lib.linux-x86_64-cpython-312/pygame/tests copying test/pixelcopy_test.py -> build/lib.linux-x86_64-cpython-312/pygame/tests copying test/rect_test.py -> build/lib.linux-x86_64-cpython-312/pygame/tests copying test/rwobject_test.py -> build/lib.linux-x86_64-cpython-312/pygame/tests copying test/scrap_tags.py -> build/lib.linux-x86_64-cpython-312/pygame/tests copying test/scrap_test.py -> build/lib.linux-x86_64-cpython-312/pygame/tests copying test/sndarray_tags.py -> build/lib.linux-x86_64-cpython-312/pygame/tests copying test/sndarray_test.py -> build/lib.linux-x86_64-cpython-312/pygame/tests copying test/sprite_test.py -> build/lib.linux-x86_64-cpython-312/pygame/tests copying test/surface_test.py -> build/lib.linux-x86_64-cpython-312/pygame/tests copying test/surfarray_tags.py -> build/lib.linux-x86_64-cpython-312/pygame/tests copying test/surfarray_test.py -> build/lib.linux-x86_64-cpython-312/pygame/tests copying test/surflock_test.py -> build/lib.linux-x86_64-cpython-312/pygame/tests copying test/sysfont_test.py -> build/lib.linux-x86_64-cpython-312/pygame/tests copying test/test_test_.py -> build/lib.linux-x86_64-cpython-312/pygame/tests copying test/threads_test.py -> build/lib.linux-x86_64-cpython-312/pygame/tests copying test/time_test.py -> build/lib.linux-x86_64-cpython-312/pygame/tests copying test/touch_tags.py -> build/lib.linux-x86_64-cpython-312/pygame/tests copying test/touch_test.py -> build/lib.linux-x86_64-cpython-312/pygame/tests copying test/transform_test.py -> build/lib.linux-x86_64-cpython-312/pygame/tests copying test/version_test.py -> build/lib.linux-x86_64-cpython-312/pygame/tests creating build/lib.linux-x86_64-cpython-312/pygame/tests/test_utils copying test/test_utils/__init__.py -> build/lib.linux-x86_64-cpython-312/pygame/tests/test_utils copying test/test_utils/arrinter.py -> build/lib.linux-x86_64-cpython-312/pygame/tests/test_utils copying test/test_utils/async_sub.py -> build/lib.linux-x86_64-cpython-312/pygame/tests/test_utils copying test/test_utils/buftools.py -> build/lib.linux-x86_64-cpython-312/pygame/tests/test_utils copying test/test_utils/endian.py -> build/lib.linux-x86_64-cpython-312/pygame/tests/test_utils copying test/test_utils/png.py -> build/lib.linux-x86_64-cpython-312/pygame/tests/test_utils copying test/test_utils/run_tests.py -> build/lib.linux-x86_64-cpython-312/pygame/tests/test_utils copying test/test_utils/test_machinery.py -> build/lib.linux-x86_64-cpython-312/pygame/tests/test_utils copying test/test_utils/test_runner.py -> build/lib.linux-x86_64-cpython-312/pygame/tests/test_utils creating build/lib.linux-x86_64-cpython-312/pygame/tests/run_tests__tests copying test/run_tests__tests/__init__.py -> build/lib.linux-x86_64-cpython-312/pygame/tests/run_tests__tests copying test/run_tests__tests/run_tests__test.py -> build/lib.linux-x86_64-cpython-312/pygame/tests/run_tests__tests creating build/lib.linux-x86_64-cpython-312/pygame/tests/run_tests__tests/all_ok copying test/run_tests__tests/all_ok/__init__.py -> build/lib.linux-x86_64-cpython-312/pygame/tests/run_tests__tests/all_ok copying test/run_tests__tests/all_ok/fake_2_test.py -> build/lib.linux-x86_64-cpython-312/pygame/tests/run_tests__tests/all_ok copying test/run_tests__tests/all_ok/fake_3_test.py -> build/lib.linux-x86_64-cpython-312/pygame/tests/run_tests__tests/all_ok copying test/run_tests__tests/all_ok/fake_4_test.py -> build/lib.linux-x86_64-cpython-312/pygame/tests/run_tests__tests/all_ok copying test/run_tests__tests/all_ok/fake_5_test.py -> build/lib.linux-x86_64-cpython-312/pygame/tests/run_tests__tests/all_ok copying test/run_tests__tests/all_ok/fake_6_test.py -> build/lib.linux-x86_64-cpython-312/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-cpython-312/pygame/tests/run_tests__tests/all_ok copying test/run_tests__tests/all_ok/zero_tests_test.py -> build/lib.linux-x86_64-cpython-312/pygame/tests/run_tests__tests/all_ok creating build/lib.linux-x86_64-cpython-312/pygame/tests/run_tests__tests/failures1 copying test/run_tests__tests/failures1/__init__.py -> build/lib.linux-x86_64-cpython-312/pygame/tests/run_tests__tests/failures1 copying test/run_tests__tests/failures1/fake_2_test.py -> build/lib.linux-x86_64-cpython-312/pygame/tests/run_tests__tests/failures1 copying test/run_tests__tests/failures1/fake_3_test.py -> build/lib.linux-x86_64-cpython-312/pygame/tests/run_tests__tests/failures1 copying test/run_tests__tests/failures1/fake_4_test.py -> build/lib.linux-x86_64-cpython-312/pygame/tests/run_tests__tests/failures1 creating build/lib.linux-x86_64-cpython-312/pygame/tests/run_tests__tests/incomplete copying test/run_tests__tests/incomplete/__init__.py -> build/lib.linux-x86_64-cpython-312/pygame/tests/run_tests__tests/incomplete copying test/run_tests__tests/incomplete/fake_2_test.py -> build/lib.linux-x86_64-cpython-312/pygame/tests/run_tests__tests/incomplete copying test/run_tests__tests/incomplete/fake_3_test.py -> build/lib.linux-x86_64-cpython-312/pygame/tests/run_tests__tests/incomplete creating build/lib.linux-x86_64-cpython-312/pygame/tests/run_tests__tests/infinite_loop copying test/run_tests__tests/infinite_loop/__init__.py -> build/lib.linux-x86_64-cpython-312/pygame/tests/run_tests__tests/infinite_loop copying test/run_tests__tests/infinite_loop/fake_1_test.py -> build/lib.linux-x86_64-cpython-312/pygame/tests/run_tests__tests/infinite_loop copying test/run_tests__tests/infinite_loop/fake_2_test.py -> build/lib.linux-x86_64-cpython-312/pygame/tests/run_tests__tests/infinite_loop creating build/lib.linux-x86_64-cpython-312/pygame/tests/run_tests__tests/print_stderr copying test/run_tests__tests/print_stderr/__init__.py -> build/lib.linux-x86_64-cpython-312/pygame/tests/run_tests__tests/print_stderr copying test/run_tests__tests/print_stderr/fake_2_test.py -> build/lib.linux-x86_64-cpython-312/pygame/tests/run_tests__tests/print_stderr copying test/run_tests__tests/print_stderr/fake_3_test.py -> build/lib.linux-x86_64-cpython-312/pygame/tests/run_tests__tests/print_stderr copying test/run_tests__tests/print_stderr/fake_4_test.py -> build/lib.linux-x86_64-cpython-312/pygame/tests/run_tests__tests/print_stderr creating build/lib.linux-x86_64-cpython-312/pygame/tests/run_tests__tests/print_stdout copying test/run_tests__tests/print_stdout/__init__.py -> build/lib.linux-x86_64-cpython-312/pygame/tests/run_tests__tests/print_stdout copying test/run_tests__tests/print_stdout/fake_2_test.py -> build/lib.linux-x86_64-cpython-312/pygame/tests/run_tests__tests/print_stdout copying test/run_tests__tests/print_stdout/fake_3_test.py -> build/lib.linux-x86_64-cpython-312/pygame/tests/run_tests__tests/print_stdout copying test/run_tests__tests/print_stdout/fake_4_test.py -> build/lib.linux-x86_64-cpython-312/pygame/tests/run_tests__tests/print_stdout creating build/lib.linux-x86_64-cpython-312/pygame/tests/run_tests__tests/incomplete_todo copying test/run_tests__tests/incomplete_todo/__init__.py -> build/lib.linux-x86_64-cpython-312/pygame/tests/run_tests__tests/incomplete_todo copying test/run_tests__tests/incomplete_todo/fake_2_test.py -> build/lib.linux-x86_64-cpython-312/pygame/tests/run_tests__tests/incomplete_todo copying test/run_tests__tests/incomplete_todo/fake_3_test.py -> build/lib.linux-x86_64-cpython-312/pygame/tests/run_tests__tests/incomplete_todo creating build/lib.linux-x86_64-cpython-312/pygame/tests/run_tests__tests/exclude copying test/run_tests__tests/exclude/__init__.py -> build/lib.linux-x86_64-cpython-312/pygame/tests/run_tests__tests/exclude copying test/run_tests__tests/exclude/fake_2_test.py -> build/lib.linux-x86_64-cpython-312/pygame/tests/run_tests__tests/exclude copying test/run_tests__tests/exclude/invisible_tag_test.py -> build/lib.linux-x86_64-cpython-312/pygame/tests/run_tests__tests/exclude copying test/run_tests__tests/exclude/magic_tag_test.py -> build/lib.linux-x86_64-cpython-312/pygame/tests/run_tests__tests/exclude creating build/lib.linux-x86_64-cpython-312/pygame/tests/run_tests__tests/timeout copying test/run_tests__tests/timeout/__init__.py -> build/lib.linux-x86_64-cpython-312/pygame/tests/run_tests__tests/timeout copying test/run_tests__tests/timeout/fake_2_test.py -> build/lib.linux-x86_64-cpython-312/pygame/tests/run_tests__tests/timeout copying test/run_tests__tests/timeout/sleep_test.py -> build/lib.linux-x86_64-cpython-312/pygame/tests/run_tests__tests/timeout creating build/lib.linux-x86_64-cpython-312/pygame/tests/run_tests__tests/everything copying test/run_tests__tests/everything/__init__.py -> build/lib.linux-x86_64-cpython-312/pygame/tests/run_tests__tests/everything copying test/run_tests__tests/everything/fake_2_test.py -> build/lib.linux-x86_64-cpython-312/pygame/tests/run_tests__tests/everything copying test/run_tests__tests/everything/incomplete_todo_test.py -> build/lib.linux-x86_64-cpython-312/pygame/tests/run_tests__tests/everything copying test/run_tests__tests/everything/magic_tag_test.py -> build/lib.linux-x86_64-cpython-312/pygame/tests/run_tests__tests/everything copying test/run_tests__tests/everything/sleep_test.py -> build/lib.linux-x86_64-cpython-312/pygame/tests/run_tests__tests/everything creating build/lib.linux-x86_64-cpython-312/pygame/docs copying docs/__init__.py -> build/lib.linux-x86_64-cpython-312/pygame/docs copying docs/__main__.py -> build/lib.linux-x86_64-cpython-312/pygame/docs creating build/lib.linux-x86_64-cpython-312/pygame/examples copying examples/__init__.py -> build/lib.linux-x86_64-cpython-312/pygame/examples copying examples/aacircle.py -> build/lib.linux-x86_64-cpython-312/pygame/examples copying examples/aliens.py -> build/lib.linux-x86_64-cpython-312/pygame/examples copying examples/arraydemo.py -> build/lib.linux-x86_64-cpython-312/pygame/examples copying examples/audiocapture.py -> build/lib.linux-x86_64-cpython-312/pygame/examples copying examples/blend_fill.py -> build/lib.linux-x86_64-cpython-312/pygame/examples copying examples/blit_blends.py -> build/lib.linux-x86_64-cpython-312/pygame/examples copying examples/camera.py -> build/lib.linux-x86_64-cpython-312/pygame/examples copying examples/chimp.py -> build/lib.linux-x86_64-cpython-312/pygame/examples copying examples/cursors.py -> build/lib.linux-x86_64-cpython-312/pygame/examples copying examples/dropevent.py -> build/lib.linux-x86_64-cpython-312/pygame/examples copying examples/eventlist.py -> build/lib.linux-x86_64-cpython-312/pygame/examples copying examples/fastevents.py -> build/lib.linux-x86_64-cpython-312/pygame/examples copying examples/fonty.py -> build/lib.linux-x86_64-cpython-312/pygame/examples copying examples/freetype_misc.py -> build/lib.linux-x86_64-cpython-312/pygame/examples copying examples/glcube.py -> build/lib.linux-x86_64-cpython-312/pygame/examples copying examples/headless_no_windows_needed.py -> build/lib.linux-x86_64-cpython-312/pygame/examples copying examples/liquid.py -> build/lib.linux-x86_64-cpython-312/pygame/examples copying examples/mask.py -> build/lib.linux-x86_64-cpython-312/pygame/examples copying examples/midi.py -> build/lib.linux-x86_64-cpython-312/pygame/examples copying examples/moveit.py -> build/lib.linux-x86_64-cpython-312/pygame/examples copying examples/oldalien.py -> build/lib.linux-x86_64-cpython-312/pygame/examples copying examples/overlay.py -> build/lib.linux-x86_64-cpython-312/pygame/examples copying examples/pixelarray.py -> build/lib.linux-x86_64-cpython-312/pygame/examples copying examples/playmus.py -> build/lib.linux-x86_64-cpython-312/pygame/examples copying examples/prevent_display_stretching.py -> build/lib.linux-x86_64-cpython-312/pygame/examples copying examples/scaletest.py -> build/lib.linux-x86_64-cpython-312/pygame/examples copying examples/scrap_clipboard.py -> build/lib.linux-x86_64-cpython-312/pygame/examples copying examples/scroll.py -> build/lib.linux-x86_64-cpython-312/pygame/examples copying examples/sound.py -> build/lib.linux-x86_64-cpython-312/pygame/examples copying examples/sound_array_demos.py -> build/lib.linux-x86_64-cpython-312/pygame/examples copying examples/stars.py -> build/lib.linux-x86_64-cpython-312/pygame/examples copying examples/testsprite.py -> build/lib.linux-x86_64-cpython-312/pygame/examples copying examples/textinput.py -> build/lib.linux-x86_64-cpython-312/pygame/examples copying examples/vgrade.py -> build/lib.linux-x86_64-cpython-312/pygame/examples copying examples/video.py -> build/lib.linux-x86_64-cpython-312/pygame/examples running build_ext building 'pygame.imageext' extension creating build/temp.linux-x86_64-cpython-312 creating build/temp.linux-x86_64-cpython-312/src_c gcc -fno-strict-overflow -DNDEBUG -g -O3 -Wall -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -ffat-lto-objects -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fPIC -D_REENTRANT -DENABLE_NEWBUF=1 -I/usr/X11R6/include -I/usr/include/SDL -I/usr/include/SDL -I/usr/include -I/usr/include -I/usr/include/python3.12 -c src_c/imageext.c -o build/temp.linux-x86_64-cpython-312/src_c/imageext.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from src_c/pygame.h:32, from src_c/imageext.c:29: src_c/imageext.c: In function ‘opengltosdl’: src_c/_pygame.h:331:47: warning: right-hand operand of comma expression has no effect [-Wunused-value] 331 | #define RAISE(x, y) (PyErr_SetString((x), (y)), (PyObject *)NULL) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ src_c/imageext.c:718:9: note: in expansion of macro ‘RAISE’ 718 | RAISE(PyExc_RuntimeError, "Cannot get video surface."); | ^~~~~ src_c/_pygame.h:331:47: warning: right-hand operand of comma expression has no effect [-Wunused-value] 331 | #define RAISE(x, y) (PyErr_SetString((x), (y)), (PyObject *)NULL) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ src_c/imageext.c:722:9: note: in expansion of macro ‘RAISE’ 722 | RAISE(PyExc_RuntimeError, "Cannot find glReadPixels function."); | ^~~~~ src_c/_pygame.h:331:47: warning: right-hand operand of comma expression has no effect [-Wunused-value] 331 | #define RAISE(x, y) (PyErr_SetString((x), (y)), (PyObject *)NULL) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ src_c/imageext.c:729:9: note: in expansion of macro ‘RAISE’ 729 | RAISE(PyExc_MemoryError, "Cannot allocate enough memory for pixels."); | ^~~~~ src_c/_pygame.h:331:47: warning: right-hand operand of comma expression has no effect [-Wunused-value] 331 | #define RAISE(x, y) (PyErr_SetString((x), (y)), (PyObject *)NULL) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ src_c/imageext.c:750:9: note: in expansion of macro ‘RAISE’ 750 | RAISE(pgExc_SDLError, SDL_GetError()); | ^~~~~ gcc -shared -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-z,pack-relative-relocs -flto=auto -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-z,pack-relative-relocs -flto=auto -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection build/temp.linux-x86_64-cpython-312/src_c/imageext.o -L/usr/lib -L/usr/lib -L/usr/lib -L/usr/lib -L/usr/lib -lSDL -lSDL_image -lpng -ljpeg -o build/lib.linux-x86_64-cpython-312/pygame/imageext.cpython-312-x86_64-linux-gnu.so building 'pygame.font' extension gcc -fno-strict-overflow -DNDEBUG -g -O3 -Wall -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -ffat-lto-objects -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fPIC -D_REENTRANT -DENABLE_NEWBUF=1 -I/usr/X11R6/include -I/usr/include/SDL -I/usr/include/SDL -I/usr/include/python3.12 -c src_c/font.c -o build/temp.linux-x86_64-cpython-312/src_c/font.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition src_c/font.c: In function ‘font_metrics’: src_c/font.c:584:12: error: assignment to ‘Uint16 *’ {aka ‘short unsigned int *’} from incompatible pointer type ‘char *’ [-Wincompatible-pointer-types] 584 | buffer = Bytes_AS_STRING(obj); | ^ In file included from src_c/pygame.h:32, from src_c/font.c:32: src_c/font.c: In function ‘font_init’: src_c/_pygame.h:331:47: warning: right-hand operand of comma expression has no effect [-Wunused-value] 331 | #define RAISE(x, y) (PyErr_SetString((x), (y)), (PyObject *)NULL) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ src_c/font.c:672:9: note: in expansion of macro ‘RAISE’ 672 | RAISE(pgExc_SDLError, "font not initialized"); | ^~~~~ src_c/_pygame.h:331:47: warning: right-hand operand of comma expression has no effect [-Wunused-value] 331 | #define RAISE(x, y) (PyErr_SetString((x), (y)), (PyObject *)NULL) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ src_c/font.c:780:9: note: in expansion of macro ‘RAISE’ 780 | RAISE(PyExc_RuntimeError, SDL_GetError()); | ^~~~~ --- For help with compilation see: https://www.pygame.org/wiki/Compilation To contribute to pygame development see: https://www.pygame.org/contribute.html --- error: command '/usr/bin/gcc' failed with exit code 1 ==> ERROR: A failure occurred in package(). Aborting...