Closed
Description
This is the log file
[INFO]: Building opencv for armeabi-v7a
[INFO]: -> directory context /home/kivy/Desktop/Cam/.buildozer/android/platform/build/build/other_builds/opencv/armeabi-v7a/opencv
[INFO]: -> running cmake -DP4A=ON -DANDROID_ABI=armeabi-v7a -DCMAKE_TOOLCHAIN_FILE=/home/kivy/Desktop/Cam/.buildozer/android/platform/build/build/other_builds/o...(and 890 more)
working: ThisException in thread background thread for pid 23973:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 754, in run
self.__target(*self.__args, **self.__kwargs)
File "/usr/local/lib/python2.7/dist-packages/sh.py", line 2170, in background_thread
handle_exit_code(exit_code)
File "/usr/local/lib/python2.7/dist-packages/sh.py", line 1929, in fn
return self.command.handle_command_exit_code(exit_code)
File "/usr/local/lib/python2.7/dist-packages/sh.py", line 672, in handle_command_exit_code
raise exc
ErrorReturnCode_1:
RAN: /usr/local/bin/cmake -DP4A=ON -DANDROID_ABI=armeabi-v7a -DCMAKE_TOOLCHAIN_FILE=/home/kivy/Desktop/Cam/.buildozer/android/platform/build/build/other_builds/opencv/armeabi-v7a/opencv/platforms/android/android.toolchain.cmake -DPYTHON_INCLUDE_PATH=/home/kivy/Desktop/Cam/.buildozer/android/platform/build/build/python-installs/myapp/include/python2.7 -DPYTHON_LIBRARY=/home/kivy/Desktop/Cam/.buildozer/android/platform/build/build/python-installs/myapp/lib/libpython2.7.so -DPYTHON_NUMPY_INCLUDE_DIR=/home/kivy/Desktop/Cam/.buildozer/android/platform/build/build/python-installs/myapp/lib/python2.7/site-packages/numpy/core/include -DANDROID_EXECUTABLE=/home/kivy/.buildozer/android/platform/android-sdk-20/tools/android -DBUILD_TESTS=OFF -DBUILD_PERF_TESTS=OFF -DBUILD_EXAMPLES=OFF -DBUILD_ANDROID_EXAMPLES=OFF -DPYTHON_PACKAGES_PATH=/home/kivy/Desktop/Cam/.buildozer/android/platform/build/build/python-installs/myapp/lib/python2.7/site-packages /home/kivy/Desktop/Cam/.buildozer/android/platform/build/build/other_builds/opencv/armeabi-v7a/opencv
STDOUT:
CMake Deprecation Warning at CMakeLists.txt:47 (cmake_policy):
The OLD behavior for policy CMP0022 will be removed from a future version
of CMake.
The cmake-policies(7) manual explains that the OLD behaviors of all
policies are deprecated and that a policy should be set to OLD only under
specific short-term circumstances. Projects should be ported to the NEW
behavior and not rely on setting a policy to OLD.
CMake Deprecation Warning at /usr/local/lib/python2.7/dist-packages/cmake/data/share/cmake-3.12/Modules/CMakeForceCompiler.cmake:69 (message):
The CMAKE_FORCE_C_COMPILER macro is deprecated. Instead just set
CMAKE_C_COMPILER and allow CMake to identify the compiler.
Call Stack (most recent call first):
platforms/android/android.toolchain.cmake:1204 (CMAKE_FORCE_C_COMPILER)
CMakeFiles/3.12.0/CMakeSystem.cmake:6 (include)
CMakeLists.txt:56 (project)
CMake Deprecation Warning at /usr/local/lib/python2.7/dist-packages/cmake/data/share/cmake-3.12/Modules/CMakeForceCompiler.cmake:83 (message):
The CMAKE_FORCE_CXX_COMPILER macro is deprecated. Instead just set
CMAKE_CXX_COMPILER and allow CMake to identify the compiler.
Call Stack (most recent call first):
platforms/android/android.toolchain.cmake:1212 (CMAKE_FORCE_CXX_COMPILER)
CMakeFiles/3.12.0/CMakeSystem.cmake:6 (include)
CMakeLists.txt:56 (project)
CMake Warning (dev) at platforms/android/android.toolchain.cmake:1668 (if):
Policy CMP0054 is not set: Only interpret if() arguments as variables or
keywords when unquoted. Run "cmake --help-policy CMP0054" for policy
details. Use the cmake_policy command to set the policy and suppress this
warning.
Quoted variables like "LIBRARY_OUTPUT_PATH_ROOT" will no longer be
dereferenced when the policy is set to NEW. Since the policy is not set
the OLD behavior will be used.
Call Stack (most recent call first):
CMakeFiles/3.12.0/CMakeSystem.cmake:6 (include)
CMakeLists.txt:56 (project)
This warning is for project developers. Use -Wno-dev to suppress it.
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.
-- Configuring incomplete, errors occurred!
See also "/home/kivy/Desktop/Cam/.buildozer/android/platform/build/build/other_builds/opencv/armeabi-v7a/opencv/CMakeFiles/CMakeOutput.log".
STDERR:
Traceback (most recent call last):
File "/usr/lib/python2.7/runpy.py", line 174, in _run_module_as_main
"__main__", fname, loader, pkg_name)
File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/home/kivy/Desktop/Manual /new/python-for-android/pythonforandroid/toolchain.py", line 977, in <module>
main()
File "/home/kivy/Desktop/Manual /new/python-for-android/pythonforandroid/toolchain.py", line 973, in main
ToolchainCL()
File "/home/kivy/Desktop/Manual /new/python-for-android/pythonforandroid/toolchain.py", line 512, in __init__
getattr(self, args.subparser_name.replace('-', '_'))(args)
File "/home/kivy/Desktop/Manual /new/python-for-android/pythonforandroid/toolchain.py", line 147, in wrapper_func
build_dist_from_args(ctx, dist, args)
File "/home/kivy/Desktop/Manual /new/python-for-android/pythonforandroid/toolchain.py", line 191, in build_dist_from_args
build_recipes(build_order, python_modules, ctx)
File "pythonforandroid/build.py", line 573, in build_recipes
File "/home/kivy/Desktop/Manual /new/python-for-android/pythonforandroid/recipes/opencv/__init__.py", line 46, in build_arch
_env=env)
File "pythonforandroid/logger.py", line 176, in shprint
File "/usr/local/lib/python2.7/dist-packages/sh.py", line 720, in next
self.wait()
File "/usr/local/lib/python2.7/dist-packages/sh.py", line 651, in wait
self.handle_command_exit_code(exit_code)
File "/usr/local/lib/python2.7/dist-packages/sh.py", line 672, in handle_command_exit_code
raise exc
sh.ErrorReturnCode_1:
RAN: /usr/local/bin/cmake -DP4A=ON -DANDROID_ABI=armeabi-v7a -DCMAKE_TOOLCHAIN_FILE=/home/kivy/Desktop/Cam/.buildozer/android/platform/build/build/other_builds/opencv/armeabi-v7a/opencv/platforms/android/android.toolchain.cmake -DPYTHON_INCLUDE_PATH=/home/kivy/Desktop/Cam/.buildozer/android/platform/build/build/python-installs/myapp/include/python2.7 -DPYTHON_LIBRARY=/home/kivy/Desktop/Cam/.buildozer/android/platform/build/build/python-installs/myapp/lib/libpython2.7.so -DPYTHON_NUMPY_INCLUDE_DIR=/home/kivy/Desktop/Cam/.buildozer/android/platform/build/build/python-installs/myapp/lib/python2.7/site-packages/numpy/core/include -DANDROID_EXECUTABLE=/home/kivy/.buildozer/android/platform/android-sdk-20/tools/android -DBUILD_TESTS=OFF -DBUILD_PERF_TESTS=OFF -DBUILD_EXAMPLES=OFF -DBUILD_ANDROID_EXAMPLES=OFF -DPYTHON_PACKAGES_PATH=/home/kivy/Desktop/Cam/.buildozer/android/platform/build/build/python-installs/myapp/lib/python2.7/site-packages /home/kivy/Desktop/Cam/.buildozer/android/platform/build/build/other_builds/opencv/armeabi-v7a/opencv
STDOUT:
CMake Deprecation Warning at CMakeLists.txt:47 (cmake_policy):
The OLD behavior for policy CMP0022 will be removed from a future version
of CMake.
The cmake-policies(7) manual explains that the OLD behaviors of all
policies are deprecated and that a policy should be set to OLD only under
specific short-term circumstances. Projects should be ported to the NEW
behavior and not rely on setting a policy to OLD.
CMake Deprecation Warning at /usr/local/lib/python2.7/dist-packages/cmake/data/share/cmake-3.12/Modules/CMakeForceCompiler.cmake:69 (message):
The CMAKE_FORCE_C_COMPILER macro is deprecated. Instead just set
CMAKE_C_COMPILER and allow CMake to identify the compiler.
Call Stack (most recent call first):
platforms/android/android.toolchain.cmake:1204 (CMAKE_FORCE_C_COMPILER)
CMakeFiles/3.12.0/CMakeSystem.cmake:6 (include)
CMakeLists.txt:56 (project)
CMake Deprecation Warning at /usr/local/lib/python2.7/dist-packages/cmake/data/share/cmake-3.12/Modules/CMakeForceCompiler.cmake:83 (message):
The CMAKE_FORCE_CXX_COMPILER macro is deprecated. Instead just set
CMAKE_CXX_COMPILER and allow CMake to identify the compiler.
Call Stack (most recent call first):
platforms/android/android.toolchain.cmake:1212 (CMAKE_FORCE_CXX_COMPILER)
CMakeFiles/3.12.0/CMakeSystem.cmake:6 (include)
CMakeLists.txt:56 (project)
CMake Warning (dev) at platforms/android/android.toolchain.cmake:1668 (if):
Policy CMP0054 is not set: Only interpret if() arguments as variables or
keywords when unquoted. Run "cmake --help-policy CMP0054" for policy
details. Use the cmake_policy command to set the policy and suppress this
warning.
Quoted variables like "LIBRARY_OUTPUT_PATH_ROOT" will no longer be
dereferenced when the policy is set to NEW. Since the policy is not set
the OLD behavior will be used.
Call Stack (most recent call first):
CMakeFiles/3.12.0/CMakeSystem.cmake:6 (include)
CMakeLists.txt:56 (project)
This warning is for project developers. Use -Wno-dev to suppress it.
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.
-- Configuring incomplete, errors occurred!
See also "/home/kivy/Desktop/Cam/.buildozer/android/platform/build/build/other_builds/opencv/armeabi-v7a/opencv/CMakeFiles/CMakeOutput.log".
STDERR:
# Command failed: /usr/bin/python -m pythonforandroid.toolchain create --dist_name=myapp --bootstrap=sdl2 --requirements=kivy,opencv --arch armeabi-v7a --copy-libs --color=always --storage-dir=/home/kivy/Desktop/Cam/.buildozer/android/platform/build
CMake file log shows:
The target system is: Linux - 1 - armv7-a
The host system is: Linux - 4.10.0-20-generic - x86_64
Metadata
Metadata
Assignees
Labels
No labels