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

[package] qt/6.7.0: Cross build to android fails #23948

Open
Dashro opened this issue May 10, 2024 · 0 comments
Open

[package] qt/6.7.0: Cross build to android fails #23948

Dashro opened this issue May 10, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@Dashro
Copy link

Dashro commented May 10, 2024

Description

I try to use qt on Android. I'm not sure if I'm doing something wrong, but there seems to be an issue in the qt recipe.

ERROR: qt/6.7.0: Error in package_id() method, line 648
del self.info.options.android_sdk
KeyError: 'android_sdk'

General question: is Android as target supported by the conan center index?

Package and Environment Details

  • Package Name/Version: qt/6.7.0
  • Operating System+version: Windows 10
  • Compiler+version: clang 17
  • Conan version: Conan version 2.3.0
  • Python version: Python 3.10.1

Conan profile

[settings]
os=Android
os.api_level=21
compiler=clang
compiler.version=17
compiler.libcxx=c++_static
compiler.cppstd=17

[conf]
tools.android:ndk_path=C:/Users/qkn19/AppData/Local/Android/SDK/ndk/26.1.10909125

Steps to reproduce

Conanfile.txt:

[requires]
qt/6.7.0

[generators]
CMakeToolchain
CMakeDeps

[layout]
cmake_layout

conan install . --profile android -s build_type=Debug -s arch=armv7 --build missing

Logs

Click to expand log

C:\Users\qkn19\AndroidStudioProjects\MyConanApplication\app\src\main\cpp>conan install . --profile android -s build_type=Debug -s arch=armv7 --build missing

======== Input profiles ========
Profile host:
[settings]
arch=armv7
build_type=Debug
compiler=clang
compiler.cppstd=17
compiler.libcxx=c++_static
compiler.version=17
os=Android
os.api_level=24
[conf]
tools.android:ndk_path=C:/Users/qkn19/AppData/Local/Android/SDK/ndk/26.1.10909125

Profile build:
[settings]
arch=x86_64
build_type=Release
compiler=msvc
compiler.cppstd=14
compiler.runtime=dynamic
compiler.runtime_type=Release
compiler.version=193
os=Windows

======== Computing dependency graph ========
qt/6.7.0: Not found in local cache, looking in remotes...
qt/6.7.0: Checking remote: conancenter
qt/6.7.0: Downloaded recipe revision 0d41d85b2ab456f5751faa25c1554581
pcre2/10.42: Not found in local cache, looking in remotes...
pcre2/10.42: Checking remote: conancenter
pcre2/10.42: Downloaded recipe revision a7a2c122056510509a7525c83d6a6695
bzip2/1.0.8: Not found in local cache, looking in remotes...
bzip2/1.0.8: Checking remote: conancenter
bzip2/1.0.8: Downloaded recipe revision 457c272f7da34cb9c67456dd217d36c4
double-conversion/3.3.0: Not found in local cache, looking in remotes...
double-conversion/3.3.0: Checking remote: conancenter
double-conversion/3.3.0: Downloaded recipe revision 33321c201741cc32b51169c6d2d05e60
freetype/2.13.2: Not found in local cache, looking in remotes...
freetype/2.13.2: Checking remote: conancenter
freetype/2.13.2: Downloaded recipe revision 7934d59c447d72edcd56025dc60e1aeb
libpng/1.6.42: Not found in local cache, looking in remotes...
libpng/1.6.42: Checking remote: conancenter
libpng/1.6.42: Downloaded recipe revision fdba4ebf89df3c55d6db0145a2a66a24
brotli/1.1.0: Not found in local cache, looking in remotes...
brotli/1.1.0: Checking remote: conancenter
brotli/1.1.0: Downloaded recipe revision d56d7bb9ca722942aba17369cb5c0519
meson/1.3.2: Not found in local cache, looking in remotes...
meson/1.3.2: Checking remote: conancenter
meson/1.3.2: Downloaded recipe revision d1125ba555ec1a94f165a3412fdf7f88
ninja/1.11.1: Not found in local cache, looking in remotes...
ninja/1.11.1: Checking remote: conancenter
ninja/1.11.1: Downloaded recipe revision 77587f8c8318662ac8e5a7867eb4be21
pkgconf/2.1.0: Not found in local cache, looking in remotes...
pkgconf/2.1.0: Checking remote: conancenter
pkgconf/2.1.0: Downloaded recipe revision 27f44583701117b571307cf5b5fe5605
meson/1.2.2: Not found in local cache, looking in remotes...
meson/1.2.2: Checking remote: conancenter
meson/1.2.2: Downloaded recipe revision 04bdfb85d665c82b08a3510aee3ffd19
harfbuzz/8.3.0: Not found in local cache, looking in remotes...
harfbuzz/8.3.0: Checking remote: conancenter
harfbuzz/8.3.0: Downloaded recipe revision c83405ed297bad6c9e9587e2a19c686a
glib/2.78.3: Not found in local cache, looking in remotes...
glib/2.78.3: Checking remote: conancenter
glib/2.78.3: Downloaded recipe revision 0cd1865c8603d90b3bc5858065e16d01
libffi/3.4.4: Not found in local cache, looking in remotes...
libffi/3.4.4: Checking remote: conancenter
libffi/3.4.4: Downloaded recipe revision 35eb63842b505824b70aedc1baefc916
libelf/0.8.13: Not found in local cache, looking in remotes...
libelf/0.8.13: Checking remote: conancenter
libelf/0.8.13: Downloaded recipe revision 4f70a3555809ae50cc8add44f0f84288
autoconf/2.71: Not found in local cache, looking in remotes...
autoconf/2.71: Checking remote: conancenter
autoconf/2.71: Downloaded recipe revision f9307992909d7fb3df459340f1932809
m4/1.4.19: Not found in local cache, looking in remotes...
m4/1.4.19: Checking remote: conancenter
m4/1.4.19: Downloaded recipe revision b38ced39a01e31fef5435bc634461fd2
gnu-config/cci.20210814: Not found in local cache, looking in remotes...
gnu-config/cci.20210814: Checking remote: conancenter
gnu-config/cci.20210814: Downloaded recipe revision dc430d754f465e8c74463019672fb97b
libgettext/0.22: Not found in local cache, looking in remotes...
libgettext/0.22: Checking remote: conancenter
libgettext/0.22: Downloaded recipe revision 35d2811b2dd27a98f69e4daa86ca2000
libiconv/1.17: Not found in local cache, looking in remotes...
libiconv/1.17: Checking remote: conancenter
libiconv/1.17: Downloaded recipe revision 73fefc1b696e069df90fd1d18aa63edd
pkgconf/2.0.3: Not found in local cache, looking in remotes...
pkgconf/2.0.3: Checking remote: conancenter
pkgconf/2.0.3: Downloaded recipe revision f996677e96e61e6552d85e83756c328b
meson/1.4.0: Not found in local cache, looking in remotes...
meson/1.4.0: Checking remote: conancenter
meson/1.4.0: Downloaded recipe revision 024dfac41ea5570cb1aec3ea6fe34d0a
automake/1.16.5: Not found in local cache, looking in remotes...
automake/1.16.5: Checking remote: conancenter
automake/1.16.5: Downloaded recipe revision 058bda3e21c36c9aa8425daf3c1faf50
sqlite3/3.45.0: Not found in local cache, looking in remotes...
sqlite3/3.45.0: Checking remote: conancenter
sqlite3/3.45.0: Downloaded recipe revision 3a7911478ffd14e7acc694ac113449b6
libpq/15.4: Not found in local cache, looking in remotes...
libpq/15.4: Checking remote: conancenter
libpq/15.4: Downloaded recipe revision cbae5e1ee85bd5e959e039e00307e8b1
odbc/2.3.11: Not found in local cache, looking in remotes...
odbc/2.3.11: Checking remote: conancenter
odbc/2.3.11: Downloaded recipe revision 84d32d803c970271eb2fc58d3e3cc2b5
libtool/2.4.7: Not found in local cache, looking in remotes...
libtool/2.4.7: Checking remote: conancenter
libtool/2.4.7: Downloaded recipe revision 08316dad5c72c541ed21e039e4cf217b
opengl/system: Not found in local cache, looking in remotes...
opengl/system: Checking remote: conancenter
opengl/system: Downloaded recipe revision 4df6fecde4084386beded3ed0e56e4ea
md4c/0.4.8: Not found in local cache, looking in remotes...
md4c/0.4.8: Checking remote: conancenter
md4c/0.4.8: Downloaded recipe revision 02b5e5d8640a6ef9fbd663134edfa1e4
cmake/3.29.3: Not found in local cache, looking in remotes...
cmake/3.29.3: Checking remote: conancenter
cmake/3.29.3: Downloaded recipe revision 292a699b66d006bf4c6648608fa7c9e4
Graph root
conanfile.txt: C:\Users\qkn19\AndroidStudioProjects\MyConanApplication\app\src\main\cpp\conanfile.txt
Requirements
autoconf/2.71#f9307992909d7fb3df459340f1932809 - Downloaded (conancenter)
automake/1.16.5#058bda3e21c36c9aa8425daf3c1faf50 - Downloaded (conancenter)
brotli/1.1.0#d56d7bb9ca722942aba17369cb5c0519 - Downloaded (conancenter)
bzip2/1.0.8#457c272f7da34cb9c67456dd217d36c4 - Downloaded (conancenter)
double-conversion/3.3.0#33321c201741cc32b51169c6d2d05e60 - Downloaded (conancenter)
freetype/2.13.2#7934d59c447d72edcd56025dc60e1aeb - Downloaded (conancenter)
glib/2.78.3#0cd1865c8603d90b3bc5858065e16d01 - Downloaded (conancenter)
harfbuzz/8.3.0#c83405ed297bad6c9e9587e2a19c686a - Downloaded (conancenter)
libelf/0.8.13#4f70a3555809ae50cc8add44f0f84288 - Downloaded (conancenter)
libffi/3.4.4#35eb63842b505824b70aedc1baefc916 - Downloaded (conancenter)
libgettext/0.22#35d2811b2dd27a98f69e4daa86ca2000 - Downloaded (conancenter)
libiconv/1.17#73fefc1b696e069df90fd1d18aa63edd - Downloaded (conancenter)
libpng/1.6.42#fdba4ebf89df3c55d6db0145a2a66a24 - Downloaded (conancenter)
libpq/15.4#cbae5e1ee85bd5e959e039e00307e8b1 - Downloaded (conancenter)
libtool/2.4.7#08316dad5c72c541ed21e039e4cf217b - Downloaded (conancenter)
m4/1.4.19#b38ced39a01e31fef5435bc634461fd2 - Downloaded (conancenter)
md4c/0.4.8#02b5e5d8640a6ef9fbd663134edfa1e4 - Downloaded (conancenter)
odbc/2.3.11#84d32d803c970271eb2fc58d3e3cc2b5 - Downloaded (conancenter)
opengl/system#4df6fecde4084386beded3ed0e56e4ea - Downloaded (conancenter)
openssl/3.2.1#c7b554068caae5eda12b735ea6f23d70 - Cache
pcre2/10.42#a7a2c122056510509a7525c83d6a6695 - Downloaded (conancenter)
qt/6.7.0#0d41d85b2ab456f5751faa25c1554581 - Downloaded (conancenter)
sqlite3/3.45.0#3a7911478ffd14e7acc694ac113449b6 - Downloaded (conancenter)
zlib/1.2.12#c57575ff8ba6ade58cb9ef18d5a247af - Cache
Build requirements
autoconf/2.71#f9307992909d7fb3df459340f1932809 - Downloaded (conancenter)
automake/1.16.5#058bda3e21c36c9aa8425daf3c1faf50 - Downloaded (conancenter)
brotli/1.1.0#d56d7bb9ca722942aba17369cb5c0519 - Downloaded (conancenter)
bzip2/1.0.8#457c272f7da34cb9c67456dd217d36c4 - Downloaded (conancenter)
cmake/3.29.3#292a699b66d006bf4c6648608fa7c9e4 - Downloaded (conancenter)
double-conversion/3.3.0#33321c201741cc32b51169c6d2d05e60 - Downloaded (conancenter)
freetype/2.13.2#7934d59c447d72edcd56025dc60e1aeb - Downloaded (conancenter)
glib/2.78.3#0cd1865c8603d90b3bc5858065e16d01 - Downloaded (conancenter)
gnu-config/cci.20210814#dc430d754f465e8c74463019672fb97b - Downloaded (conancenter)
harfbuzz/8.3.0#c83405ed297bad6c9e9587e2a19c686a - Downloaded (conancenter)
libffi/3.4.4#35eb63842b505824b70aedc1baefc916 - Downloaded (conancenter)
libgettext/0.22#35d2811b2dd27a98f69e4daa86ca2000 - Downloaded (conancenter)
libiconv/1.17#73fefc1b696e069df90fd1d18aa63edd - Downloaded (conancenter)
libpng/1.6.42#fdba4ebf89df3c55d6db0145a2a66a24 - Downloaded (conancenter)
libpq/15.4#cbae5e1ee85bd5e959e039e00307e8b1 - Downloaded (conancenter)
m4/1.4.19#b38ced39a01e31fef5435bc634461fd2 - Downloaded (conancenter)
md4c/0.4.8#02b5e5d8640a6ef9fbd663134edfa1e4 - Downloaded (conancenter)
meson/1.2.2#04bdfb85d665c82b08a3510aee3ffd19 - Downloaded (conancenter)
meson/1.3.2#d1125ba555ec1a94f165a3412fdf7f88 - Downloaded (conancenter)
meson/1.4.0#024dfac41ea5570cb1aec3ea6fe34d0a - Downloaded (conancenter)
msys2/cci.latest#5a31efa2bde593541fd5ac3bcc50c01c - Cache
nasm/2.15.05#058c93b2214a49ca1cfe9f8f26205568 - Cache
ninja/1.11.1#77587f8c8318662ac8e5a7867eb4be21 - Downloaded (conancenter)
openssl/3.2.1#c7b554068caae5eda12b735ea6f23d70 - Cache
pcre2/10.42#a7a2c122056510509a7525c83d6a6695 - Downloaded (conancenter)
pkgconf/2.0.3#f996677e96e61e6552d85e83756c328b - Downloaded (conancenter)
pkgconf/2.1.0#27f44583701117b571307cf5b5fe5605 - Downloaded (conancenter)
qt/6.7.0#0d41d85b2ab456f5751faa25c1554581 - Downloaded (conancenter)
sqlite3/3.45.0#3a7911478ffd14e7acc694ac113449b6 - Downloaded (conancenter)
strawberryperl/5.32.1.1#8f83d05a60363a422f9033e52d106b47 - Cache
zlib/1.2.12#c57575ff8ba6ade58cb9ef18d5a247af - Cache
Resolved version ranges
cmake/[>=3.21.1 <4]: cmake/3.29.3
openssl/[>=1.1 <4]: openssl/3.2.1
zlib/[>=1.2.11 <2]: zlib/1.2.12

======== Computing necessary packages ========
double-conversion/3.3.0: Checking 11 compatible configurations
double-conversion/3.3.0: Compatible configurations not found in cache, checking servers
double-conversion/3.3.0: 'bf649c6ee0f43a10c8d80f30c7bca3f521b6ea79': compiler.cppstd=98
double-conversion/3.3.0: '6e98656f6145967b1437d270eea3f5a042482512': compiler.cppstd=gnu98
double-conversion/3.3.0: '47ca697fba5f0a1e60360a643abd97eb9fea52e6': compiler.cppstd=11
double-conversion/3.3.0: '7f28c2c40e7844dc872a4182f0a0ac9da866438a': compiler.cppstd=gnu11
double-conversion/3.3.0: '52912919de2c1284b55ab32338188fa64eb8d0e9': compiler.cppstd=14
double-conversion/3.3.0: '09d7c623ba356d46e85912b4458cef2fb5063f94': compiler.cppstd=gnu14
double-conversion/3.3.0: '98550cdf7af6733fada891ed0511c8ebc822a70f': compiler.cppstd=gnu17
double-conversion/3.3.0: 'e2814a753cc6e46b898b20382d1a59755f373a44': compiler.cppstd=20
double-conversion/3.3.0: '9bb6920ca6a838b525d5c50c525df42da1e7eed3': compiler.cppstd=gnu20
double-conversion/3.3.0: '80e31b66c81fb6b1e056ef7c4573dfc5b4ae5e0c': compiler.cppstd=23
double-conversion/3.3.0: 'e45142d46d1f2d10e2e258332c4952d83f0ae936': compiler.cppstd=gnu23
m4/1.4.19: Compatible package ID 283e1a187d044c54f41252a1eb6369ee0ece16fb equal to the default package ID: Skipping it.
harfbuzz/8.3.0: Checking 11 compatible configurations
harfbuzz/8.3.0: Compatible configurations not found in cache, checking servers
harfbuzz/8.3.0: 'cbbb31a82fc2aa9be034b14fd9e4181ce01e0214': compiler.cppstd=98
harfbuzz/8.3.0: '7a67c69dd825074eafd2b94b164847be9bda37bd': compiler.cppstd=gnu98
harfbuzz/8.3.0: 'a004642028e50de99a47a0b31399cc482e57c521': compiler.cppstd=11
harfbuzz/8.3.0: '96a6214a669d6f1c09fdfec7ccafada0f0c311b8': compiler.cppstd=gnu11
harfbuzz/8.3.0: '63bb22301b3b3e89e964e0a42f9628d802cca779': compiler.cppstd=14
harfbuzz/8.3.0: 'c0fd42dd1e05a7e74bf2598a06a27fdaf22dc769': compiler.cppstd=gnu14
harfbuzz/8.3.0: '8febe41e8425d8845c92a575b8c192b187804540': compiler.cppstd=gnu17
harfbuzz/8.3.0: '92a88e6ceff132f0ac0108a37ddbfb58e59a1f7a': compiler.cppstd=20
harfbuzz/8.3.0: '9e56d347c6b6e678b77841ebdc67e45b7a58b836': compiler.cppstd=gnu20
harfbuzz/8.3.0: 'b543f8020aea02f2dffdde2bfd8272915c7c4a9b': compiler.cppstd=23
harfbuzz/8.3.0: 'ddaa526d46bb6ad1004fcf412e803d6655481191': compiler.cppstd=gnu23
harfbuzz/8.3.0: Checking 3 compatible configurations
harfbuzz/8.3.0: Compatible configurations not found in cache, checking servers
harfbuzz/8.3.0: '72d7c8989764ac8fd7f5f71c1c4828f430e3c03f': compiler.cppstd=17
harfbuzz/8.3.0: '34d75ddaa427717b53510ac0acd1c22c2ea61028': compiler.cppstd=20
harfbuzz/8.3.0: '8f30f112216fb51ad486e448bdd392c44446c0a6': compiler.cppstd=23
ERROR: qt/6.7.0: Error in package_id() method, line 648
del self.info.options.android_sdk
KeyError: 'android_sdk'

@Dashro Dashro added the bug Something isn't working label May 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant