==> Synchronizing chroot copy [/home/leming/armv7/root] -> [leming]...done
==> Making package: python-pygame 2.6.1-6 (Mon Aug 10 12:49:05 2026)
==> Retrieving sources...
  -> Found pygame-2.6.1.tar.gz
  -> Found 0001-Use-importlib-instead-of-pkg_resources-on-recent-pyt.patch
==> WARNING: Skipping verification of source file PGP signatures.
==> Validating source files with sha256sums...
    pygame-2.6.1.tar.gz ... Passed
    0001-Use-importlib-instead-of-pkg_resources-on-recent-pyt.patch ... Passed
==> Validating source files with b2sums...
    pygame-2.6.1.tar.gz ... Passed
    0001-Use-importlib-instead-of-pkg_resources-on-recent-pyt.patch ... Passed
==> Making package: python-pygame 2.6.1-6 (Mon Aug 10 18:49:33 2026)
==> Checking runtime dependencies...
==> Installing missing dependencies...
resolving dependencies...
:: There are 5 providers available for libgl:
:: Repository extra
   1) libglvnd
:: Repository alarm
   2) imx-gpu-viv-dfb  3) imx-gpu-viv-fb  4) imx-gpu-viv-wl  5) imx-gpu-viv-x11

Enter a number (default=1): 
looking for conflicting packages...

Packages (60) alsa-lib-1.2.16.1-1  alsa-topology-conf-1.2.5.1-4  alsa-ucm-conf-1.2.16.1-1  aom-3.14.1-1  dav1d-1.5.4-1  default-cursors-3-1  flac-1.5.0-1  freetype2-2.14.3-1  giflib-6.1.3-2  gperftools-2.18.1-1  graphite-1:1.3.15-1  gtest-1.17.0-2  harfbuzz-14.3.0-1  hidapi-0.15.0-1  highway-1.4.0-1  jbigkit-2.1-8  libavif-1.4.2-1  libdeflate-1.25-1  libdrm-2.4.134-1  libedit-20260512_3.1-1  libglvnd-1.7.0-3  libjpeg-turbo-3.2.0-2  libjxl-0.12.0-1  libmodplug-0.8.9.0-7  libogg-1.3.6-1  libpciaccess-0.19-1  libtiff-4.7.2-1  libunwind-1.8.2-1  libvorbis-1.3.7-4  libwebp-1.6.0-2  libx11-1.8.13-1  libxau-1.0.12-1  libxcb-1.17.0-1  libxcursor-1.2.3-1  libxdmcp-1.1.5-2  libxext-1.3.7-1  libxfixes-6.0.2-1  libxmp-4.7.2-1  libxrender-0.9.12-1  libxshmfence-1.3.3-1  libxxf86vm-1.1.7-1  libyuv-r2426+464c51a03-1  llvm-libs-22.1.8-2  lm_sensors-1:3.6.2-1  mesa-1:26.1.6-1  mpg123-1.33.7-1  opus-1.6.1-1  opusfile-0.12-4  rav1e-0.8.1-3  sdl3-3.4.14-1  spirv-tools-1:1.4.357.0-1  wayland-1.26.0-1  xcb-proto-1.17.0-4  xorgproto-2025.1-1  libpng-1.6.58-2  portmidi-1:2.0.8-1  sdl2-compat-2.32.70-1  sdl2_image-2.8.12-2  sdl2_mixer-2.8.2-1  sdl2_ttf-2.24.0-2

Total Download Size:    34.30 MiB
Total Installed Size:  307.77 MiB

:: Proceed with installation? [Y/n] 
:: Retrieving packages...
 mesa-1:26.1.6-1-armv7h downloading...
 opus-1.6.1-1-armv7h downloading...
 libx11-1.8.13-1-armv7h downloading...
 aom-3.14.1-1-armv7h downloading...
 spirv-tools-1:1.4.357.0-1-armv7h downloading...
 sdl3-3.4.14-1-armv7h downloading...
 harfbuzz-14.3.0-1-armv7h downloading...
 libjxl-0.12.0-1-armv7h downloading...
 rav1e-0.8.1-3-armv7h downloading...
 libxcb-1.17.0-1-armv7h downloading...
 highway-1.4.0-1-armv7h downloading...
 libjpeg-turbo-3.2.0-2-armv7h downloading...
 freetype2-2.14.3-1-armv7h downloading...
 gperftools-2.18.1-1-armv7h downloading...
 sdl2-compat-2.32.70-1-armv7h downloading...
 alsa-lib-1.2.16.1-1-armv7h downloading...
 mpg123-1.33.7-1-armv7h downloading...
 libdrm-2.4.134-1-armv7h downloading...
 libtiff-4.7.2-1-armv7h downloading...
 gtest-1.17.0-2-armv7h downloading...
 dav1d-1.5.4-1-armv7h downloading...
 libglvnd-1.7.0-3-armv7h downloading...
 flac-1.5.0-1-armv7h downloading...
 libavif-1.4.2-1-armv7h downloading...
 libxmp-4.7.2-1-armv7h downloading...
 xorgproto-2025.1-1-any downloading...
 libpng-1.6.58-2-armv7h downloading...
 libwebp-1.6.0-2-armv7h downloading...
 libogg-1.3.6-1-armv7h downloading...
 libvorbis-1.3.7-4-armv7h downloading...
 libyuv-r2426+464c51a03-1-armv7h downloading...
 libmodplug-0.8.9.0-7-armv7h downloading...
 wayland-1.26.0-1-armv7h downloading...
 alsa-ucm-conf-1.2.16.1-1-any downloading...
 xcb-proto-1.17.0-4-any downloading...
 libunwind-1.8.2-1-armv7h downloading...
 lm_sensors-1:3.6.2-1-armv7h downloading...
 sdl2_mixer-2.8.2-1-armv7h downloading...
 libxext-1.3.7-1-armv7h downloading...
 giflib-6.1.3-2-armv7h downloading...
 graphite-1:1.3.15-1-armv7h downloading...
 opusfile-0.12-4-armv7h downloading...
 sdl2_image-2.8.12-2-armv7h downloading...
 libdeflate-1.25-1-armv7h downloading...
 jbigkit-2.1-8-armv7h downloading...
 portmidi-1:2.0.8-1-armv7h downloading...
 sdl2_ttf-2.24.0-2-armv7h downloading...
 libxcursor-1.2.3-1-armv7h downloading...
 libxdmcp-1.1.5-2-armv7h downloading...
 libxrender-0.9.12-1-armv7h downloading...
 libpciaccess-0.19-1-armv7h downloading...
 libxxf86vm-1.1.7-1-armv7h downloading...
 alsa-topology-conf-1.2.5.1-4-any downloading...
 libxfixes-6.0.2-1-armv7h downloading...
 libxau-1.0.12-1-armv7h downloading...
 libxshmfence-1.3.3-1-armv7h downloading...
 default-cursors-3-1-any downloading...
checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
checking available disk space...
:: Processing package changes...
installing libpng...
installing xcb-proto...
installing xorgproto...
installing libxdmcp...
installing libxau...
installing libxcb...
installing libx11...
installing libxext...
installing libxrender...
installing libpciaccess...
installing libdrm...
Optional dependencies for libdrm
    cairo: needed for modetest tool
installing libxshmfence...
installing libxxf86vm...
installing libedit...
installing llvm-libs...
installing lm_sensors...
Optional dependencies for lm_sensors
    rrdtool: for logging with sensord
    perl: for sensor detection and configuration convert [installed]
installing spirv-tools...
installing default-cursors...
Optional dependencies for default-cursors
    adwaita-cursors: default cursor theme
installing wayland...
installing mesa...
Optional dependencies for mesa
    opengl-man-pages: for the OpenGL API man pages
installing libglvnd...
installing libxfixes...
installing libxcursor...
installing hidapi...
Optional dependencies for hidapi
    libusb: for hidapi-libusb [installed]
installing sdl3...
Optional dependencies for sdl3
    alsa-lib: ALSA audio driver [pending]
    libpulse: PulseAudio audio driver
    jack: JACK audio driver
    pipewire: PipeWire audio driver
    vulkan-driver: vulkan renderer
    sndio: sndio audio driver
    libdecor: Wayland client decorations
installing sdl2-compat...
installing libogg...
installing libvorbis...
installing libmodplug...
installing alsa-topology-conf...
installing alsa-ucm-conf...
installing alsa-lib...
installing mpg123...
Optional dependencies for mpg123
    sdl2-compat: for sdl audio support [installed]
    jack: for jack audio support
    libpulse: for pulse audio support
    perl: for conplay [installed]
installing flac...
installing opus...
installing opusfile...
installing libxmp...
installing sdl2_mixer...
Optional dependencies for sdl2_mixer
    fluidsynth: MIDI software synth, replaces built-in timidity
installing freetype2...
Optional dependencies for freetype2
    harfbuzz: Improved autohinting [pending]
installing graphite...
Optional dependencies for graphite
    graphite-docs: Documentation
installing harfbuzz...
Optional dependencies for harfbuzz
    harfbuzz-utils: utilities
installing sdl2_ttf...
installing jbigkit...
installing libdeflate...
installing libjpeg-turbo...
installing libwebp...
Optional dependencies for libwebp
    libwebp-utils: WebP conversion and inspection tools
installing libtiff...
Optional dependencies for libtiff
    freeglut: for using tiffgt
installing aom...
installing dav1d...
Optional dependencies for dav1d
    dav1d-doc: HTML documentation
installing libyuv...
installing rav1e...
installing libavif...
installing giflib...
installing libunwind...
installing gperftools...
installing gtest...
Optional dependencies for gtest
    python: gmock generator [installed]
installing highway...
installing libjxl...
Optional dependencies for libjxl
    java-runtime: for JNI bindings
installing sdl2_image...
installing portmidi...
:: Running post-transaction hooks...
(1/2) Reloading system manager configuration...
  Skipped: Current root is not booted.
(2/2) Arming ConditionNeedsUpdate...
==> Checking buildtime dependencies...
==> Installing missing dependencies...
resolving dependencies...
looking for conflicting packages...

Packages (13) python-autocommand-2.2.2-9  python-jaraco.collections-5.1.0-3  python-jaraco.context-6.1.2-1  python-jaraco.functools-4.1.0-3  python-jaraco.text-4.0.0-4  python-more-itertools-11.1.0-1  python-packaging-26.3-1  python-platformdirs-4.11.1-1  python-pyproject-hooks-1.2.0-6  python-build-1.4.3-1  python-installer-1.0.0-1  python-setuptools-1:84.0.0-1  python-wheel-0.47.0-1

Total Installed Size:  9.02 MiB

:: Proceed with installation? [Y/n] 
checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
checking available disk space...
:: Processing package changes...
installing python-packaging...
installing python-pyproject-hooks...
installing python-build...
Optional dependencies for python-build
    python-pip: to use as the Python package installer (default)
    python-uv: to use as the Python package installer
    python-virtualenv: to use virtualenv for build isolation
installing python-installer...
installing python-more-itertools...
installing python-jaraco.functools...
installing python-jaraco.context...
installing python-autocommand...
installing python-jaraco.text...
Optional dependencies for python-jaraco.text
    python-inflect: for show-newlines script
installing python-jaraco.collections...
installing python-platformdirs...
installing python-wheel...
Optional dependencies for python-wheel
    python-keyring: for wheel.signatures
    python-xdg: for wheel.signatures
    python-setuptools: for legacy bdist_wheel subcommand [pending]
installing python-setuptools...
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
==> Retrieving sources...
  -> Found pygame-2.6.1.tar.gz
  -> Found 0001-Use-importlib-instead-of-pkg_resources-on-recent-pyt.patch
==> WARNING: Skipping all source file integrity checks.
==> Extracting sources...
  -> Extracting pygame-2.6.1.tar.gz with bsdtar
==> Starting prepare()...
patching file src_py/pkgdata.py
patch: setting attribute security.SMACK64 for security.SMACK64: Operation not permitted
patching file test/image_test.py
patch: setting attribute security.SMACK64 for security.SMACK64: Operation not permitted
==> Starting build()...
* Getting build dependencies for wheel...
Skipping Cython compilation


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

/bin/sh: line 1: dpkg-architecture: command not found

Hunting dependencies...
SDL     : found 2.32.70
FONT    : found
IMAGE   : found
MIXER   : found
PNG     : found
JPEG    : found
SCRAP   : found
PORTMIDI: found
PORTTIME: found
FREETYPE: found 26.6.20

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


Continuing With "setup.py"
* Building wheel...
src_c/imageext.c: In function 'png_flush_fn':
src_c/imageext.c:179:48: warning: '?:' using integer constants in boolean context [-Wint-in-bool-context]
In file included from /usr/include/python3.14/Python.h:14,
                 from src_c/include/pygame_font.h:23,
                 from src_c/font.h:11,
                 from src_c/font.c:27:
/usr/include/python3.14/pyconfig.h:2007:9: warning: ‘_POSIX_C_SOURCE’ redefined
 2007 | #define _POSIX_C_SOURCE 200809L
      |         ^~~~~~~~~~~~~~~
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/limits.h:26,
                 from /usr/lib/gcc/armv7l-unknown-linux-gnueabihf/16.1.1/include/limits.h:210,
                 from /usr/lib/gcc/armv7l-unknown-linux-gnueabihf/16.1.1/include/syslimits.h:9,
                 from /usr/lib/gcc/armv7l-unknown-linux-gnueabihf/16.1.1/include/limits.h:34,
                 from /usr/include/SDL2/SDL_config_unix.h:28,
                 from /usr/include/SDL2/SDL_config.h:51,
                 from /usr/include/SDL2/SDL_stdinc.h:33,
                 from /usr/include/SDL2/SDL_main.h:25,
                 from /usr/include/SDL2/SDL.h:31,
                 from /usr/include/SDL2/SDL_ttf.h:39,
                 from src_c/font.h:4:
/usr/include/features.h:319:10: note: this is the location of the previous definition
  319 | # define _POSIX_C_SOURCE        202405L
      |          ^~~~~~~~~~~~~~~
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]
src_c/SDL_gfx/SDL_gfxPrimitives.c:3100:9: warning: multi-line comment [-Wcomment]
 3100 |         //     /|\
      |         ^
src_c/SDL_gfx/SDL_gfxPrimitives.c:3102:9: warning: multi-line comment [-Wcomment]
 3102 |         //   /  |  \
      |         ^
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]
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=]
src_c/display.c: In function 'pg_GetVideoInfo':
src_c/display.c:399: warning: ignoring '#pragma PG_WARN ' [-Wunknown-pragmas]
src_c/display.c:400: warning: ignoring '#pragma PG_WARN ' [-Wunknown-pragmas]
src_c/display.c: In function 'pg_set_mode':
src_c/display.c:975: warning: ignoring '#pragma PG_WARN ' [-Wunknown-pragmas]
src_c/display.c:976: warning: ignoring '#pragma PG_WARN ' [-Wunknown-pragmas]
src_c/display.c:1089:48: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
src_c/display.c: In function 'pg_mode_ok':
src_c/display.c:1414: warning: ignoring '#pragma PG_WARN ' [-Wunknown-pragmas]
src_c/display.c: In function 'pg_list_modes':
src_c/display.c:1468: warning: ignoring '#pragma PG_WARN ' [-Wunknown-pragmas]
src_c/display.c: At top level:
src_c/display.c:2617: warning: ignoring '#pragma PG_WARN ' [-Wunknown-pragmas]
src_c/rwobject.c: In function 'pg_EncodeFilePath':
src_c/rwobject.c:245:5: warning: 'Py_FileSystemDefaultEncoding' is deprecated [-Wdeprecated-declarations]
In file included from /usr/include/python3.14/Python.h:110,
                 from src_c/_pygame.h:35,
                 from src_c/pygame.h:30,
                 from src_c/rwobject.c:28:
/usr/include/python3.14/fileobject.h:22:94: 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]
In file included from /usr/include/python3.14/Python.h:124,
                 from src_c/_pygame.h:35,
                 from src_c/pygame.h:30,
                 from src_c/surface.h:33,
                 from src_c/surface.c:26:
/usr/include/python3.14/weakrefobject.h:30:85: 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]
src_c/surface.c: In function '_release_buffer':
src_c/surface.c:3446:5: warning: 'PyWeakref_GetObject' is deprecated [-Wdeprecated-declarations]
/usr/include/python3.14/weakrefobject.h:30:85: 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]
In file included from /usr/include/python3.14/Python.h:124,
                 from src_c/_pygame.h:35,
                 from src_c/pygame.h:30,
                 from src_c/surflock.c:29:
/usr/include/python3.14/weakrefobject.h:30:85: 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]
/usr/include/python3.14/weakrefobject.h:30:85: note: declared here
   30 | Py_DEPRECATED(3.13) PyAPI_FUNC(PyObject *) PyWeakref_GetObject(PyObject *ref);
      |                                                                                     ^                  
src_c/bitmask.c: In function 'bitcount':
src_c/bitmask.c:76:16: warning: right shift count >= width of type [-Wshift-count-overflow]
In file included from /usr/include/python3.14/Python.h:14,
                 from src_c/include/pgcompat.h:4,
                 from src_c/pgcompat.h:6,
                 from src_c/pixelcopy.c:27:
/usr/include/python3.14/pyconfig.h:2007:9: warning: ‘_POSIX_C_SOURCE’ redefined
 2007 | #define _POSIX_C_SOURCE 200809L
      |         ^~~~~~~~~~~~~~~
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/limits.h:26,
                 from /usr/lib/gcc/armv7l-unknown-linux-gnueabihf/16.1.1/include/limits.h:210,
                 from /usr/lib/gcc/armv7l-unknown-linux-gnueabihf/16.1.1/include/syslimits.h:9,
                 from /usr/lib/gcc/armv7l-unknown-linux-gnueabihf/16.1.1/include/limits.h:34,
                 from /usr/include/SDL2/SDL_config_unix.h:28,
                 from /usr/include/SDL2/SDL_config.h:51,
                 from /usr/include/SDL2/SDL_stdinc.h:33,
                 from /usr/include/SDL2/SDL_main.h:25,
                 from /usr/include/SDL2/SDL.h:31,
                 from src_c/palette.h:26,
                 from src_c/pixelcopy.c:25:
/usr/include/features.h:319:10: note: this is the location of the previous definition
  319 | # define _POSIX_C_SOURCE        202405L
      |          ^~~~~~~~~~~~~~~
Skipping Cython compilation
Successfully built pygame-2.6.1-cp314-cp314-linux_armv7l.whl
==> Entering fakeroot environment...
==> Starting package()...
==> Tidying install...
  -> Removing libtool files...
  -> Removing static library files...
  -> Purging unwanted files...
  -> Stripping unneeded symbols from binaries and libraries...
  -> Compressing man and info pages...
==> Checking for packaging issues...
libfakeroot internal error: payload not recognized!
==> Creating package "python-pygame"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: python-pygame 2.6.1-6 (Mon Aug 10 18:52:44 2026)
==> Cleaning up...
[?12l[?25h