-
Notifications
You must be signed in to change notification settings - Fork 2k
Open
Description
build libopenblas have a problem, log is this
ndk: r28c
android.minapi = 24
android.api = 28
android.skip_update = true
android.ndk_api = 24
[INFO]: Building libopenblas for arm64-v8a
[INFO]: -> directory context /home/smile/app/.buildozer/android/platform/build-arm64-v8a/build/other_builds/libopenblas/arm64-v8a__ndk_target_24/libopenblas/build
[DEBUG]: Remove directory and subdirectory CMakeFiles
[DEBUG]: -> running rm -f CMakeCache.txt
[DEBUG]: -> running cmake /home/smile/app/.buildozer/android/platform/build-arm64-v8a/build/other_builds/libopenblas/arm64-v8a__ndk_target_24/libopenblas -DCMAKE_SYSTEM_NAME=Android -DCMAKE_ANDROID_ARCH_ABI=arm64-v8a -DCMAKE_ANDROID_NDK=/home/smile/.pyside6_android_deploy/android-ndk/android-ndk-r28c -DCMAKE_ANDROID_API=24 -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=ON -DC_LAPACK=ON -DTARGET=ARMV8
[DEBUG]: CMake Error at /usr/local/share/cmake-3.18/Modules/Platform/Android-Determine.cmake:176 (message):
[DEBUG]: Android: The API specified by CMAKE_ANDROID_API='24' does not exist in the
[DEBUG]: NDK. The directory:
[DEBUG]:
[DEBUG]: /home/smile/.pyside6_android_deploy/android-ndk/android-ndk-r28c/platforms/android-24
[DEBUG]:
[DEBUG]: does not exist.
[DEBUG]: Call Stack (most recent call first):
[DEBUG]: /usr/local/share/cmake-3.18/Modules/CMakeDetermineSystem.cmake:129 (include)
[DEBUG]: CMakeLists.txt:8 (project)
[DEBUG]:
[DEBUG]:
[DEBUG]: CMake Error: CMake was unable to find a build program corresponding to "Unix Makefiles". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool.
[DEBUG]: CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
[DEBUG]: CMake Error: CMAKE_ASM_COMPILER not set, after EnableLanguage
[DEBUG]: -- Configuring incomplete, errors occurred!
Exception in thread background thread for pid 57114:
Traceback (most recent call last):
File "/opt/conda/lib/python3.11/threading.py", line 1038, in _bootstrap_inner
self.run()
File "/opt/conda/lib/python3.11/threading.py", line 975, in run
self._target(*self._args, **self._kwargs)
File "/opt/conda/lib/python3.11/site-packages/sh.py", line 1642, in wrap
fn(*rgs, **kwargs)
File "/opt/conda/lib/python3.11/site-packages/sh.py", line 2647, in background_thread
handle_exit_code(exit_code)
File "/opt/conda/lib/python3.11/site-packages/sh.py", line 2338, in fn
return self.command.handle_command_exit_code(exit_code)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/conda/lib/python3.11/site-packages/sh.py", line 823, in handle_command_exit_code
raise exc
sh.ErrorReturnCode_1:
RAN: /usr/local/bin/cmake /home/smile/app/.buildozer/android/platform/build-arm64-v8a/build/other_builds/libopenblas/arm64-v8a__ndk_target_24/libopenblas -DCMAKE_SYSTEM_NAME=Android -DCMAKE_ANDROID_ARCH_ABI=arm64-v8a -DCMAKE_ANDROID_NDK=/home/smile/.pyside6_android_deploy/android-ndk/android-ndk-r28c -DCMAKE_ANDROID_API=24 -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=ON -DC_LAPACK=ON -DTARGET=ARMV8
STDOUT:
CMake Error at /usr/local/share/cmake-3.18/Modules/Platform/Android-Determine.cmake:176 (message):
Android: The API specified by CMAKE_ANDROID_API='24' does not exist in the
NDK. The directory:
/home/smile/.pyside6_android_deploy/android-ndk/android-ndk-r28c/platforms/android-24
does not exist.
Call Stack (most recent call first):
/usr/local/share/cmake-3.18/Modules/CMakeDetermineSystem.cmake:129 (include)
CMakeLists.txt:8 (project)
CMake Error: CMake was unable to find a build program corresponding to "Unix Makefiles". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool.
CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
CMake Error: CMAKE_ASM_COMPILER not set, after EnableLanguage
-- Configuring incomplete, errors occurred!
STDERR:
Traceback (most recent call last):
File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File "/home/smile/lib/python-for-android-v2/pythonforandroid/toolchain.py", line 1246, in <module>
main()
File "/home/smile/lib/python-for-android-v2/pythonforandroid/entrypoints.py", line 18, in main
ToolchainCL()
File "/home/smile/lib/python-for-android-v2/pythonforandroid/toolchain.py", line 677, in __init__
getattr(self, command)(args)
File "/home/smile/lib/python-for-android-v2/pythonforandroid/toolchain.py", line 104, in wrapper_func
build_dist_from_args(ctx, dist, args)
File "/home/smile/lib/python-for-android-v2/pythonforandroid/toolchain.py", line 163, in build_dist_from_args
build_recipes(build_order, python_modules, ctx,
File "/home/smile/lib/python-for-android-v2/pythonforandroid/build.py", line 504, in build_recipes
recipe.build_arch(arch)
File "/home/smile/lib/python-for-android-v2/pythonforandroid/recipes/libopenblas/__init__.py", line 49, in build_arch
shprint(sh.cmake, source_dir, *opts, _env=env)
File "/home/smile/lib/python-for-android-v2/pythonforandroid/logger.py", line 167, in shprint
for line in output:
File "/opt/conda/lib/python3.11/site-packages/sh.py", line 879, in __next__
self.wait()
File "/opt/conda/lib/python3.11/site-packages/sh.py", line 796, in wait
self.handle_command_exit_code(exit_code)
File "/opt/conda/lib/python3.11/site-packages/sh.py", line 823, in handle_command_exit_code
raise exc
sh.ErrorReturnCode_1:
RAN: /usr/local/bin/cmake /home/smile/app/.buildozer/android/platform/build-arm64-v8a/build/other_builds/libopenblas/arm64-v8a__ndk_target_24/libopenblas -DCMAKE_SYSTEM_NAME=Android -DCMAKE_ANDROID_ARCH_ABI=arm64-v8a -DCMAKE_ANDROID_NDK=/home/smile/.pyside6_android_deploy/android-ndk/android-ndk-r28c -DCMAKE_ANDROID_API=24 -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=ON -DC_LAPACK=ON -DTARGET=ARMV8
STDOUT:
CMake Error at /usr/local/share/cmake-3.18/Modules/Platform/Android-Determine.cmake:176 (message):
Android: The API specified by CMAKE_ANDROID_API='24' does not exist in the
NDK. The directory:
/home/smile/.pyside6_android_deploy/android-ndk/android-ndk-r28c/platforms/android-24
does not exist.
Call Stack (most recent call first):
/usr/local/share/cmake-3.18/Modules/CMakeDetermineSystem.cmake:129 (include)
CMakeLists.txt:8 (project)
CMake Error: CMake was unable to find a build program corresponding to "Unix Makefiles". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool.
CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
CMake Error: CMAKE_ASM_COMPILER not set, after EnableLanguage
-- Configuring incomplete, errors occurred!
STDERR:
# Command failed: ['/opt/conda/bin/python', '-m', 'pythonforandroid.toolchain', 'create', '--dist_name=rostart', '--bootstrap=qt', '--requirements=python3,shiboken6,PySide6,loguru,keyboard,qrcode,pillow,pyyaml,PySide6-FluentUI-QML,android,plyer,pyjnius,PyToJava,pip,flask,werkzeug==2.3.7,requests,urllib3,idna,certifi,qtawesome,qtpy,packaging,openai==2.9.0,typing-extensions,pydantic,pydantic-core,typing-inspection,annotated-types,httpx,anyio,distro,jiter,numpy,scipy', '--arch=arm64-v8a', '--copy-libs', '--local-recipes', '/home/smile/app/deployment/recipes', '--color=always', '--storage-dir=/home/smile/app/.buildozer/android/platform/build-arm64-v8a', '--ndk-api=24', '--ignore-setup-py', '--debug', '--qt-libs=Gui,Network,Multimedia,Widgets,QuickControls2,Qml,TextToSpeech,Quick,Bluetooth,Core,MultimediaWidgets,WebView,OpenGL', '--load-local-libs=plugins_texttospeech_qttexttospeech_android,plugins_multimedia_androidmediaplugin,plugins_webview_qtwebview_android,plugins_multimedia_ffmpegmediaplugin,plugins_platforms_qtforandroid', '--init-classes=']
# ENVIRONMENT:
# SHELL = '/bin/bash'
# SESSION_MANAGER = 'local/pc:@/tmp/.ICE-unix/1781,unix/pc:/tmp/.ICE-unix/1781'
# QT_ACCESSIBILITY = '1'
# OSMILE_LOCALURL = 'http://127.0.0.1:50021'
# COLORTERM = 'truecolor'
# XDG_CONFIG_DIRS = '/etc/xdg/xdg-ubuntu:/etc/xdg'
# XDG_MENU_PREFIX = 'gnome-'
# GNOME_DESKTOP_SESSION_ID = 'this-is-deprecated'
# CONDA_EXE = '/opt/conda/bin/conda'
# _CE_M = ''
# TERMINATOR_DBUS_PATH = '/net/tenshu/Terminator2'
# LC_ADDRESS = 'zh_CN.UTF-8'
# JAVA_HOME = '/usr/lib/jvm/java-17-openjdk-amd64'
# GNOME_SHELL_SESSION_MODE = 'ubuntu'
# LC_NAME = 'zh_CN.UTF-8'
# SSH_AUTH_SOCK = '/run/user/1000/keyring/ssh'
# TERMINATOR_UUID = 'urn:uuid:845002a7-6987-47bc-841c-347318efd966'
# XMODIFIERS = '@im=ibus'
# DESKTOP_SESSION = 'ubuntu'
# LC_MONETARY = 'zh_CN.UTF-8'
# SSH_AGENT_PID = '1465'
# GTK_MODULES = 'gail:atk-bridge'
# PWD = '/home/smile/app'
# XDG_SESSION_DESKTOP = 'ubuntu'
# LOGNAME = 'smile'
# XDG_SESSION_TYPE = 'x11'
# CONDA_PREFIX = '/opt/conda'
# GPG_AGENT_INFO = '/run/user/1000/gnupg/S.gpg-agent:0:1'
# XAUTHORITY = '/run/user/1000/gdm/Xauthority'
# WINDOWPATH = '2'
# HOME = '/home/smile'
# USERNAME = 'smile'
# IM_CONFIG_PHASE = '1'
# LANG = 'zh_CN.UTF-8'
# LC_PAPER = 'zh_CN.UTF-8'
# LS_COLORS = 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:'
# XDG_CURRENT_DESKTOP = 'ubuntu:GNOME'
# VTE_VERSION = '6003'
# CONDA_PROMPT_MODIFIER = '(base) '
# INVOCATION_ID = 'f146e207ddf8497f82e82d179611f42d'
# TERMINATOR_DBUS_NAME = 'net.tenshu.Terminator21a9d5db22c73a993ff0b42f64b396873'
# MANAGERPID = '1164'
# LESSCLOSE = '/usr/bin/lesspipe %s %s'
# XDG_SESSION_CLASS = 'user'
# LC_IDENTIFICATION = 'zh_CN.UTF-8'
# TERM = 'xterm-256color'
# _CE_CONDA = ''
# LESSOPEN = '| /usr/bin/lesspipe %s'
# USER = 'smile'
# CONDA_SHLVL = '1'
# DISPLAY = ':0'
# SHLVL = '2'
# LC_TELEPHONE = 'zh_CN.UTF-8'
# QT_IM_MODULE = 'ibus'
# LC_MEASUREMENT = 'zh_CN.UTF-8'
# CONDA_PYTHON_EXE = '/opt/conda/bin/python'
# XDG_RUNTIME_DIR = '/run/user/1000'
# CONDA_DEFAULT_ENV = 'base'
# LC_TIME = 'zh_CN.UTF-8'
# JOURNAL_STREAM = '8:51788'
# XDG_DATA_DIRS = '/usr/share/ubuntu:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop'
# PATH = '/home/smile/.buildozer/android/platform/apache-ant-1.9.4/bin:/opt/cmd/use:/opt/cmd/use:/opt/conda/bin:/opt/conda/condabin:/home/smile/.cargo/bin:/home/smile/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin'
# GDMSESSION = 'ubuntu'
# DBUS_SESSION_BUS_ADDRESS = 'unix:path=/run/user/1000/bus'
# GIO_LAUNCHED_DESKTOP_FILE_PID = '2686'
# LC_NUMERIC = 'zh_CN.UTF-8'
# OLDPWD = '/home/smile'
# _ = '/opt/conda/bin/buildozer'
# PACKAGES_PATH = '/home/smile/.buildozer/android/packages'
# ANDROIDSDK = '/home/smile/.pyside6_android_deploy/android-sdk'
# ANDROIDNDK = '/home/smile/.pyside6_android_deploy/android-ndk/android-ndk-r28c'
# ANDROIDAPI = '28'
# ANDROIDMINAPI = '24'
#
# Buildozer failed to execute the last command
# The error might be hidden in the log above this error
# Please read the full log, and search for it before
# raising an issue with buildozer itself.
# In case of a bug report, please add a full log with log_level = 2
Metadata
Metadata
Assignees
Labels
No labels