Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

toolchain.py build python3 openssl kivy not completing after upgrading macOS Monterey 12.5 #738

Closed
nicholas-buscaglia opened this issue Aug 1, 2022 · 5 comments

Comments

@nicholas-buscaglia
Copy link

I was on big sur, upgraded OS to Monterey 12.5 and xcode 13.4 and now toolchain is not finishing initial build after cloning the kivy-ios project. Gets stuck at same spot despite multiple reboot attempts..."[DEBUG ] checking for suffix of executables... " gets stuck here indefinitely. Anyone experience this? Thanks
Screen Shot 2022-07-31 at 11 41 24 PM
!

@misl6
Copy link
Member

misl6 commented Aug 2, 2022

I'm on Monterey 12.5 and XCode 13.4 and works great for me. 🧐

Is that an Intel or Apple Silicon mac?

Did you tried to clean-up the build and try again?

@nicholas-buscaglia
Copy link
Author

nicholas-buscaglia commented Aug 3, 2022

Hi thanks for responding- there had to be an issue with my environment. I did a factory restore on my mac and then was able to get through this part of toolchain build. The interesting thing is that the program still stops for me at this location "checking for suffix executables," but now I get a blank prompt, which I can click "ok" past and then the build continues. Had to be an issue with old files before the upgrade, etc. w $PATH
Screen Shot 2022-08-03 at 7 13 34 AM

@nicholas-buscaglia
Copy link
Author

nicholas-buscaglia commented Aug 3, 2022

Now running into new issue after about 15 mins into toolchain build.. sh.CommandNotFound: python. ... toolchain status indicates kivy not built.

Here are the steps I've taken on my new macbook pro (OS Monterey 12.5, xcode 13.4)-

Download command line tools/xcode (xcode-select --install)

Install Homebrew (requires command line tools only but got a weird missing simulator error from toolchain later so just downloaded xcode which I need anyways and that eliminated that). Confirm path... My understanding is no need to modify path on iOS 10 Mojave and newer. But here is echo $PATH/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/Apple/usr/bin

brew install python (latest python, pip and setup tools)

brew install autoconf automake libtool pkg-config (kivy doc pre-req)

brew link libtool (kivy doc pre-req)

pip3 install kivy-ios (needed?)

pip3 install Cython==0.29.28 (kivy doc pre-req)

pip3 install sh (toolchain called this missing)

pip3 install pbxproj (toolchain called this missing)

git clone https://github.com/kivy/kivy-ios

cd kivy-ios

python3 ./toolchain.py build python3 kivy ..etc.

Runs for about 15 mins then Error- raise CommandNotFound(k) sh.CommandNotFound: python

I've tried simply introducing an alias for python to python3 but that does not work for me, same error.

What am I missing?? ./toolchain status says kivy not built. Does kivy require older versions of python that are not stocked with new mac OS? Thanks

@misl6
Copy link
Member

misl6 commented Aug 4, 2022

Now running into new issue after about 15 mins into toolchain build.. sh.CommandNotFound: python. ... toolchain status indicates kivy not built.

Here are the steps I've taken on my new macbook pro (OS Monterey 12.5, xcode 13.4)-

Download command line tools/xcode (xcode-select --install)

Install Homebrew (requires command line tools only but got a weird missing simulator error from toolchain later so just downloaded xcode which I need anyways and that eliminated that). Confirm path... My understanding is no need to modify path on iOS 10 Mojave and newer. But here is echo $PATH/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/Apple/usr/bin

brew install python (latest python, pip and setup tools)

brew install autoconf automake libtool pkg-config (kivy doc pre-req)

brew link libtool (kivy doc pre-req)

pip3 install kivy-ios (needed?)

pip3 install Cython==0.29.28 (kivy doc pre-req)

pip3 install sh (toolchain called this missing)

pip3 install pbxproj (toolchain called this missing)

git clone https://github.com/kivy/kivy-ios

cd kivy-ios

python3 ./toolchain.py build python3 kivy ..etc.

Runs for about 15 mins then Error- raise CommandNotFound(k) sh.CommandNotFound: python

I've tried simply introducing an alias for python to python3 but that does not work for me, same error.

What am I missing?? ./toolchain status says kivy not built. Does kivy require older versions of python that are not stocked with new mac OS? Thanks

Can you post the full log?

@misl6
Copy link
Member

misl6 commented Dec 26, 2022

Closing for inactivity.

@misl6 misl6 closed this as completed Dec 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants