conan-io / conan-center-index

Recipes for the ConanCenter repository
https://conan.io/center
MIT License
918 stars 1.65k forks source link

[question] libmysqlclient/8.1.0 cross compile error #24435

Open renjiangithub opened 4 days ago

renjiangithub commented 4 days ago

What is your problem/feature request?

when I install libmysqlclient/8.1.0 (cross compile) with conan, ERROR

local: ubuntu, x86 target: armv8

ERROR: There are invalid packages:
libmysqlclient/8.1.0: Cannot build for this configuration: Cross compilation not yet supported by the recipe. Contributions are welcomed.

environment:

host profile

[settings]
arch=armv8
build_type=Release
compiler=gcc
compiler.cppstd=gnu17
compiler.libcxx=libstdc++11
compiler.version=9
os=Linux

[buildenv]
CC=aarch64-linux-gnu-gcc
CXX=aarch64-linux-gnu-g++
LD=aarch64-linux-gnu-ld

detailed log

======== Input profiles ========
Profile host:
[settings]
arch=armv8
build_type=Release
compiler=gcc
compiler.cppstd=gnu17
compiler.libcxx=libstdc++11
compiler.version=9
os=Linux
[buildenv]
CC=aarch64-linux-gnu-gcc
CXX=aarch64-linux-gnu-g++
LD=aarch64-linux-gnu-ld

Profile build:
[settings]
arch=x86_64
build_type=Release
compiler=gcc
compiler.cppstd=gnu17
compiler.libcxx=libstdc++11
compiler.version=9
os=Linux

======== Computing dependency graph ========
Graph root
    conanfile.py: /home/.../conanfile.py
Requirements
    libmysqlclient/8.1.0#ecca1993f7ce32371ef5436f3639074a - Cache
    lz4/1.9.4#1217a03c990b79aa34ed0faede18f534 - Cache
    openssl/3.2.2#899583c694f9deccec74dbe0bbc65a15 - Cache
    zlib/1.3.1#f52e03ae3d251dec704634230cd806a2 - Cache
    zstd/1.5.5#b87dc3b185caa4b122979ac4ae8ef7e8 - Cache
Resolved version ranges
    openssl/[>=1.1 <4]: openssl/3.2.2
    zlib/[>=1.2.11 <2]: zlib/1.3.1

======== Computing necessary packages ========
libmysqlclient/8.1.0: Compatible package ID c7a4f09b601d01bddde64a6347f207bf4f6e545a equal to the default package ID: Skipping it.
libmysqlclient/8.1.0: Checking 9 compatible configurations
libmysqlclient/8.1.0: Compatible configurations not found in cache, checking servers
libmysqlclient/8.1.0: 'eeeda4eefea85d49f1ea06f408c53130bde79bbd': compiler.cppstd=98
libmysqlclient/8.1.0: 'e2a6d8f913ee4b3acdb1722d8beae663ab6c0ec5': compiler.cppstd=gnu98
libmysqlclient/8.1.0: '77562a6bdf69a58c72bd1a9b7d3ab9a5d6c03d1c': compiler.cppstd=11
libmysqlclient/8.1.0: '043e58cac095e99dace036b1129aab76cd78c41d': compiler.cppstd=gnu11
libmysqlclient/8.1.0: '1235087638f59b0f4459f2176b917c3caaf70f08': compiler.cppstd=14
libmysqlclient/8.1.0: 'e08e57e67c466dba764ec6984cf3d667002234df': compiler.cppstd=gnu14
libmysqlclient/8.1.0: '287ee351e8b4b68194207db1c70a51d11bbf9049': compiler.cppstd=17
libmysqlclient/8.1.0: '717fafc74bf73bc7bf5d47d576183d608d59cae3': compiler.cppstd=20
libmysqlclient/8.1.0: 'af15627c016dee93a40a66fc9b14dca20b7f8bed': compiler.cppstd=gnu20
Requirements
    libmysqlclient/8.1.0#ecca1993f7ce32371ef5436f3639074a:c7a4f09b601d01bddde64a6347f207bf4f6e545a - Invalid
    lz4/1.9.4#1217a03c990b79aa34ed0faede18f534:ab5ac85ca0c5d76df80df499a3de94ce79aec339#4e6f4a7c7b14b5dc72640b1804141390 - Cache
    openssl/3.2.2#899583c694f9deccec74dbe0bbc65a15:102d2e595a1f97165b63c63eef8d2d50538748ff#db57a91c5a8da646ae979f2a70ddf13b - Cache
    zlib/1.3.1#f52e03ae3d251dec704634230cd806a2:ab5ac85ca0c5d76df80df499a3de94ce79aec339#09158ffa162c22f531bda067019c8f34 - Cache
    zstd/1.5.5#b87dc3b185caa4b122979ac4ae8ef7e8:8e837d7a31c4fa157bcda3515014861b974a04a5#2df5ace8a0551034d15bc63acc4e1064 - Cache
ERROR: There are invalid packages:
libmysqlclient/8.1.0: Cannot build for this configuration: Cross compilation not yet supported by the recipe. Contributions are welcomed.