打包不支持windows所以可以找一台linux的电脑

或者用win10子系统(推荐)

我用的是Ubuntu 

我简单说一下两步:

启用 Linux 子系统组件

系统设置 -> 应用 -> 右侧的程序和功能 -> 启动或关闭windows功能 -> 勾选适用于 Linux 的 Windows 子系统
设置完成后重启更新即可

 win10将python打包成apk详细文档_安卓

 

 

安装 Linux 子系统

打开 Windows 应用市场,输入 linux 搜索,选择你自己想要的系统版本,我选择的是 Ubuntu ,然后下载安装。

win10将python打包成apk详细文档_linux_02

 

 

来自:https://www.jianshu.com/p/fcf21d45ea74

 
 
 
好了,进入正题打开 终端/子系统 (建议win10上也装一个用于写代码,这个只是用来打包的)
我们要先安装kivy:
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple kivy

或直接

pip install kivy

 

可能会报错

win10将python打包成apk详细文档_apk_03win10将python打包成apk详细文档_linux_04
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
Collecting kivy
  Downloading https://pypi.tuna.tsinghua.edu.cn/packages/12/96/091ddacafb84dd18555a32d860dbfaf9c806147aa30c6f3c8b93cb7bab97/Kivy-2.0.0.tar.gz (23.7 MB)
     |████████████████████████████████| 23.7 MB 102 kB/s
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
    Preparing wheel metadata ... done
Collecting pygments
  Downloading https://pypi.tuna.tsinghua.edu.cn/packages/a6/c9/be11fce9810793676017f79ffab3c6cb18575844a6c7b8d4ed92f95de604/Pygments-2.9.0-py3-none-any.whl (1.0 MB)
     |████████████████████████████████| 1.0 MB 4.0 MB/s
Collecting Kivy-Garden>=0.1.4
  Downloading https://pypi.tuna.tsinghua.edu.cn/packages/7d/68/decaee596ff8168a39432eb3949fc7c0be952ebb9467806823bffc165d48/kivy-garden-0.1.4.tar.gz (6.8 kB)
Collecting docutils
  Downloading https://pypi.tuna.tsinghua.edu.cn/packages/4c/5e/6003a0d1f37725ec2ebd4046b657abb9372202655f96e76795dca8c0063c/docutils-0.17.1-py2.py3-none-any.whl (575 kB)
     |████████████████████████████████| 575 kB 2.8 MB/s
Requirement already satisfied: requests in /usr/lib/python3/dist-packages (from Kivy-Garden>=0.1.4->kivy) (2.22.0)
Building wheels for collected packages: kivy, Kivy-Garden
  Building wheel for kivy (PEP 517) ... error
  ERROR: Command errored out with exit status 1:
   command: /usr/bin/python3 /usr/local/lib/python3.8/dist-packages/pip/_vendor/pep517/in_process/_in_process.py build_wheel /tmp/tmpavt0qub4
       cwd: /tmp/pip-install-8rbr21go/kivy_5ffa222cff644de897ff75c6dbb2c506
  Complete output (857 lines):
  [INFO   ] [Logger      ] Record log in /root/.kivy/logs/kivy_21-07-06_2.txt
  [INFO   ] [Kivy        ] v2.0.0
  [INFO   ] [Kivy        ] Installed at "/tmp/pip-install-8rbr21go/kivy_5ffa222cff644de897ff75c6dbb2c506/kivy/__init__.py"
  [INFO   ] [Python      ] v3.8.10 (default, Jun  2 2021, 10:49:15)
  [GCC 9.4.0]
  [INFO   ] [Python      ] Interpreter at "/usr/bin/python3"
  Current directory is: /tmp/pip-install-8rbr21go/kivy_5ffa222cff644de897ff75c6dbb2c506
  Source and initial build directory is:
  Python path is:
  /tmp/pip-install-8rbr21go/kivy_5ffa222cff644de897ff75c6dbb2c506
  /usr/local/lib/python3.8/dist-packages/pip/_vendor/pep517/in_process
  /tmp/pip-build-env-vxfro5dd/site
  /usr/lib/python38.zip
  /usr/lib/python3.8
  /usr/lib/python3.8/lib-dynload
  /usr/local/lib/python3.8/dist-packages
  /tmp/pip-build-env-vxfro5dd/overlay/lib/python3.8/site-packages
  /tmp/pip-build-env-vxfro5dd/normal/lib/python3.8/site-packages
  /tmp/pip-install-8rbr21go/kivy_5ffa222cff644de897ff75c6dbb2c506/kivy/modules
  /root/.kivy/mods


  Found Cython at /tmp/pip-build-env-vxfro5dd/overlay/lib/python3.8/site-packages/Cython/__init__.py
  Detected supported Cython version 0.29.21
  Using this graphics system: OpenGL
  WARNING: A problem occurred while running pkg-config --libs --cflags gstreamer-1.0 (code 1)

  b"Package gstreamer-1.0 was not found in the pkg-config search path.\nPerhaps you should add the directory containing `gstreamer-1.0.pc'\nto the PKG_CONFIG_PATH environment variable\nNo package 'gstreamer-1.0' found\n"

  WARNING: A problem occurred while running pkg-config --libs --cflags sdl2 SDL2_ttf SDL2_image SDL2_mixer (code 1)

  b"Package sdl2 was not found in the pkg-config search path.\nPerhaps you should add the directory containing `sdl2.pc'\nto the PKG_CONFIG_PATH environment variable\nNo package 'sdl2' found\nPackage SDL2_ttf was not found in the pkg-config search path.\nPerhaps you should add the directory containing `SDL2_ttf.pc'\nto the PKG_CONFIG_PATH environment variable\nNo package 'SDL2_ttf' found\nPackage SDL2_image was not found in the pkg-config search path.\nPerhaps you should add the directory containing `SDL2_image.pc'\nto the PKG_CONFIG_PATH environment variable\nNo package 'SDL2_image' found\nPackage SDL2_mixer was not found in the pkg-config search path.\nPerhaps you should add the directory containing `SDL2_mixer.pc'\nto the PKG_CONFIG_PATH environment variable\nNo package 'SDL2_mixer' found\n"

  WARNING: A problem occurred while running pkg-config --libs --cflags pangoft2 (code 1)

  b"Package pangoft2 was not found in the pkg-config search path.\nPerhaps you should add the directory containing `pangoft2.pc'\nto the PKG_CONFIG_PATH environment variable\nNo package 'pangoft2' found\n"

  ERROR: Dependency for context.pyx not resolved: config.pxi
  ERROR: Dependency for compiler.pyx not resolved: config.pxi
  ERROR: Dependency for context_instructions.pyx not resolved: config.pxi
  ERROR: Dependency for fbo.pyx not resolved: config.pxi
  ERROR: Dependency for gl_instructions.pyx not resolved: config.pxi
  ERROR: Dependency for instructions.pyx not resolved: config.pxi
  ERROR: Dependency for opengl.pyx not resolved: config.pxi
  ERROR: Dependency for opengl_utils.pyx not resolved: config.pxi
  ERROR: Dependency for shader.pyx not resolved: config.pxi
  ERROR: Dependency for stencil_instructions.pyx not resolved: config.pxi
  ERROR: Dependency for scissor_instructions.pyx not resolved: config.pxi
  ERROR: Dependency for texture.pyx not resolved: config.pxi
  ERROR: Dependency for vbo.pyx not resolved: config.pxi
  ERROR: Dependency for vertex.pyx not resolved: config.pxi
  ERROR: Dependency for vertex_instructions.pyx not resolved: config.pxi
  ERROR: Dependency for cgl.pyx not resolved: config.pxi
  ERROR: Dependency for cgl_mock.pyx not resolved: config.pxi
  ERROR: Dependency for cgl_gl.pyx not resolved: config.pxi
  ERROR: Dependency for cgl_glew.pyx not resolved: config.pxi
  ERROR: Dependency for cgl_sdl2.pyx not resolved: config.pxi
  ERROR: Dependency for svg.pyx not resolved: config.pxi
  running bdist_wheel
  running build
  running build_py
  [INFO   ] Generating grammar tables from /usr/lib/python3.8/lib2to3/Grammar.txt
  [INFO   ] Generating grammar tables from /usr/lib/python3.8/lib2to3/PatternGrammar.txt
  creating build
  creating build/lib.linux-aarch64-3.8
  creating build/lib.linux-aarch64-3.8/kivy
  copying kivy/animation.py -> build/lib.linux-aarch64-3.8/kivy
  copying kivy/app.py -> build/lib.linux-aarch64-3.8/kivy
  copying kivy/atlas.py -> build/lib.linux-aarch64-3.8/kivy
  copying kivy/base.py -> build/lib.linux-aarch64-3.8/kivy
  copying kivy/cache.py -> build/lib.linux-aarch64-3.8/kivy
  copying kivy/clock.py -> build/lib.linux-aarch64-3.8/kivy
  copying kivy/compat.py -> build/lib.linux-aarch64-3.8/kivy
  copying kivy/config.py -> build/lib.linux-aarch64-3.8/kivy
  copying kivy/context.py -> build/lib.linux-aarch64-3.8/kivy
  copying kivy/event.py -> build/lib.linux-aarch64-3.8/kivy
  copying kivy/factory.py -> build/lib.linux-aarch64-3.8/kivy
  copying kivy/factory_registers.py -> build/lib.linux-aarch64-3.8/kivy
  copying kivy/geometry.py -> build/lib.linux-aarch64-3.8/kivy
  copying kivy/gesture.py -> build/lib.linux-aarch64-3.8/kivy
  copying kivy/interactive.py -> build/lib.linux-aarch64-3.8/kivy
  copying kivy/loader.py -> build/lib.linux-aarch64-3.8/kivy
  copying kivy/logger.py -> build/lib.linux-aarch64-3.8/kivy
  copying kivy/metrics.py -> build/lib.linux-aarch64-3.8/kivy
  copying kivy/multistroke.py -> build/lib.linux-aarch64-3.8/kivy
  copying kivy/parser.py -> build/lib.linux-aarch64-3.8/kivy
  copying kivy/resources.py -> build/lib.linux-aarch64-3.8/kivy
  copying kivy/support.py -> build/lib.linux-aarch64-3.8/kivy
  copying kivy/utils.py -> build/lib.linux-aarch64-3.8/kivy
  copying kivy/vector.py -> build/lib.linux-aarch64-3.8/kivy
  copying kivy/weakmethod.py -> build/lib.linux-aarch64-3.8/kivy
  copying kivy/_version.py -> build/lib.linux-aarch64-3.8/kivy
  copying kivy/__init__.py -> build/lib.linux-aarch64-3.8/kivy
  creating build/lib.linux-aarch64-3.8/kivy/core
  copying kivy/core/__init__.py -> build/lib.linux-aarch64-3.8/kivy/core
  creating build/lib.linux-aarch64-3.8/kivy/deps
  copying kivy/deps/__init__.py -> build/lib.linux-aarch64-3.8/kivy/deps
  creating build/lib.linux-aarch64-3.8/kivy/effects
  copying kivy/effects/dampedscroll.py -> build/lib.linux-aarch64-3.8/kivy/effects
  copying kivy/effects/kinetic.py -> build/lib.linux-aarch64-3.8/kivy/effects
  copying kivy/effects/opacityscroll.py -> build/lib.linux-aarch64-3.8/kivy/effects
  copying kivy/effects/scroll.py -> build/lib.linux-aarch64-3.8/kivy/effects
  copying kivy/effects/__init__.py -> build/lib.linux-aarch64-3.8/kivy/effects
  creating build/lib.linux-aarch64-3.8/kivy/extras
  copying kivy/extras/highlight.py -> build/lib.linux-aarch64-3.8/kivy/extras
  copying kivy/extras/__init__.py -> build/lib.linux-aarch64-3.8/kivy/extras
  creating build/lib.linux-aarch64-3.8/kivy/garden
  copying kivy/garden/__init__.py -> build/lib.linux-aarch64-3.8/kivy/garden
  creating build/lib.linux-aarch64-3.8/kivy/graphics
  copying kivy/graphics/__init__.py -> build/lib.linux-aarch64-3.8/kivy/graphics
  creating build/lib.linux-aarch64-3.8/kivy/input
  copying kivy/input/factory.py -> build/lib.linux-aarch64-3.8/kivy/input
  copying kivy/input/motionevent.py -> build/lib.linux-aarch64-3.8/kivy/input
  copying kivy/input/provider.py -> build/lib.linux-aarch64-3.8/kivy/input
  copying kivy/input/recorder.py -> build/lib.linux-aarch64-3.8/kivy/input
  copying kivy/input/shape.py -> build/lib.linux-aarch64-3.8/kivy/input
  copying kivy/input/__init__.py -> build/lib.linux-aarch64-3.8/kivy/input
  creating build/lib.linux-aarch64-3.8/kivy/lang
  copying kivy/lang/builder.py -> build/lib.linux-aarch64-3.8/kivy/lang
  copying kivy/lang/parser.py -> build/lib.linux-aarch64-3.8/kivy/lang
  copying kivy/lang/__init__.py -> build/lib.linux-aarch64-3.8/kivy/lang
  creating build/lib.linux-aarch64-3.8/kivy/lib
  copying kivy/lib/ddsfile.py -> build/lib.linux-aarch64-3.8/kivy/lib
  copying kivy/lib/mtdev.py -> build/lib.linux-aarch64-3.8/kivy/lib
  copying kivy/lib/__init__.py -> build/lib.linux-aarch64-3.8/kivy/lib
  creating build/lib.linux-aarch64-3.8/kivy/modules
  copying kivy/modules/console.py -> build/lib.linux-aarch64-3.8/kivy/modules
  copying kivy/modules/cursor.py -> build/lib.linux-aarch64-3.8/kivy/modules
  copying kivy/modules/inspector.py -> build/lib.linux-aarch64-3.8/kivy/modules
  copying kivy/modules/joycursor.py -> build/lib.linux-aarch64-3.8/kivy/modules
  copying kivy/modules/keybinding.py -> build/lib.linux-aarch64-3.8/kivy/modules
  copying kivy/modules/monitor.py -> build/lib.linux-aarch64-3.8/kivy/modules
  copying kivy/modules/recorder.py -> build/lib.linux-aarch64-3.8/kivy/modules
  copying kivy/modules/screen.py -> build/lib.linux-aarch64-3.8/kivy/modules
  copying kivy/modules/showborder.py -> build/lib.linux-aarch64-3.8/kivy/modules
  copying kivy/modules/touchring.py -> build/lib.linux-aarch64-3.8/kivy/modules
  copying kivy/modules/webdebugger.py -> build/lib.linux-aarch64-3.8/kivy/modules
  copying kivy/modules/_webdebugger.py -> build/lib.linux-aarch64-3.8/kivy/modules
  copying kivy/modules/__init__.py -> build/lib.linux-aarch64-3.8/kivy/modules
  creating build/lib.linux-aarch64-3.8/kivy/network
  copying kivy/network/urlrequest.py -> build/lib.linux-aarch64-3.8/kivy/network
  copying kivy/network/__init__.py -> build/lib.linux-aarch64-3.8/kivy/network
  creating build/lib.linux-aarch64-3.8/kivy/storage
  copying kivy/storage/dictstore.py -> build/lib.linux-aarch64-3.8/kivy/storage
  copying kivy/storage/jsonstore.py -> build/lib.linux-aarch64-3.8/kivy/storage
  copying kivy/storage/redisstore.py -> build/lib.linux-aarch64-3.8/kivy/storage
  copying kivy/storage/__init__.py -> build/lib.linux-aarch64-3.8/kivy/storage
  creating build/lib.linux-aarch64-3.8/kivy/tests
  copying kivy/tests/async_common.py -> build/lib.linux-aarch64-3.8/kivy/tests
  copying kivy/tests/common.py -> build/lib.linux-aarch64-3.8/kivy/tests
  copying kivy/tests/conftest.py -> build/lib.linux-aarch64-3.8/kivy/tests
  copying kivy/tests/fixtures.py -> build/lib.linux-aarch64-3.8/kivy/tests
  copying kivy/tests/perf_test_textinput.py -> build/lib.linux-aarch64-3.8/kivy/tests
  copying kivy/tests/test_animations.py -> build/lib.linux-aarch64-3.8/kivy/tests
  copying kivy/tests/test_app.py -> build/lib.linux-aarch64-3.8/kivy/tests
  copying kivy/tests/test_audio.py -> build/lib.linux-aarch64-3.8/kivy/tests
  copying kivy/tests/test_clipboard.py -> build/lib.linux-aarch64-3.8/kivy/tests
  copying kivy/tests/test_clock.py -> build/lib.linux-aarch64-3.8/kivy/tests
  copying kivy/tests/test_coverage.py -> build/lib.linux-aarch64-3.8/kivy/tests
  copying kivy/tests/test_doc_gallery.py -> build/lib.linux-aarch64-3.8/kivy/tests
  copying kivy/tests/test_fbo_py2py3.py -> build/lib.linux-aarch64-3.8/kivy/tests
  copying kivy/tests/test_filechooser.py -> build/lib.linux-aarch64-3.8/kivy/tests
  copying kivy/tests/test_filechooser_unicode.py -> build/lib.linux-aarch64-3.8/kivy/tests
  copying kivy/tests/test_fonts.py -> build/lib.linux-aarch64-3.8/kivy/tests
  copying kivy/tests/test_graphics.py -> build/lib.linux-aarch64-3.8/kivy/tests
  copying kivy/tests/test_image.py -> build/lib.linux-aarch64-3.8/kivy/tests
  copying kivy/tests/test_imageloader.py -> build/lib.linux-aarch64-3.8/kivy/tests
  copying kivy/tests/test_invalid_lang.py -> build/lib.linux-aarch64-3.8/kivy/tests
  copying kivy/tests/test_knspace.py -> build/lib.linux-aarch64-3.8/kivy/tests
  copying kivy/tests/test_lang.py -> build/lib.linux-aarch64-3.8/kivy/tests
  copying kivy/tests/test_lang_complex.py -> build/lib.linux-aarch64-3.8/kivy/tests
  copying kivy/tests/test_lang_pre_process_and_post_process.py -> build/lib.linux-aarch64-3.8/kivy/tests
  copying kivy/tests/test_module_inspector.py -> build/lib.linux-aarch64-3.8/kivy/tests
  copying kivy/tests/test_mouse_multitouchsim.py -> build/lib.linux-aarch64-3.8/kivy/tests
  copying kivy/tests/test_multistroke.py -> build/lib.linux-aarch64-3.8/kivy/tests
  copying kivy/tests/test_properties.py -> build/lib.linux-aarch64-3.8/kivy/tests
  copying kivy/tests/test_rst_replace.py -> build/lib.linux-aarch64-3.8/kivy/tests
  copying kivy/tests/test_screen.py -> build/lib.linux-aarch64-3.8/kivy/tests
  copying kivy/tests/test_storage.py -> build/lib.linux-aarch64-3.8/kivy/tests
  copying kivy/tests/test_uix_actionbar.py -> build/lib.linux-aarch64-3.8/kivy/tests
  copying kivy/tests/test_uix_anchorlayout.py -> build/lib.linux-aarch64-3.8/kivy/tests
  copying kivy/tests/test_uix_asyncimage.py -> build/lib.linux-aarch64-3.8/kivy/tests
  copying kivy/tests/test_uix_boxlayout.py -> build/lib.linux-aarch64-3.8/kivy/tests
  copying kivy/tests/test_uix_bubble.py -> build/lib.linux-aarch64-3.8/kivy/tests
  copying kivy/tests/test_uix_carousel.py -> build/lib.linux-aarch64-3.8/kivy/tests
  copying kivy/tests/test_uix_dropdown.py -> build/lib.linux-aarch64-3.8/kivy/tests
  copying kivy/tests/test_uix_gridlayout.py -> build/lib.linux-aarch64-3.8/kivy/tests
  copying kivy/tests/test_uix_layout.py -> build/lib.linux-aarch64-3.8/kivy/tests
  copying kivy/tests/test_uix_modal.py -> build/lib.linux-aarch64-3.8/kivy/tests
  copying kivy/tests/test_uix_relativelayout.py -> build/lib.linux-aarch64-3.8/kivy/tests
  copying kivy/tests/test_uix_scrollview.py -> build/lib.linux-aarch64-3.8/kivy/tests
  copying kivy/tests/test_uix_slider.py -> build/lib.linux-aarch64-3.8/kivy/tests
  copying kivy/tests/test_uix_stacklayout.py -> build/lib.linux-aarch64-3.8/kivy/tests
  copying kivy/tests/test_uix_textinput.py -> build/lib.linux-aarch64-3.8/kivy/tests
  copying kivy/tests/test_uix_translate_coordinates.py -> build/lib.linux-aarch64-3.8/kivy/tests
  copying kivy/tests/test_uix_widget.py -> build/lib.linux-aarch64-3.8/kivy/tests
  copying kivy/tests/test_urlrequest.py -> build/lib.linux-aarch64-3.8/kivy/tests
  copying kivy/tests/test_utils.py -> build/lib.linux-aarch64-3.8/kivy/tests
  copying kivy/tests/test_vector.py -> build/lib.linux-aarch64-3.8/kivy/tests
  copying kivy/tests/test_video.py -> build/lib.linux-aarch64-3.8/kivy/tests
  copying kivy/tests/test_weakmethod.py -> build/lib.linux-aarch64-3.8/kivy/tests
  copying kivy/tests/test_widget.py -> build/lib.linux-aarch64-3.8/kivy/tests
  copying kivy/tests/test_widget_walk.py -> build/lib.linux-aarch64-3.8/kivy/tests
  copying kivy/tests/test_window_info.py -> build/lib.linux-aarch64-3.8/kivy/tests
  copying kivy/tests/visual_test_label.py -> build/lib.linux-aarch64-3.8/kivy/tests
  copying kivy/tests/__init__.py -> build/lib.linux-aarch64-3.8/kivy/tests
  creating build/lib.linux-aarch64-3.8/kivy/tools
  copying kivy/tools/benchmark.py -> build/lib.linux-aarch64-3.8/kivy/tools
  copying kivy/tools/changelog_parser.py -> build/lib.linux-aarch64-3.8/kivy/tools
  copying kivy/tools/coverage.py -> build/lib.linux-aarch64-3.8/kivy/tools
  copying kivy/tools/gallery.py -> build/lib.linux-aarch64-3.8/kivy/tools
  copying kivy/tools/generate-icons.py -> build/lib.linux-aarch64-3.8/kivy/tools
  copying kivy/tools/kviewer.py -> build/lib.linux-aarch64-3.8/kivy/tools
  copying kivy/tools/report.py -> build/lib.linux-aarch64-3.8/kivy/tools
  copying kivy/tools/stub-gl-debug.py -> build/lib.linux-aarch64-3.8/kivy/tools
  copying kivy/tools/texturecompress.py -> build/lib.linux-aarch64-3.8/kivy/tools
  copying kivy/tools/__init__.py -> build/lib.linux-aarch64-3.8/kivy/tools
  creating build/lib.linux-aarch64-3.8/kivy/uix
  copying kivy/uix/accordion.py -> build/lib.linux-aarch64-3.8/kivy/uix
  copying kivy/uix/actionbar.py -> build/lib.linux-aarch64-3.8/kivy/uix
  copying kivy/uix/anchorlayout.py -> build/lib.linux-aarch64-3.8/kivy/uix
  copying kivy/uix/boxlayout.py -> build/lib.linux-aarch64-3.8/kivy/uix
  copying kivy/uix/bubble.py -> build/lib.linux-aarch64-3.8/kivy/uix
  copying kivy/uix/button.py -> build/lib.linux-aarch64-3.8/kivy/uix
  copying kivy/uix/camera.py -> build/lib.linux-aarch64-3.8/kivy/uix
  copying kivy/uix/carousel.py -> build/lib.linux-aarch64-3.8/kivy/uix
  copying kivy/uix/checkbox.py -> build/lib.linux-aarch64-3.8/kivy/uix
  copying kivy/uix/codeinput.py -> build/lib.linux-aarch64-3.8/kivy/uix
  copying kivy/uix/colorpicker.py -> build/lib.linux-aarch64-3.8/kivy/uix
  copying kivy/uix/dropdown.py -> build/lib.linux-aarch64-3.8/kivy/uix
  copying kivy/uix/effectwidget.py -> build/lib.linux-aarch64-3.8/kivy/uix
  copying kivy/uix/filechooser.py -> build/lib.linux-aarch64-3.8/kivy/uix
  copying kivy/uix/floatlayout.py -> build/lib.linux-aarch64-3.8/kivy/uix
  copying kivy/uix/gesturesurface.py -> build/lib.linux-aarch64-3.8/kivy/uix
  copying kivy/uix/gridlayout.py -> build/lib.linux-aarch64-3.8/kivy/uix
  copying kivy/uix/image.py -> build/lib.linux-aarch64-3.8/kivy/uix
  copying kivy/uix/label.py -> build/lib.linux-aarch64-3.8/kivy/uix
  copying kivy/uix/layout.py -> build/lib.linux-aarch64-3.8/kivy/uix
  copying kivy/uix/modalview.py -> build/lib.linux-aarch64-3.8/kivy/uix
  copying kivy/uix/pagelayout.py -> build/lib.linux-aarch64-3.8/kivy/uix
  copying kivy/uix/popup.py -> build/lib.linux-aarch64-3.8/kivy/uix
  copying kivy/uix/progressbar.py -> build/lib.linux-aarch64-3.8/kivy/uix
  copying kivy/uix/recycleboxlayout.py -> build/lib.linux-aarch64-3.8/kivy/uix
  copying kivy/uix/recyclegridlayout.py -> build/lib.linux-aarch64-3.8/kivy/uix
  copying kivy/uix/recyclelayout.py -> build/lib.linux-aarch64-3.8/kivy/uix
  copying kivy/uix/relativelayout.py -> build/lib.linux-aarch64-3.8/kivy/uix
  copying kivy/uix/rst.py -> build/lib.linux-aarch64-3.8/kivy/uix
  copying kivy/uix/sandbox.py -> build/lib.linux-aarch64-3.8/kivy/uix
  copying kivy/uix/scatter.py -> build/lib.linux-aarch64-3.8/kivy/uix
  copying kivy/uix/scatterlayout.py -> build/lib.linux-aarch64-3.8/kivy/uix
  copying kivy/uix/screenmanager.py -> build/lib.linux-aarch64-3.8/kivy/uix
  copying kivy/uix/scrollview.py -> build/lib.linux-aarch64-3.8/kivy/uix
  copying kivy/uix/settings.py -> build/lib.linux-aarch64-3.8/kivy/uix
  copying kivy/uix/slider.py -> build/lib.linux-aarch64-3.8/kivy/uix
  copying kivy/uix/spinner.py -> build/lib.linux-aarch64-3.8/kivy/uix
  copying kivy/uix/splitter.py -> build/lib.linux-aarch64-3.8/kivy/uix
  copying kivy/uix/stacklayout.py -> build/lib.linux-aarch64-3.8/kivy/uix
  copying kivy/uix/stencilview.py -> build/lib.linux-aarch64-3.8/kivy/uix
  copying kivy/uix/switch.py -> build/lib.linux-aarch64-3.8/kivy/uix
  copying kivy/uix/tabbedpanel.py -> build/lib.linux-aarch64-3.8/kivy/uix
  copying kivy/uix/textinput.py -> build/lib.linux-aarch64-3.8/kivy/uix
  copying kivy/uix/togglebutton.py -> build/lib.linux-aarch64-3.8/kivy/uix
  copying kivy/uix/treeview.py -> build/lib.linux-aarch64-3.8/kivy/uix
  copying kivy/uix/video.py -> build/lib.linux-aarch64-3.8/kivy/uix
  copying kivy/uix/videoplayer.py -> build/lib.linux-aarch64-3.8/kivy/uix
  copying kivy/uix/vkeyboard.py -> build/lib.linux-aarch64-3.8/kivy/uix
  copying kivy/uix/widget.py -> build/lib.linux-aarch64-3.8/kivy/uix
  copying kivy/uix/__init__.py -> build/lib.linux-aarch64-3.8/kivy/uix
  creating build/lib.linux-aarch64-3.8/kivy/core/audio
  copying kivy/core/audio/audio_android.py -> build/lib.linux-aarch64-3.8/kivy/core/audio
  copying kivy/core/audio/audio_avplayer.py -> build/lib.linux-aarch64-3.8/kivy/core/audio
  copying kivy/core/audio/audio_ffpyplayer.py -> build/lib.linux-aarch64-3.8/kivy/core/audio
  copying kivy/core/audio/audio_gstplayer.py -> build/lib.linux-aarch64-3.8/kivy/core/audio
  copying kivy/core/audio/audio_pygame.py -> build/lib.linux-aarch64-3.8/kivy/core/audio
  copying kivy/core/audio/__init__.py -> build/lib.linux-aarch64-3.8/kivy/core/audio
  creating build/lib.linux-aarch64-3.8/kivy/core/camera
  copying kivy/core/camera/camera_android.py -> build/lib.linux-aarch64-3.8/kivy/core/camera
  copying kivy/core/camera/camera_gi.py -> build/lib.linux-aarch64-3.8/kivy/core/camera
  copying kivy/core/camera/camera_opencv.py -> build/lib.linux-aarch64-3.8/kivy/core/camera
  copying kivy/core/camera/camera_picamera.py -> build/lib.linux-aarch64-3.8/kivy/core/camera
  copying kivy/core/camera/__init__.py -> build/lib.linux-aarch64-3.8/kivy/core/camera
  creating build/lib.linux-aarch64-3.8/kivy/core/clipboard
  copying kivy/core/clipboard/clipboard_android.py -> build/lib.linux-aarch64-3.8/kivy/core/clipboard
  copying kivy/core/clipboard/clipboard_dbusklipper.py -> build/lib.linux-aarch64-3.8/kivy/core/clipboard
  copying kivy/core/clipboard/clipboard_dummy.py -> build/lib.linux-aarch64-3.8/kivy/core/clipboard
  copying kivy/core/clipboard/clipboard_gtk3.py -> build/lib.linux-aarch64-3.8/kivy/core/clipboard
  copying kivy/core/clipboard/clipboard_nspaste.py -> build/lib.linux-aarch64-3.8/kivy/core/clipboard
  copying kivy/core/clipboard/clipboard_pygame.py -> build/lib.linux-aarch64-3.8/kivy/core/clipboard
  copying kivy/core/clipboard/clipboard_sdl2.py -> build/lib.linux-aarch64-3.8/kivy/core/clipboard
  copying kivy/core/clipboard/clipboard_winctypes.py -> build/lib.linux-aarch64-3.8/kivy/core/clipboard
  copying kivy/core/clipboard/clipboard_xclip.py -> build/lib.linux-aarch64-3.8/kivy/core/clipboard
  copying kivy/core/clipboard/clipboard_xsel.py -> build/lib.linux-aarch64-3.8/kivy/core/clipboard
  copying kivy/core/clipboard/_clipboard_ext.py -> build/lib.linux-aarch64-3.8/kivy/core/clipboard
  copying kivy/core/clipboard/__init__.py -> build/lib.linux-aarch64-3.8/kivy/core/clipboard
  creating build/lib.linux-aarch64-3.8/kivy/core/gl
  copying kivy/core/gl/__init__.py -> build/lib.linux-aarch64-3.8/kivy/core/gl
  creating build/lib.linux-aarch64-3.8/kivy/core/image
  copying kivy/core/image/img_dds.py -> build/lib.linux-aarch64-3.8/kivy/core/image
  copying kivy/core/image/img_ffpyplayer.py -> build/lib.linux-aarch64-3.8/kivy/core/image
  copying kivy/core/image/img_pil.py -> build/lib.linux-aarch64-3.8/kivy/core/image
  copying kivy/core/image/img_pygame.py -> build/lib.linux-aarch64-3.8/kivy/core/image
  copying kivy/core/image/img_sdl2.py -> build/lib.linux-aarch64-3.8/kivy/core/image
  copying kivy/core/image/img_tex.py -> build/lib.linux-aarch64-3.8/kivy/core/image
  copying kivy/core/image/__init__.py -> build/lib.linux-aarch64-3.8/kivy/core/image
  creating build/lib.linux-aarch64-3.8/kivy/core/spelling
  copying kivy/core/spelling/spelling_enchant.py -> build/lib.linux-aarch64-3.8/kivy/core/spelling
  copying kivy/core/spelling/spelling_osxappkit.py -> build/lib.linux-aarch64-3.8/kivy/core/spelling
  copying kivy/core/spelling/__init__.py -> build/lib.linux-aarch64-3.8/kivy/core/spelling
  creating build/lib.linux-aarch64-3.8/kivy/core/text
  copying kivy/core/text/markup.py -> build/lib.linux-aarch64-3.8/kivy/core/text
  copying kivy/core/text/text_pango.py -> build/lib.linux-aarch64-3.8/kivy/core/text
  copying kivy/core/text/text_pil.py -> build/lib.linux-aarch64-3.8/kivy/core/text
  copying kivy/core/text/text_pygame.py -> build/lib.linux-aarch64-3.8/kivy/core/text
  copying kivy/core/text/text_sdl2.py -> build/lib.linux-aarch64-3.8/kivy/core/text
  copying kivy/core/text/__init__.py -> build/lib.linux-aarch64-3.8/kivy/core/text
  creating build/lib.linux-aarch64-3.8/kivy/core/video
  copying kivy/core/video/video_ffmpeg.py -> build/lib.linux-aarch64-3.8/kivy/core/video
  copying kivy/core/video/video_ffpyplayer.py -> build/lib.linux-aarch64-3.8/kivy/core/video
  copying kivy/core/video/video_gstplayer.py -> build/lib.linux-aarch64-3.8/kivy/core/video
  copying kivy/core/video/video_null.py -> build/lib.linux-aarch64-3.8/kivy/core/video
  copying kivy/core/video/__init__.py -> build/lib.linux-aarch64-3.8/kivy/core/video
  creating build/lib.linux-aarch64-3.8/kivy/core/window
  copying kivy/core/window/window_egl_rpi.py -> build/lib.linux-aarch64-3.8/kivy/core/window
  copying kivy/core/window/window_pygame.py -> build/lib.linux-aarch64-3.8/kivy/core/window
  copying kivy/core/window/window_sdl2.py -> build/lib.linux-aarch64-3.8/kivy/core/window
  copying kivy/core/window/__init__.py -> build/lib.linux-aarch64-3.8/kivy/core/window
  creating build/lib.linux-aarch64-3.8/kivy/graphics/cgl_backend
  copying kivy/graphics/cgl_backend/__init__.py -> build/lib.linux-aarch64-3.8/kivy/graphics/cgl_backend
  creating build/lib.linux-aarch64-3.8/kivy/input/postproc
  copying kivy/input/postproc/calibration.py -> build/lib.linux-aarch64-3.8/kivy/input/postproc
  copying kivy/input/postproc/dejitter.py -> build/lib.linux-aarch64-3.8/kivy/input/postproc
  copying kivy/input/postproc/doubletap.py -> build/lib.linux-aarch64-3.8/kivy/input/postproc
  copying kivy/input/postproc/ignorelist.py -> build/lib.linux-aarch64-3.8/kivy/input/postproc
  copying kivy/input/postproc/retaintouch.py -> build/lib.linux-aarch64-3.8/kivy/input/postproc
  copying kivy/input/postproc/tripletap.py -> build/lib.linux-aarch64-3.8/kivy/input/postproc
  copying kivy/input/postproc/__init__.py -> build/lib.linux-aarch64-3.8/kivy/input/postproc
  creating build/lib.linux-aarch64-3.8/kivy/input/providers
  copying kivy/input/providers/androidjoystick.py -> build/lib.linux-aarch64-3.8/kivy/input/providers
  copying kivy/input/providers/hidinput.py -> build/lib.linux-aarch64-3.8/kivy/input/providers
  copying kivy/input/providers/leapfinger.py -> build/lib.linux-aarch64-3.8/kivy/input/providers
  copying kivy/input/providers/linuxwacom.py -> build/lib.linux-aarch64-3.8/kivy/input/providers
  copying kivy/input/providers/mactouch.py -> build/lib.linux-aarch64-3.8/kivy/input/providers
  copying kivy/input/providers/mouse.py -> build/lib.linux-aarch64-3.8/kivy/input/providers
  copying kivy/input/providers/mtdev.py -> build/lib.linux-aarch64-3.8/kivy/input/providers
  copying kivy/input/providers/probesysfs.py -> build/lib.linux-aarch64-3.8/kivy/input/providers
  copying kivy/input/providers/tuio.py -> build/lib.linux-aarch64-3.8/kivy/input/providers
  copying kivy/input/providers/wm_common.py -> build/lib.linux-aarch64-3.8/kivy/input/providers
  copying kivy/input/providers/wm_pen.py -> build/lib.linux-aarch64-3.8/kivy/input/providers
  copying kivy/input/providers/wm_touch.py -> build/lib.linux-aarch64-3.8/kivy/input/providers
  copying kivy/input/providers/__init__.py -> build/lib.linux-aarch64-3.8/kivy/input/providers
  creating build/lib.linux-aarch64-3.8/kivy/lib/gstplayer
  copying kivy/lib/gstplayer/__init__.py -> build/lib.linux-aarch64-3.8/kivy/lib/gstplayer
  creating build/lib.linux-aarch64-3.8/kivy/lib/vidcore_lite
  copying kivy/lib/vidcore_lite/__init__.py -> build/lib.linux-aarch64-3.8/kivy/lib/vidcore_lite
  creating build/lib.linux-aarch64-3.8/kivy/tools/highlight
  copying kivy/tools/highlight/__init__.py -> build/lib.linux-aarch64-3.8/kivy/tools/highlight
  creating build/lib.linux-aarch64-3.8/kivy/tools/packaging
  copying kivy/tools/packaging/cython_cfg.py -> build/lib.linux-aarch64-3.8/kivy/tools/packaging
  copying kivy/tools/packaging/factory.py -> build/lib.linux-aarch64-3.8/kivy/tools/packaging
  copying kivy/tools/packaging/__init__.py -> build/lib.linux-aarch64-3.8/kivy/tools/packaging
  creating build/lib.linux-aarch64-3.8/kivy/tools/packaging/pyinstaller_hooks
  copying kivy/tools/packaging/pyinstaller_hooks/hook-kivy.py -> build/lib.linux-aarch64-3.8/kivy/tools/packaging/pyinstaller_hooks
  copying kivy/tools/packaging/pyinstaller_hooks/pyi_rth_kivy.py -> build/lib.linux-aarch64-3.8/kivy/tools/packaging/pyinstaller_hooks
  copying kivy/tools/packaging/pyinstaller_hooks/__init__.py -> build/lib.linux-aarch64-3.8/kivy/tools/packaging/pyinstaller_hooks
  copying kivy/tools/packaging/pyinstaller_hooks/__main__.py -> build/lib.linux-aarch64-3.8/kivy/tools/packaging/pyinstaller_hooks
  creating build/lib.linux-aarch64-3.8/kivy/uix/behaviors
  copying kivy/uix/behaviors/button.py -> build/lib.linux-aarch64-3.8/kivy/uix/behaviors
  copying kivy/uix/behaviors/codenavigation.py -> build/lib.linux-aarch64-3.8/kivy/uix/behaviors
  copying kivy/uix/behaviors/compoundselection.py -> build/lib.linux-aarch64-3.8/kivy/uix/behaviors
  copying kivy/uix/behaviors/cover.py -> build/lib.linux-aarch64-3.8/kivy/uix/behaviors
  copying kivy/uix/behaviors/drag.py -> build/lib.linux-aarch64-3.8/kivy/uix/behaviors
  copying kivy/uix/behaviors/emacs.py -> build/lib.linux-aarch64-3.8/kivy/uix/behaviors
  copying kivy/uix/behaviors/focus.py -> build/lib.linux-aarch64-3.8/kivy/uix/behaviors
  copying kivy/uix/behaviors/knspace.py -> build/lib.linux-aarch64-3.8/kivy/uix/behaviors
  copying kivy/uix/behaviors/togglebutton.py -> build/lib.linux-aarch64-3.8/kivy/uix/behaviors
  copying kivy/uix/behaviors/touchripple.py -> build/lib.linux-aarch64-3.8/kivy/uix/behaviors
  copying kivy/uix/behaviors/__init__.py -> build/lib.linux-aarch64-3.8/kivy/uix/behaviors
  creating build/lib.linux-aarch64-3.8/kivy/uix/recycleview
  copying kivy/uix/recycleview/datamodel.py -> build/lib.linux-aarch64-3.8/kivy/uix/recycleview
  copying kivy/uix/recycleview/layout.py -> build/lib.linux-aarch64-3.8/kivy/uix/recycleview
  copying kivy/uix/recycleview/views.py -> build/lib.linux-aarch64-3.8/kivy/uix/recycleview
  copying kivy/uix/recycleview/__init__.py -> build/lib.linux-aarch64-3.8/kivy/uix/recycleview
  copying kivy/properties.pxd -> build/lib.linux-aarch64-3.8/kivy
  copying kivy/_clock.pxd -> build/lib.linux-aarch64-3.8/kivy
  copying kivy/_event.pxd -> build/lib.linux-aarch64-3.8/kivy
  copying kivy/core/text/text_layout.pxd -> build/lib.linux-aarch64-3.8/kivy/core/text
  copying kivy/core/window/window_info.pxd -> build/lib.linux-aarch64-3.8/kivy/core/window
  copying kivy/graphics/buffer.pxd -> build/lib.linux-aarch64-3.8/kivy/graphics
  copying kivy/graphics/cgl.pxd -> build/lib.linux-aarch64-3.8/kivy/graphics
  copying kivy/graphics/compiler.pxd -> build/lib.linux-aarch64-3.8/kivy/graphics
  copying kivy/graphics/context.pxd -> build/lib.linux-aarch64-3.8/kivy/graphics
  copying kivy/graphics/context_instructions.pxd -> build/lib.linux-aarch64-3.8/kivy/graphics
  copying kivy/graphics/fbo.pxd -> build/lib.linux-aarch64-3.8/kivy/graphics
  copying kivy/graphics/instructions.pxd -> build/lib.linux-aarch64-3.8/kivy/graphics
  copying kivy/graphics/opengl_utils.pxd -> build/lib.linux-aarch64-3.8/kivy/graphics
  copying kivy/graphics/shader.pxd -> build/lib.linux-aarch64-3.8/kivy/graphics
  copying kivy/graphics/stencil_instructions.pxd -> build/lib.linux-aarch64-3.8/kivy/graphics
  copying kivy/graphics/svg.pxd -> build/lib.linux-aarch64-3.8/kivy/graphics
  copying kivy/graphics/tesselator.pxd -> build/lib.linux-aarch64-3.8/kivy/graphics
  copying kivy/graphics/texture.pxd -> build/lib.linux-aarch64-3.8/kivy/graphics
  copying kivy/graphics/transformation.pxd -> build/lib.linux-aarch64-3.8/kivy/graphics
  copying kivy/graphics/vbo.pxd -> build/lib.linux-aarch64-3.8/kivy/graphics
  copying kivy/graphics/vertex.pxd -> build/lib.linux-aarch64-3.8/kivy/graphics
  copying kivy/graphics/vertex_instructions.pxd -> build/lib.linux-aarch64-3.8/kivy/graphics
  copying kivy/lib/vidcore_lite/bcm.pxd -> build/lib.linux-aarch64-3.8/kivy/lib/vidcore_lite
  copying kivy/core/window/window_attrs.pxi -> build/lib.linux-aarch64-3.8/kivy/core/window
  copying kivy/graphics/common.pxi -> build/lib.linux-aarch64-3.8/kivy/graphics
  copying kivy/graphics/gl_debug_logger.pxi -> build/lib.linux-aarch64-3.8/kivy/graphics
  copying kivy/graphics/img_tools.pxi -> build/lib.linux-aarch64-3.8/kivy/graphics
  copying kivy/graphics/memory.pxi -> build/lib.linux-aarch64-3.8/kivy/graphics
  copying kivy/graphics/opcodes.pxi -> build/lib.linux-aarch64-3.8/kivy/graphics
  copying kivy/graphics/opengl_utils_def.pxi -> build/lib.linux-aarch64-3.8/kivy/graphics
  copying kivy/graphics/vertex_instructions_line.pxi -> build/lib.linux-aarch64-3.8/kivy/graphics
  copying kivy/lib/sdl2.pxi -> build/lib.linux-aarch64-3.8/kivy/lib
  creating build/lib.linux-aarch64-3.8/kivy/lib/pango
  copying kivy/lib/pango/pangoft2.pxi -> build/lib.linux-aarch64-3.8/kivy/lib/pango
  creating build/lib.linux-aarch64-3.8/kivy/data
  copying kivy/data/settings_kivy.json -> build/lib.linux-aarch64-3.8/kivy/data
  copying kivy/data/style.kv -> build/lib.linux-aarch64-3.8/kivy/data
  creating build/lib.linux-aarch64-3.8/kivy/data/fonts
  copying kivy/data/fonts/DejaVuSans.ttf -> build/lib.linux-aarch64-3.8/kivy/data/fonts
  copying kivy/data/fonts/Roboto-Bold.ttf -> build/lib.linux-aarch64-3.8/kivy/data/fonts
  copying kivy/data/fonts/Roboto-BoldItalic.ttf -> build/lib.linux-aarch64-3.8/kivy/data/fonts
  copying kivy/data/fonts/Roboto-Italic.ttf -> build/lib.linux-aarch64-3.8/kivy/data/fonts
  copying kivy/data/fonts/Roboto-Regular.ttf -> build/lib.linux-aarch64-3.8/kivy/data/fonts
  copying kivy/data/fonts/RobotoMono-Regular.ttf -> build/lib.linux-aarch64-3.8/kivy/data/fonts
  creating build/lib.linux-aarch64-3.8/kivy/data/glsl
  copying kivy/data/glsl/default.fs -> build/lib.linux-aarch64-3.8/kivy/data/glsl
  copying kivy/data/glsl/default.png -> build/lib.linux-aarch64-3.8/kivy/data/glsl
  copying kivy/data/glsl/default.vs -> build/lib.linux-aarch64-3.8/kivy/data/glsl
  copying kivy/data/glsl/header.fs -> build/lib.linux-aarch64-3.8/kivy/data/glsl
  copying kivy/data/glsl/header.vs -> build/lib.linux-aarch64-3.8/kivy/data/glsl
  creating build/lib.linux-aarch64-3.8/kivy/data/images
  copying kivy/data/images/background.jpg -> build/lib.linux-aarch64-3.8/kivy/data/images
  copying kivy/data/images/cursor.png -> build/lib.linux-aarch64-3.8/kivy/data/images
  copying kivy/data/images/defaultshape.png -> build/lib.linux-aarch64-3.8/kivy/data/images
  copying kivy/data/images/defaulttheme-0.png -> build/lib.linux-aarch64-3.8/kivy/data/images
  copying kivy/data/images/defaulttheme.atlas -> build/lib.linux-aarch64-3.8/kivy/data/images
  copying kivy/data/images/image-loading.gif -> build/lib.linux-aarch64-3.8/kivy/data/images
  copying kivy/data/images/image-loading.zip -> build/lib.linux-aarch64-3.8/kivy/data/images
  copying kivy/data/images/testpattern.png -> build/lib.linux-aarch64-3.8/kivy/data/images
  creating build/lib.linux-aarch64-3.8/kivy/data/keyboards
  copying kivy/data/keyboards/azerty.json -> build/lib.linux-aarch64-3.8/kivy/data/keyboards
  copying kivy/data/keyboards/de.json -> build/lib.linux-aarch64-3.8/kivy/data/keyboards
  copying kivy/data/keyboards/de_CH.json -> build/lib.linux-aarch64-3.8/kivy/data/keyboards
  copying kivy/data/keyboards/en_US.json -> build/lib.linux-aarch64-3.8/kivy/data/keyboards
  copying kivy/data/keyboards/fr_CH.json -> build/lib.linux-aarch64-3.8/kivy/data/keyboards
  copying kivy/data/keyboards/qwerty.json -> build/lib.linux-aarch64-3.8/kivy/data/keyboards
  copying kivy/data/keyboards/qwertz.json -> build/lib.linux-aarch64-3.8/kivy/data/keyboards
  creating build/lib.linux-aarch64-3.8/kivy/data/logo
  copying kivy/data/logo/kivy-icon-128.png -> build/lib.linux-aarch64-3.8/kivy/data/logo
  copying kivy/data/logo/kivy-icon-16.png -> build/lib.linux-aarch64-3.8/kivy/data/logo
  copying kivy/data/logo/kivy-icon-24.png -> build/lib.linux-aarch64-3.8/kivy/data/logo
  copying kivy/data/logo/kivy-icon-256.png -> build/lib.linux-aarch64-3.8/kivy/data/logo
  copying kivy/data/logo/kivy-icon-32.png -> build/lib.linux-aarch64-3.8/kivy/data/logo
  copying kivy/data/logo/kivy-icon-48.png -> build/lib.linux-aarch64-3.8/kivy/data/logo
  copying kivy/data/logo/kivy-icon-512.png -> build/lib.linux-aarch64-3.8/kivy/data/logo
  copying kivy/data/logo/kivy-icon-64.ico -> build/lib.linux-aarch64-3.8/kivy/data/logo
  copying kivy/data/logo/kivy-icon-64.png -> build/lib.linux-aarch64-3.8/kivy/data/logo
  creating build/lib.linux-aarch64-3.8/kivy/include
  copying kivy/include/common_subset.h -> build/lib.linux-aarch64-3.8/kivy/include
  copying kivy/include/gl2platform.h -> build/lib.linux-aarch64-3.8/kivy/include
  copying kivy/include/gl_redirect.h -> build/lib.linux-aarch64-3.8/kivy/include
  copying kivy/include/khrplatform.h -> build/lib.linux-aarch64-3.8/kivy/include
  creating build/lib.linux-aarch64-3.8/kivy/tools/gles_compat
  copying kivy/tools/gles_compat/gl2.h -> build/lib.linux-aarch64-3.8/kivy/tools/gles_compat
  copying kivy/tools/gles_compat/subset_gles.py -> build/lib.linux-aarch64-3.8/kivy/tools/gles_compat
  copying kivy/tools/highlight/kivy-mode.el -> build/lib.linux-aarch64-3.8/kivy/tools/highlight
  copying kivy/tools/highlight/kivy.json-tmlanguage -> build/lib.linux-aarch64-3.8/kivy/tools/highlight
  copying kivy/tools/highlight/kivy.tmLanguage -> build/lib.linux-aarch64-3.8/kivy/tools/highlight
  copying kivy/tools/highlight/kivy.vim -> build/lib.linux-aarch64-3.8/kivy/tools/highlight
  creating build/lib.linux-aarch64-3.8/kivy/tools/image-testsuite
  copying kivy/tools/image-testsuite/gimp28-testsuite.py -> build/lib.linux-aarch64-3.8/kivy/tools/image-testsuite
  copying kivy/tools/image-testsuite/imagemagick-testsuite.sh -> build/lib.linux-aarch64-3.8/kivy/tools/image-testsuite
  copying kivy/tools/image-testsuite/README.md -> build/lib.linux-aarch64-3.8/kivy/tools/image-testsuite
  creating build/lib.linux-aarch64-3.8/kivy/tools/pep8checker
  copying kivy/tools/pep8checker/pep8.py -> build/lib.linux-aarch64-3.8/kivy/tools/pep8checker
  copying kivy/tools/pep8checker/pep8kivy.py -> build/lib.linux-aarch64-3.8/kivy/tools/pep8checker
  copying kivy/tools/pep8checker/pre-commit.githook -> build/lib.linux-aarch64-3.8/kivy/tools/pep8checker
  creating build/lib.linux-aarch64-3.8/kivy/tools/theming
  creating build/lib.linux-aarch64-3.8/kivy/tools/theming/defaulttheme
  copying kivy/tools/theming/defaulttheme/action_bar.png -> build/lib.linux-aarch64-3.8/kivy/tools/theming/defaulttheme
  copying kivy/tools/theming/defaulttheme/action_group.png -> build/lib.linux-aarch64-3.8/kivy/tools/theming/defaulttheme
  copying kivy/tools/theming/defaulttheme/action_group_disabled.png -> build/lib.linux-aarch64-3.8/kivy/tools/theming/defaulttheme
  copying kivy/tools/theming/defaulttheme/action_group_down.png -> build/lib.linux-aarch64-3.8/kivy/tools/theming/defaulttheme
  copying kivy/tools/theming/defaulttheme/action_item.png -> build/lib.linux-aarch64-3.8/kivy/tools/theming/defaulttheme
  copying kivy/tools/theming/defaulttheme/action_item_down.png -> build/lib.linux-aarch64-3.8/kivy/tools/theming/defaulttheme
  copying kivy/tools/theming/defaulttheme/action_view.png -> build/lib.linux-aarch64-3.8/kivy/tools/theming/defaulttheme
  copying kivy/tools/theming/defaulttheme/audio-volume-high.png -> build/lib.linux-aarch64-3.8/kivy/tools/theming/defaulttheme
  copying kivy/tools/theming/defaulttheme/audio-volume-low.png -> build/lib.linux-aarch64-3.8/kivy/tools/theming/defaulttheme
  copying kivy/tools/theming/defaulttheme/audio-volume-medium.png -> build/lib.linux-aarch64-3.8/kivy/tools/theming/defaulttheme
  copying kivy/tools/theming/defaulttheme/audio-volume-muted.png -> build/lib.linux-aarch64-3.8/kivy/tools/theming/defaulttheme
  copying kivy/tools/theming/defaulttheme/bubble.png -> build/lib.linux-aarch64-3.8/kivy/tools/theming/defaulttheme
  copying kivy/tools/theming/defaulttheme/bubble_arrow.png -> build/lib.linux-aarch64-3.8/kivy/tools/theming/defaulttheme
  copying kivy/tools/theming/defaulttheme/bubble_btn.png -> build/lib.linux-aarch64-3.8/kivy/tools/theming/defaulttheme
  copying kivy/tools/theming/defaulttheme/bubble_btn_pressed.png -> build/lib.linux-aarch64-3.8/kivy/tools/theming/defaulttheme
  copying kivy/tools/theming/defaulttheme/button.png -> build/lib.linux-aarch64-3.8/kivy/tools/theming/defaulttheme
  copying kivy/tools/theming/defaulttheme/button_disabled.png -> build/lib.linux-aarch64-3.8/kivy/tools/theming/defaulttheme
  copying kivy/tools/theming/defaulttheme/button_disabled_pressed.png -> build/lib.linux-aarch64-3.8/kivy/tools/theming/defaulttheme
  copying kivy/tools/theming/defaulttheme/button_pressed.png -> build/lib.linux-aarch64-3.8/kivy/tools/theming/defaulttheme
  copying kivy/tools/theming/defaulttheme/checkbox_disabled_off.png -> build/lib.linux-aarch64-3.8/kivy/tools/theming/defaulttheme
  copying kivy/tools/theming/defaulttheme/checkbox_disabled_on.png -> build/lib.linux-aarch64-3.8/kivy/tools/theming/defaulttheme
  copying kivy/tools/theming/defaulttheme/checkbox_off.png -> build/lib.linux-aarch64-3.8/kivy/tools/theming/defaulttheme
  copying kivy/tools/theming/defaulttheme/checkbox_on.png -> build/lib.linux-aarch64-3.8/kivy/tools/theming/defaulttheme
  copying kivy/tools/theming/defaulttheme/checkbox_radio_disabled_off.png -> build/lib.linux-aarch64-3.8/kivy/tools/theming/defaulttheme
  copying kivy/tools/theming/defaulttheme/checkbox_radio_disabled_on.png -> build/lib.linux-aarch64-3.8/kivy/tools/theming/defaulttheme
  copying kivy/tools/theming/defaulttheme/checkbox_radio_off.png -> build/lib.linux-aarch64-3.8/kivy/tools/theming/defaulttheme
  copying kivy/tools/theming/defaulttheme/checkbox_radio_on.png -> build/lib.linux-aarch64-3.8/kivy/tools/theming/defaulttheme
  copying kivy/tools/theming/defaulttheme/close.png -> build/lib.linux-aarch64-3.8/kivy/tools/theming/defaulttheme
  copying kivy/tools/theming/defaulttheme/filechooser_file.png -> build/lib.linux-aarch64-3.8/kivy/tools/theming/defaulttheme
  copying kivy/tools/theming/defaulttheme/filechooser_folder.png -> build/lib.linux-aarch64-3.8/kivy/tools/theming/defaulttheme
  copying kivy/tools/theming/defaulttheme/filechooser_selected.png -> build/lib.linux-aarch64-3.8/kivy/tools/theming/defaulttheme
  copying kivy/tools/theming/defaulttheme/image-missing.png -> build/lib.linux-aarch64-3.8/kivy/tools/theming/defaulttheme
  copying kivy/tools/theming/defaulttheme/media-playback-pause.png -> build/lib.linux-aarch64-3.8/kivy/tools/theming/defaulttheme
  copying kivy/tools/theming/defaulttheme/media-playback-start.png -> build/lib.linux-aarch64-3.8/kivy/tools/theming/defaulttheme
  copying kivy/tools/theming/defaulttheme/media-playback-stop.png -> build/lib.linux-aarch64-3.8/kivy/tools/theming/defaulttheme
  copying kivy/tools/theming/defaulttheme/modalview-background.png -> build/lib.linux-aarch64-3.8/kivy/tools/theming/defaulttheme
  copying kivy/tools/theming/defaulttheme/overflow.png -> build/lib.linux-aarch64-3.8/kivy/tools/theming/defaulttheme
  copying kivy/tools/theming/defaulttheme/player-background.png -> build/lib.linux-aarch64-3.8/kivy/tools/theming/defaulttheme
  copying kivy/tools/theming/defaulttheme/player-play-overlay.png -> build/lib.linux-aarch64-3.8/kivy/tools/theming/defaulttheme
  copying kivy/tools/theming/defaulttheme/previous_normal.png -> build/lib.linux-aarch64-3.8/kivy/tools/theming/defaulttheme
  copying kivy/tools/theming/defaulttheme/progressbar.png -> build/lib.linux-aarch64-3.8/kivy/tools/theming/defaulttheme
  copying kivy/tools/theming/defaulttheme/progressbar_background.png -> build/lib.linux-aarch64-3.8/kivy/tools/theming/defaulttheme
  copying kivy/tools/theming/defaulttheme/ring.png -> build/lib.linux-aarch64-3.8/kivy/tools/theming/defaulttheme
  copying kivy/tools/theming/defaulttheme/selector_left.png -> build/lib.linux-aarch64-3.8/kivy/tools/theming/defaulttheme
  copying kivy/tools/theming/defaulttheme/selector_middle.png -> build/lib.linux-aarch64-3.8/kivy/tools/theming/defaulttheme
  copying kivy/tools/theming/defaulttheme/selector_right.png -> build/lib.linux-aarch64-3.8/kivy/tools/theming/defaulttheme
  copying kivy/tools/theming/defaulttheme/separator.png -> build/lib.linux-aarch64-3.8/kivy/tools/theming/defaulttheme
  copying kivy/tools/theming/defaulttheme/sliderh_background.png -> build/lib.linux-aarch64-3.8/kivy/tools/theming/defaulttheme
  copying kivy/tools/theming/defaulttheme/sliderh_background_disabled.png -> build/lib.linux-aarch64-3.8/kivy/tools/theming/defaulttheme
  copying kivy/tools/theming/defaulttheme/sliderv_background.png -> build/lib.linux-aarch64-3.8/kivy/tools/theming/defaulttheme
  copying kivy/tools/theming/defaulttheme/sliderv_background_disabled.png -> build/lib.linux-aarch64-3.8/kivy/tools/theming/defaulttheme
  copying kivy/tools/theming/defaulttheme/slider_cursor.png -> build/lib.linux-aarch64-3.8/kivy/tools/theming/defaulttheme
  copying kivy/tools/theming/defaulttheme/slider_cursor_disabled.png -> build/lib.linux-aarch64-3.8/kivy/tools/theming/defaulttheme
  copying kivy/tools/theming/defaulttheme/spinner.png -> build/lib.linux-aarch64-3.8/kivy/tools/theming/defaulttheme
  copying kivy/tools/theming/defaulttheme/spinner_disabled.png -> build/lib.linux-aarch64-3.8/kivy/tools/theming/defaulttheme
  copying kivy/tools/theming/defaulttheme/spinner_pressed.png -> build/lib.linux-aarch64-3.8/kivy/tools/theming/defaulttheme
  copying kivy/tools/theming/defaulttheme/splitter.png -> build/lib.linux-aarch64-3.8/kivy/tools/theming/defaulttheme
  copying kivy/tools/theming/defaulttheme/splitter_disabled.png -> build/lib.linux-aarch64-3.8/kivy/tools/theming/defaulttheme
  copying kivy/tools/theming/defaulttheme/splitter_disabled_down.png -> build/lib.linux-aarch64-3.8/kivy/tools/theming/defaulttheme
  copying kivy/tools/theming/defaulttheme/splitter_disabled_down_h.png -> build/lib.linux-aarch64-3.8/kivy/tools/theming/defaulttheme
  copying kivy/tools/theming/defaulttheme/splitter_disabled_h.png -> build/lib.linux-aarch64-3.8/kivy/tools/theming/defaulttheme
  copying kivy/tools/theming/defaulttheme/splitter_down.png -> build/lib.linux-aarch64-3.8/kivy/tools/theming/defaulttheme
  copying kivy/tools/theming/defaulttheme/splitter_down_h.png -> build/lib.linux-aarch64-3.8/kivy/tools/theming/defaulttheme
  copying kivy/tools/theming/defaulttheme/splitter_grip.png -> build/lib.linux-aarch64-3.8/kivy/tools/theming/defaulttheme
  copying kivy/tools/theming/defaulttheme/splitter_grip_h.png -> build/lib.linux-aarch64-3.8/kivy/tools/theming/defaulttheme
  copying kivy/tools/theming/defaulttheme/splitter_h.png -> build/lib.linux-aarch64-3.8/kivy/tools/theming/defaulttheme
  copying kivy/tools/theming/defaulttheme/switch-background.png -> build/lib.linux-aarch64-3.8/kivy/tools/theming/defaulttheme
  copying kivy/tools/theming/defaulttheme/switch-background_disabled.png -> build/lib.linux-aarch64-3.8/kivy/tools/theming/defaulttheme
  copying kivy/tools/theming/defaulttheme/switch-button.png -> build/lib.linux-aarch64-3.8/kivy/tools/theming/defaulttheme
  copying kivy/tools/theming/defaulttheme/switch-button_disabled.png -> build/lib.linux-aarch64-3.8/kivy/tools/theming/defaulttheme
  copying kivy/tools/theming/defaulttheme/tab.png -> build/lib.linux-aarch64-3.8/kivy/tools/theming/defaulttheme
  copying kivy/tools/theming/defaulttheme/tab_btn.png -> build/lib.linux-aarch64-3.8/kivy/tools/theming/defaulttheme
  copying kivy/tools/theming/defaulttheme/tab_btn_disabled.png -> build/lib.linux-aarch64-3.8/kivy/tools/theming/defaulttheme
  copying kivy/tools/theming/defaulttheme/tab_btn_disabled_pressed.png -> build/lib.linux-aarch64-3.8/kivy/tools/theming/defaulttheme
  copying kivy/tools/theming/defaulttheme/tab_btn_pressed.png -> build/lib.linux-aarch64-3.8/kivy/tools/theming/defaulttheme
  copying kivy/tools/theming/defaulttheme/tab_disabled.png -> build/lib.linux-aarch64-3.8/kivy/tools/theming/defaulttheme
  copying kivy/tools/theming/defaulttheme/textinput.png -> build/lib.linux-aarch64-3.8/kivy/tools/theming/defaulttheme
  copying kivy/tools/theming/defaulttheme/textinput_active.png -> build/lib.linux-aarch64-3.8/kivy/tools/theming/defaulttheme
  copying kivy/tools/theming/defaulttheme/textinput_disabled.png -> build/lib.linux-aarch64-3.8/kivy/tools/theming/defaulttheme
  copying kivy/tools/theming/defaulttheme/textinput_disabled_active.png -> build/lib.linux-aarch64-3.8/kivy/tools/theming/defaulttheme
  copying kivy/tools/theming/defaulttheme/tree_closed.png -> build/lib.linux-aarch64-3.8/kivy/tools/theming/defaulttheme
  copying kivy/tools/theming/defaulttheme/tree_opened.png -> build/lib.linux-aarch64-3.8/kivy/tools/theming/defaulttheme
  copying kivy/tools/theming/defaulttheme/vkeyboard_background.png -> build/lib.linux-aarch64-3.8/kivy/tools/theming/defaulttheme
  copying kivy/tools/theming/defaulttheme/vkeyboard_disabled_background.png -> build/lib.linux-aarch64-3.8/kivy/tools/theming/defaulttheme
  copying kivy/tools/theming/defaulttheme/vkeyboard_disabled_key_down.png -> build/lib.linux-aarch64-3.8/kivy/tools/theming/defaulttheme
  copying kivy/tools/theming/defaulttheme/vkeyboard_disabled_key_normal.png -> build/lib.linux-aarch64-3.8/kivy/tools/theming/defaulttheme
  copying kivy/tools/theming/defaulttheme/vkeyboard_key_down.png -> build/lib.linux-aarch64-3.8/kivy/tools/theming/defaulttheme
  copying kivy/tools/theming/defaulttheme/vkeyboard_key_normal.png -> build/lib.linux-aarch64-3.8/kivy/tools/theming/defaulttheme
  copying kivy/tests/coverage_lang.kv -> build/lib.linux-aarch64-3.8/kivy/tests
  copying kivy/tests/sample1.ogg -> build/lib.linux-aarch64-3.8/kivy/tests
  copying kivy/tests/testkv.kv -> build/lib.linux-aarch64-3.8/kivy/tests
  copying kivy/tests/test_button.png -> build/lib.linux-aarch64-3.8/kivy/tests
  copying kivy/tests/unicode_files.zip -> build/lib.linux-aarch64-3.8/kivy/tests
  copying kivy/tests/unicode_font.zip -> build/lib.linux-aarch64-3.8/kivy/tests
  creating build/lib.linux-aarch64-3.8/kivy/tests/pyinstaller
  copying kivy/tests/pyinstaller/test_pyinstaller.py -> build/lib.linux-aarch64-3.8/kivy/tests/pyinstaller
  creating build/lib.linux-aarch64-3.8/kivy/tests/pyinstaller/simple_widget
  copying kivy/tests/pyinstaller/simple_widget/main.py -> build/lib.linux-aarch64-3.8/kivy/tests/pyinstaller/simple_widget
  copying kivy/tests/pyinstaller/simple_widget/main.spec -> build/lib.linux-aarch64-3.8/kivy/tests/pyinstaller/simple_widget
  creating build/lib.linux-aarch64-3.8/kivy/tests/pyinstaller/simple_widget/project
  copying kivy/tests/pyinstaller/simple_widget/project/widget.py -> build/lib.linux-aarch64-3.8/kivy/tests/pyinstaller/simple_widget/project
  copying kivy/tests/pyinstaller/simple_widget/project/__init__.py -> build/lib.linux-aarch64-3.8/kivy/tests/pyinstaller/simple_widget/project
  creating build/lib.linux-aarch64-3.8/kivy/tests/pyinstaller/video_widget
  copying kivy/tests/pyinstaller/video_widget/main.py -> build/lib.linux-aarch64-3.8/kivy/tests/pyinstaller/video_widget
  copying kivy/tests/pyinstaller/video_widget/main.spec -> build/lib.linux-aarch64-3.8/kivy/tests/pyinstaller/video_widget
  creating build/lib.linux-aarch64-3.8/kivy/tests/pyinstaller/video_widget/project
  copying kivy/tests/pyinstaller/video_widget/project/__init__.py -> build/lib.linux-aarch64-3.8/kivy/tests/pyinstaller/video_widget/project
  creating build/lib.linux-aarch64-3.8/kivy/tests/test_issues
  copying kivy/tests/test_issues/test_6315.py -> build/lib.linux-aarch64-3.8/kivy/tests/test_issues
  copying kivy/tests/test_issues/test_issue_1084.py -> build/lib.linux-aarch64-3.8/kivy/tests/test_issues
  copying kivy/tests/test_issues/test_issue_1091.py -> build/lib.linux-aarch64-3.8/kivy/tests/test_issues
  copying kivy/tests/test_issues/test_issue_599.py -> build/lib.linux-aarch64-3.8/kivy/tests/test_issues
  copying kivy/tests/test_issues/test_issue_609.py -> build/lib.linux-aarch64-3.8/kivy/tests/test_issues
  copying kivy/tests/test_issues/test_issue_6909.py -> build/lib.linux-aarch64-3.8/kivy/tests/test_issues
  copying kivy/tests/test_issues/test_issue_883.py -> build/lib.linux-aarch64-3.8/kivy/tests/test_issues
  running build_ext
  Building extensions in parallel using 4 cores
  Updated build directory to: build/lib.linux-aarch64-3.8
  Build configuration is:
   * use_rpi = 0
   * use_egl = 0
   * use_opengl_es2 = 0
   * use_opengl_mock = 0
   * use_sdl2 = 0
   * use_pangoft2 = 0
   * use_ios = 0
   * use_android = 0
   * use_mesagl = 0
   * use_x11 = 0
   * use_wayland = 0
   * use_gstreamer = 0
   * use_avfoundation = 0
   * use_osx_frameworks = 0
   * debug_gl = 0
   * kivy_sdl_gl_alpha_size = 0
   * debug = False
  Updated build/lib.linux-aarch64-3.8/kivy/include/config.h
  Updated kivy/include/config.h
  Updated build/lib.linux-aarch64-3.8/kivy/include/config.pxi
  Updated kivy/include/config.pxi
  Updated build/lib.linux-aarch64-3.8/kivy/setupconfig.py
  Updated kivy/setupconfig.py
  Detected compiler is unix
  cythoning kivy/_event.pyx to kivy/_event.c
  cythoning kivy/_clock.pyx to kivy/_clock.c
  cythoning kivy/weakproxy.pyx to kivy/weakproxy.c
  cythoning kivy/properties.pyx to kivy/properties.c
  cythoning kivy/graphics/buffer.pyx to kivy/graphics/buffer.c
  cythoning kivy/graphics/context.pyx to kivy/graphics/context.c
  cythoning kivy/graphics/compiler.pyx to kivy/graphics/compiler.c
  cythoning kivy/graphics/context_instructions.pyx to kivy/graphics/context_instructions.c
  cythoning kivy/graphics/fbo.pyx to kivy/graphics/fbo.c
  cythoning kivy/graphics/gl_instructions.pyx to kivy/graphics/gl_instructions.c
  cythoning kivy/graphics/instructions.pyx to kivy/graphics/instructions.c
  cythoning kivy/graphics/opengl.pyx to kivy/graphics/opengl.c
  cythoning kivy/graphics/opengl_utils.pyx to kivy/graphics/opengl_utils.c
  cythoning kivy/graphics/shader.pyx to kivy/graphics/shader.c
  cythoning kivy/graphics/stencil_instructions.pyx to kivy/graphics/stencil_instructions.c
  cythoning kivy/graphics/scissor_instructions.pyx to kivy/graphics/scissor_instructions.c
  cythoning kivy/graphics/texture.pyx to kivy/graphics/texture.c
  cythoning kivy/graphics/transformation.pyx to kivy/graphics/transformation.c
  cythoning kivy/graphics/vbo.pyx to kivy/graphics/vbo.c
  cythoning kivy/graphics/vertex.pyx to kivy/graphics/vertex.c
  cythoning kivy/graphics/vertex_instructions.pyx to kivy/graphics/vertex_instructions.c
  cythoning kivy/graphics/cgl.pyx to kivy/graphics/cgl.c
  cythoning kivy/graphics/cgl_backend/cgl_mock.pyx to kivy/graphics/cgl_backend/cgl_mock.c
  cythoning kivy/graphics/cgl_backend/cgl_gl.pyx to kivy/graphics/cgl_backend/cgl_gl.c
  cythoning kivy/graphics/cgl_backend/cgl_glew.pyx to kivy/graphics/cgl_backend/cgl_glew.c
  cythoning kivy/graphics/cgl_backend/cgl_sdl2.pyx to kivy/graphics/cgl_backend/cgl_sdl2.c
  cythoning kivy/graphics/cgl_backend/cgl_debug.pyx to kivy/graphics/cgl_backend/cgl_debug.c
  cythoning kivy/core/text/text_layout.pyx to kivy/core/text/text_layout.c
  cythoning kivy/core/window/window_info.pyx to kivy/core/window/window_info.c
  cythoning kivy/graphics/tesselator.pyx to kivy/graphics/tesselator.c
  cythoning kivy/graphics/svg.pyx to kivy/graphics/svg.c
  building 'kivy._event' extension
  building 'kivy._clock' extension
  creating build/temp.linux-aarch64-3.8
  creating build/temp.linux-aarch64-3.8/kivy
  creating build/temp.linux-aarch64-3.8/kivy
  building 'kivy.weakproxy' extension
  building 'kivy.properties' extension
  aarch64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Ikivy/include -I/usr/include/python3.8 -c kivy/_event.c -o build/temp.linux-aarch64-3.8/kivy/_event.o
  aarch64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.8 -c kivy/_clock.c -o build/temp.linux-aarch64-3.8/kivy/_clock.o
  aarch64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.8 -c kivy/weakproxy.c -o build/temp.linux-aarch64-3.8/kivy/weakproxy.o
  aarch64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Ikivy/include -I/usr/include/python3.8 -c kivy/properties.c -o build/temp.linux-aarch64-3.8/kivy/properties.o
  aarch64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-aarch64-3.8/kivy/weakproxy.o -o build/lib.linux-aarch64-3.8/kivy/weakproxy.cpython-38-aarch64-linux-gnu.so -lm
  building 'kivy.graphics.buffer' extension
  creating build/temp.linux-aarch64-3.8/kivy/graphics
  aarch64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Ikivy/include -Ikivy/include -I/usr/include/python3.8 -c kivy/graphics/buffer.c -o build/temp.linux-aarch64-3.8/kivy/graphics/buffer.o
  aarch64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-aarch64-3.8/kivy/graphics/buffer.o -o build/lib.linux-aarch64-3.8/kivy/graphics/buffer.cpython-38-aarch64-linux-gnu.so -lm
  building 'kivy.graphics.context' extension
  aarch64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Ikivy/include -Ikivy/include -I/usr/include/python3.8 -c kivy/graphics/context.c -o build/temp.linux-aarch64-3.8/kivy/graphics/context.o
  In file included from kivy/graphics/context.c:611:
  kivy/include/gl_redirect.h:72:13: fatal error: GL/gl.h: No such file or directory
     72 | #   include <GL/gl.h>
        |             ^~~~~~~~~
  compilation terminated.
  building 'kivy.graphics.compiler' extension
  aarch64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Ikivy/include -Ikivy/include -I/usr/include/python3.8 -c kivy/graphics/compiler.c -o build/temp.linux-aarch64-3.8/kivy/graphics/compiler.o
  In file included from kivy/graphics/compiler.c:611:
  kivy/include/gl_redirect.h:72:13: fatal error: GL/gl.h: No such file or directory
     72 | #   include <GL/gl.h>
        |             ^~~~~~~~~
  compilation terminated.
  building 'kivy.graphics.context_instructions' extension
  aarch64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Ikivy/include -Ikivy/include -I/usr/include/python3.8 -c kivy/graphics/context_instructions.c -o build/temp.linux-aarch64-3.8/kivy/graphics/context_instructions.o
  In file included from kivy/graphics/context_instructions.c:611:
  kivy/include/gl_redirect.h:72:13: fatal error: GL/gl.h: No such file or directory
     72 | #   include <GL/gl.h>
        |             ^~~~~~~~~
  compilation terminated.
  building 'kivy.graphics.fbo' extension
  aarch64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Ikivy/include -Ikivy/include -I/usr/include/python3.8 -c kivy/graphics/fbo.c -o build/temp.linux-aarch64-3.8/kivy/graphics/fbo.o
  In file included from kivy/graphics/fbo.c:611:
  kivy/include/gl_redirect.h:72:13: fatal error: GL/gl.h: No such file or directory
     72 | #   include <GL/gl.h>
        |             ^~~~~~~~~
  compilation terminated.
  building 'kivy.graphics.gl_instructions' extension
  aarch64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Ikivy/include -Ikivy/include -I/usr/include/python3.8 -c kivy/graphics/gl_instructions.c -o build/temp.linux-aarch64-3.8/kivy/graphics/gl_instructions.o
  In file included from kivy/graphics/gl_instructions.c:611:
  kivy/include/gl_redirect.h:72:13: fatal error: GL/gl.h: No such file or directory
     72 | #   include <GL/gl.h>
        |             ^~~~~~~~~
  compilation terminated.
  building 'kivy.graphics.instructions' extension
  aarch64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Ikivy/include -Ikivy/include -I/usr/include/python3.8 -c kivy/graphics/instructions.c -o build/temp.linux-aarch64-3.8/kivy/graphics/instructions.o
  In file included from kivy/graphics/instructions.c:611:
  kivy/include/gl_redirect.h:72:13: fatal error: GL/gl.h: No such file or directory
     72 | #   include <GL/gl.h>
        |             ^~~~~~~~~
  compilation terminated.
  building 'kivy.graphics.opengl' extension
  aarch64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Ikivy/include -Ikivy/include -I/usr/include/python3.8 -c kivy/graphics/opengl.c -o build/temp.linux-aarch64-3.8/kivy/graphics/opengl.o
  In file included from kivy/graphics/opengl.c:611:
  kivy/include/gl_redirect.h:72:13: fatal error: GL/gl.h: No such file or directory
     72 | #   include <GL/gl.h>
        |             ^~~~~~~~~
  compilation terminated.
  building 'kivy.graphics.opengl_utils' extension
  aarch64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Ikivy/include -Ikivy/include -I/usr/include/python3.8 -c kivy/graphics/opengl_utils.c -o build/temp.linux-aarch64-3.8/kivy/graphics/opengl_utils.o
  In file included from kivy/graphics/opengl_utils.c:611:
  kivy/include/gl_redirect.h:72:13: fatal error: GL/gl.h: No such file or directory
     72 | #   include <GL/gl.h>
        |             ^~~~~~~~~
  compilation terminated.
  building 'kivy.graphics.shader' extension
  aarch64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Ikivy/include -Ikivy/include -I/usr/include/python3.8 -c kivy/graphics/shader.c -o build/temp.linux-aarch64-3.8/kivy/graphics/shader.o
  In file included from kivy/graphics/shader.c:611:
  kivy/include/gl_redirect.h:72:13: fatal error: GL/gl.h: No such file or directory
     72 | #   include <GL/gl.h>
        |             ^~~~~~~~~
  compilation terminated.
  building 'kivy.graphics.stencil_instructions' extension
  aarch64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Ikivy/include -Ikivy/include -I/usr/include/python3.8 -c kivy/graphics/stencil_instructions.c -o build/temp.linux-aarch64-3.8/kivy/graphics/stencil_instructions.o
  aarch64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-aarch64-3.8/kivy/_event.o -o build/lib.linux-aarch64-3.8/kivy/_event.cpython-38-aarch64-linux-gnu.so -lm
  building 'kivy.graphics.scissor_instructions' extension
  aarch64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Ikivy/include -Ikivy/include -I/usr/include/python3.8 -c kivy/graphics/scissor_instructions.c -o build/temp.linux-aarch64-3.8/kivy/graphics/scissor_instructions.o
  In file included from kivy/graphics/stencil_instructions.c:611:
  kivy/include/gl_redirect.h:72:13: fatal error: GL/gl.h: No such file or directory
     72 | #   include <GL/gl.h>
        |             ^~~~~~~~~
  compilation terminated.
  building 'kivy.graphics.texture' extension
  aarch64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Ikivy/include -Ikivy/include -I/usr/include/python3.8 -c kivy/graphics/texture.c -o build/temp.linux-aarch64-3.8/kivy/graphics/texture.o
  In file included from kivy/graphics/scissor_instructions.c:611:
  kivy/include/gl_redirect.h:72:13: fatal error: GL/gl.h: No such file or directory
     72 | #   include <GL/gl.h>
        |             ^~~~~~~~~
  compilation terminated.
  building 'kivy.graphics.transformation' extension
  aarch64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Ikivy/include -Ikivy/include -I/usr/include/python3.8 -c kivy/graphics/transformation.c -o build/temp.linux-aarch64-3.8/kivy/graphics/transformation.o
  In file included from kivy/graphics/texture.c:611:
  kivy/include/gl_redirect.h:72:13: fatal error: GL/gl.h: No such file or directory
     72 | #   include <GL/gl.h>
        |             ^~~~~~~~~
  compilation terminated.
  building 'kivy.graphics.vbo' extension
  aarch64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Ikivy/include -Ikivy/include -I/usr/include/python3.8 -c kivy/graphics/vbo.c -o build/temp.linux-aarch64-3.8/kivy/graphics/vbo.o
  In file included from kivy/graphics/vbo.c:611:
  kivy/include/gl_redirect.h:72:13: fatal error: GL/gl.h: No such file or directory
     72 | #   include <GL/gl.h>
        |             ^~~~~~~~~
  compilation terminated.
  building 'kivy.graphics.vertex' extension
  aarch64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Ikivy/include -Ikivy/include -I/usr/include/python3.8 -c kivy/graphics/vertex.c -o build/temp.linux-aarch64-3.8/kivy/graphics/vertex.o
  In file included from kivy/graphics/vertex.c:611:
  kivy/include/gl_redirect.h:72:13: fatal error: GL/gl.h: No such file or directory
     72 | #   include <GL/gl.h>
        |             ^~~~~~~~~
  compilation terminated.
  building 'kivy.graphics.vertex_instructions' extension
  aarch64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Ikivy/include -Ikivy/include -I/usr/include/python3.8 -c kivy/graphics/vertex_instructions.c -o build/temp.linux-aarch64-3.8/kivy/graphics/vertex_instructions.o
  In file included from kivy/graphics/vertex_instructions.c:611:
  kivy/include/gl_redirect.h:72:13: fatal error: GL/gl.h: No such file or directory
     72 | #   include <GL/gl.h>
        |             ^~~~~~~~~
  compilation terminated.
  building 'kivy.graphics.cgl' extension
  aarch64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Ikivy/include -Ikivy/include -I/usr/include/python3.8 -c kivy/graphics/cgl.c -o build/temp.linux-aarch64-3.8/kivy/graphics/cgl.o
  In file included from kivy/graphics/cgl.c:611:
  kivy/include/gl_redirect.h:72:13: fatal error: GL/gl.h: No such file or directory
     72 | #   include <GL/gl.h>
        |             ^~~~~~~~~
  compilation terminated.
  building 'kivy.graphics.cgl_backend.cgl_mock' extension
  creating build/temp.linux-aarch64-3.8/kivy/graphics/cgl_backend
  aarch64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Ikivy/include -Ikivy/include -I/usr/include/python3.8 -c kivy/graphics/cgl_backend/cgl_mock.c -o build/temp.linux-aarch64-3.8/kivy/graphics/cgl_backend/cgl_mock.o
  In file included from kivy/graphics/cgl_backend/cgl_mock.c:611:
  kivy/include/gl_redirect.h:72:13: fatal error: GL/gl.h: No such file or directory
     72 | #   include <GL/gl.h>
        |             ^~~~~~~~~
  compilation terminated.
  building 'kivy.graphics.cgl_backend.cgl_gl' extension
  aarch64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Ikivy/include -Ikivy/include -I/usr/include/python3.8 -c kivy/graphics/cgl_backend/cgl_gl.c -o build/temp.linux-aarch64-3.8/kivy/graphics/cgl_backend/cgl_gl.o
  In file included from kivy/graphics/cgl_backend/cgl_gl.c:611:
  kivy/include/gl_redirect.h:72:13: fatal error: GL/gl.h: No such file or directory
     72 | #   include <GL/gl.h>
        |             ^~~~~~~~~
  compilation terminated.
  building 'kivy.graphics.cgl_backend.cgl_glew' extension
  aarch64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Ikivy/include -Ikivy/include -I/usr/include/python3.8 -c kivy/graphics/cgl_backend/cgl_glew.c -o build/temp.linux-aarch64-3.8/kivy/graphics/cgl_backend/cgl_glew.o
  aarch64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-aarch64-3.8/kivy/_clock.o -o build/lib.linux-aarch64-3.8/kivy/_clock.cpython-38-aarch64-linux-gnu.so -lm
  In file included from kivy/graphics/cgl_backend/cgl_glew.c:611:
  kivy/include/gl_redirect.h:72:13: fatal error: GL/gl.h: No such file or directory
     72 | #   include <GL/gl.h>
        |             ^~~~~~~~~
  compilation terminated.
  building 'kivy.graphics.cgl_backend.cgl_sdl2' extension
  aarch64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Ikivy/include -Ikivy/include -I/usr/include/python3.8 -c kivy/graphics/cgl_backend/cgl_sdl2.c -o build/temp.linux-aarch64-3.8/kivy/graphics/cgl_backend/cgl_sdl2.o
  building 'kivy.graphics.cgl_backend.cgl_debug' extension
  aarch64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Ikivy/include -Ikivy/include -I/usr/include/python3.8 -c kivy/graphics/cgl_backend/cgl_debug.c -o build/temp.linux-aarch64-3.8/kivy/graphics/cgl_backend/cgl_debug.o
  In file included from kivy/graphics/cgl_backend/cgl_sdl2.c:611:
  kivy/include/gl_redirect.h:72:13: fatal error: GL/gl.h: No such file or directory
     72 | #   include <GL/gl.h>
        |             ^~~~~~~~~
  compilation terminated.
  building 'kivy.core.text.text_layout' extension
  creating build/temp.linux-aarch64-3.8/kivy/core
  creating build/temp.linux-aarch64-3.8/kivy/core/text
  aarch64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Ikivy/include -I/usr/include/python3.8 -c kivy/core/text/text_layout.c -o build/temp.linux-aarch64-3.8/kivy/core/text/text_layout.o
  In file included from kivy/graphics/cgl_backend/cgl_debug.c:611:
  kivy/include/gl_redirect.h:72:13: fatal error: GL/gl.h: No such file or directory
     72 | #   include <GL/gl.h>
        |             ^~~~~~~~~
  compilation terminated.
  building 'kivy.core.window.window_info' extension
  creating build/temp.linux-aarch64-3.8/kivy/core/window
  aarch64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Ikivy/include -I/usr/include/python3.8 -c kivy/core/window/window_info.c -o build/temp.linux-aarch64-3.8/kivy/core/window/window_info.o
  aarch64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-aarch64-3.8/kivy/core/window/window_info.o -o build/lib.linux-aarch64-3.8/kivy/core/window/window_info.cpython-38-aarch64-linux-gnu.so -lm
  building 'kivy.graphics.tesselator' extension
  creating build/temp.linux-aarch64-3.8/kivy/lib
  creating build/temp.linux-aarch64-3.8/kivy/lib/libtess2
  creating build/temp.linux-aarch64-3.8/kivy/lib/libtess2/Source
  aarch64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Ikivy/include -Ikivy/lib/libtess2/Include -I/usr/include/python3.8 -c kivy/graphics/tesselator.c -o build/temp.linux-aarch64-3.8/kivy/graphics/tesselator.o
  aarch64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-aarch64-3.8/kivy/graphics/transformation.o -o build/lib.linux-aarch64-3.8/kivy/graphics/transformation.cpython-38-aarch64-linux-gnu.so -lm
  building 'kivy.graphics.svg' extension
  aarch64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Ikivy/include -Ikivy/include -I/usr/include/python3.8 -c kivy/graphics/svg.c -o build/temp.linux-aarch64-3.8/kivy/graphics/svg.o
  In file included from kivy/graphics/svg.c:611:
  kivy/include/gl_redirect.h:72:13: fatal error: GL/gl.h: No such file or directory
     72 | #   include <GL/gl.h>
        |             ^~~~~~~~~
  compilation terminated.
  aarch64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-aarch64-3.8/kivy/core/text/text_layout.o -o build/lib.linux-aarch64-3.8/kivy/core/text/text_layout.cpython-38-aarch64-linux-gnu.so -lm
  aarch64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Ikivy/include -Ikivy/lib/libtess2/Include -I/usr/include/python3.8 -c kivy/lib/libtess2/Source/bucketalloc.c -o build/temp.linux-aarch64-3.8/kivy/lib/libtess2/Source/bucketalloc.o
  aarch64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Ikivy/include -Ikivy/lib/libtess2/Include -I/usr/include/python3.8 -c kivy/lib/libtess2/Source/dict.c -o build/temp.linux-aarch64-3.8/kivy/lib/libtess2/Source/dict.o
  aarch64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Ikivy/include -Ikivy/lib/libtess2/Include -I/usr/include/python3.8 -c kivy/lib/libtess2/Source/geom.c -o build/temp.linux-aarch64-3.8/kivy/lib/libtess2/Source/geom.o
  aarch64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Ikivy/include -Ikivy/lib/libtess2/Include -I/usr/include/python3.8 -c kivy/lib/libtess2/Source/mesh.c -o build/temp.linux-aarch64-3.8/kivy/lib/libtess2/Source/mesh.o
  aarch64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Ikivy/include -Ikivy/lib/libtess2/Include -I/usr/include/python3.8 -c kivy/lib/libtess2/Source/priorityq.c -o build/temp.linux-aarch64-3.8/kivy/lib/libtess2/Source/priorityq.o
  aarch64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Ikivy/include -Ikivy/lib/libtess2/Include -I/usr/include/python3.8 -c kivy/lib/libtess2/Source/sweep.c -o build/temp.linux-aarch64-3.8/kivy/lib/libtess2/Source/sweep.o
  aarch64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Ikivy/include -Ikivy/lib/libtess2/Include -I/usr/include/python3.8 -c kivy/lib/libtess2/Source/tess.c -o build/temp.linux-aarch64-3.8/kivy/lib/libtess2/Source/tess.o
  aarch64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-aarch64-3.8/kivy/properties.o -o build/lib.linux-aarch64-3.8/kivy/properties.cpython-38-aarch64-linux-gnu.so -lm
  aarch64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-aarch64-3.8/kivy/graphics/tesselator.o build/temp.linux-aarch64-3.8/kivy/lib/libtess2/Source/bucketalloc.o build/temp.linux-aarch64-3.8/kivy/lib/libtess2/Source/dict.o build/temp.linux-aarch64-3.8/kivy/lib/libtess2/Source/geom.o build/temp.linux-aarch64-3.8/kivy/lib/libtess2/Source/mesh.o build/temp.linux-aarch64-3.8/kivy/lib/libtess2/Source/priorityq.o build/temp.linux-aarch64-3.8/kivy/lib/libtess2/Source/sweep.o build/temp.linux-aarch64-3.8/kivy/lib/libtess2/Source/tess.o -o build/lib.linux-aarch64-3.8/kivy/graphics/tesselator.cpython-38-aarch64-linux-gnu.so -lm
   warning: kivy/graphics/common.pxi:9:4: 'const_char_ptr' redeclared
   warning: kivy/graphics/common.pxi:23:4: 'size_t' redeclared
   error: command 'aarch64-linux-gnu-gcc' failed with exit status 1
  ----------------------------------------
  ERROR: Failed building wheel for kivy
  Building wheel for Kivy-Garden (setup.py) ... done
  Created wheel for Kivy-Garden: filename=Kivy_Garden-0.1.4-py3-none-any.whl size=4531 sha256=47ba4ab0988a6b5e889526f578eaba9b8ccccb0c5b1d0913a1bc5059dc94f571
  Stored in directory: /root/.cache/pip/wheels/4a/91/68/41a84ca58987e8e62f9665917e6017059d7134d797e0df5458
Successfully built Kivy-Garden
Failed to build kivy
ERROR: Could not build wheels for kivy which use PEP 517 and cannot be installed directly
谨慎打开

找关键

kivy/include/gl_redirect.h:72:13: fatal error: GL/gl.h: No such file or directory
     72 | #   include <GL/gl.h>
        |             ^~~~~~~~~

 

只要

sudo apt-get install mesa-common-dev
sudo apt-get install libgl1-mesa-dev libglu1-mesa-dev

就可以了 

 

有人说需要依赖:

win10将python打包成apk详细文档_apk_03win10将python打包成apk详细文档_linux_04
yum install \
    make \
    mercurial \
    automake \
    gcc \
    gcc-c++ \
    SDL_ttf-devel \
    SDL_mixer-devel \
    khrplatform-devel \
    mesa-libGLES \
    mesa-libGLES-devel \
    gstreamer-plugins-good \
    gstreamer \
    gstreamer-python \
    mtdev-devel \
    python-devel \
    python-pip \
    java-devel
View

至此没有需要

 

到这里kivy就安装好了。

 

测试一下:

##导入App,然后让TestApp这个类继承
from kivy.app import App
##导入一个Button,运维有这个button,当你点击的时候才会有所反应
from kivy.uix.button importButton
 
###定义类,名字必须是xxxApp
class TestApp(App):
    ###build一个Button
    def build(self):
        ###返回一个Button,文字内容是“Hello,kivy”
        return Button(text='Hello,kivy')
 
##运行,因为继承了App,所以才有的run这个方法
TestApp().run()

 

这里需要openGL版本大于2.0否则报错

OpenGL version detected: 1.1

Version: b'1.1.0'
Vendor: b'Microsoft Corporation'
Renderer: b'GDI Generic'

Try upgrading your graphics drivers and/or your graphics hardware in case of problems.

The application will leave now.

额,我的电脑是ARM处理器的只有1.0。。。

用一下别人的图片

win10将python打包成apk详细文档_apk_07

 

 win10将python打包成apk详细文档_安卓_08

 

 

点击窗口并按“F1”会这个窗口的一些属性

win10将python打包成apk详细文档_linux_09

来自:https://blog.51cto.com/youerning/1733534

 

 

 好了,要开始打包了

 

你可以用官方安装配置好的系统,它配置好了依赖等等可以省不少事

下载地址:https://pan.baidu.com/s/1slweL8T  

用虚拟机装好,可以看一下 

我们的重点在于在自己的电脑上装,就不多介绍了

官方虚拟机下载地址:http://txzone.net/files/torrents/kivy-buildozer-vm-2.0.zip

 

安装buildozer

pip install -i https://pypi.tuna.tsinghua.edu.cn/simple buildozer

 

 

安装好了输入buildozer测试

子系统当中运行会出现

Buildozer is running as root!
This is not recommended, and may lead to problems later.
Are you sure you want to continue

按y即可

大概意思是

Buildozer 以 root 身份运行!不建议这样做,可能会导致以后出现问题。你确定你要继续吗

因为子系统是用root权限在执行命令

 

然后我们需要转到python文件所在位置

子系统是可以直接访问电脑硬盘的

输入”mount“命令,可以看到,我当前电脑的其他盘符都mount(挂载)到/mnt/c, /mnt/d,/mnt/e中,这个就是对应的linux系统中的目录,这个与windows的目录有点区别。 使用命令”cd /mnt/e ",进入到 e盘根目录下,再“ls”以下,可以列出e盘下对应的所有文件。

win10将python打包成apk详细文档_apk_10

 

 

注意mnt文件夹在上级目录需要 cd ../ 如图

 win10将python打包成apk详细文档_linux_11

 

 

 

 

然后输入 buildozer init 运行成功将会创建一个配置文件buildozer.spec,可以通过修改配置文件更改app,终端出现 File buildozer.spec created, ready to customize 如图

 win10将python打包成apk详细文档_linux_12

 

 

 

我们直接打开buildozer.spec(推荐用sublime打开,记事本也可以)

 

win10将python打包成apk详细文档_apk_03win10将python打包成apk详细文档_linux_04
[app]
# (str) Title of your application 更改1
title = Test
# (str) Package name 更改2
package.name = test
# (str) Package domain (needed for android/ios packaging)
package.domain = org.example
# (str) Source code where the main.py live
source.dir = .
# (list) Source files to include (let empty to include all the files)
source.include_exts = py,png,jpg,kv,atlas
# (list) Source files to exclude (let empty to not exclude anything)
#source.exclude_exts = spec
# (list) List of directory to exclude (let empty to not exclude anything)
#source.exclude_dirs = tests, bin
# (list) List of exclusions using pattern matching
#source.exclude_patterns = license,images/*/*.jpg
# (str) Application versioning (method 1)
# version.regex = __version__ = '(.*)'
# version.filename = %(source.dir)s/main.py
# (str) Application versioning (method 2) 更改3
version = 0.1
# (list) Application requirements 更改4
requirements = kivy
# (str) Presplash of the application 更改5
presplash.filename = %(source.dir)s/data/presplash.png
# (str) Icon of the application 更改6
icon.filename = %(source.dir)s/data/icon.png
# (str) Supported orientation (one of landscape, portrait or all) 更改7
orientation = all
# (bool) Indicate if the application should be fullscreen or not 更改8
fullscreen = 0
 
#
# Android specific 更改9
#
# (list) Permissions
android.permissions = INTERNET
# (int) Android API to use 更改10
android.api = 19
# (int) Minimum API required (8 = Android 2.2 devices)
# 更改11
android.minapi = 9
# (int) Android SDK version to use 更改12
android.sdk = 20
# (str) Android NDK version to use 更改13
android.ndk = 9c
# (bool) Use --private data storage (True) or --dir public storage (False)
android.private_storage = True
# (str) Android NDK directory (if empty, it will be automatically downloaded.)
#android.ndk_path =
# (str) Android SDK directory (if empty, it will be automatically downloaded.)
#android.sdk_path =
# (str) Android entry point, default is ok for Kivy-based app
#android.entrypoint = org.renpy.android.PythonActivity
# (list) List of Java .jar files to add to the libs so that pyjnius can access
# their classes. Don't add jars that you do not need, since extra jars can slow
# down the build process. Allows wildcards matching, for example:
# OUYA-ODK/libs/*.jar
#android.add_jars = foo.jar,bar.jar,path/to/more/*.jar
# (list) List of Java files to add to the android project (can be java or a
# directory containing the files)
#android.add_src =
# (str) python-for-android branch to use, if not master, useful to try
# not yet merged features.
#android.branch = master
# (str) OUYA Console category. Should be one of GAME or APP
# If you leave this blank, OUYA support will not be enabled
#android.ouya.category = APP
# (str) Filename of OUYA Console icon. It must be a 732x412 png image.
#android.ouya.icon.filename = %(source.dir)s/data/ouya_icon.png
# (str) XML file to include as an intent filters in <activity> tag
#android.manifest.intent_filters =
# (list) Android additionnal libraries to copy into libs/armeabi
#android.add_libs_armeabi = libs/android/*.so
# (bool) Indicate whether the screen should stay on
# Don't forget to add the WAKE_LOCK permission if you set this to True
#android.wakelock = False
# (list) Android application meta-data to set (key=value format)
#android.meta_data =
# (list) Android library project to add (will be added in the
# project.properties automatically.)
#android.library_references =
#
# iOS specific
#
# (str) Name of the certificate to use for signing the debug version
# Get a list of available identities: buildozer ios list_identities
#ios.codesign.debug = "iPhone Developer: <lastname> <firstname> (<hexstring>)"
# (str) Name of the certificate to use for signing the release version
#ios.codesign.release = %(ios.codesign.debug)s
 
[buildozer]
 
# (int) Log level (0 = error only, 1 = info, 2 = debug (with command output)) 更改14
log_level = 2
# -----------------------------------------------------------------------------
# List as sections
#
# You can define all the "list" as [section:key].
# Each line will be considered as a option to the list.
# Let's take [app] / source.exclude_patterns.
# Instead of doing:
#
# [app]
# source.exclude_patterns = license,data/audio/*.wav,data/images/original/*
#
# This can be translated into:
#
# [app:source.exclude_patterns]
# license
# data/audio/*.wav
# data/images/original/*
#
# -----------------------------------------------------------------------------
# Profiles
#
# You can extend section / key with a profile
# For example, you want to deploy a demo version of your application without
# HD content. You could first change the title to add "(demo)" in the name
# and extend the excluded directories to remove the HD content.
#
# [app@demo]
# title = My Application (demo)
#
# [app:source.exclude_patterns@demo]
# images/hd/*
#
# Then, invoke the command line with the "demo" profile:
#
# buildozer --profile demo android debug
直接复制这些就行,搬运

 

 修改的地方和解释

win10将python打包成apk详细文档_apk_03win10将python打包成apk详细文档_linux_04
总共做了14个更改。
 
title
为了避免某些字符可能引起的不工作,最好避免过长的标题,太长的标题到时候也可能不适应在App的图标下。
 
package.name
package.name只能是一个单词,只能是由ASCII字符或数字组成,不应该包含特殊字符。比如说,如果你的应用叫Test One,那么package name就应该写成 testone。
 
package.domain
这个应该填写的是制作这个App的公司或个人的名称,domain+name将会成为该应用对于Android 或iOS的标识。
 
source.dir
填写包含main.py这些文件的目录路径,默认是在buildozer.spec所在的目录。
 
source.include_exts
设置将扩展名符合该规则的文件包含进来。如果想将所有属于你自己的扩展名文件包含进来,直接将该值设置为空值,这样就能将所有东西包含进来了。
 
source.exclude_exts
跟上面相对应的,这里设置的是不将符合该规则扩展名的文件包含进来。
 
source.exclude_dirs
这里设置的是不将符合该规则的目录包含进来。比如说,如果不想将tests和bin目录包含进来的话,就进行如下设置。
 
source.exclude_dirs = tests, bin
version.regex
使用正则表达式去捕捉version.filename文件内的version信息。默认的捕捉方法是在main.py里面查找类似下面一行的内容。
__version__ = "1.0"
version.filename
默认是指main.py文件
 
version
用来自己手动设置version,如果你不想用捕捉的方法获取到version的话,你可以将version.regex 和 version.filename给注释掉,然后给version赋一个值,例如。
 
# version.regex =
# version.filename =
version = 1.0
requirements
填写该App所需要的Python的模块或扩展模块
 
presplash.filename
Presplash是应用刚打开加载时显示的图像,对于不同的平台presplash可能会有不同的要求,目前Buildozer在该方面对于Android的支持要好于iOS。图片的类型必须是JPG或PNG的,最好是2次幂的尺寸,比如说512X512类型的图片对于所有的机器运行都很好。Presplash图片是不会自己适应、伸缩屏幕的,如果提供在尺寸的图片,可能就不适合在小屏幕的机器上显示。
 
icon.filename
应用的图标,作为图标的图片必须是512X512而且是PNG格式的,这样才能够适应很多平台的要求。
 
orientation
指明该App支持的显示方向,默认是landscape(横向显示),也可以更改为portrait(竖向显示)或者是全部。
 
fullscreen
该值为布尔类型的,默认是true,这样App就会运行在全屏的状态了,意味着状态栏将会被隐藏。如果想要让用户能够看到状态栏、时间、通知等内容的话,就应该将该值设置为0。
不要复制,看看就行,搬运

 

 

 安装依赖

sudo pip install --upgrade cython==0.28.6
sudo dpkg --add-architecture i386
sudo apt update
sudo apt install build-essential ccache git libncurses5:i386 libstdc++6:i386 libgtk2.0-0:i386 libpangox-1.0-0:i386 libpangoxft-1.0-0:i386

 

 

 

尝试下载 Android SDK, NDK 和其他工具

buildozer -v android debug

 

它会下载 Android SDK, NDK 和其他工具, 占据 ~/.buildozer 大约 3.9GB 空间和 ./.buildozer 大约 1.3 GB, 如果你只装了 python3 和 pip3
但即使这样它也会崩, 要 确保没有 [WARNING] 叫你安装其他的包 , 并且经常Bing.

 

会有亿些问题

例如: # Java compiler (javac) not found, please install it. 需要安装java

sudo apt install openjdk-8-jre-headless # 这个是apt给我推荐的,貌似这个安装的依赖少
或
sudo apt install openjdk-8-jdk

 

 

到这里我的子系统出了问题 

 

可能会被墙,建议FQ,网上有人给出了方案

win10将python打包成apk详细文档_python_17

 

文章链接:https://zhuanlan.zhihu.com/p/33990951

图中链接:https://www.linuxidc.com/Linux/2015-01/111958.htm

 

 

如果它说 there is no file called xyz.so:

locate xyz.so
ln -s path/to/exist/so /usr/lib/xyz.so

 

 

如果成功,apk 文件在文件夹 ./bin 里面