cross-platform-python-gui icon indicating copy to clipboard operation
cross-platform-python-gui copied to clipboard

Unable to compile for Mac on Macbook Air M1

Open Arthedian opened this issue 2 years ago • 0 comments

Describe the bug I am trying to build for Mac on MacBook Air M1 without success

To Reproduce Steps to reproduce the behavior:

  1. Go to parent folde
  2. run command in terminal "./build/mac/buildDmg.sh"

Expected behavior DMG appeared in list folder

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: MacOS 13.1

Additional context Add any other context about the problem here.

Darwin Roberts-MacBook-Air-3.local 22.2.0 Darwin Kernel Version 22.2.0: Fri Nov 11 02:04:44 PST 2022; root:xnu-8792.61.2~4/RELEASE_ARM64_T8103 arm64
ProductName:		macOS
ProductVersion:		13.1
BuildVersion:		22C65
/Library/Frameworks/Python.framework/Versions/3.11/bin/python3
Python 3.11.1
/Library/Frameworks/Python.framework/Versions/3.11/bin:/opt/local/bin:/opt/local/sbin:/Library/Frameworks/Python.framework/Versions/3.9/bin:/Library/Frameworks/Python.framework/Versions/3.10/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/robertjonathansimon/Library/Application Support/JetBrains/Toolbox/scripts
/Users/robertjonathansimon/prace/ee/kivy_test.git
total 96
drwxr-xr-x  14 robertjonathansimon  staff   448B Jan 28 20:39 .
drwxr-xr-x  11 robertjonathansimon  staff   352B Jan 28 20:31 ..
drwxr-xr-x  11 robertjonathansimon  staff   352B Jan 25 13:49 .git
drwxr-xr-x   4 robertjonathansimon  staff   128B Jan 24 20:16 .github
drwxr-xr-x   9 robertjonathansimon  staff   288B Jan 25 09:40 .idea
-rw-r--r--   1 robertjonathansimon  staff    34K Jan 24 20:16 LICENSE
-rw-r--r--   1 robertjonathansimon  staff   1.7K Jan 24 20:16 README.md
drwxr-xr-x   7 robertjonathansimon  staff   224B Jan 24 20:18 build
drwxr-xr-x   6 robertjonathansimon  staff   192B Jan 28 20:38 buildozer
drwxr-xr-x   3 robertjonathansimon  staff    96B Jan 28 20:36 pyinstaller
-rw-r--r--   1 robertjonathansimon  staff     5B Jan 24 20:16 requirements.txt
drwxr-xr-x   3 robertjonathansimon  staff    96B Jan 24 20:16 src
-rw-r--r--   1 robertjonathansimon  staff   727B Jan 28 20:39 t.out
drwxr-xr-x   6 robertjonathansimon  staff   192B Jan 24 20:16 venv
Uninstalling /opt/homebrew/Cellar/python/3.7.8... (4,007 files, 61.4MB)
rm /opt/homebrew/bin/2to3
rm /opt/homebrew/bin/2to3-3.7
rm /opt/homebrew/bin/easy_install-3.7
rm /opt/homebrew/bin/idle3
rm /opt/homebrew/bin/idle3.7
rm /opt/homebrew/bin/pip3
rm /opt/homebrew/bin/pip3.7
rm /opt/homebrew/bin/pydoc3
rm /opt/homebrew/bin/pydoc3.7
rm /opt/homebrew/bin/python3
rm /opt/homebrew/bin/python3-config
rm /opt/homebrew/bin/python3.7
rm /opt/homebrew/bin/python3.7-config
rm /opt/homebrew/bin/python3.7m
rm /opt/homebrew/bin/python3.7m-config
rm /opt/homebrew/bin/pyvenv
rm /opt/homebrew/bin/pyvenv-3.7
rm /opt/homebrew/bin/wheel3
rm /opt/homebrew/lib/pkgconfig/python-3.7.pc
rm /opt/homebrew/lib/pkgconfig/python-3.7m.pc
rm /opt/homebrew/lib/pkgconfig/python3.pc
rm /opt/homebrew/share/man/man1/python3.1
rm /opt/homebrew/share/man/man1/python3.7.1
rm /opt/homebrew/Frameworks/Python.framework/Headers
rm /opt/homebrew/Frameworks/Python.framework/Python
rm /opt/homebrew/Frameworks/Python.framework/Resources
rm /opt/homebrew/Frameworks/Python.framework/Versions/3.7
rm /opt/homebrew/Frameworks/Python.framework/Versions/Current
==> Fetching python
==> Reinstalling python 
==> Pouring python-3.7.8.catalina.bottle.tar.gz
==> Finishing up
ln -s ../Cellar/python/3.7.8/bin/2to3 2to3
ln -s ../Cellar/python/3.7.8/bin/2to3-3.7 2to3-3.7
ln -s ../Cellar/python/3.7.8/bin/idle3 idle3
ln -s ../Cellar/python/3.7.8/bin/idle3.7 idle3.7
ln -s ../Cellar/python/3.7.8/bin/pydoc3 pydoc3
ln -s ../Cellar/python/3.7.8/bin/pydoc3.7 pydoc3.7
ln -s ../Cellar/python/3.7.8/bin/python3 python3
ln -s ../Cellar/python/3.7.8/bin/python3-config python3-config
ln -s ../Cellar/python/3.7.8/bin/python3.7 python3.7
ln -s ../Cellar/python/3.7.8/bin/python3.7-config python3.7-config
ln -s ../Cellar/python/3.7.8/bin/python3.7m python3.7m
ln -s ../Cellar/python/3.7.8/bin/python3.7m-config python3.7m-config
ln -s ../Cellar/python/3.7.8/bin/pyvenv pyvenv
ln -s ../Cellar/python/3.7.8/bin/pyvenv-3.7 pyvenv-3.7
ln -s ../../../Cellar/python/3.7.8/share/man/man1/python3.1 python3.1
ln -s ../../../Cellar/python/3.7.8/share/man/man1/python3.7.1 python3.7.1
ln -s ../../Cellar/python/3.7.8/lib/pkgconfig/python-3.7.pc python-3.7.pc
ln -s ../../Cellar/python/3.7.8/lib/pkgconfig/python-3.7m.pc python-3.7m.pc
ln -s ../../Cellar/python/3.7.8/lib/pkgconfig/python3.pc python3.pc
ln -s ../../Cellar/python/3.7.8/Frameworks/Python.framework/Headers Headers
ln -s ../../Cellar/python/3.7.8/Frameworks/Python.framework/Python Python
ln -s ../../Cellar/python/3.7.8/Frameworks/Python.framework/Resources Resources
ln -s ../../../Cellar/python/3.7.8/Frameworks/Python.framework/Versions/3.7 3.7
ln -s ../../../Cellar/python/3.7.8/Frameworks/Python.framework/Versions/Current Current
[34m==>[0m [1m/opt/homebrew/Cellar/python/3.7.8/bin/python3 -s setup.py --no-user-cfg inst[0m
[34m==>[0m [1m/opt/homebrew/Cellar/python/3.7.8/bin/python3 -s setup.py --no-user-cfg inst[0m
[34m==>[0m [1m/opt/homebrew/Cellar/python/3.7.8/bin/python3 -s setup.py --no-user-cfg inst[0m
==> Caveats
Python has been installed as
  /opt/homebrew/bin/python3

Unversioned symlinks `python`, `python-config`, `pip` etc. pointing to
`python3`, `python3-config`, `pip3` etc., respectively, have been installed into
  /opt/homebrew/opt/python/libexec/bin

You can install Python packages with
  pip3 install <package>
They will install into the site-package directory
  /opt/homebrew/lib/python3.7/site-packages

See: https://docs.brew.sh/Homebrew-and-Python
==> Summary
🍺  /opt/homebrew/Cellar/python/3.7.8: 4,007 files, 61.4MB
==> Running `brew cleanup python`...
Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP.
Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).
==> Fetching sdl2
==> Reinstalling sdl2 
==> Pouring sdl2-2.0.12_1.catalina.bottle.tar.gz
🍺  /opt/homebrew/Cellar/sdl2/2.0.12_1: 89 files, 4.7MB
==> Running `brew cleanup sdl2`...
Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP.
Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).
==> Upgrading 3 dependents of upgraded formula:
Disable this behaviour by setting HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK.
Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).
sdl2_image 2.0.5 -> 2.6.2_2, sdl2_mixer 2.0.4 -> 2.6.2, sdl2_ttf 2.0.15 -> 2.20.1
==> Fetching dependencies for sdl2_image: sdl2
==> Fetching sdl2
==> Downloading https://ghcr.io/v2/homebrew/core/sdl2/manifests/2.26.2
Already downloaded: /Users/robertjonathansimon/Library/Caches/Homebrew/downloads/9723651848b421374c85476c2b97a00e7e68342c20045a6c2fc2fa802d8e25c9--sdl2-2.26.2.bottle_manifest.json
==> Downloading https://ghcr.io/v2/homebrew/core/sdl2/blobs/sha256:f76f2fcea4ba2cf8a3f39058feb12cc8c33ff0238e00a9f848ede7a741a55476
Already downloaded: /Users/robertjonathansimon/Library/Caches/Homebrew/downloads/49c0be16c5fa27f3fe6e2f98e789d7a1b8afa44ebe552f663ab956c955f7c373--sdl2--2.26.2.arm64_ventura.bottle.tar.gz
==> Fetching sdl2_image
==> Downloading https://ghcr.io/v2/homebrew/core/sdl2_image/manifests/2.6.2_2
Already downloaded: /Users/robertjonathansimon/Library/Caches/Homebrew/downloads/c00f00dd1ef3aa522678bf47beab297ea80c2ced92d4d9fbd7eea6a4449a8d63--sdl2_image-2.6.2_2.bottle_manifest.json
==> Downloading https://ghcr.io/v2/homebrew/core/sdl2_image/blobs/sha256:b2e1fc4ff5b35ebb029144dffa589e00c47655b5a38761e5b8aed576dccf47d3
Already downloaded: /Users/robertjonathansimon/Library/Caches/Homebrew/downloads/6c5f5ca8421074ef18b54541c37fb361cd388a735e68e47216e0c9011ec01126--sdl2_image--2.6.2_2.arm64_ventura.bottle.tar.gz
==> Fetching sdl2_mixer
==> Downloading https://ghcr.io/v2/homebrew/core/sdl2_mixer/manifests/2.6.2
Already downloaded: /Users/robertjonathansimon/Library/Caches/Homebrew/downloads/c2bde317fc328609b5b6879ff39757b50817928b621b1832d9474cd085ed81cc--sdl2_mixer-2.6.2.bottle_manifest.json
==> Downloading https://ghcr.io/v2/homebrew/core/sdl2_mixer/blobs/sha256:7fd6ab0b615a7704a6c31069f7efd5979d7619f85793eed2e1e2c25a00d42764
Already downloaded: /Users/robertjonathansimon/Library/Caches/Homebrew/downloads/1504d80814c89449d755a340bf1ded573253e82ee5d1198d8f458eaa6ece6bd0--sdl2_mixer--2.6.2.arm64_ventura.bottle.tar.gz
==> Fetching sdl2_ttf
==> Downloading https://ghcr.io/v2/homebrew/core/sdl2_ttf/manifests/2.20.1
Already downloaded: /Users/robertjonathansimon/Library/Caches/Homebrew/downloads/545e27eb64577ecad88953e8f0735bd40210b499e4d7e78e87955c0bde66a5cc--sdl2_ttf-2.20.1.bottle_manifest.json
==> Downloading https://ghcr.io/v2/homebrew/core/sdl2_ttf/blobs/sha256:965b06109282c56c513b3836bdced71d34c7b532b42a5a0fad1188cb171f12f1
Already downloaded: /Users/robertjonathansimon/Library/Caches/Homebrew/downloads/cb9331cac1e57765e20f8bbd92252d2f422bd5b655c4dca2673f201ddf6ce734--sdl2_ttf--2.20.1.arm64_ventura.bottle.tar.gz
==> Upgrading sdl2_image
  4.0.5 -> 2.6.2_2 
==> Installing dependencies for sdl2_image: sdl2
==> Installing sdl2_image dependency: sdl2
==> Pouring sdl2--2.26.2.arm64_ventura.bottle.tar.gz
🍺  /opt/homebrew/Cellar/sdl2/2.26.2: 93 files, 6.4MB
==> Installing sdl2_image
==> Pouring sdl2_image--2.6.2_2.arm64_ventura.bottle.tar.gz
🍺  /opt/homebrew/Cellar/sdl2_image/2.6.2_2: 12 files, 374KB
==> Running `brew cleanup sdl2_image`...
Removing: /opt/homebrew/Cellar/sdl2_image/2.0.5... (10 files, 286.0KB)
==> Upgrading sdl2_mixer
  2.0.4 -> 2.6.2 
==> Pouring sdl2_mixer--2.6.2.arm64_ventura.bottle.tar.gz
🍺  /opt/homebrew/Cellar/sdl2_mixer/2.6.2: 12 files, 827.8KB
==> Running `brew cleanup sdl2_mixer`...
Removing: /opt/homebrew/Cellar/sdl2_mixer/2.0.4... (10 files, 314.4KB)
==> Upgrading sdl2_ttf
  2.0.15 -> 2.20.1 
==> Pouring sdl2_ttf--2.20.1.arm64_ventura.bottle.tar.gz
🍺  /opt/homebrew/Cellar/sdl2_ttf/2.20.1: 12 files, 255KB
==> Running `brew cleanup sdl2_ttf`...
Removing: /opt/homebrew/Cellar/sdl2_ttf/2.0.15... (10 files, 79.3KB)
==> Checking for dependents of upgraded formulae...
==> No broken dependents found!
==> Fetching sdl2_image
==> Reinstalling sdl2_image 
==> Pouring sdl2_image-2.0.5.catalina.bottle.tar.gz
🍺  /opt/homebrew/Cellar/sdl2_image/2.0.5: 10 files, 286.0KB
==> Running `brew cleanup sdl2_image`...
Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP.
Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).
==> Fetching sdl2_mixer
==> Reinstalling sdl2_mixer 
==> Pouring sdl2_mixer-2.0.4.catalina.bottle.tar.gz
🍺  /opt/homebrew/Cellar/sdl2_mixer/2.0.4: 10 files, 314.4KB
==> Running `brew cleanup sdl2_mixer`...
Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP.
Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).
==> Fetching sdl2_ttf
==> Reinstalling sdl2_ttf 
==> Pouring sdl2_ttf-2.0.15.catalina.bottle.tar.gz
🍺  /opt/homebrew/Cellar/sdl2_ttf/2.0.15: 10 files, 79.3KB
==> Running `brew cleanup sdl2_ttf`...
Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP.
Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).
~/prace/ee/kivy_test.git/pyinstaller ~/prace/ee/kivy_test.git
~/prace/ee/kivy_test.git
Darwin Roberts-MacBook-Air-3.local 22.2.0 Darwin Kernel Version 22.2.0: Fri Nov 11 02:04:44 PST 2022; root:xnu-8792.61.2~4/RELEASE_ARM64_T8103 arm64
ProductName:		macOS
ProductVersion:		13.1
BuildVersion:		22C65
/Library/Frameworks/Python.framework/Versions/3.11/bin/python3
Python 3.11.1
/Library/Frameworks/Python.framework/Versions/3.11/bin:/opt/local/bin:/opt/local/sbin:/Library/Frameworks/Python.framework/Versions/3.9/bin:/Library/Frameworks/Python.framework/Versions/3.10/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/robertjonathansimon/Library/Application Support/JetBrains/Toolbox/scripts
/Users/robertjonathansimon/prace/ee/kivy_test.git
total 112
drwxr-xr-x  14 robertjonathansimon  staff   448B Jan 28 20:39 .
drwxr-xr-x  11 robertjonathansimon  staff   352B Jan 28 20:31 ..
drwxr-xr-x  11 robertjonathansimon  staff   352B Jan 25 13:49 .git
drwxr-xr-x   4 robertjonathansimon  staff   128B Jan 24 20:16 .github
drwxr-xr-x   9 robertjonathansimon  staff   288B Jan 25 09:40 .idea
-rw-r--r--   1 robertjonathansimon  staff    34K Jan 24 20:16 LICENSE
-rw-r--r--   1 robertjonathansimon  staff   1.7K Jan 24 20:16 README.md
drwxr-xr-x   7 robertjonathansimon  staff   224B Jan 24 20:18 build
drwxr-xr-x   6 robertjonathansimon  staff   192B Jan 28 20:38 buildozer
drwxr-xr-x   3 robertjonathansimon  staff    96B Jan 28 20:36 pyinstaller
-rw-r--r--   1 robertjonathansimon  staff     5B Jan 24 20:16 requirements.txt
drwxr-xr-x   3 robertjonathansimon  staff    96B Jan 24 20:16 src
-rw-r--r--   1 robertjonathansimon  staff    11K Jan 28 20:39 t.out
drwxr-xr-x   6 robertjonathansimon  staff   192B Jan 24 20:16 venv

Arthedian avatar Jan 28 '23 19:01 Arthedian