question

Akash avatar image
Akash asked

Alexa Auto SDK v4.1.1 build error for Poky armv8

I am building alexa auto sdk with below command in docker

SDK 4.1.1

OS: Ubuntu 18.04.6

Env: Docker

python3 ./builder/build.py -p poky -a armv8 --with-sampleapp


opus/1.3.1: CMake command: cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/home/conan/aac-sdk/builder/.builder/.conan/data/opus/1.3.1/_/_/build/7a33e3e752d818c
b209989b4ba3d22764c2d16f5/build/generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="/home/conan/aac-sdk/builder/.builder/.conan/data/opus/1.3.1/_/_/package/
7a33e3e752d818cb209989b4ba3d22764c2d16f5" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Release" "/home/conan/aac-sdk/builder/.builder/.conan/data/opus
/1.3.1/_/_/build/7a33e3e752d818cb209989b4ba3d22764c2d16f5/src"
-- Opus library version: 0.8.0
-- Found Git: /usr/bin/git (found version "2.17.1")
fatal: not a git repository (or any parent up to mount point /home/conan)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
-- Opus package version: 1.3.1
-- Opus project version: 1.3.1
-- Using Conan toolchain: /home/conan/aac-sdk/builder/.builder/.conan/data/opus/1.3.1/_/_/build/7a33e3e752d818cb209989b4ba3d22764c2d16f5/build/generators/conan_to
olchain.cmake
CMake Error at /home/conan/aac-sdk/builder/.builder/.conan/data/opus/1.3.1/_/_/build/7a33e3e752d818cb209989b4ba3d22764c2d16f5/build/generators/conan_toolchain.cma
ke:13 (message):
  The 'CMakeToolchain' generator only works with CMake >= 3.15
Call Stack (most recent call first):
  /home/conan/aac-sdk/builder/.builder/.conan/data/poky-sdk/2.6.1/_/_/package/4db1be536558d833e52e862fd84d64d75c2b3656/toolchain-armv8/sysroots/x86_64-pokysdk-lin
ux/usr/share/cmake-3.12/Modules/CMakeDetermineSystem.cmake:101 (include)
  CMakeLists.txt:18 (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
-- Configuring incomplete, errors occurred!
opus/1.3.1:
opus/1.3.1: ERROR: Package '7a33e3e752d818cb209989b4ba3d22764c2d16f5' build failed
opus/1.3.1: WARN: Build folder /home/conan/aac-sdk/builder/.builder/.conan/data/opus/1.3.1/_/_/build/7a33e3e752d818cb209989b4ba3d22764c2d16f5/build/Release
ERROR: opus/1.3.1: Error in build() method, line 71
        cmake.configure()
        ConanException: Error 1 while executing cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/home/conan/aac-sdk/builder/.builder/.conan/data/opus/1.3.1/_/_/
build/7a33e3e752d818cb209989b4ba3d22764c2d16f5/build/generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="/home/conan/aac-sdk/builder/.builder/.conan/data/op
us/1.3.1/_/_/package/7a33e3e752d818cb209989b4ba3d22764c2d16f5" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Release" "/home/conan/aac-sdk/builder/.bui
lder/.conan/data/opus/1.3.1/_/_/build/7a33e3e752d818cb209989b4ba3d22764c2d16f5/src"
[BUILDER] ERROR: Command '['conan', 'install', '/home/conan/aac-sdk/conan/recipes/aac-sdk-tools', '-if=/tmp/tmp_x0cfdoc', '-b', 'outdated', '-o', 'pkg_modules=aac
-module-aasb,aac-module-address-book,aac-module-alexa,aac-module-apl,aac-module-bluetooth,aac-module-car-control,aac-module-cbl,aac-module-connectivity,aac-module
-core,aac-module-custom-domain,aac-module-loopback-detector,aac-module-messaging,aac-module-navigation,aac-module-phone-control,aac-module-system-audio,aac-module
-text-to-speech-provider,aac-module-text-to-speech', '-o', 'thirdparty_includes=include/nlohmann/json_fwd.hpp', '-o', 'aac_version=dev', '-o', 'with_aasb=True', '
-o', 'with_unit_tests=False', '-o', 'with_sensitive_logs=False', '-o', 'with_latency_logs=False', '-o', 'with_sampleapp=True', '-o', 'with_docs=True', '-s', 'buil
d_type=Release', '-s:h', 'arch=armv8', '-s:b', 'arch=x86_64', '-pr:h=aac-poky', '-pr:b=default']' returned non-zero exit status 1.
alexa voice servicealexasdksdk develop
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

0 Answers