=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Skipping vulnerability checks.
WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'.
===> Building for py313-game-2.6.1nb1
* Building wheel...
Skipping Cython compilation


WARNING, No "Setup" File Exists, Running "buildconfig/config.py"
Using UNIX configuration...

sh: dpkg-architecture: not found

Hunting dependencies...
SDL     : found 2.30.11
FONT    : found
IMAGE   : found
MIXER   : found
PNG     : found
JPEG    : found
SCRAP   : found
FREETYPE: found 26.2.20

If you get compiler errors during install, double-check
the compiler flags in the "Setup" file.

src_c/_sdl2/video.c: In function '__pyx_pf_6pygame_5_sdl2_5video_6Window_from_window':
src_c/_sdl2/video.c:7447:23: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 7447 |   __pyx_v_data_ptr = ((void *)__pyx_v_data);
      |                       ^
src_c/SDL_gfx/SDL_gfxPrimitives.c: In function '_filledRectAlpha':
src_c/SDL_gfx/SDL_gfxPrimitives.c:558:20: warning: unused variable 'sA' [-Wunused-variable]
  558 |  Uint8 sR, sG, sB, sA;
      |                    ^~
src_c/SDL_gfx/SDL_gfxPrimitives.c: In function '_aalineColor':
src_c/SDL_gfx/SDL_gfxPrimitives.c:2505:25: warning: variable 'wgtcompmask' set but not used [-Wunused-but-set-variable]
 2505 |  Uint32 erracctmp, wgt, wgtcompmask;
      |                         ^~~~~~~~~~~
src_c/SDL_gfx/SDL_gfxPrimitives.c: In function 'arcColor':
src_c/SDL_gfx/SDL_gfxPrimitives.c:3100:2: warning: multi-line comment [-Wcomment]
 3100 |  //     /|\
      |  ^
src_c/SDL_gfx/SDL_gfxPrimitives.c:3102:2: warning: multi-line comment [-Wcomment]
 3102 |  //   /  |  \
      |  ^
In file included from /usr/include/ctype.h:100,
                 from /pbulk/work/devel/py-game/work/.buildlink/include/python3.13/Python.h:42,
                 from src_c/_pygame.h:35,
                 from src_c/pygame.h:30,
                 from src_c/base.c:25:
src_c/base.c: In function '_pg_typestr_as_format':
src_c/base.c:2155:36: warning: array subscript has type 'char' [-Wchar-subscripts]
 2155 |                 *fchar_p = tolower(*fchar_p);
      |                                    ^
In file included from /usr/include/ctype.h:100,
                 from /pbulk/work/devel/py-game/work/.buildlink/include/python3.13/Python.h:42,
                 from src_c/_pygame.h:35,
                 from src_c/pygame.h:30,
                 from src_c/color.c:44:
src_c/color.c: In function '_hextoint':
src_c/color.c:338:24: warning: array subscript has type 'char' [-Wchar-subscripts]
  338 |     switch (toupper(hex[0])) {
      |                        ^
src_c/color.c:390:24: warning: array subscript has type 'char' [-Wchar-subscripts]
  390 |     switch (toupper(hex[1])) {
      |                        ^
src_c/display.c: In function 'pg_GetVideoInfo':
src_c/display.c:399: warning: ignoring '#pragma PG_WARN ' [-Wunknown-pragmas]
  399 | #pragma PG_WARN(hardcoding wm_available to 1)
      | 
src_c/display.c:400: warning: ignoring '#pragma PG_WARN ' [-Wunknown-pragmas]
  400 | #pragma PG_WARN(setting available video RAM to 0 KB)
      | 
src_c/display.c: In function 'pg_set_mode':
src_c/display.c:975: warning: ignoring '#pragma PG_WARN ' [-Wunknown-pragmas]
  975 | #pragma PG_WARN(Not setting bpp ?)
      | 
src_c/display.c:976: warning: ignoring '#pragma PG_WARN ' [-Wunknown-pragmas]
  976 | #pragma PG_WARN(Add mode stuff.)
      | 
src_c/display.c:1089:48: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1089 |                     win = SDL_CreateWindowFrom((const void *)win_long);
      |                                                ^
src_c/display.c: In function 'pg_mode_ok':
src_c/display.c:1414: warning: ignoring '#pragma PG_WARN ' [-Wunknown-pragmas]
 1414 | #pragma PG_WARN(Ignoring most flags)
      | 
src_c/display.c: In function 'pg_list_modes':
src_c/display.c:1468: warning: ignoring '#pragma PG_WARN ' [-Wunknown-pragmas]
 1468 | #pragma PG_WARN(Ignoring flags)
      | 
src_c/display.c: At top level:
src_c/display.c:2617: warning: ignoring '#pragma PG_WARN ' [-Wunknown-pragmas]
 2617 | #pragma PG_WARN(At some point should add GC slot functions.)
      | 
src_c/rwobject.c: In function 'pg_EncodeFilePath':
src_c/rwobject.c:245:5: warning: 'Py_FileSystemDefaultEncoding' is deprecated [-Wdeprecated-declarations]
  245 |     PyObject *result = pg_EncodeString(obj, Py_FileSystemDefaultEncoding,
      |     ^~~~~~~~
In file included from /pbulk/work/devel/py-game/work/.buildlink/include/python3.13/Python.h:99,
                 from src_c/_pygame.h:35,
                 from src_c/pygame.h:30,
                 from src_c/rwobject.c:28:
/pbulk/work/devel/py-game/work/.buildlink/include/python3.13/fileobject.h:22:46: note: declared here
   22 | Py_DEPRECATED(3.12) PyAPI_DATA(const char *) Py_FileSystemDefaultEncoding;
      |                                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
src_c/surface.c: In function 'surf_get_locks':
src_c/surface.c:1023:9: warning: 'PyWeakref_GetObject' is deprecated [-Wdeprecated-declarations]
 1023 |         tmp = PyWeakref_GetObject(PyList_GetItem(surf->locklist, i));
      |         ^~~
In file included from /pbulk/work/devel/py-game/work/.buildlink/include/python3.13/Python.h:113,
                 from src_c/_pygame.h:35,
                 from src_c/pygame.h:30,
                 from src_c/surface.h:33,
                 from src_c/surface.c:26:
/pbulk/work/devel/py-game/work/.buildlink/include/python3.13/weakrefobject.h:30:44: note: declared here
   30 | Py_DEPRECATED(3.13) PyAPI_FUNC(PyObject *) PyWeakref_GetObject(PyObject *ref);
      |                                            ^~~~~~~~~~~~~~~~~~~
src_c/surface.c: In function 'surf_convert_alpha':
src_c/surface.c:1677: warning: ignoring '#pragma PG_WARN ' [-Wunknown-pragmas]
 1677 | #pragma PG_WARN("srcsurf doesn't actually do anything?")
      | 
src_c/surface.c: In function '_release_buffer':
src_c/surface.c:3446:5: warning: 'PyWeakref_GetObject' is deprecated [-Wdeprecated-declarations]
 3446 |     consumer = PyWeakref_GetObject(consumer_ref);
      |     ^~~~~~~~
In file included from /pbulk/work/devel/py-game/work/.buildlink/include/python3.13/Python.h:113,
                 from src_c/_pygame.h:35,
                 from src_c/pygame.h:30,
                 from src_c/surface.h:33,
                 from src_c/surface.c:26:
/pbulk/work/devel/py-game/work/.buildlink/include/python3.13/weakrefobject.h:30:44: note: declared here
   30 | Py_DEPRECATED(3.13) PyAPI_FUNC(PyObject *) PyWeakref_GetObject(PyObject *ref);
      |                                            ^~~~~~~~~~~~~~~~~~~
src_c/surflock.c: In function 'pgSurface_UnlockBy':
src_c/surflock.c:127:13: warning: 'PyWeakref_GetObject' is deprecated [-Wdeprecated-declarations]
  127 |             ref = PyWeakref_GetObject(item);
      |             ^~~
In file included from /pbulk/work/devel/py-game/work/.buildlink/include/python3.13/Python.h:113,
                 from src_c/_pygame.h:35,
                 from src_c/pygame.h:30,
                 from src_c/surflock.c:29:
/pbulk/work/devel/py-game/work/.buildlink/include/python3.13/weakrefobject.h:30:44: note: declared here
   30 | Py_DEPRECATED(3.13) PyAPI_FUNC(PyObject *) PyWeakref_GetObject(PyObject *ref);
      |                                            ^~~~~~~~~~~~~~~~~~~
src_c/surflock.c:142:13: warning: 'PyWeakref_GetObject' is deprecated [-Wdeprecated-declarations]
  142 |             ref = PyWeakref_GetObject(item);
      |             ^~~
In file included from /pbulk/work/devel/py-game/work/.buildlink/include/python3.13/Python.h:113,
                 from src_c/_pygame.h:35,
                 from src_c/pygame.h:30,
                 from src_c/surflock.c:29:
/pbulk/work/devel/py-game/work/.buildlink/include/python3.13/weakrefobject.h:30:44: note: declared here
   30 | Py_DEPRECATED(3.13) PyAPI_FUNC(PyObject *) PyWeakref_GetObject(PyObject *ref);
      |                                            ^~~~~~~~~~~~~~~~~~~
src_c/image.c: In function 'compute_align_vector':
src_c/image.c:304:1: warning: SSE vector return without SSE enabled changes the ABI [-Wpsabi]
  304 | {
      | ^
In file included from /usr/include/gcc-10/xmmintrin.h:1316,
                 from /usr/include/gcc-10/immintrin.h:29,
                 from /pbulk/work/devel/py-game/work/.buildlink/include/SDL2/SDL_cpuinfo.h:113,
                 from /pbulk/work/devel/py-game/work/.buildlink/include/SDL2/SDL.h:38,
                 from src_c/_pygame.h:43,
                 from src_c/pygame.h:30,
                 from src_c/image.c:27:
/usr/include/gcc-10/emmintrin.h:602:1: error: inlining failed in call to 'always_inline' '_mm_set_epi32': target specific option mismatch
  602 | _mm_set_epi32 (int __q3, int __q2, int __q1, int __q0)
      | ^~~~~~~~~~~~~
src_c/image.c:319:12: note: called from here
  319 |     return _mm_set_epi32(output_align[0], output_align[1], output_align[2],
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  320 |                          output_align[3]);
      |                          ~~~~~~~~~~~~~~~~

Continuing With "setup.py"

---
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 '/pbulk/work/devel/py-game/work/.cwrapper/bin/gcc' failed with exit code 1
Exception ignored in: <function _DeleteDummyThreadOnDel.__del__ at 0xf353f478>
Traceback (most recent call last):
  File "/usr/pkg/lib/python3.13/threading.py", line 1383, in __del__
TypeError: 'NoneType' object does not support the context manager protocol

ERROR Backend subprocess exited when trying to invoke build_wheel
*** Error code 1

Stop.
make[1]: stopped in /usr/pkgsrc/devel/py-game
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/devel/py-game