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

homebrew prerequisite [email protected] is disabled #3081

Open
DingoBingoAdmin opened this issue Oct 26, 2024 · 2 comments
Open

homebrew prerequisite [email protected] is disabled #3081

DingoBingoAdmin opened this issue Oct 26, 2024 · 2 comments

Comments

@DingoBingoAdmin
Copy link

DingoBingoAdmin commented Oct 26, 2024

Description

prerequisites.py line 265
OpenSSLPrerequisite() defines the following variable
homebrew_formula_name = "[email protected]"

This formula has been disabled in homebrew
(https://formulae.brew.sh/formula/[email protected])

I manually changed the value to
homebrew_formula_name = "openssl@3"

Now the Prerequisite can be met.

Sorry, I didn't keep the build error.
@hardikfuria12
Copy link

[INFO]:    No helper available for prerequisite: openssl on macOS
[INFO]:    python-for-android can automatically install prerequisite: openssl
Do you want automatically install prerequisite openssl? [y/N] y
[INFO]:    Installing OpenSSL ...
Error: [email protected] has been disabled because it is not supported upstream! It was disabled on 2024-10-24.
Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "/Users/hardikfuria/Desktop/try3/loginapp/.buildozer/android/platform/python-for-android/pythonforandroid/toolchain.py", line 25, in <module>
    check()
  File "/Users/hardikfuria/Desktop/try3/loginapp/.buildozer/android/platform/python-for-android/pythonforandroid/checkdependencies.py", line 69, in check
    check_and_install_default_prerequisites()
  File "/Users/hardikfuria/Desktop/try3/loginapp/.buildozer/android/platform/python-for-android/pythonforandroid/prerequisites.py", line 404, in check_and_install_default_prerequisites
    prerequisite.install()
  File "/Users/hardikfuria/Desktop/try3/loginapp/.buildozer/android/platform/python-for-android/pythonforandroid/prerequisites.py", line 60, in install
    self.darwin_installer()
  File "/Users/hardikfuria/Desktop/try3/loginapp/.buildozer/android/platform/python-for-android/pythonforandroid/prerequisites.py", line 285, in darwin_installer
    subprocess.check_output(["brew", "install", self.homebrew_formula_name])
  File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/subprocess.py", line 466, in check_output
    return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/subprocess.py", line 571, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['brew', 'install', '[email protected]']' returned non-zero exit status 1.
# This buildozer version requires a python-for-android version with AAB (Android App Bundle) support. Please update your pinned version accordingly.

Above is the error log that i get when facing the same issue

@hemna
Copy link

hemna commented Nov 21, 2024

yup, I am completely stuck and unable to build because of this.

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

3 participants