kivy / kivy-sdk-packager

Scripts for Kivy SDK generation on Windows, OS X and Linux
MIT License
40 stars 32 forks source link

not resolved: config.pxi #91

Open Arthedian opened 1 year ago

Arthedian commented 1 year ago

Hello, After running command "./create-osx-bundle.sh" without any parameters on latest macosx it resolved with this error. Why?

      Found Cython at /private/var/folders/f0/3xl2g3jd51xgjwhz8d47hrn40000gn/T/pip-build-env-1wp8srhd/overlay/lib/python3.11/site-packages/Cython/__init__.py
      Detected supported Cython version 0.29.33
      User distribution detected, avoid portable command.
      Using this graphics system: OpenGL ES 2
      GStreamer framework found
      Found sdl2 frameworks: /Users/robertjonathansimon/prace/ee/kivy-sdk-packager.git/osx/build/kivy-dependencies/dist/Frameworks/SDL2.framework
      Found sdl2 frameworks: /Users/robertjonathansimon/prace/ee/kivy-sdk-packager.git/osx/build/kivy-dependencies/dist/Frameworks/SDL2_ttf.framework
      Found sdl2 frameworks: /Users/robertjonathansimon/prace/ee/kivy-sdk-packager.git/osx/build/kivy-dependencies/dist/Frameworks/SDL2_image.framework
      Found sdl2 frameworks: /Users/robertjonathansimon/prace/ee/kivy-sdk-packager.git/osx/build/kivy-dependencies/dist/Frameworks/SDL2_mixer.framework
      Activate SDL2 compilation
      Pango: pangoft2 found via pkg-config
      {'libraries': ['pangoft2-1.0', 'pango-1.0', 'gobject-2.0', 'glib-2.0', 'intl', 'harfbuzz', 'fontconfig', 'freetype'], 'include_dirs': ['/private/var/folders/f0/3xl2g3jd51xgjwhz8d47hrn40000gn/T/pip-install-ls2huvl6/kivy_8396c7fe5da84d56ac7a4116de601e95/kivy/include', '/opt/homebrew/Cellar/pango/1.50.14/include/pango-1.0', '/opt/homebrew/Cellar/harfbuzz/7.1.0/include/harfbuzz', '/opt/homebrew/Cellar/pango/1.50.14/include/pango-1.0', '/opt/homebrew/Cellar/glib/2.76.1/include', '/opt/homebrew/Cellar/fribidi/1.0.12/include/fribidi', '/opt/homebrew/Cellar/cairo/1.16.0_5/include/cairo', '/opt/homebrew/Cellar/pixman/0.42.2/include/pixman-1', '/opt/homebrew/Cellar/libxcb/1.15_1/include', '/opt/homebrew/Cellar/libxrender/0.9.11/include', '/opt/homebrew/Cellar/libxext/1.3.5/include', '/opt/homebrew/Cellar/libx11/1.8.4/include', '/opt/homebrew/Cellar/libxcb/1.15_1/include', '/opt/homebrew/Cellar/libxau/1.0.11/include', '/opt/homebrew/Cellar/libxdmcp/1.1.4/include', '/opt/homebrew/Cellar/glib/2.76.1/include', '/opt/homebrew/Cellar/harfbuzz/7.1.0/include/harfbuzz', '/opt/homebrew/Cellar/glib/2.76.1/include/glib-2.0', '/opt/homebrew/Cellar/glib/2.76.1/lib/glib-2.0/include', '/opt/homebrew/opt/gettext/include', '/opt/homebrew/Cellar/pcre2/10.42/include', '/opt/homebrew/Cellar/graphite2/1.3.14/include', '/opt/homebrew/Cellar/fontconfig/2.14.2/include', '/opt/homebrew/opt/freetype/include/freetype2', '/opt/homebrew/Cellar/libpng/1.6.39/include/libpng16', '/opt/homebrew/Cellar/xorgproto/2022.2/include', '/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/usr/include/ffi'], 'library_dirs': ['/opt/homebrew/Cellar/pango/1.50.14/lib', '/opt/homebrew/Cellar/glib/2.76.1/lib', '/opt/homebrew/opt/gettext/lib', '/opt/homebrew/Cellar/harfbuzz/7.1.0/lib', '/opt/homebrew/Cellar/fontconfig/2.14.2/lib', '/opt/homebrew/opt/freetype/lib'], 'extra_link_args': ['-F/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.3.sdk/System/Library/Frameworks'], 'extra_compile_args': ['-F/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.3.sdk/System/Library/Frameworks'], 'depends': ['lib/pango/pangoft2.pxi', 'lib/pango/pangoft2.h']}
      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
      ERROR: Dependency for boxshadow.pyx not resolved: config.pxi
      Building extensions in parallel using 4 cores
      Updated build directory to: build/lib.macosx-10.13-universal2-cpython-311
      Build configuration is:
       * use_rpi = 0
       * use_egl = 0
       * use_opengl_es2 = 1
       * use_opengl_mock = 0
       * use_sdl2 = 1
       * use_pangoft2 = 1
       * use_ios = 0
       * use_android = 0
       * use_mesagl = 0
       * use_x11 = 0
       * use_wayland = 0
       * use_gstreamer = 1
       * use_avfoundation = 1
       * use_osx_frameworks = 1
       * debug_gl = 0
       * kivy_sdl_gl_alpha_size = 8
       * debug = False
      Updated build/lib.macosx-10.13-universal2-cpython-311/kivy/include/config.h
      Updated /private/var/folders/f0/3xl2g3jd51xgjwhz8d47hrn40000gn/T/pip-install-ls2huvl6/kivy_8396c7fe5da84d56ac7a4116de601e95/kivy/include/config.h
      Updated build/lib.macosx-10.13-universal2-cpython-311/kivy/include/config.pxi
      Updated /private/var/folders/f0/3xl2g3jd51xgjwhz8d47hrn40000gn/T/pip-install-ls2huvl6/kivy_8396c7fe5da84d56ac7a4116de601e95/kivy/include/config.pxi
      Updated build/lib.macosx-10.13-universal2-cpython-311/kivy/setupconfig.py
      Updated /private/var/folders/f0/3xl2g3jd51xgjwhz8d47hrn40000gn/T/pip-install-ls2huvl6/kivy_8396c7fe5da84d56ac7a4116de601e95/kivy/setupconfig.py
      Detected compiler is unix
       error: command '/usr/bin/gcc' failed with exit code 1
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for kivy
Failed to build kivy
ERROR: Could not build wheels for kivy, which is required to install pyproject.toml-based projects

[notice] A new release of pip available: 22.3.1 -> 23.1.1
[notice] To update, run: pip install --upgrade pip