Closed hannesa2 closed 2 years ago
Have you added zulu-openjdk
as a build requirement (=tool requirement)?
Are you sure the log screenshot is from a Macos machine?
I'm confused because I thought the home folder on Macos is always /Users/xxx
, /home/xxx
is the Linux home default.
Would it be possible to post the build and host profile?
It's a Docker image inside a macOS https://github.com/alexa/alexa-auto-sdk/pull/21/files#diff-952261dce38fe9a995811541621eb5aa1812a60d563e15c131bed90c3c5aeb6c
@uilianries can you take a look since it's related to M1?
@SSE4 I can confirm that bug. I'll open a PR with a fix
% conan install zulu-openjdk/11.0.8@
Configuration:
[settings]
arch=armv8
arch_build=armv8
build_type=Release
compiler=apple-clang
compiler.libcxx=libc++
compiler.version=13.1
os=Macos
os_build=Macos
[options]
[build_requires]
[env]
zulu-openjdk/11.0.8: Not found in local cache, looking in remotes...
zulu-openjdk/11.0.8: Trying with 'conancenter'...
Downloading 5061a23168d6a970f5261abd216d6346a5d02cfca6c81461fa84de7a16cd4237 completed [0.10k]
Downloading 62e153e4dd73a5f38bf9ef41cbfd67d36a1825ff762481a8a21a40b0f5a51fec completed [3.06k]
Downloading dfa64fac6de17a11237154b4d6f63e6a29c45080b031bc1b000aa58849e6d756 completed [0.37k]
Decompressing conan_export.tgz completed [0.00k]
zulu-openjdk/11.0.8: Downloaded recipe revision 7f02125a055df1db48f00dc2fb24932f
ERROR: zulu-openjdk/11.0.8: Invalid configuration: Unsupported Architecture. This package currently only supports x86_64.
This works on an arm64
conan install zulu-openjdk/11.0.12@
This works on an arm64
conan install zulu-openjdk/11.0.12@
It works because your build_arch is x86_64. Otherwise, it will fail. There is a validation in the recipe to accept on x64
It works because your build_arch is x86_64. Otherwise
I'm not sure about this. The default is arm64 (as far as I know)
Should it work now with #10592 ?
I still running on an Ubuntu 20 arm64 into this
@uilianries can you double-check?
Now it's correct, there is no Linux ARM listed for download. The good news is they support that configuration: https://www.azul.com/downloads/?package=jdk#download-openjdk
I'll open a new PR adding it.
@hannesa2 It seems like you are using a different scenario now, you are cross-building. Could you please share your profiles and the exactly command line used to install or create? Only the error message does not help to reproduce the error. And please, do not push images, use text instead.
For me, there is no error, check the output below.
Please, make sure you updated your local copy conan install zulu-openjdk/11.0.12@ -r conancenter --update
% conan create . 11.0.12@ -pr:b default -pr:h android
Exporting package recipe
zulu-openjdk/11.0.12 exports: File 'conandata.yml' found. Exporting it...
zulu-openjdk/11.0.12 exports: Copied 1 '.yml' file: conandata.yml
zulu-openjdk/11.0.12: The stored package has not changed
zulu-openjdk/11.0.12: Using the exported files summary hash as the recipe revision: 89a13ad0094c9f21305e0ae6ed59234b
zulu-openjdk/11.0.12: Exported revision: 89a13ad0094c9f21305e0ae6ed59234b
Configuration (profile_host):
[settings]
arch=armv7
build_type=RelWithDebInfo
compiler=clang
compiler.cppstd=20
compiler.libcxx=libc++
compiler.version=11
os=Android
os.api_level=28
[options]
[build_requires]
*: android-ndk/r24
[env]
Configuration (profile_build):
[settings]
arch=armv8
arch_build=armv8
build_type=Release
compiler=apple-clang
compiler.libcxx=libc++
compiler.version=13.1
os=Macos
os_build=Macos
[options]
[build_requires]
[env]
[conf]
tools.build.cross_building:can_run=False
zulu-openjdk/11.0.12: Forced build from source
zulu-openjdk/11.0.12 (test package): Installing package
Requirements
zulu-openjdk/11.0.12 from local cache - Cache
Packages
zulu-openjdk/11.0.12:bcab80338dbca9bff2462b516a3107446b4cd703 - Build
Build requirements
android-ndk/r24 from local cache - Cache
Build requirements packages
android-ndk/r24:06d313f2ce6737a31e5d7ccd4d516d2ac742276a - Cache
Cross-build from 'Macos:armv8' to 'Android:armv7'
Installing (downloading, building) binaries...
android-ndk/r24: Already installed!
android-ndk/r24: Creating ANDROID_NDK_ROOT environment variable: /Users/uilian/.conan/data/android-ndk/r24/_/_/package/06d313f2ce6737a31e5d7ccd4d516d2ac742276a
android-ndk/r24: Creating ANDROID_NDK_HOME environment variable: /Users/uilian/.conan/data/android-ndk/r24/_/_/package/06d313f2ce6737a31e5d7ccd4d516d2ac742276a
android-ndk/r24: WARN: Could not find a valid CMAKE_SYSTEM_PROCESSOR variable, supported by CMake
android-ndk/r24: Creating NDK_ROOT environment variable: /Users/uilian/.conan/data/android-ndk/r24/_/_/package/06d313f2ce6737a31e5d7ccd4d516d2ac742276a/toolchains/llvm/prebuilt/darwin-x86_64
android-ndk/r24: Creating CHOST environment variable: arm-linux-androideabi
android-ndk/r24: Creating CONAN_CMAKE_FIND_ROOT_PATH environment variable: /Users/uilian/.conan/data/android-ndk/r24/_/_/package/06d313f2ce6737a31e5d7ccd4d516d2ac742276a/toolchains/llvm/prebuilt/darwin-x86_64/sysroot
android-ndk/r24: Creating SYSROOT environment variable: /Users/uilian/.conan/data/android-ndk/r24/_/_/package/06d313f2ce6737a31e5d7ccd4d516d2ac742276a/toolchains/llvm/prebuilt/darwin-x86_64/sysroot
android-ndk/r24: Creating self.cpp_info.sysroot: /Users/uilian/.conan/data/android-ndk/r24/_/_/package/06d313f2ce6737a31e5d7ccd4d516d2ac742276a/toolchains/llvm/prebuilt/darwin-x86_64/sysroot
android-ndk/r24: Creating ANDROID_NATIVE_API_LEVEL environment variable: 28
android-ndk/r24: Creating CONAN_CMAKE_PROGRAM environment variable: /Users/uilian/.conan/data/android-ndk/r24/_/_/package/06d313f2ce6737a31e5d7ccd4d516d2ac742276a/cmake-wrapper
android-ndk/r24: Creating CONAN_CMAKE_TOOLCHAIN_FILE environment variable: /Users/uilian/.conan/data/android-ndk/r24/_/_/package/06d313f2ce6737a31e5d7ccd4d516d2ac742276a/build/cmake/android.toolchain.cmake
NDK ROOT: /Users/uilian/.conan/data/android-ndk/r24/_/_/package/06d313f2ce6737a31e5d7ccd4d516d2ac742276a/toolchains/llvm/prebuilt/darwin-x86_64/bin
android-ndk/r24: Creating CC environment variable: /Users/uilian/.conan/data/android-ndk/r24/_/_/package/06d313f2ce6737a31e5d7ccd4d516d2ac742276a/toolchains/llvm/prebuilt/darwin-x86_64/bin/armv7a-linux-androideabi28-clang
NDK ROOT: /Users/uilian/.conan/data/android-ndk/r24/_/_/package/06d313f2ce6737a31e5d7ccd4d516d2ac742276a/toolchains/llvm/prebuilt/darwin-x86_64/bin
android-ndk/r24: Creating CXX environment variable: /Users/uilian/.conan/data/android-ndk/r24/_/_/package/06d313f2ce6737a31e5d7ccd4d516d2ac742276a/toolchains/llvm/prebuilt/darwin-x86_64/bin/armv7a-linux-androideabi28-clang++
NDK ROOT: /Users/uilian/.conan/data/android-ndk/r24/_/_/package/06d313f2ce6737a31e5d7ccd4d516d2ac742276a/toolchains/llvm/prebuilt/darwin-x86_64/bin
android-ndk/r24: Creating AR environment variable: /Users/uilian/.conan/data/android-ndk/r24/_/_/package/06d313f2ce6737a31e5d7ccd4d516d2ac742276a/toolchains/llvm/prebuilt/darwin-x86_64/bin/llvm-ar
NDK ROOT: /Users/uilian/.conan/data/android-ndk/r24/_/_/package/06d313f2ce6737a31e5d7ccd4d516d2ac742276a/toolchains/llvm/prebuilt/darwin-x86_64/bin
android-ndk/r24: Creating AS environment variable: /Users/uilian/.conan/data/android-ndk/r24/_/_/package/06d313f2ce6737a31e5d7ccd4d516d2ac742276a/toolchains/llvm/prebuilt/darwin-x86_64/bin/llvm-as
NDK ROOT: /Users/uilian/.conan/data/android-ndk/r24/_/_/package/06d313f2ce6737a31e5d7ccd4d516d2ac742276a/toolchains/llvm/prebuilt/darwin-x86_64/bin
android-ndk/r24: Creating RANLIB environment variable: /Users/uilian/.conan/data/android-ndk/r24/_/_/package/06d313f2ce6737a31e5d7ccd4d516d2ac742276a/toolchains/llvm/prebuilt/darwin-x86_64/bin/llvm-ranlib
NDK ROOT: /Users/uilian/.conan/data/android-ndk/r24/_/_/package/06d313f2ce6737a31e5d7ccd4d516d2ac742276a/toolchains/llvm/prebuilt/darwin-x86_64/bin
android-ndk/r24: Creating STRIP environment variable: /Users/uilian/.conan/data/android-ndk/r24/_/_/package/06d313f2ce6737a31e5d7ccd4d516d2ac742276a/toolchains/llvm/prebuilt/darwin-x86_64/bin/llvm-strip
NDK ROOT: /Users/uilian/.conan/data/android-ndk/r24/_/_/package/06d313f2ce6737a31e5d7ccd4d516d2ac742276a/toolchains/llvm/prebuilt/darwin-x86_64/bin
android-ndk/r24: Creating ADDR2LINE environment variable: /Users/uilian/.conan/data/android-ndk/r24/_/_/package/06d313f2ce6737a31e5d7ccd4d516d2ac742276a/toolchains/llvm/prebuilt/darwin-x86_64/bin/llvm-addr2line
NDK ROOT: /Users/uilian/.conan/data/android-ndk/r24/_/_/package/06d313f2ce6737a31e5d7ccd4d516d2ac742276a/toolchains/llvm/prebuilt/darwin-x86_64/bin
android-ndk/r24: Creating NM environment variable: /Users/uilian/.conan/data/android-ndk/r24/_/_/package/06d313f2ce6737a31e5d7ccd4d516d2ac742276a/toolchains/llvm/prebuilt/darwin-x86_64/bin/llvm-nm
NDK ROOT: /Users/uilian/.conan/data/android-ndk/r24/_/_/package/06d313f2ce6737a31e5d7ccd4d516d2ac742276a/toolchains/llvm/prebuilt/darwin-x86_64/bin
android-ndk/r24: Creating OBJCOPY environment variable: /Users/uilian/.conan/data/android-ndk/r24/_/_/package/06d313f2ce6737a31e5d7ccd4d516d2ac742276a/toolchains/llvm/prebuilt/darwin-x86_64/bin/llvm-objcopy
NDK ROOT: /Users/uilian/.conan/data/android-ndk/r24/_/_/package/06d313f2ce6737a31e5d7ccd4d516d2ac742276a/toolchains/llvm/prebuilt/darwin-x86_64/bin
android-ndk/r24: Creating OBJDUMP environment variable: /Users/uilian/.conan/data/android-ndk/r24/_/_/package/06d313f2ce6737a31e5d7ccd4d516d2ac742276a/toolchains/llvm/prebuilt/darwin-x86_64/bin/llvm-objdump
NDK ROOT: /Users/uilian/.conan/data/android-ndk/r24/_/_/package/06d313f2ce6737a31e5d7ccd4d516d2ac742276a/toolchains/llvm/prebuilt/darwin-x86_64/bin
android-ndk/r24: Creating READELF environment variable: /Users/uilian/.conan/data/android-ndk/r24/_/_/package/06d313f2ce6737a31e5d7ccd4d516d2ac742276a/toolchains/llvm/prebuilt/darwin-x86_64/bin/llvm-readelf
android-ndk/r24: Creating LD environment variable: /Users/uilian/.conan/data/android-ndk/r24/_/_/package/06d313f2ce6737a31e5d7ccd4d516d2ac742276a/toolchains/llvm/prebuilt/darwin-x86_64/bin/ld
android-ndk/r24: Creating ANDROID_NDK_ROOT environment variable: /Users/uilian/.conan/data/android-ndk/r24/_/_/package/06d313f2ce6737a31e5d7ccd4d516d2ac742276a
android-ndk/r24: Creating ANDROID_NDK_HOME environment variable: /Users/uilian/.conan/data/android-ndk/r24/_/_/package/06d313f2ce6737a31e5d7ccd4d516d2ac742276a
android-ndk/r24: WARN: Could not find a valid CMAKE_SYSTEM_PROCESSOR variable, supported by CMake
android-ndk/r24: Creating NDK_ROOT environment variable: /Users/uilian/.conan/data/android-ndk/r24/_/_/package/06d313f2ce6737a31e5d7ccd4d516d2ac742276a/toolchains/llvm/prebuilt/darwin-x86_64
android-ndk/r24: Creating CHOST environment variable: arm-linux-androideabi
android-ndk/r24: Creating CONAN_CMAKE_FIND_ROOT_PATH environment variable: /Users/uilian/.conan/data/android-ndk/r24/_/_/package/06d313f2ce6737a31e5d7ccd4d516d2ac742276a/toolchains/llvm/prebuilt/darwin-x86_64/sysroot
android-ndk/r24: Creating SYSROOT environment variable: /Users/uilian/.conan/data/android-ndk/r24/_/_/package/06d313f2ce6737a31e5d7ccd4d516d2ac742276a/toolchains/llvm/prebuilt/darwin-x86_64/sysroot
android-ndk/r24: Creating self.cpp_info.sysroot: /Users/uilian/.conan/data/android-ndk/r24/_/_/package/06d313f2ce6737a31e5d7ccd4d516d2ac742276a/toolchains/llvm/prebuilt/darwin-x86_64/sysroot
android-ndk/r24: Creating ANDROID_NATIVE_API_LEVEL environment variable: 28
android-ndk/r24: Creating CONAN_CMAKE_PROGRAM environment variable: /Users/uilian/.conan/data/android-ndk/r24/_/_/package/06d313f2ce6737a31e5d7ccd4d516d2ac742276a/cmake-wrapper
android-ndk/r24: Creating CONAN_CMAKE_TOOLCHAIN_FILE environment variable: /Users/uilian/.conan/data/android-ndk/r24/_/_/package/06d313f2ce6737a31e5d7ccd4d516d2ac742276a/build/cmake/android.toolchain.cmake
NDK ROOT: /Users/uilian/.conan/data/android-ndk/r24/_/_/package/06d313f2ce6737a31e5d7ccd4d516d2ac742276a/toolchains/llvm/prebuilt/darwin-x86_64/bin
android-ndk/r24: Creating CC environment variable: /Users/uilian/.conan/data/android-ndk/r24/_/_/package/06d313f2ce6737a31e5d7ccd4d516d2ac742276a/toolchains/llvm/prebuilt/darwin-x86_64/bin/armv7a-linux-androideabi28-clang
NDK ROOT: /Users/uilian/.conan/data/android-ndk/r24/_/_/package/06d313f2ce6737a31e5d7ccd4d516d2ac742276a/toolchains/llvm/prebuilt/darwin-x86_64/bin
android-ndk/r24: Creating CXX environment variable: /Users/uilian/.conan/data/android-ndk/r24/_/_/package/06d313f2ce6737a31e5d7ccd4d516d2ac742276a/toolchains/llvm/prebuilt/darwin-x86_64/bin/armv7a-linux-androideabi28-clang++
NDK ROOT: /Users/uilian/.conan/data/android-ndk/r24/_/_/package/06d313f2ce6737a31e5d7ccd4d516d2ac742276a/toolchains/llvm/prebuilt/darwin-x86_64/bin
android-ndk/r24: Creating AR environment variable: /Users/uilian/.conan/data/android-ndk/r24/_/_/package/06d313f2ce6737a31e5d7ccd4d516d2ac742276a/toolchains/llvm/prebuilt/darwin-x86_64/bin/llvm-ar
NDK ROOT: /Users/uilian/.conan/data/android-ndk/r24/_/_/package/06d313f2ce6737a31e5d7ccd4d516d2ac742276a/toolchains/llvm/prebuilt/darwin-x86_64/bin
android-ndk/r24: Creating AS environment variable: /Users/uilian/.conan/data/android-ndk/r24/_/_/package/06d313f2ce6737a31e5d7ccd4d516d2ac742276a/toolchains/llvm/prebuilt/darwin-x86_64/bin/llvm-as
NDK ROOT: /Users/uilian/.conan/data/android-ndk/r24/_/_/package/06d313f2ce6737a31e5d7ccd4d516d2ac742276a/toolchains/llvm/prebuilt/darwin-x86_64/bin
android-ndk/r24: Creating RANLIB environment variable: /Users/uilian/.conan/data/android-ndk/r24/_/_/package/06d313f2ce6737a31e5d7ccd4d516d2ac742276a/toolchains/llvm/prebuilt/darwin-x86_64/bin/llvm-ranlib
NDK ROOT: /Users/uilian/.conan/data/android-ndk/r24/_/_/package/06d313f2ce6737a31e5d7ccd4d516d2ac742276a/toolchains/llvm/prebuilt/darwin-x86_64/bin
android-ndk/r24: Creating STRIP environment variable: /Users/uilian/.conan/data/android-ndk/r24/_/_/package/06d313f2ce6737a31e5d7ccd4d516d2ac742276a/toolchains/llvm/prebuilt/darwin-x86_64/bin/llvm-strip
NDK ROOT: /Users/uilian/.conan/data/android-ndk/r24/_/_/package/06d313f2ce6737a31e5d7ccd4d516d2ac742276a/toolchains/llvm/prebuilt/darwin-x86_64/bin
android-ndk/r24: Creating ADDR2LINE environment variable: /Users/uilian/.conan/data/android-ndk/r24/_/_/package/06d313f2ce6737a31e5d7ccd4d516d2ac742276a/toolchains/llvm/prebuilt/darwin-x86_64/bin/llvm-addr2line
NDK ROOT: /Users/uilian/.conan/data/android-ndk/r24/_/_/package/06d313f2ce6737a31e5d7ccd4d516d2ac742276a/toolchains/llvm/prebuilt/darwin-x86_64/bin
android-ndk/r24: Creating NM environment variable: /Users/uilian/.conan/data/android-ndk/r24/_/_/package/06d313f2ce6737a31e5d7ccd4d516d2ac742276a/toolchains/llvm/prebuilt/darwin-x86_64/bin/llvm-nm
NDK ROOT: /Users/uilian/.conan/data/android-ndk/r24/_/_/package/06d313f2ce6737a31e5d7ccd4d516d2ac742276a/toolchains/llvm/prebuilt/darwin-x86_64/bin
android-ndk/r24: Creating OBJCOPY environment variable: /Users/uilian/.conan/data/android-ndk/r24/_/_/package/06d313f2ce6737a31e5d7ccd4d516d2ac742276a/toolchains/llvm/prebuilt/darwin-x86_64/bin/llvm-objcopy
NDK ROOT: /Users/uilian/.conan/data/android-ndk/r24/_/_/package/06d313f2ce6737a31e5d7ccd4d516d2ac742276a/toolchains/llvm/prebuilt/darwin-x86_64/bin
android-ndk/r24: Creating OBJDUMP environment variable: /Users/uilian/.conan/data/android-ndk/r24/_/_/package/06d313f2ce6737a31e5d7ccd4d516d2ac742276a/toolchains/llvm/prebuilt/darwin-x86_64/bin/llvm-objdump
NDK ROOT: /Users/uilian/.conan/data/android-ndk/r24/_/_/package/06d313f2ce6737a31e5d7ccd4d516d2ac742276a/toolchains/llvm/prebuilt/darwin-x86_64/bin
android-ndk/r24: Creating READELF environment variable: /Users/uilian/.conan/data/android-ndk/r24/_/_/package/06d313f2ce6737a31e5d7ccd4d516d2ac742276a/toolchains/llvm/prebuilt/darwin-x86_64/bin/llvm-readelf
android-ndk/r24: Creating LD environment variable: /Users/uilian/.conan/data/android-ndk/r24/_/_/package/06d313f2ce6737a31e5d7ccd4d516d2ac742276a/toolchains/llvm/prebuilt/darwin-x86_64/bin/ld
zulu-openjdk/11.0.12: Applying build-requirement: android-ndk/r24
zulu-openjdk/11.0.12: Copying sources to build folder
zulu-openjdk/11.0.12: Building your package in /Users/uilian/.conan/data/zulu-openjdk/11.0.12/_/_/build/bcab80338dbca9bff2462b516a3107446b4cd703
zulu-openjdk/11.0.12: Generator txt created conanbuildinfo.txt
zulu-openjdk/11.0.12: Aggregating env generators
zulu-openjdk/11.0.12: Calling build()
zulu-openjdk/11.0.12: Package 'bcab80338dbca9bff2462b516a3107446b4cd703' built
zulu-openjdk/11.0.12: Build folder /Users/uilian/.conan/data/zulu-openjdk/11.0.12/_/_/build/bcab80338dbca9bff2462b516a3107446b4cd703
zulu-openjdk/11.0.12: Generated conaninfo.txt
zulu-openjdk/11.0.12: Generated conanbuildinfo.txt
zulu-openjdk/11.0.12: Generating the package
zulu-openjdk/11.0.12: Package folder /Users/uilian/.conan/data/zulu-openjdk/11.0.12/_/_/package/bcab80338dbca9bff2462b516a3107446b4cd703
zulu-openjdk/11.0.12: Calling package()
zulu-openjdk/11.0.12 package(): Packaged 9 '.properties' files
zulu-openjdk/11.0.12 package(): Packaged 4 '.security' files: openjsse.security, java.security, openjsse.security, java.security
zulu-openjdk/11.0.12 package(): Packaged 13 '.policy' files
zulu-openjdk/11.0.12 package(): Packaged 3 '.txt' files: README.txt, Xusage.txt, README.txt
zulu-openjdk/11.0.12 package(): Packaged 2 '.access' files: jmxremote.access, jmxremote.access
zulu-openjdk/11.0.12 package(): Packaged 2 '.template' files: jmxremote.password.template, jmxremote.password.template
zulu-openjdk/11.0.12 package(): Packaged 242 files
zulu-openjdk/11.0.12 package(): Packaged 37 '.md' files
zulu-openjdk/11.0.12 package(): Packaged 8 '.h' files
zulu-openjdk/11.0.12 package(): Packaged 43 '.dylib' files
zulu-openjdk/11.0.12 package(): Packaged 1 '.src' file: fontconfig.properties.src
zulu-openjdk/11.0.12 package(): Packaged 1 '.cfg' file: jvm.cfg
zulu-openjdk/11.0.12 package(): Packaged 2 '.dat' files: tzdb.dat, public_suffix_list.dat
zulu-openjdk/11.0.12 package(): Packaged 1 '.sym' file: ct.sym
zulu-openjdk/11.0.12 package(): Packaged 1 '.jar' file: jrt-fs.jar
zulu-openjdk/11.0.12 package(): Packaged 1 '.bfc' file: fontconfig.bfc
zulu-openjdk/11.0.12 package(): Packaged 1 '.zip' file: src.zip
zulu-openjdk/11.0.12 package(): Packaged 1 '.ja' file: psfont.properties.ja
zulu-openjdk/11.0.12 package(): Packaged 1 '.certs' file: blacklisted.certs
zulu-openjdk/11.0.12 package(): Packaged 2 '.jfc' files: default.jfc, profile.jfc
zulu-openjdk/11.0.12 package(): Packaged 69 '.jmod' files
zulu-openjdk/11.0.12: Package 'bcab80338dbca9bff2462b516a3107446b4cd703' created
zulu-openjdk/11.0.12: Created package revision 7b57a291132555bd63089a0621b637a3
zulu-openjdk/11.0.12: Creating JAVA_HOME environment variable with : /Users/uilian/.conan/data/zulu-openjdk/11.0.12/_/_/package/bcab80338dbca9bff2462b516a3107446b4cd703
zulu-openjdk/11.0.12: Appending PATH environment variable with : /Users/uilian/.conan/data/zulu-openjdk/11.0.12/_/_/package/bcab80338dbca9bff2462b516a3107446b4cd703/bin
zulu-openjdk/11.0.12 (test package): Applying build-requirement: android-ndk/r24
zulu-openjdk/11.0.12 (test package): Generator txt created conanbuildinfo.txt
zulu-openjdk/11.0.12 (test package): Aggregating env generators
zulu-openjdk/11.0.12 (test package): Generated conaninfo.txt
zulu-openjdk/11.0.12 (test package): Generated graphinfo
Using lockfile: '/Users/uilian/Development/conan/conan-center-index/recipes/zulu-openjdk/all/test_package/build/3b8143ca2ad09d082dee5335029de68954620253/conan.lock'
Using cached profile from lockfile
zulu-openjdk/11.0.12 (test package): Calling build()
zulu-openjdk/11.0.12 (test package): Running test()
Sadly I'm not allowed to push my repo to public (too much subscribed NDAs). What's about a shared session via teams or similar ?
Btw, I followed your suggestion
hannes@ubuntu20arm alexa-auto-sdk (arm64-buildhost) $ conan install zulu-openjdk/11.0.12@ -r conancenter --update
WARN: Remotes registry file missing, creating default one in /home/hannes/.conan/remotes.json
Configuration:
[settings]
arch=armv8
arch_build=armv8
build_type=Release
compiler=gcc
compiler.libcxx=libstdc++11
compiler.version=9
os=Linux
os_build=Linux
[options]
[build_requires]
[env]
zulu-openjdk/11.0.12: Retrieving from server 'conancenter'
zulu-openjdk/11.0.12: Trying with 'conancenter'...
Downloading conanmanifest.txt completed [0.10k]
Downloading conanfile.py completed [3.85k]
Downloading conan_export.tgz completed [0.50k]
Decompressing conan_export.tgz completed [0.00k]
zulu-openjdk/11.0.12: Downloaded recipe revision 0
Installing package: zulu-openjdk/11.0.12
Requirements
zulu-openjdk/11.0.12 from 'conancenter' - Downloaded
Packages
zulu-openjdk/11.0.12:b0bab81756b4971d42859e9b1bc6f8b3fa8e036e - Missing
Installing (downloading, building) binaries...
ERROR: Missing binary: zulu-openjdk/11.0.12:b0bab81756b4971d42859e9b1bc6f8b3fa8e036e
zulu-openjdk/11.0.12: WARN: Can't find a 'zulu-openjdk/11.0.12' package for the specified settings, options and dependencies:
- Settings: arch=armv8, build_type=Release, compiler=gcc, compiler.libcxx=libstdc++11, compiler.version=9, os=Linux
- Options:
- Dependencies:
- Requirements:
- Package ID: b0bab81756b4971d42859e9b1bc6f8b3fa8e036e
ERROR: Missing prebuilt package for 'zulu-openjdk/11.0.12'
Use 'conan search zulu-openjdk/11.0.12 --table=table.html -r=remote' and open the table.html file to see available packages
Or try to build locally from sources with '--build=zulu-openjdk'
More Info at 'https://docs.conan.io/en/latest/faq/troubleshooting.html#error-missing-prebuilt-package'
(text as requested)
@hannesa2 Conan says you need to build the library. Another solution is removing your local copy and installing it again.
To be honest, I'm not familiar with conan. Is this the right command to remove local copy ?
hannes@ubuntu20arm alexa-auto-sdk (arm64-buildhost) $ conan remove openssl/* --packages
WARN: No package recipe matches 'openssl/*'
hannes@ubuntu20arm alexa-auto-sdk (arm64-buildhost) $ conan install zulu-openjdk/11.0.12@ -r conancenter --update[A^C
hannes@ubuntu20arm alexa-auto-sdk (arm64-buildhost) $ conan remove zulu-openjdk/* --packages
Are you sure you want to delete all packages from 'zulu-openjdk/11.0.12' (yes/no): yes
hannes@ubuntu20arm alexa-auto-sdk (arm64-buildhost) $ conan install zulu-openjdk/11.0.12@ -r conancenter --update
Configuration:
[settings]
arch=armv8
arch_build=armv8
build_type=Release
compiler=gcc
compiler.libcxx=libstdc++11
compiler.version=9
os=Linux
os_build=Linux
[options]
[build_requires]
[env]
Installing package: zulu-openjdk/11.0.12
Requirements
zulu-openjdk/11.0.12 from 'conancenter' - Cache
Packages
zulu-openjdk/11.0.12:b0bab81756b4971d42859e9b1bc6f8b3fa8e036e - Missing
Installing (downloading, building) binaries...
ERROR: Missing binary: zulu-openjdk/11.0.12:b0bab81756b4971d42859e9b1bc6f8b3fa8e036e
zulu-openjdk/11.0.12: WARN: Can't find a 'zulu-openjdk/11.0.12' package for the specified settings, options and dependencies:
- Settings: arch=armv8, build_type=Release, compiler=gcc, compiler.libcxx=libstdc++11, compiler.version=9, os=Linux
- Options:
- Dependencies:
- Requirements:
- Package ID: b0bab81756b4971d42859e9b1bc6f8b3fa8e036e
ERROR: Missing prebuilt package for 'zulu-openjdk/11.0.12'
Use 'conan search zulu-openjdk/11.0.12 --table=table.html -r=remote' and open the table.html file to see available packages
Or try to build locally from sources with '--build=zulu-openjdk'
More Info at 'https://docs.conan.io/en/latest/faq/troubleshooting.html#error-missing-prebuilt-package'
hannes@ubuntu20arm alexa-auto-sdk (arm64-buildhost) $
To be honest, I'm not familiar with conan. Is this the right command to remove local copy ?
Yes, you are right. https://docs.conan.io/en/latest/reference/commands/misc/remove.html
- Settings: arch=armv8, build_type=Release, compiler=gcc, compiler.libcxx=libstdc++11, compiler.version=9, os=Linux
You want a package for armv8 on Linux. Conan Center does not distribute ARM packages (Mac M1 is an exception), only x86_64: https://github.com/conan-io/conan-center-index/blob/master/docs/supported_platforms_and_configurations.md#linux
You will need to build from sources:
conan install zulu-openjdk/11.0.12@ -r conancenter --build=zulu-openjdk
Remember, after building it in your machine, you will want to cross-build to android, then, use build-context: https://docs.conan.io/en/latest/systems_cross_building/cross_building.html#conan-v1-24-and-newer
You want a package for armv8 on Linux. Conan Center does not distribute ARM packages (Mac M1 is an exception), only x86_64: https://github.com/conan-io/conan-center-index/blob/master/docs/supported_platforms_and_configurations.md#linux
Because I'm still blocked to build it on Apple M1 native I try to build it on an UTM hosted virtual Ubuntu (arm64 is the only option on a M1) that's why I use now Ubuntu arm64
conan install zulu-openjdk/11.0.12@ -r conancenter --build=zulu-openjdk
This worked properly 👍
hannes@ubuntu20arm alexa-auto-sdk (arm64-buildhost) $ conan install zulu-openjdk/11.0.12@ -r conancenter --build=zulu-openjdk
Configuration:
[settings]
arch=armv8
arch_build=armv8
build_type=Release
compiler=gcc
compiler.libcxx=libstdc++11
compiler.version=9
os=Linux
os_build=Linux
[options]
[build_requires]
[env]
zulu-openjdk/11.0.12: Forced build from source
Installing package: zulu-openjdk/11.0.12
Requirements
zulu-openjdk/11.0.12 from 'conancenter' - Cache
Packages
zulu-openjdk/11.0.12:b0bab81756b4971d42859e9b1bc6f8b3fa8e036e - Build
Installing (downloading, building) binaries...
zulu-openjdk/11.0.12: Configuring sources in /home/hannes/.conan/data/zulu-openjdk/11.0.12/_/_/source
zulu-openjdk/11.0.12: Copying sources to build folder
zulu-openjdk/11.0.12: Building your package in /home/hannes/.conan/data/zulu-openjdk/11.0.12/_/_/build/b0bab81756b4971d42859e9b1bc6f8b3fa8e036e
zulu-openjdk/11.0.12: Generator txt created conanbuildinfo.txt
zulu-openjdk/11.0.12: Aggregating env generators
zulu-openjdk/11.0.12: Calling build()
Downloading zulu11.50.19-ca-jdk11.0.12-linux_aarch64.tar.gz completed [193018.66k]
zulu-openjdk/11.0.12: Package 'b0bab81756b4971d42859e9b1bc6f8b3fa8e036e' built
zulu-openjdk/11.0.12: Build folder /home/hannes/.conan/data/zulu-openjdk/11.0.12/_/_/build/b0bab81756b4971d42859e9b1bc6f8b3fa8e036e
zulu-openjdk/11.0.12: Generated conaninfo.txt
zulu-openjdk/11.0.12: Generated conanbuildinfo.txt
zulu-openjdk/11.0.12: Generating the package
zulu-openjdk/11.0.12: Package folder /home/hannes/.conan/data/zulu-openjdk/11.0.12/_/_/package/b0bab81756b4971d42859e9b1bc6f8b3fa8e036e
zulu-openjdk/11.0.12: Calling package()
zulu-openjdk/11.0.12 package(): Packaged 40 '.so' files
zulu-openjdk/11.0.12 package(): Packaged 1 '.jar' file: jrt-fs.jar
zulu-openjdk/11.0.12 package(): Packaged 254 files
zulu-openjdk/11.0.12 package(): Packaged 2 '.dat' files: tzdb.dat, public_suffix_list.dat
zulu-openjdk/11.0.12 package(): Packaged 1 '.cfg' file: jvm.cfg
zulu-openjdk/11.0.12 package(): Packaged 1 '.ja' file: psfont.properties.ja
zulu-openjdk/11.0.12 package(): Packaged 1 '.zip' file: src.zip
zulu-openjdk/11.0.12 package(): Packaged 1 '.sym' file: ct.sym
zulu-openjdk/11.0.12 package(): Packaged 9 '.properties' files
zulu-openjdk/11.0.12 package(): Packaged 1 '.certs' file: blacklisted.certs
zulu-openjdk/11.0.12 package(): Packaged 13 '.policy' files
zulu-openjdk/11.0.12 package(): Packaged 72 '.jmod' files
zulu-openjdk/11.0.12 package(): Packaged 3 '.txt' files: Xusage.txt, README.txt, README.txt
zulu-openjdk/11.0.12 package(): Packaged 2 '.jfc' files: profile.jfc, default.jfc
zulu-openjdk/11.0.12 package(): Packaged 4 '.security' files: java.security, openjsse.security, java.security, openjsse.security
zulu-openjdk/11.0.12 package(): Packaged 2 '.template' files: jmxremote.password.template, jmxremote.password.template
zulu-openjdk/11.0.12 package(): Packaged 2 '.access' files: jmxremote.access, jmxremote.access
zulu-openjdk/11.0.12 package(): Packaged 8 '.h' files
zulu-openjdk/11.0.12 package(): Packaged 37 '.md' files
zulu-openjdk/11.0.12: Package 'b0bab81756b4971d42859e9b1bc6f8b3fa8e036e' created
zulu-openjdk/11.0.12: Created package revision 57560f54fcd8336131d41430e4cf11a6
zulu-openjdk/11.0.12: Creating JAVA_HOME environment variable with : /home/hannes/.conan/data/zulu-openjdk/11.0.12/_/_/package/b0bab81756b4971d42859e9b1bc6f8b3fa8e036e
zulu-openjdk/11.0.12: Appending PATH environment variable with : /home/hannes/.conan/data/zulu-openjdk/11.0.12/_/_/package/b0bab81756b4971d42859e9b1bc6f8b3fa8e036e/bin
Aggregating env generators
But still running into this error
hannes@ubuntu20arm alexa-auto-sdk (arm64-buildhost) $ ./builder/build.py -a armv8 -p android --with-sampleapp
[BUILDER] INFO: Python version: 3.8.10
[BUILDER] INFO: Builder home: /home/hannes/alexa-auto-sdk/builder/.builder
[BUILDER] INFO: Configuring Conan...
[BUILDER] INFO: Installing Conan configuration: /home/hannes/alexa-auto-sdk/conan/config
[BUILDER] INFO: Ignoring module 'aac-module-system-audio' on unsupported platform: Android. Expecting ['Linux', 'Macos', 'Neutrino']
Configuration (profile_host):
[settings]
arch=armv8
arch_build=armv8
build_type=Release
compiler=clang
compiler.libcxx=libc++
compiler.version=8
os=Android
os.api_level=26
os_build=Linux
[options]
aac_version=dev
pkg_modules=aac-module-amazonlite,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-text-to-speech-provider,aac-module-text-to-speech
with_aasb=True
with_docs=True
with_latency_logs=False
with_sampleapp=True
with_sensitive_logs=False
with_unit_tests=False
[build_requires]
*: android-sdk-tools/4.0@aac-sdk/stable
[env]
Configuration (profile_build):
[settings]
arch=armv8
arch_build=armv8
build_type=Release
compiler=gcc
compiler.libcxx=libstdc++11
compiler.version=9
os=Linux
os_build=Linux
[options]
[build_requires]
[env]
[2022-06-02 09:56:57] W: SampleApp not available on Android. Skipping.
WARN: libnghttp2/1.42.0@aac-sdk/dev: requirement openssl/1.1.1h overridden by libcurl/7.70.0@aac-sdk/dev to openssl/1.1.1i
nlohmann_json/3.8.0: Package is up to date
rapidjson/1.1.0: Package is up to date
zulu-openjdk/11.0.12: WARN: Package binary is corrupted, removing: b0bab81756b4971d42859e9b1bc6f8b3fa8e036e
cheetah/3.2.6@aac-sdk/dev: Package is up to date
pyyaml/5.4.1.1@aac-sdk/dev: Package is up to date
aac-tool-a2ml/dev: Package is up to date
ninja/1.10.2: Package is up to date
pkgconf/1.7.3: Package is up to date
conanfile.py (aac-sdk-tools/1.0): Installing package
Requirements
aac-module-aasb/dev from local cache - Cache
aac-module-address-book/dev from local cache - Cache
aac-module-alexa/dev from local cache - Cache
aac-module-amazonlite/dev from local cache - Cache
aac-module-apl/dev from local cache - Cache
aac-module-bluetooth/dev from local cache - Cache
aac-module-car-control/dev from local cache - Cache
aac-module-cbl/dev from local cache - Cache
aac-module-connectivity/dev from local cache - Cache
aac-module-core/dev from local cache - Cache
aac-module-custom-domain/dev from local cache - Cache
aac-module-loopback-detector/dev from local cache - Cache
aac-module-messaging/dev from local cache - Cache
aac-module-navigation/dev from local cache - Cache
aac-module-phone-control/dev from local cache - Cache
aac-module-text-to-speech/dev from local cache - Cache
aac-module-text-to-speech-provider/dev from local cache - Cache
avs-device-sdk/1.25.0@aac-sdk/dev from local cache - Cache
libcurl/7.70.0@aac-sdk/dev from local cache - Cache
libnghttp2/1.42.0@aac-sdk/dev from local cache - Cache
nlohmann_json/3.8.0 from 'conancenter' - Cache
openssl/1.1.1i from 'conancenter' - Cache
opus/1.3.1 from 'conancenter' - Cache
pryon-lite/2.9.0@aac-sdk/dev from local cache - Cache
rapidjson/1.1.0 from 'conancenter' - Cache
smart-screen-sdk/2.8.0@aac-sdk/dev from local cache - Cache
sqlite3/3.32.3 from 'conancenter' - Cache
zlib/1.2.11 from 'conancenter' - Cache
Python requires
aac-sdk-tools/1.0
Packages
aac-module-aasb/dev:536de9464094f909395e19e86225ca4e83049b09 - Build
aac-module-address-book/dev:fda9118f68cdc9d87304f7b1300356168e56ab00 - Build
aac-module-alexa/dev:9d6fb4f37e7812c3efd4109ae81d1f8bac728228 - Build
aac-module-amazonlite/dev:f239e3c7b6f4ef62361ba9f1295a12e781cc7226 - Build
aac-module-apl/dev:5e62625b948a52f99795b4f0ceddfda281c95b44 - Build
aac-module-bluetooth/dev:536de9464094f909395e19e86225ca4e83049b09 - Build
aac-module-car-control/dev:fda9118f68cdc9d87304f7b1300356168e56ab00 - Build
aac-module-cbl/dev:fda9118f68cdc9d87304f7b1300356168e56ab00 - Build
aac-module-connectivity/dev:fda9118f68cdc9d87304f7b1300356168e56ab00 - Build
aac-module-core/dev:180ea967e021b6b5cd30ce40ba5c12e280c84fba - Build
aac-module-custom-domain/dev:e68298da6605ea608b5ffeb54ab3f85e59e51402 - Build
aac-module-loopback-detector/dev:fda9118f68cdc9d87304f7b1300356168e56ab00 - Build
aac-module-messaging/dev:fda9118f68cdc9d87304f7b1300356168e56ab00 - Build
aac-module-navigation/dev:fda9118f68cdc9d87304f7b1300356168e56ab00 - Build
aac-module-phone-control/dev:fda9118f68cdc9d87304f7b1300356168e56ab00 - Build
aac-module-text-to-speech/dev:536de9464094f909395e19e86225ca4e83049b09 - Build
aac-module-text-to-speech-provider/dev:4117db5c8b72bf245023bb292aa0a6fb64cfbce7 - Build
avs-device-sdk/1.25.0@aac-sdk/dev:9f3f55dada580cdb2181c2e98e5c30477fea93e1 - Build
libcurl/7.70.0@aac-sdk/dev:13f7367a74a66f9bdfa7dc16883f2f962cb1f7f3 - Build
libnghttp2/1.42.0@aac-sdk/dev:c3ab96d3a6470cbee47ab969b1edd898b16ddcde - Build
nlohmann_json/3.8.0:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Cache
openssl/1.1.1i:a481b5492e7f13aac736199f4ad3a6dd21f975bb - Build
opus/1.3.1:a481b5492e7f13aac736199f4ad3a6dd21f975bb - Build
pryon-lite/2.9.0@aac-sdk/dev:13fe25a083b23a9c15985d22ff61dbb503206269 - Build
rapidjson/1.1.0:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Cache
smart-screen-sdk/2.8.0@aac-sdk/dev:134ff99e8eaf9a9becae234dd7080a8a30dca56b - Build
sqlite3/3.32.3:7d3f838a9dce1a9f17ea9d2f0e8a39d57d8f2694 - Build
zlib/1.2.11:a481b5492e7f13aac736199f4ad3a6dd21f975bb - Build
Build requirements
aac-tool-a2ml/dev from local cache - Cache
android-sdk-tools/4.0@aac-sdk/stable from local cache - Cache
cheetah/3.2.6@aac-sdk/dev from local cache - Cache
gradle/7.0@aac-sdk/dev from local cache - Cache
ninja/1.10.2 from 'conancenter' - Cache
pkgconf/1.7.3 from 'conancenter' - Cache
pyyaml/5.4.1.1@aac-sdk/dev from local cache - Cache
zulu-openjdk/11.0.12 from 'conancenter' - Cache
Build requirements packages
aac-tool-a2ml/dev:8d2499e1d3db5fb12a4ea26ce1dc733ad371ad06 - Cache
android-sdk-tools/4.0@aac-sdk/stable:29313b3f9d903c10dee58dac0ff36e08806d7bab - Build
cheetah/3.2.6@aac-sdk/dev:cf6a2b8d12fc208cdf109a42c366fd3d9a2ec12c - Cache
gradle/7.0@aac-sdk/dev:2cff29d8a0c24be78e944d6d742d51731aeafa1c - Build
ninja/1.10.2:1a032419479e0fe8660712050df2775c495d3123 - Cache
pkgconf/1.7.3:1a032419479e0fe8660712050df2775c495d3123 - Cache
pyyaml/5.4.1.1@aac-sdk/dev:cf6a2b8d12fc208cdf109a42c366fd3d9a2ec12c - Cache
zulu-openjdk/11.0.12:b0bab81756b4971d42859e9b1bc6f8b3fa8e036e - Build
Cross-build from 'Linux:armv8' to 'Android:armv8'
Installing (downloading, building) binaries...
cheetah/3.2.6@aac-sdk/dev: Already installed!
ninja/1.10.2: Already installed!
nlohmann_json/3.8.0: Already installed!
pkgconf/1.7.3: Already installed!
pkgconf/1.7.3: Appending PATH env var: /home/hannes/alexa-auto-sdk/builder/.builder/.conan/data/pkgconf/1.7.3/_/_/package/1a032419479e0fe8660712050df2775c495d3123/bin
pkgconf/1.7.3: Setting PKG_CONFIG env var: /home/hannes/alexa-auto-sdk/builder/.builder/.conan/data/pkgconf/1.7.3/_/_/package/1a032419479e0fe8660712050df2775c495d3123/bin/pkgconf
pkgconf/1.7.3: Appending AUTOMAKE_CONAN_INCLUDES env var: /home/hannes/alexa-auto-sdk/builder/.builder/.conan/data/pkgconf/1.7.3/_/_/package/1a032419479e0fe8660712050df2775c495d3123/bin/aclocal
pyyaml/5.4.1.1@aac-sdk/dev: Already installed!
rapidjson/1.1.0: Already installed!
zulu-openjdk/11.0.12: WARN: Build folder is dirty, removing it: /home/hannes/alexa-auto-sdk/builder/.builder/.conan/data/zulu-openjdk/11.0.12/_/_/build/b0bab81756b4971d42859e9b1bc6f8b3fa8e036e
zulu-openjdk/11.0.12: Copying sources to build folder
zulu-openjdk/11.0.12: Building your package in /home/hannes/alexa-auto-sdk/builder/.builder/.conan/data/zulu-openjdk/11.0.12/_/_/build/b0bab81756b4971d42859e9b1bc6f8b3fa8e036e
zulu-openjdk/11.0.12: Generator txt created conanbuildinfo.txt
zulu-openjdk/11.0.12: Aggregating env generators
zulu-openjdk/11.0.12: Calling build()
zulu-openjdk/11.0.12:
zulu-openjdk/11.0.12: ERROR: Package 'b0bab81756b4971d42859e9b1bc6f8b3fa8e036e' build failed
zulu-openjdk/11.0.12: WARN: Build folder /home/hannes/alexa-auto-sdk/builder/.builder/.conan/data/zulu-openjdk/11.0.12/_/_/build/b0bab81756b4971d42859e9b1bc6f8b3fa8e036e
ERROR: zulu-openjdk/11.0.12: Error in build() method, line 51
tools.get(**self.conan_data["sources"][self.version][str(self._settings_build.os)][str(self._settings_build.arch)],
KeyError: 'armv8'
[BUILDER] ERROR: Command '['conan', 'install', '/home/hannes/alexa-auto-sdk/conan/recipes/aac-sdk-tools', '-if=/tmp/tmp6vpvlptj', '-b', 'outdated', '-o', 'pkg_modules=aac-module-amazonlite,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-text-to-speech-provider,aac-module-text-to-speech', '-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', 'build_type=Release', '-s:h', 'arch=armv8', '-pr:h=aac-android', '-pr:b=default']' returned non-zero exit status 1.
hannes@ubuntu20arm alexa-auto-sdk (arm64-buildhost) $
No errors Mac M1 -> Android here. You have to be clear about which commands you are running, no wrappers.
% conan create . 11.0.12@ -pr:b=default -pr:h=android
Exporting package recipe
zulu-openjdk/11.0.12 exports: File 'conandata.yml' found. Exporting it...
zulu-openjdk/11.0.12 exports: Copied 1 '.yml' file: conandata.yml
zulu-openjdk/11.0.12: The stored package has not changed
zulu-openjdk/11.0.12: Using the exported files summary hash as the recipe revision: 89a13ad0094c9f21305e0ae6ed59234b
zulu-openjdk/11.0.12: Exported revision: 89a13ad0094c9f21305e0ae6ed59234b
Configuration (profile_host):
[settings]
arch=armv8
build_type=Release
compiler=clang
compiler.cppstd=20
compiler.libcxx=libc++
compiler.version=8
os=Android
os.api_level=26
[options]
[build_requires]
[env]
Configuration (profile_build):
[settings]
arch=armv8
arch_build=armv8
build_type=Release
compiler=apple-clang
compiler.libcxx=libc++
compiler.version=13.1
os=Macos
os_build=Macos
[options]
[build_requires]
[env]
[conf]
tools.build.cross_building:can_run=False
zulu-openjdk/11.0.12: Forced build from source
zulu-openjdk/11.0.12 (test package): Installing package
Requirements
zulu-openjdk/11.0.12 from local cache - Cache
Packages
zulu-openjdk/11.0.12:4ca24008fbd977335c533ec1eb1cf0cdebbc133a - Build
Cross-build from 'Macos:armv8' to 'Android:armv8'
Installing (downloading, building) binaries...
zulu-openjdk/11.0.12: Copying sources to build folder
zulu-openjdk/11.0.12: Building your package in /Users/uilian/.conan/data/zulu-openjdk/11.0.12/_/_/build/4ca24008fbd977335c533ec1eb1cf0cdebbc133a
zulu-openjdk/11.0.12: Generator txt created conanbuildinfo.txt
zulu-openjdk/11.0.12: Aggregating env generators
zulu-openjdk/11.0.12: Calling build()
zulu-openjdk/11.0.12: Package '4ca24008fbd977335c533ec1eb1cf0cdebbc133a' built
zulu-openjdk/11.0.12: Build folder /Users/uilian/.conan/data/zulu-openjdk/11.0.12/_/_/build/4ca24008fbd977335c533ec1eb1cf0cdebbc133a
zulu-openjdk/11.0.12: Generated conaninfo.txt
zulu-openjdk/11.0.12: Generated conanbuildinfo.txt
zulu-openjdk/11.0.12: Generating the package
zulu-openjdk/11.0.12: Package folder /Users/uilian/.conan/data/zulu-openjdk/11.0.12/_/_/package/4ca24008fbd977335c533ec1eb1cf0cdebbc133a
zulu-openjdk/11.0.12: Calling package()
zulu-openjdk/11.0.12 package(): Packaged 9 '.properties' files
zulu-openjdk/11.0.12 package(): Packaged 4 '.security' files: openjsse.security, java.security, openjsse.security, java.security
zulu-openjdk/11.0.12 package(): Packaged 13 '.policy' files
zulu-openjdk/11.0.12 package(): Packaged 3 '.txt' files: README.txt, Xusage.txt, README.txt
zulu-openjdk/11.0.12 package(): Packaged 2 '.access' files: jmxremote.access, jmxremote.access
zulu-openjdk/11.0.12 package(): Packaged 2 '.template' files: jmxremote.password.template, jmxremote.password.template
zulu-openjdk/11.0.12 package(): Packaged 242 files
zulu-openjdk/11.0.12 package(): Packaged 37 '.md' files
zulu-openjdk/11.0.12 package(): Packaged 8 '.h' files
zulu-openjdk/11.0.12 package(): Packaged 43 '.dylib' files
zulu-openjdk/11.0.12 package(): Packaged 1 '.src' file: fontconfig.properties.src
zulu-openjdk/11.0.12 package(): Packaged 1 '.cfg' file: jvm.cfg
zulu-openjdk/11.0.12 package(): Packaged 2 '.dat' files: tzdb.dat, public_suffix_list.dat
zulu-openjdk/11.0.12 package(): Packaged 1 '.sym' file: ct.sym
zulu-openjdk/11.0.12 package(): Packaged 1 '.jar' file: jrt-fs.jar
zulu-openjdk/11.0.12 package(): Packaged 1 '.bfc' file: fontconfig.bfc
zulu-openjdk/11.0.12 package(): Packaged 1 '.zip' file: src.zip
zulu-openjdk/11.0.12 package(): Packaged 1 '.ja' file: psfont.properties.ja
zulu-openjdk/11.0.12 package(): Packaged 1 '.certs' file: blacklisted.certs
zulu-openjdk/11.0.12 package(): Packaged 2 '.jfc' files: default.jfc, profile.jfc
zulu-openjdk/11.0.12 package(): Packaged 69 '.jmod' files
zulu-openjdk/11.0.12: Package '4ca24008fbd977335c533ec1eb1cf0cdebbc133a' created
zulu-openjdk/11.0.12: Created package revision 58830906cd7e6c96f47b5e5bd743e331
zulu-openjdk/11.0.12: Creating JAVA_HOME environment variable with : /Users/uilian/.conan/data/zulu-openjdk/11.0.12/_/_/package/4ca24008fbd977335c533ec1eb1cf0cdebbc133a
zulu-openjdk/11.0.12: Appending PATH environment variable with : /Users/uilian/.conan/data/zulu-openjdk/11.0.12/_/_/package/4ca24008fbd977335c533ec1eb1cf0cdebbc133a/bin
zulu-openjdk/11.0.12 (test package): Generator txt created conanbuildinfo.txt
zulu-openjdk/11.0.12 (test package): Aggregating env generators
zulu-openjdk/11.0.12 (test package): Generated conaninfo.txt
zulu-openjdk/11.0.12 (test package): Generated graphinfo
Using lockfile: '/Users/uilian/Development/conan/conan-center-index/recipes/zulu-openjdk/all/test_package/build/dda084b5ed6a9c9a3026f6b7af0613576cc27039/conan.lock'
Using cached profile from lockfile
zulu-openjdk/11.0.12 (test package): Calling build()
zulu-openjdk/11.0.12 (test package): Running test()
Same for Linux:
$ conan create . 11.0.12@ -pr:b=default -pr:h=android
Exporting package recipe
zulu-openjdk/11.0.12 exports: File 'conandata.yml' found. Exporting it...
zulu-openjdk/11.0.12 exports: Copied 1 '.yml' file: conandata.yml
zulu-openjdk/11.0.12: The stored package has not changed
zulu-openjdk/11.0.12: Exported revision: 707f6473af37ed20c9835a375f1002e7
Configuration (profile_host):
[settings]
arch=armv8
build_type=Release
compiler=clang
compiler.cppstd=20
compiler.libcxx=libc++
compiler.version=8
os=Android
os.api_level=26
[options]
[build_requires]
[env]
Configuration (profile_build):
[settings]
arch=armv8
arch_build=armv8
build_type=Release
compiler=gcc
compiler.libcxx=libstdc++
compiler.version=9
os=Linux
os_build=Linux
[options]
[build_requires]
[env]
zulu-openjdk/11.0.12: Forced build from source
zulu-openjdk/11.0.12 (test package): Installing package
Requirements
zulu-openjdk/11.0.12 from local cache - Cache
Packages
zulu-openjdk/11.0.12:4ca24008fbd977335c533ec1eb1cf0cdebbc133a - Build
Cross-build from 'Linux:armv8' to 'Android:armv8'
Installing (downloading, building) binaries...
zulu-openjdk/11.0.12: Copying sources to build folder
zulu-openjdk/11.0.12: Building your package in /home/conan/.conan/data/zulu-openjdk/11.0.12/_/_/build/4ca24008fbd977335c533ec1eb1cf0cdebbc133a
zulu-openjdk/11.0.12: Generator txt created conanbuildinfo.txt
zulu-openjdk/11.0.12: Aggregating env generators
zulu-openjdk/11.0.12: Calling build()
Downloading zulu11.50.19-ca-jdk11.0.12-linux_aarch64.tar.gz completed [193018.66k]
zulu-openjdk/11.0.12: Package '4ca24008fbd977335c533ec1eb1cf0cdebbc133a' built
zulu-openjdk/11.0.12: Build folder /home/conan/.conan/data/zulu-openjdk/11.0.12/_/_/build/4ca24008fbd977335c533ec1eb1cf0cdebbc133a
zulu-openjdk/11.0.12: Generated conaninfo.txt
zulu-openjdk/11.0.12: Generated conanbuildinfo.txt
zulu-openjdk/11.0.12: Generating the package
zulu-openjdk/11.0.12: Package folder /home/conan/.conan/data/zulu-openjdk/11.0.12/_/_/package/4ca24008fbd977335c533ec1eb1cf0cdebbc133a
zulu-openjdk/11.0.12: Calling package()
zulu-openjdk/11.0.12 package(): Packaged 254 files
zulu-openjdk/11.0.12 package(): Packaged 37 '.md' files
zulu-openjdk/11.0.12 package(): Packaged 9 '.properties' files
zulu-openjdk/11.0.12 package(): Packaged 4 '.security' files: java.security, openjsse.security, java.security, openjsse.security
zulu-openjdk/11.0.12 package(): Packaged 13 '.policy' files
zulu-openjdk/11.0.12 package(): Packaged 3 '.txt' files: README.txt, Xusage.txt, README.txt
zulu-openjdk/11.0.12 package(): Packaged 2 '.access' files: jmxremote.access, jmxremote.access
zulu-openjdk/11.0.12 package(): Packaged 2 '.template' files: jmxremote.password.template, jmxremote.password.template
zulu-openjdk/11.0.12 package(): Packaged 40 '.so' files
zulu-openjdk/11.0.12 package(): Packaged 1 '.sym' file: ct.sym
zulu-openjdk/11.0.12 package(): Packaged 1 '.zip' file: src.zip
zulu-openjdk/11.0.12 package(): Packaged 1 '.ja' file: psfont.properties.ja
zulu-openjdk/11.0.12 package(): Packaged 2 '.dat' files: tzdb.dat, public_suffix_list.dat
zulu-openjdk/11.0.12 package(): Packaged 1 '.jar' file: jrt-fs.jar
zulu-openjdk/11.0.12 package(): Packaged 1 '.cfg' file: jvm.cfg
zulu-openjdk/11.0.12 package(): Packaged 72 '.jmod' files
zulu-openjdk/11.0.12 package(): Packaged 1 '.certs' file: blacklisted.certs
zulu-openjdk/11.0.12 package(): Packaged 2 '.jfc' files: profile.jfc, default.jfc
zulu-openjdk/11.0.12 package(): Packaged 8 '.h' files
zulu-openjdk/11.0.12: Package '4ca24008fbd977335c533ec1eb1cf0cdebbc133a' created
zulu-openjdk/11.0.12: Created package revision d6a5b4ae3b49261a8efed89d7f5e2bb6
zulu-openjdk/11.0.12: Creating JAVA_HOME environment variable with : /home/conan/.conan/data/zulu-openjdk/11.0.12/_/_/package/4ca24008fbd977335c533ec1eb1cf0cdebbc133a
zulu-openjdk/11.0.12: Appending PATH environment variable with : /home/conan/.conan/data/zulu-openjdk/11.0.12/_/_/package/4ca24008fbd977335c533ec1eb1cf0cdebbc133a/bin
zulu-openjdk/11.0.12 (test package): Generator txt created conanbuildinfo.txt
zulu-openjdk/11.0.12 (test package): Aggregating env generators
zulu-openjdk/11.0.12 (test package): Generated conaninfo.txt
zulu-openjdk/11.0.12 (test package): Generated graphinfo
Using lockfile: '/home/conan/project/test_package/build/dda084b5ed6a9c9a3026f6b7af0613576cc27039/conan.lock'
Using cached profile from lockfile
zulu-openjdk/11.0.12 (test package): Calling build()
zulu-openjdk/11.0.12 (test package): Running test()
I see you have two different Conan caches in your output:
On the first output you have:
zulu-openjdk/11.0.12: Configuring sources in /home/hannes/.conan/data/zulu-openjdk/11.0.12/_/_/source
Then on the failed you have:
zulu-openjdk/11.0.12: WARN: Build folder is dirty, removing it: /home/hannes/alexa-auto-sdk/builder/.builder/.conan/data/zulu-openjdk/11.0.12/_/_/build/b0bab81756b4971d42859e9b1bc6f8b3fa8e036e
You are consuming from an old.
Be careful when using wrappers, they can mess your environment.
Package and Environment Details (include every applicable attribute)
Conan profile (output of
conan profile show default
orconan profile show <profile>
if custom profile is in use)Steps to reproduce (Include if Applicable)
I tried to build https://github.com/alexa/alexa-auto-sdk/pull/21 on a macOS arm64 And I'm not sure from where this error comes from
Logs (Include/Attach if Applicable)
Click to expand log
``` Put your log output here ```