conan-center-index: [package] zlib/1.2.12: failed with clang

Package and Environment Details

  • Package Name/Version: zlib/1.2.12
  • Operating System+version: *Linux Ubuntu 18.04
  • Compiler+version: clang 9
  • Docker image: None
  • Conan version: conan 1.50.0
  • Python version: Python 3.6.13

Conan profile

[settings] arch=armv8 arch_build=x86_64 build_type=Release compiler=clang compiler.libcxx=libc++ compiler.version=9 os=Android os.api_level=29 os_build=Linux [options] [build_requires] *: android-ndk/r21d [env]

Configuration (profile_build): [settings] arch=x86_64 arch_build=x86_64 build_type=Release compiler=gcc compiler.libcxx=libstdc++11 compiler.version=7 os=Linux os_build=Linux [options] [build_requires] [env]

Steps to reproduce

conan create . 1.2.12@_/_--profile:build=default --profile:host=../../profiles/android-armv8-clang9-api29_release.txt

cross building it with clang, the android-armv8-clang9-api29_release.txt:

include(default)
[settings]
arch=armv8
build_type=Release
compiler=clang
compiler.libcxx=libc++
compiler.version=9
os=Android
os.api_level=29

[build_requires]
android-ndk/r21d

[options]

[env]

Logs

zlib/1.2.12@oosto/test: Calling generate() ERROR: zlib/1.2.12: Error in generate() method, line 67 tc.generate() ConanException: ‘settings.compiler.libcxx’ doesn’t exist for ‘clang’ ‘settings.compiler’ possible configurations are [‘runtime’, ‘version’]

About this issue

  • Original URL
  • State: open
  • Created 2 years ago
  • Comments: 15 (10 by maintainers)

Most upvoted comments

@SirCosty Could explain better the Windows scenario? Are you trying to cross-compile from Windows to Linux-ARM?

No @uilianries On Windows I build for Windows and on Linux I build for Linux and Arm

But now I make more tests to can submit a more detailed case

Mainly my error is not related with this error just that was introduced by latest updates to the conan-center-index for zlib

Only was trying to let the peoples know that some else might be broken too

@hsuanguo For all versions listed in the current config.yml, as that PR did change anything related to supported versions: https://github.com/conan-io/conan-center-index/blob/master/recipes/android-ndk/config.yml