conan-io / conan-center-index

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

[package] icu/68.2 and libiconv/1.7 configure fails: on clang x86_64 to aarch64 cross-compilation needs -ldeflate for compiler check #5271

Closed cguentherTUChemnitz closed 2 months ago

cguentherTUChemnitz commented 3 years ago

This breaks implicitly the cross-compile versions of boost using clang, since boost needs at least one i18n_backend. Either icu or libiconv. Referencing libdeflate as conan dependency does not solve this problem on toplevel, since the compiler-check does not use the conan package path of the libdeflate.

Package and Environment Details (include every applicable attribute)

Conan profile (output of conan profile show default or conan profile show <profile> if custom profile is in use)

LLVM_PATH="/usr/lib/llvm-12/bin"
triple=aarch64-linux-gnu
target=aarch64-linux-gnu

HARDWARE_FLAGS="-march=armv8-a -mcpu=cortex-a72+crypto+fp+simd -mfpu=crypto-neon-fp-armv8 -mfloat-abi=hard -mcrc"
INCLUDE_FLAGS="-I/usr/aarch64-linux-gnu/include/c++/10/aarch64-linux-gnu/ -I/usr/aarch64-linux-gnu/include"
COMPILER_INCLUDE_PATH="/usr/aarch64-linux-gnu/include/c++/10/aarch64-linux-gnu/,/usr/aarch64-linux-gnu/include/"

[settings]
os_build=Linux
arch_build=x86_64
os=Linux
arch=armv8
os_target=Linux
arch_target=armv8
compiler=clang
compiler.version=12
compiler.libcxx=libstdc++11
compiler.cppstd=17

[env]
CC=$LLVM_PATH/clang
CXX=$LLVM_PATH/clang++

AR=/usr/bin/$triple-ar
LINKER=/usr/bin/$triple-ld
LD=/usr/bin/$triple-ld
NM=/usr/bin/$triple-nm
OBJDUMP=/usr/bin/$triple-objdump
RANLIB=/usr/bin/$triple-ranlib
STRIP=/usr/bin/$triple-strip
AS=/usr/bin/$triple-as
RC=/usr/bin/$triple-rc

CPPFLAGS="$INCLUDE_FLAGS -stdlib=libstdc++11 --target=$target $HARDWARE_FLAGS"
CXXFLAGS="$INCLUDE_FLAGS -stdlib=libstdc++11 --target=$target $HARDWARE_FLAGS"
CFLAGS="$INCLUDE_FLAGS -stdlib=libstdc++11 --target=$target $HARDWARE_FLAGS"
LDFLAGS="-stdlib=libstdc++11 --target=$target $HARDWARE_FLAGS"

CPATH="$COMPILER_INCLUDE_PATH"
C_INCLUDE_PATH="$COMPILER_INCLUDE_PATH"
CPLUS_INCLUDE_PATH="$COMPILER_INCLUDE_PATH"

Steps to reproduce (Include if Applicable)

Logs (Include/Attach if Applicable)

icu config.log ``` This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by ICU configure 68.2, which was generated by GNU Autoconf 2.69. Invocation command line was $ ../source//configure --prefix=/home/build-user/.conan/data/icu/68.2/_/_/package/10a520e487c88750a182f8aa4c41962a02e9a484 --with-library-bits=64 --disable-samples --disable-layout --disable-layoutex --disable-extras --build=x86_64-linux-gnu --host=aarch64-linux-gnu --with-data-packaging=archive --datarootdir=/home/build-user/.conan/data/icu/68.2/_/_/package/10a520e487c88750a182f8aa4c41962a02e9a484/lib --sbindir=/home/build-user/.conan/data/icu/68.2/_/_/package/10a520e487c88750a182f8aa4c41962a02e9a484/bin --libdir=/home/build-user/.conan/data/icu/68.2/_/_/package/10a520e487c88750a182f8aa4c41962a02e9a484/lib --enable-static --disable-shared --disable-tests ## --------- ## ## Platform. ## ## --------- ## hostname = f9ee68193a4d uname -m = x86_64 uname -r = 5.11.15-AMD uname -s = Linux uname -v = #1 SMP PREEMPT Mon Apr 19 22:18:46 CEST 2021 /usr/bin/uname -p = x86_64 /bin/uname -X = unknown /bin/arch = x86_64 /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown /usr/bin/hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /vscode/vscode-server/bin/x64/3c4e3df9e89829dce27b7b5c24508306b151f30d/bin PATH: /usr/local/sbin PATH: /usr/local/bin PATH: /usr/sbin PATH: /usr/bin PATH: /sbin PATH: /bin PATH: /usr/lib/qt5/bin/ ## ----------- ## ## Core tests. ## ## ----------- ## configure:2694: checking for ICU version numbers configure:2727: result: release 68.2, library 68.2, unicode version 13.0 configure:2766: checking build system type configure:2780: result: x86_64-pc-linux-gnu configure:2800: checking host system type configure:2813: result: aarch64-unknown-linux-gnu configure:2871: checking whether to build debug libraries configure:2883: result: no configure:2888: checking whether to build release libraries configure:2900: result: yes configure:2919: checking for aarch64-linux-gnu-clang configure:2946: result: /usr/lib/llvm-12/bin/clang configure:3021: checking for C compiler version configure:3030: /usr/lib/llvm-12/bin/clang --version >&5 Ubuntu clang version 12.0.0-++rc4-1ubuntu1 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm-12/bin configure:3041: $? = 0 configure:3030: /usr/lib/llvm-12/bin/clang -v >&5 Ubuntu clang version 12.0.0-++rc4-1ubuntu1 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm-12/bin Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/10 Selected GCC installation: /usr/lib/gcc/x86_64-linux-gnu/10 Candidate multilib: .;@m64 Selected multilib: .;@m64 configure:3041: $? = 0 configure:3030: /usr/lib/llvm-12/bin/clang -V >&5 clang: error: argument to '-V' is missing (expected 1 value) clang: error: no input files configure:3041: $? = 1 configure:3030: /usr/lib/llvm-12/bin/clang -qversion >&5 clang: error: unknown argument '-qversion'; did you mean '--version'? clang: error: no input files configure:3041: $? = 1 configure:3061: checking whether the C compiler works configure:3083: /usr/lib/llvm-12/bin/clang -O3 -fPIC -I/usr/aarch64-linux-gnu/include/c++/10/aarch64-linux-gnu/ -I/usr/aarch64-linux-gnu/include -stdlib=libstdc++11 --target=aarch64-linux-gnu -march=armv8-a -mcpu=cortex-a72+crypto+fp+simd -mfpu=crypto-neon-fp-armv8 -mfloat-abi=hard -mcrc -D_GLIBCXX_USE_CXX11_ABI=1 -DU_STATIC_IMPLEMENTATION -I/usr/aarch64-linux-gnu/include/c++/10/aarch64-linux-gnu/ -I/usr/aarch64-linux-gnu/include -stdlib=libstdc++11 --target=aarch64-linux-gnu -march=armv8-a -mcpu=cortex-a72+crypto+fp+simd -mfpu=crypto-neon-fp-armv8 -mfloat-abi=hard -mcrc -stdlib=libstdc++11 --target=aarch64-linux-gnu -march=armv8-a -mcpu=cortex-a72+crypto+fp+simd -mfpu=crypto-neon-fp-armv8 -mfloat-abi=hard -mcrc conftest.c -ldeflate >&5 /usr/bin/aarch64-linux-gnu-ld: cannot find -ldeflate clang: error: linker command failed with exit code 1 (use -v to see invocation) configure:3087: $? = 1 configure:3125: result: no configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "ICU" | #define PACKAGE_TARNAME "International Components for Unicode" | #define PACKAGE_VERSION "68.2" | #define PACKAGE_STRING "ICU 68.2" | #define PACKAGE_BUGREPORT "http://icu-project.org/bugs" | #define PACKAGE_URL "http://icu-project.org" | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:3130: error: in `/home/build-user/.conan/data/icu/68.2/_/_/build/10a520e487c88750a182f8aa4c41962a02e9a484/source_subfolder/build': configure:3132: error: C compiler cannot create executables See `config.log' for more details ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_build=x86_64-pc-linux-gnu ac_cv_env_CCC_set= ac_cv_env_CCC_value= ac_cv_env_CC_set=set ac_cv_env_CC_value=/usr/lib/llvm-12/bin/clang ac_cv_env_CFLAGS_set=set ac_cv_env_CFLAGS_value='-O3 -fPIC -I/usr/aarch64-linux-gnu/include/c++/10/aarch64-linux-gnu/ -I/usr/aarch64-linux-gnu/include -stdlib=libstdc++11 --target=aarch64-linux-gnu -march=armv8-a -mcpu=cortex-a72+crypto+fp+simd -mfpu=crypto-neon-fp-armv8 -mfloat-abi=hard -mcrc' ac_cv_env_CPPFLAGS_set=set ac_cv_env_CPPFLAGS_value='-D_GLIBCXX_USE_CXX11_ABI=1 -DU_STATIC_IMPLEMENTATION -I/usr/aarch64-linux-gnu/include/c++/10/aarch64-linux-gnu/ -I/usr/aarch64-linux-gnu/include -stdlib=libstdc++11 --target=aarch64-linux-gnu -march=armv8-a -mcpu=cortex-a72+crypto+fp+simd -mfpu=crypto-neon-fp-armv8 -mfloat-abi=hard -mcrc' ac_cv_env_CPP_set= ac_cv_env_CPP_value= ac_cv_env_CXXFLAGS_set=set ac_cv_env_CXXFLAGS_value='-O3 -fPIC -stdlib=libstdc++ -std=c++17 -I/usr/aarch64-linux-gnu/include/c++/10/aarch64-linux-gnu/ -I/usr/aarch64-linux-gnu/include -stdlib=libstdc++11 --target=aarch64-linux-gnu -march=armv8-a -mcpu=cortex-a72+crypto+fp+simd -mfpu=crypto-neon-fp-armv8 -mfloat-abi=hard -mcrc' ac_cv_env_CXX_set=set ac_cv_env_CXX_value=/usr/lib/llvm-12/bin/clang++ ac_cv_env_ICULEHB_CFLAGS_set= ac_cv_env_ICULEHB_CFLAGS_value= ac_cv_env_ICULEHB_LIBS_set= ac_cv_env_ICULEHB_LIBS_value= ac_cv_env_LDFLAGS_set=set ac_cv_env_LDFLAGS_value='-stdlib=libstdc++11 --target=aarch64-linux-gnu -march=armv8-a -mcpu=cortex-a72+crypto+fp+simd -mfpu=crypto-neon-fp-armv8 -mfloat-abi=hard -mcrc' ac_cv_env_LIBS_set=set ac_cv_env_LIBS_value=-ldeflate ac_cv_env_PKG_CONFIG_LIBDIR_set= ac_cv_env_PKG_CONFIG_LIBDIR_value= ac_cv_env_PKG_CONFIG_PATH_set= ac_cv_env_PKG_CONFIG_PATH_value= ac_cv_env_PKG_CONFIG_set= ac_cv_env_PKG_CONFIG_value= ac_cv_env_build_alias_set=set ac_cv_env_build_alias_value=x86_64-linux-gnu ac_cv_env_host_alias_set=set ac_cv_env_host_alias_value=aarch64-linux-gnu ac_cv_env_target_alias_set= ac_cv_env_target_alias_value= ac_cv_host=aarch64-unknown-linux-gnu ac_cv_prog_CC=/usr/lib/llvm-12/bin/clang ## ----------------- ## ## Output variables. ## ## ----------------- ## AR='/usr/bin/aarch64-linux-gnu-ar' ARFLAGS='' CC='/usr/lib/llvm-12/bin/clang' CFLAGS='-O3 -fPIC -I/usr/aarch64-linux-gnu/include/c++/10/aarch64-linux-gnu/ -I/usr/aarch64-linux-gnu/include -stdlib=libstdc++11 --target=aarch64-linux-gnu -march=armv8-a -mcpu=cortex-a72+crypto+fp+simd -mfpu=crypto-neon-fp-armv8 -mfloat-abi=hard -mcrc' COMPILE_LINK_ENVVAR='' CPP='' CPPFLAGS='-D_GLIBCXX_USE_CXX11_ABI=1 -DU_STATIC_IMPLEMENTATION -I/usr/aarch64-linux-gnu/include/c++/10/aarch64-linux-gnu/ -I/usr/aarch64-linux-gnu/include -stdlib=libstdc++11 --target=aarch64-linux-gnu -march=armv8-a -mcpu=cortex-a72+crypto+fp+simd -mfpu=crypto-neon-fp-armv8 -mfloat-abi=hard -mcrc' CXX='/usr/lib/llvm-12/bin/clang++' CXXFLAGS='-O3 -fPIC -stdlib=libstdc++ -std=c++17 -I/usr/aarch64-linux-gnu/include/c++/10/aarch64-linux-gnu/ -I/usr/aarch64-linux-gnu/include -stdlib=libstdc++11 --target=aarch64-linux-gnu -march=armv8-a -mcpu=cortex-a72+crypto+fp+simd -mfpu=crypto-neon-fp-armv8 -mfloat-abi=hard -mcrc' DATA_PACKAGING_MODE='' DATA_TRUE='' DEFS='' DOXYGEN='' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='' ENABLE_DEBUG='0' ENABLE_RELEASE='1' ENABLE_RPATH='' ENABLE_SHARED='' ENABLE_STATIC='' EXEEXT='' EXTRAS_TRUE='' FUZZER_TRUE='' GENCCODE_ASSEMBLY='' GREP='' HAVE_MMAP='' ICUDATA_CHAR='' ICUIO_TRUE='' ICULEHB_CFLAGS='' ICULEHB_LIBS='' ICULIBSUFFIX='' ICULIBSUFFIXCNAME='' ICU_ECHO_C='' ICU_ECHO_N='-n' ICU_ECHO_T='' INSTALL_DATA='' INSTALL_ICU_CONFIG='true' INSTALL_PROGRAM='' INSTALL_SCRIPT='' LAYOUTEX_TRUE='' LDFLAGS='-stdlib=libstdc++11 --target=aarch64-linux-gnu -march=armv8-a -mcpu=cortex-a72+crypto+fp+simd -mfpu=crypto-neon-fp-armv8 -mfloat-abi=hard -mcrc' LIBCFLAGS='' LIBCXXFLAGS='' LIBOBJS='' LIBS='-ldeflate' LIB_M='' LIB_THREAD='' LIB_VERSION='68.2' LIB_VERSION_MAJOR='68' LTLIBOBJS='' OBJEXT='' PACKAGE='icu' PACKAGE_BUGREPORT='http://icu-project.org/bugs' PACKAGE_NAME='ICU' PACKAGE_STRING='ICU 68.2' PACKAGE_TARNAME='International Components for Unicode' PACKAGE_URL='http://icu-project.org' PACKAGE_VERSION='68.2' PATH_SEPARATOR=':' PKG_CONFIG='' PKG_CONFIG_LIBDIR='' PKG_CONFIG_PATH='' PLUGINS_TRUE='' PYTHON='' RANLIB='/usr/bin/aarch64-linux-gnu-ranlib' SAMPLES_TRUE='' SED='' SHELL='/bin/bash' TESTS_TRUE='' TOOLS_TRUE='' UCLN_NO_AUTO_CLEANUP='' UCONFIG_CFLAGS='' UCONFIG_CPPFLAGS='' UCONFIG_CXXFLAGS='' UNICODE_VERSION='13.0' U_DEFAULT_SHOW_DRAFT='' U_DISABLE_RENAMING='' U_ENABLE_DYLOAD='' U_ENABLE_TRACING='' U_HAVE_DATA='' U_HAVE_DIRENT_H='' U_HAVE_EXTRAS='' U_HAVE_FUZZER='' U_HAVE_ICUIO='' U_HAVE_INTTYPES_H='' U_HAVE_LAYOUTEX='' U_HAVE_LIB_SUFFIX='' U_HAVE_NL_LANGINFO_CODESET='' U_HAVE_PLACEMENT_NEW='' U_HAVE_PLUGINS='' U_HAVE_POPEN='' U_HAVE_SAMPLES='' U_HAVE_STRTOD_L='' U_HAVE_TESTS='' U_HAVE_TIMEZONE='' U_HAVE_TOOLS='' U_HAVE_TZNAME='' U_HAVE_TZSET='' U_HAVE_WCHAR_H='' U_HAVE_WCSCPY='' U_IS_BIG_ENDIAN='' U_MAKE='' U_NL_LANGINFO_CODESET='' U_OVERRIDE_CXX_ALLOCATION='' U_TIMEZONE='' U_TZNAME='' U_TZSET='' VERSION='68.2' ac_ct_CC='' ac_ct_CXX='' bindir='${exec_prefix}/bin' build='x86_64-pc-linux-gnu' build_alias='x86_64-linux-gnu' build_cpu='x86_64' build_os='linux-gnu' build_vendor='pc' cross_buildroot='' cross_compiling='yes' datadir='${datarootdir}' datarootdir='/home/build-user/.conan/data/icu/68.2/_/_/package/10a520e487c88750a182f8aa4c41962a02e9a484/lib' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' dvidir='${docdir}' exec_prefix='NONE' host='aarch64-unknown-linux-gnu' host_alias='aarch64-linux-gnu' host_cpu='aarch64' host_os='linux-gnu' host_vendor='unknown' htmldir='${docdir}' includedir='${prefix}/include' infodir='${datarootdir}/info' libdir='/home/build-user/.conan/data/icu/68.2/_/_/package/10a520e487c88750a182f8aa4c41962a02e9a484/lib' libexecdir='${exec_prefix}/libexec' localedir='${datarootdir}/locale' localstatedir='${prefix}/var' mandir='${datarootdir}/man' oldincludedir='/usr/include' pdfdir='${docdir}' pkgicudatadir='' platform='' platform_make_fragment='' platform_make_fragment_name='' prefix='/home/build-user/.conan/data/icu/68.2/_/_/package/10a520e487c88750a182f8aa4c41962a02e9a484' program_transform_name='s,x,x,' psdir='${docdir}' sbindir='/home/build-user/.conan/data/icu/68.2/_/_/package/10a520e487c88750a182f8aa4c41962a02e9a484/bin' sharedstatedir='${prefix}/com' sysconfdir='${prefix}/etc' target_alias='' thepkgicudatadir='' ## ----------- ## ## confdefs.h. ## ## ----------- ## /* confdefs.h */ #define PACKAGE_NAME "ICU" #define PACKAGE_TARNAME "International Components for Unicode" #define PACKAGE_VERSION "68.2" #define PACKAGE_STRING "ICU 68.2" #define PACKAGE_BUGREPORT "http://icu-project.org/bugs" #define PACKAGE_URL "http://icu-project.org" configure: exit 77 ```

Logs (Include/Attach if Applicable)

libiconv config.log ``` This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by libiconv configure 1.16, which was generated by GNU Autoconf 2.69. Invocation command line was $ ./configure --enable-static --disable-shared --prefix=/home/build-user/.conan/data/libiconv/1.16/_/_/package/a912c88b9dd1c304f719188a6c6186ea001183e9 --bindir=${prefix}/bin --sbindir=${prefix}/bin --libexecdir=${prefix}/bin --libdir=${prefix}/lib --includedir=${prefix}/include --oldincludedir=${prefix}/include --datarootdir=${prefix}/share --build=x86_64-linux-gnu --host=aarch64-linux-gnu ## --------- ## ## Platform. ## ## --------- ## hostname = f9ee68193a4d uname -m = x86_64 uname -r = 5.11.15-AMD uname -s = Linux uname -v = #1 SMP PREEMPT Mon Apr 19 22:18:46 CEST 2021 /usr/bin/uname -p = x86_64 /bin/uname -X = unknown /bin/arch = x86_64 /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown /usr/bin/hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /vscode/vscode-server/bin/x64/3c4e3df9e89829dce27b7b5c24508306b151f30d/bin PATH: /usr/local/sbin PATH: /usr/local/bin PATH: /usr/sbin PATH: /usr/bin PATH: /sbin PATH: /bin PATH: /usr/lib/qt5/bin/ ## ----------- ## ## Core tests. ## ## ----------- ## configure:3276: checking for a BSD-compatible install configure:3344: result: /usr/bin/install -c configure:3355: checking whether build environment is sane configure:3410: result: yes configure:3469: checking for aarch64-linux-gnu-strip configure:3496: result: /usr/bin/aarch64-linux-gnu-strip configure:3561: checking for a thread-safe mkdir -p configure:3600: result: /usr/bin/mkdir -p configure:3607: checking for gawk configure:3637: result: no configure:3607: checking for mawk configure:3623: found /usr/bin/mawk configure:3634: result: mawk configure:3645: checking whether make sets $(MAKE) configure:3667: result: yes configure:3696: checking whether make supports nested variables configure:3713: result: yes configure:3841: checking whether make sets $(MAKE) configure:3863: result: yes configure:3882: checking for aarch64-linux-gnu-gcc configure:3909: result: /usr/lib/llvm-12/bin/clang configure:4178: checking for C compiler version configure:4187: /usr/lib/llvm-12/bin/clang --version >&5 Ubuntu clang version 12.0.0-++rc4-1ubuntu1 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm-12/bin configure:4198: $? = 0 configure:4187: /usr/lib/llvm-12/bin/clang -v >&5 Ubuntu clang version 12.0.0-++rc4-1ubuntu1 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm-12/bin Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/10 Selected GCC installation: /usr/lib/gcc/x86_64-linux-gnu/10 Candidate multilib: .;@m64 Selected multilib: .;@m64 configure:4198: $? = 0 configure:4187: /usr/lib/llvm-12/bin/clang -V >&5 clang: error: argument to '-V' is missing (expected 1 value) clang: error: no input files configure:4198: $? = 1 configure:4187: /usr/lib/llvm-12/bin/clang -qversion >&5 clang: error: unknown argument '-qversion'; did you mean '--version'? clang: error: no input files configure:4198: $? = 1 configure:4218: checking whether the C compiler works configure:4240: /usr/lib/llvm-12/bin/clang -fPIC -I/usr/aarch64-linux-gnu/include/c++/10/aarch64-linux-gnu/ -I/usr/aarch64-linux-gnu/include -stdlib=libstdc++11 --target=aarch64-linux-gnu -march=armv8-a -mcpu=cortex-a72+crypto+fp+simd -mfpu=crypto-neon-fp-armv8 -mfloat-abi=hard -mcrc -I/usr/aarch64-linux-gnu/include/c++/10/aarch64-linux-gnu/ -I/usr/aarch64-linux-gnu/include -stdlib=libstdc++11 --target=aarch64-linux-gnu -march=armv8-a -mcpu=cortex-a72+crypto+fp+simd -mfpu=crypto-neon-fp-armv8 -mfloat-abi=hard -mcrc -stdlib=libstdc++11 --target=aarch64-linux-gnu -march=armv8-a -mcpu=cortex-a72+crypto+fp+simd -mfpu=crypto-neon-fp-armv8 -mfloat-abi=hard -mcrc conftest.c -ldeflate >&5 /usr/bin/aarch64-linux-gnu-ld: cannot find -ldeflate clang: error: linker command failed with exit code 1 (use -v to see invocation) configure:4244: $? = 1 configure:4282: result: no configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "libiconv" | #define PACKAGE_TARNAME "libiconv" | #define PACKAGE_VERSION "1.16" | #define PACKAGE_STRING "libiconv 1.16" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "libiconv" | #define VERSION "1.16" | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:4287: error: in `/home/build-user/.conan/data/libiconv/1.16/_/_/build/a912c88b9dd1c304f719188a6c6186ea001183e9/source_subfolder': configure:4289: error: C compiler cannot create executables See `config.log' for more details ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_env_CC_set=set ac_cv_env_CC_value=/usr/lib/llvm-12/bin/clang ac_cv_env_CFLAGS_set=set ac_cv_env_CFLAGS_value='-fPIC -I/usr/aarch64-linux-gnu/include/c++/10/aarch64-linux-gnu/ -I/usr/aarch64-linux-gnu/include -stdlib=libstdc++11 --target=aarch64-linux-gnu -march=armv8-a -mcpu=cortex-a72+crypto+fp+simd -mfpu=crypto-neon-fp-armv8 -mfloat-abi=hard -mcrc' ac_cv_env_CPPFLAGS_set=set ac_cv_env_CPPFLAGS_value='-I/usr/aarch64-linux-gnu/include/c++/10/aarch64-linux-gnu/ -I/usr/aarch64-linux-gnu/include -stdlib=libstdc++11 --target=aarch64-linux-gnu -march=armv8-a -mcpu=cortex-a72+crypto+fp+simd -mfpu=crypto-neon-fp-armv8 -mfloat-abi=hard -mcrc' ac_cv_env_CPP_set= ac_cv_env_CPP_value= ac_cv_env_LDFLAGS_set=set ac_cv_env_LDFLAGS_value='-stdlib=libstdc++11 --target=aarch64-linux-gnu -march=armv8-a -mcpu=cortex-a72+crypto+fp+simd -mfpu=crypto-neon-fp-armv8 -mfloat-abi=hard -mcrc' ac_cv_env_LIBS_set=set ac_cv_env_LIBS_value=-ldeflate ac_cv_env_LT_SYS_LIBRARY_PATH_set= ac_cv_env_LT_SYS_LIBRARY_PATH_value= ac_cv_env_build_alias_set=set ac_cv_env_build_alias_value=x86_64-linux-gnu ac_cv_env_host_alias_set=set ac_cv_env_host_alias_value=aarch64-linux-gnu ac_cv_env_target_alias_set= ac_cv_env_target_alias_value= ac_cv_path_install='/usr/bin/install -c' ac_cv_path_mkdir=/usr/bin/mkdir ac_cv_prog_AWK=mawk ac_cv_prog_CC=/usr/lib/llvm-12/bin/clang ac_cv_prog_STRIP=/usr/bin/aarch64-linux-gnu-strip ac_cv_prog_make_make_set=yes am_cv_make_support_nested_variables=yes ## ----------------- ## ## Output variables. ## ## ----------------- ## ACLOCAL='${SHELL} /home/build-user/.conan/data/libiconv/1.16/_/_/build/a912c88b9dd1c304f719188a6c6186ea001183e9/source_subfolder/build-aux/missing aclocal-1.16' ALLOCA='' ALLOCA_H='' AMDEPBACKSLASH='' AMDEP_FALSE='' AMDEP_TRUE='' AMTAR='$${TAR-tar}' AM_BACKSLASH='\' AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' AM_DEFAULT_VERBOSITY='1' AM_V='$(V)' APPLE_UNIVERSAL_BUILD='' AR='/usr/bin/aarch64-linux-gnu-ar' ARFLAGS='' AS='/usr/bin/aarch64-linux-gnu-as' ASM_SYMBOL_PREFIX='' AUTOCONF='${SHELL} /home/build-user/.conan/data/libiconv/1.16/_/_/build/a912c88b9dd1c304f719188a6c6186ea001183e9/source_subfolder/build-aux/missing autoconf' AUTOHEADER='${SHELL} /home/build-user/.conan/data/libiconv/1.16/_/_/build/a912c88b9dd1c304f719188a6c6186ea001183e9/source_subfolder/build-aux/missing autoheader' AUTOMAKE='${SHELL} /home/build-user/.conan/data/libiconv/1.16/_/_/build/a912c88b9dd1c304f719188a6c6186ea001183e9/source_subfolder/build-aux/missing automake-1.16' AWK='mawk' BITSIZEOF_PTRDIFF_T='' BITSIZEOF_SIG_ATOMIC_T='' BITSIZEOF_SIZE_T='' BITSIZEOF_WCHAR_T='' BITSIZEOF_WINT_T='' BROKEN_WCHAR_H='' CC='/usr/lib/llvm-12/bin/clang' CCDEPMODE='' CFLAGS='-fPIC -I/usr/aarch64-linux-gnu/include/c++/10/aarch64-linux-gnu/ -I/usr/aarch64-linux-gnu/include -stdlib=libstdc++11 --target=aarch64-linux-gnu -march=armv8-a -mcpu=cortex-a72+crypto+fp+simd -mfpu=crypto-neon-fp-armv8 -mfloat-abi=hard -mcrc' CFLAG_VISIBILITY='' CP='' CPP='' CPPFLAGS='-I/usr/aarch64-linux-gnu/include/c++/10/aarch64-linux-gnu/ -I/usr/aarch64-linux-gnu/include -stdlib=libstdc++11 --target=aarch64-linux-gnu -march=armv8-a -mcpu=cortex-a72+crypto+fp+simd -mfpu=crypto-neon-fp-armv8 -mfloat-abi=hard -mcrc' CYGPATH_W='echo' DEFS='' DEPDIR='' DLLTOOL='' DLL_VARIABLE='' DSYMUTIL='' DUMPBIN='' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='' EILSEQ='' EMULTIHOP_HIDDEN='' EMULTIHOP_VALUE='' ENOLINK_HIDDEN='' ENOLINK_VALUE='' EOVERFLOW_HIDDEN='' EOVERFLOW_VALUE='' ERRNO_H='' EXEEXT='' FGREP='' GETTEXT_MACRO_VERSION='' GL_COND_LIBTOOL_FALSE='' GL_COND_LIBTOOL_TRUE='' GL_GENERATE_ALLOCA_H_FALSE='' GL_GENERATE_ALLOCA_H_TRUE='' GL_GENERATE_ERRNO_H_FALSE='' GL_GENERATE_ERRNO_H_TRUE='' GL_GENERATE_LIMITS_H_FALSE='' GL_GENERATE_LIMITS_H_TRUE='' GL_GENERATE_STDBOOL_H_FALSE='' GL_GENERATE_STDBOOL_H_TRUE='' GL_GENERATE_STDDEF_H_FALSE='' GL_GENERATE_STDDEF_H_TRUE='' GL_GENERATE_STDINT_H_FALSE='' GL_GENERATE_STDINT_H_TRUE='' GMSGFMT='' GMSGFMT_015='' GNULIB_ATOLL='' GNULIB_CALLOC_POSIX='' GNULIB_CANONICALIZE_FILE_NAME='' GNULIB_CHDIR='' GNULIB_CHOWN='' GNULIB_CLOSE='' GNULIB_CTIME='' GNULIB_DPRINTF='' GNULIB_DUP2='' GNULIB_DUP3='' GNULIB_DUP='' GNULIB_ENVIRON='' GNULIB_EUIDACCESS='' GNULIB_EXPLICIT_BZERO='' GNULIB_FACCESSAT='' GNULIB_FCHDIR='' GNULIB_FCHMODAT='' GNULIB_FCHOWNAT='' GNULIB_FCLOSE='' GNULIB_FCNTL='' GNULIB_FDATASYNC='' GNULIB_FDOPEN='' GNULIB_FFLUSH='' GNULIB_FFSL='' GNULIB_FFSLL='' GNULIB_FGETC='' GNULIB_FGETS='' GNULIB_FOPEN='' GNULIB_FPRINTF='' GNULIB_FPRINTF_POSIX='' GNULIB_FPURGE='' GNULIB_FPUTC='' GNULIB_FPUTS='' GNULIB_FREAD='' GNULIB_FREOPEN='' GNULIB_FSCANF='' GNULIB_FSEEK='' GNULIB_FSEEKO='' GNULIB_FSTAT='' GNULIB_FSTATAT='' GNULIB_FSYNC='' GNULIB_FTELL='' GNULIB_FTELLO='' GNULIB_FTRUNCATE='' GNULIB_FUTIMENS='' GNULIB_FWRITE='' GNULIB_GETC='' GNULIB_GETCHAR='' GNULIB_GETCWD='' GNULIB_GETDELIM='' GNULIB_GETDOMAINNAME='' GNULIB_GETDTABLESIZE='' GNULIB_GETGROUPS='' GNULIB_GETHOSTNAME='' GNULIB_GETLINE='' GNULIB_GETLOADAVG='' GNULIB_GETLOGIN='' GNULIB_GETLOGIN_R='' GNULIB_GETPAGESIZE='' GNULIB_GETPASS='' GNULIB_GETSUBOPT='' GNULIB_GETTIMEOFDAY='' GNULIB_GETUSERSHELL='' GNULIB_GRANTPT='' GNULIB_GROUP_MEMBER='' GNULIB_ISATTY='' GNULIB_LCHMOD='' GNULIB_LCHOWN='' GNULIB_LINK='' GNULIB_LINKAT='' GNULIB_LOCALTIME='' GNULIB_LSEEK='' GNULIB_LSTAT='' GNULIB_MALLOC_POSIX='' GNULIB_MBSCASECMP='' GNULIB_MBSCASESTR='' GNULIB_MBSCHR='' GNULIB_MBSCSPN='' GNULIB_MBSLEN='' GNULIB_MBSNCASECMP='' GNULIB_MBSNLEN='' GNULIB_MBSPBRK='' GNULIB_MBSPCASECMP='' GNULIB_MBSRCHR='' GNULIB_MBSSEP='' GNULIB_MBSSPN='' GNULIB_MBSSTR='' GNULIB_MBSTOK_R='' GNULIB_MBTOWC='' GNULIB_MEMCHR='' GNULIB_MEMMEM='' GNULIB_MEMPCPY='' GNULIB_MEMRCHR='' GNULIB_MKDIRAT='' GNULIB_MKDTEMP='' GNULIB_MKFIFO='' GNULIB_MKFIFOAT='' GNULIB_MKNOD='' GNULIB_MKNODAT='' GNULIB_MKOSTEMP='' GNULIB_MKOSTEMPS='' GNULIB_MKSTEMP='' GNULIB_MKSTEMPS='' GNULIB_MKTIME='' GNULIB_NANOSLEEP='' GNULIB_NONBLOCKING='' GNULIB_OBSTACK_PRINTF='' GNULIB_OBSTACK_PRINTF_POSIX='' GNULIB_OPEN='' GNULIB_OPENAT='' GNULIB_OVERRIDES_STRUCT_STAT='' GNULIB_OVERRIDES_WINT_T='' GNULIB_PCLOSE='' GNULIB_PERROR='' GNULIB_PIPE2='' GNULIB_PIPE='' GNULIB_POPEN='' GNULIB_POSIX_OPENPT='' GNULIB_PREAD='' GNULIB_PRINTF='' GNULIB_PRINTF_POSIX='' GNULIB_PTHREAD_SIGMASK='' GNULIB_PTSNAME='' GNULIB_PTSNAME_R='' GNULIB_PUTC='' GNULIB_PUTCHAR='' GNULIB_PUTENV='' GNULIB_PUTS='' GNULIB_PWRITE='' GNULIB_QSORT_R='' GNULIB_RAISE='' GNULIB_RANDOM='' GNULIB_RANDOM_R='' GNULIB_RAWMEMCHR='' GNULIB_READ='' GNULIB_READLINK='' GNULIB_READLINKAT='' GNULIB_REALLOCARRAY='' GNULIB_REALLOC_POSIX='' GNULIB_REALPATH='' GNULIB_REMOVE='' GNULIB_RENAME='' GNULIB_RENAMEAT='' GNULIB_RMDIR='' GNULIB_RPMATCH='' GNULIB_SCANF='' GNULIB_SECURE_GETENV='' GNULIB_SETENV='' GNULIB_SETHOSTNAME='' GNULIB_SIGACTION='' GNULIB_SIGNAL_H_SIGPIPE='' GNULIB_SIGPROCMASK='' GNULIB_SLEEP='' GNULIB_SNPRINTF='' GNULIB_SPRINTF_POSIX='' GNULIB_STAT='' GNULIB_STDIO_H_NONBLOCKING='' GNULIB_STDIO_H_SIGPIPE='' GNULIB_STPCPY='' GNULIB_STPNCPY='' GNULIB_STRCASESTR='' GNULIB_STRCHRNUL='' GNULIB_STRDUP='' GNULIB_STRERROR='' GNULIB_STRERROR_R='' GNULIB_STRFTIME='' GNULIB_STRNCAT='' GNULIB_STRNDUP='' GNULIB_STRNLEN='' GNULIB_STRPBRK='' GNULIB_STRPTIME='' GNULIB_STRSEP='' GNULIB_STRSIGNAL='' GNULIB_STRSTR='' GNULIB_STRTOD='' GNULIB_STRTOK_R='' GNULIB_STRTOLD='' GNULIB_STRTOLL='' GNULIB_STRTOULL='' GNULIB_STRVERSCMP='' GNULIB_SYMLINK='' GNULIB_SYMLINKAT='' GNULIB_SYSTEM_POSIX='' GNULIB_TIMEGM='' GNULIB_TIME_R='' GNULIB_TIME_RZ='' GNULIB_TMPFILE='' GNULIB_TRUNCATE='' GNULIB_TTYNAME_R='' GNULIB_TZSET='' GNULIB_UNISTD_H_NONBLOCKING='' GNULIB_UNISTD_H_SIGPIPE='' GNULIB_UNLINK='' GNULIB_UNLINKAT='' GNULIB_UNLOCKPT='' GNULIB_UNSETENV='' GNULIB_USLEEP='' GNULIB_UTIMENSAT='' GNULIB_VASPRINTF='' GNULIB_VDPRINTF='' GNULIB_VFPRINTF='' GNULIB_VFPRINTF_POSIX='' GNULIB_VFSCANF='' GNULIB_VPRINTF='' GNULIB_VPRINTF_POSIX='' GNULIB_VSCANF='' GNULIB_VSNPRINTF='' GNULIB_VSPRINTF_POSIX='' GNULIB_WCTOMB='' GNULIB_WRITE='' GNULIB__EXIT='' GREP='' HAVE_ATOLL='' HAVE_C99_STDINT_H='' HAVE_CANONICALIZE_FILE_NAME='' HAVE_CHOWN='' HAVE_DECL_ENVIRON='' HAVE_DECL_FCHDIR='' HAVE_DECL_FDATASYNC='' HAVE_DECL_FPURGE='' HAVE_DECL_FSEEKO='' HAVE_DECL_FTELLO='' HAVE_DECL_GETDELIM='' HAVE_DECL_GETDOMAINNAME='' HAVE_DECL_GETLINE='' HAVE_DECL_GETLOADAVG='' HAVE_DECL_GETLOGIN='' HAVE_DECL_GETLOGIN_R='' HAVE_DECL_GETPAGESIZE='' HAVE_DECL_GETUSERSHELL='' HAVE_DECL_INITSTATE='' HAVE_DECL_LOCALTIME_R='' HAVE_DECL_MEMMEM='' HAVE_DECL_MEMRCHR='' HAVE_DECL_OBSTACK_PRINTF='' HAVE_DECL_SETENV='' HAVE_DECL_SETHOSTNAME='' HAVE_DECL_SETSTATE='' HAVE_DECL_SNPRINTF='' HAVE_DECL_STRDUP='' HAVE_DECL_STRERROR_R='' HAVE_DECL_STRNDUP='' HAVE_DECL_STRNLEN='' HAVE_DECL_STRSIGNAL='' HAVE_DECL_STRTOK_R='' HAVE_DECL_TRUNCATE='' HAVE_DECL_TTYNAME_R='' HAVE_DECL_UNSETENV='' HAVE_DECL_VSNPRINTF='' HAVE_DPRINTF='' HAVE_DUP2='' HAVE_DUP3='' HAVE_EUIDACCESS='' HAVE_EXPLICIT_BZERO='' HAVE_FACCESSAT='' HAVE_FCHDIR='' HAVE_FCHMODAT='' HAVE_FCHOWNAT='' HAVE_FCNTL='' HAVE_FDATASYNC='' HAVE_FFSL='' HAVE_FFSLL='' HAVE_FSEEKO='' HAVE_FSTATAT='' HAVE_FSYNC='' HAVE_FTELLO='' HAVE_FTRUNCATE='' HAVE_FUTIMENS='' HAVE_GETDTABLESIZE='' HAVE_GETGROUPS='' HAVE_GETHOSTNAME='' HAVE_GETLOGIN='' HAVE_GETPAGESIZE='' HAVE_GETPASS='' HAVE_GETSUBOPT='' HAVE_GRANTPT='' HAVE_GROUP_MEMBER='' HAVE_INITSTATE='' HAVE_INTTYPES_H='' HAVE_LCHMOD='' HAVE_LCHOWN='' HAVE_LINK='' HAVE_LINKAT='' HAVE_LONG_LONG_INT='' HAVE_LSTAT='' HAVE_MAX_ALIGN_T='' HAVE_MBSLEN='' HAVE_MBTOWC='' HAVE_MEMCHR='' HAVE_MEMPCPY='' HAVE_MKDIRAT='' HAVE_MKDTEMP='' HAVE_MKFIFO='' HAVE_MKFIFOAT='' HAVE_MKNOD='' HAVE_MKNODAT='' HAVE_MKOSTEMP='' HAVE_MKOSTEMPS='' HAVE_MKSTEMP='' HAVE_MKSTEMPS='' HAVE_MSVC_INVALID_PARAMETER_HANDLER='' HAVE_NANOSLEEP='' HAVE_OPENAT='' HAVE_OS_H='' HAVE_PCLOSE='' HAVE_PIPE2='' HAVE_PIPE='' HAVE_POPEN='' HAVE_POSIX_OPENPT='' HAVE_POSIX_SIGNALBLOCKING='' HAVE_PREAD='' HAVE_PTHREAD_SIGMASK='' HAVE_PTSNAME='' HAVE_PTSNAME_R='' HAVE_PWRITE='' HAVE_QSORT_R='' HAVE_RAISE='' HAVE_RANDOM='' HAVE_RANDOM_H='' HAVE_RANDOM_R='' HAVE_RAWMEMCHR='' HAVE_READLINK='' HAVE_READLINKAT='' HAVE_REALLOCARRAY='' HAVE_REALPATH='' HAVE_RENAMEAT='' HAVE_RPMATCH='' HAVE_SECURE_GETENV='' HAVE_SETENV='' HAVE_SETHOSTNAME='' HAVE_SETSTATE='' HAVE_SIGACTION='' HAVE_SIGHANDLER_T='' HAVE_SIGINFO_T='' HAVE_SIGNED_SIG_ATOMIC_T='' HAVE_SIGNED_WCHAR_T='' HAVE_SIGNED_WINT_T='' HAVE_SIGSET_T='' HAVE_SLEEP='' HAVE_STDINT_H='' HAVE_STPCPY='' HAVE_STPNCPY='' HAVE_STRCASESTR='' HAVE_STRCHRNUL='' HAVE_STRPBRK='' HAVE_STRPTIME='' HAVE_STRSEP='' HAVE_STRTOD='' HAVE_STRTOLD='' HAVE_STRTOLL='' HAVE_STRTOULL='' HAVE_STRUCT_RANDOM_DATA='' HAVE_STRUCT_SIGACTION_SA_SIGACTION='' HAVE_STRVERSCMP='' HAVE_SYMLINK='' HAVE_SYMLINKAT='' HAVE_SYS_BITYPES_H='' HAVE_SYS_INTTYPES_H='' HAVE_SYS_LOADAVG_H='' HAVE_SYS_PARAM_H='' HAVE_SYS_TYPES_H='' HAVE_TIMEGM='' HAVE_TIMEZONE_T='' HAVE_TYPE_VOLATILE_SIG_ATOMIC_T='' HAVE_TZSET='' HAVE_UNISTD_H='' HAVE_UNLINKAT='' HAVE_UNLOCKPT='' HAVE_UNSIGNED_LONG_LONG_INT='' HAVE_USLEEP='' HAVE_UTIMENSAT='' HAVE_VASPRINTF='' HAVE_VDPRINTF='' HAVE_VISIBILITY='' HAVE_WCHAR_H='' HAVE_WCHAR_T='' HAVE_WINSOCK2_H='' HAVE__BOOL='' HAVE__EXIT='' ICONV_CONST='' INCLUDE_NEXT='' INCLUDE_NEXT_AS_FIRST_DIRECTIVE='' INSTALL_DATA='${INSTALL} -m 644' INSTALL_PROGRAM='${INSTALL}' INSTALL_PROGRAM_ENV='' INSTALL_SCRIPT='${INSTALL}' INSTALL_STRIP_PROGRAM='$(install_sh) -c -s' INTLLIBS='' INTL_MACOSX_LIBS='' LD='/usr/bin/aarch64-linux-gnu-ld' LDFLAGS='-stdlib=libstdc++11 --target=aarch64-linux-gnu -march=armv8-a -mcpu=cortex-a72+crypto+fp+simd -mfpu=crypto-neon-fp-armv8 -mfloat-abi=hard -mcrc' LIBICONV='' LIBICRT_LIBDEPS='' LIBICRT_LTLIBDEPS='' LIBINTL='' LIBOBJS='' LIBS='-ldeflate' LIBTOOL='' LIBUNISTRING_COMPILE_UNIWIDTH_WIDTH_FALSE='' LIBUNISTRING_COMPILE_UNIWIDTH_WIDTH_TRUE='' LIBUNISTRING_UNITYPES_H='' LIBUNISTRING_UNIWIDTH_H='' LIMITS_H='' LIPO='' LN='' LN_S='' LTLIBICONV='' LTLIBINTL='' LTLIBOBJS='' LT_SYS_LIBRARY_PATH='' MAKEINFO='${SHELL} /home/build-user/.conan/data/libiconv/1.16/_/_/build/a912c88b9dd1c304f719188a6c6186ea001183e9/source_subfolder/build-aux/missing makeinfo' MANIFEST_TOOL='' MKDIR_P='/usr/bin/mkdir -p' MSGFMT='' MSGFMT_015='' MSGMERGE='' NEXT_AS_FIRST_DIRECTIVE_ERRNO_H='' NEXT_AS_FIRST_DIRECTIVE_FCNTL_H='' NEXT_AS_FIRST_DIRECTIVE_LIMITS_H='' NEXT_AS_FIRST_DIRECTIVE_SIGNAL_H='' NEXT_AS_FIRST_DIRECTIVE_STDDEF_H='' NEXT_AS_FIRST_DIRECTIVE_STDINT_H='' NEXT_AS_FIRST_DIRECTIVE_STDIO_H='' NEXT_AS_FIRST_DIRECTIVE_STDLIB_H='' NEXT_AS_FIRST_DIRECTIVE_STRING_H='' NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H='' NEXT_AS_FIRST_DIRECTIVE_SYS_TYPES_H='' NEXT_AS_FIRST_DIRECTIVE_TIME_H='' NEXT_AS_FIRST_DIRECTIVE_UNISTD_H='' NEXT_ERRNO_H='' NEXT_FCNTL_H='' NEXT_LIMITS_H='' NEXT_SIGNAL_H='' NEXT_STDDEF_H='' NEXT_STDINT_H='' NEXT_STDIO_H='' NEXT_STDLIB_H='' NEXT_STRING_H='' NEXT_SYS_STAT_H='' NEXT_SYS_TYPES_H='' NEXT_TIME_H='' NEXT_UNISTD_H='' NM='/usr/bin/aarch64-linux-gnu-nm' NMEDIT='' OBJDUMP='/usr/bin/aarch64-linux-gnu-objdump' OBJEXT='' OTOOL64='' OTOOL='' PACKAGE='libiconv' PACKAGE_BUGREPORT='' PACKAGE_NAME='libiconv' PACKAGE_STRING='libiconv 1.16' PACKAGE_TARNAME='libiconv' PACKAGE_URL='' PACKAGE_VERSION='1.16' PATH_SEPARATOR=':' POSUB='' PRAGMA_COLUMNS='' PRAGMA_SYSTEM_HEADER='' PTHREAD_H_DEFINES_STRUCT_TIMESPEC='' PTRDIFF_T_SUFFIX='' RANLIB='/usr/bin/aarch64-linux-gnu-ranlib' RC='/usr/bin/aarch64-linux-gnu-rc' RELOCATABLE='' RELOCATABLE_BUILD_DIR='' RELOCATABLE_CONFIG_H_DIR='' RELOCATABLE_LDFLAGS='' RELOCATABLE_LIBRARY_PATH='' RELOCATABLE_SRC_DIR='' RELOCATABLE_STRIP='' RELOCATABLE_VIA_LD_FALSE='' RELOCATABLE_VIA_LD_TRUE='' RELOCATABLE_VIA_WRAPPER_FALSE='' RELOCATABLE_VIA_WRAPPER_TRUE='' REPLACE_CALLOC='' REPLACE_CANONICALIZE_FILE_NAME='' REPLACE_CHOWN='' REPLACE_CLOSE='' REPLACE_CTIME='' REPLACE_DPRINTF='' REPLACE_DUP2='' REPLACE_DUP='' REPLACE_FACCESSAT='' REPLACE_FCHOWNAT='' REPLACE_FCLOSE='' REPLACE_FCNTL='' REPLACE_FDOPEN='' REPLACE_FFLUSH='' REPLACE_FOPEN='' REPLACE_FPRINTF='' REPLACE_FPURGE='' REPLACE_FREOPEN='' REPLACE_FSEEK='' REPLACE_FSEEKO='' REPLACE_FSTAT='' REPLACE_FSTATAT='' REPLACE_FTELL='' REPLACE_FTELLO='' REPLACE_FTRUNCATE='' REPLACE_FUTIMENS='' REPLACE_GETCWD='' REPLACE_GETDELIM='' REPLACE_GETDOMAINNAME='' REPLACE_GETDTABLESIZE='' REPLACE_GETGROUPS='' REPLACE_GETLINE='' REPLACE_GETLOGIN_R='' REPLACE_GETPAGESIZE='' REPLACE_GETPASS='' REPLACE_GMTIME='' REPLACE_INITSTATE='' REPLACE_ISATTY='' REPLACE_LCHOWN='' REPLACE_LINK='' REPLACE_LINKAT='' REPLACE_LOCALTIME='' REPLACE_LOCALTIME_R='' REPLACE_LSEEK='' REPLACE_LSTAT='' REPLACE_MALLOC='' REPLACE_MBTOWC='' REPLACE_MEMCHR='' REPLACE_MEMMEM='' REPLACE_MKDIR='' REPLACE_MKFIFO='' REPLACE_MKNOD='' REPLACE_MKSTEMP='' REPLACE_MKTIME='' REPLACE_NANOSLEEP='' REPLACE_NULL='' REPLACE_OBSTACK_PRINTF='' REPLACE_OPEN='' REPLACE_OPENAT='' REPLACE_PERROR='' REPLACE_POPEN='' REPLACE_PREAD='' REPLACE_PRINTF='' REPLACE_PTHREAD_SIGMASK='' REPLACE_PTSNAME='' REPLACE_PTSNAME_R='' REPLACE_PUTENV='' REPLACE_PWRITE='' REPLACE_QSORT_R='' REPLACE_RAISE='' REPLACE_RANDOM='' REPLACE_RANDOM_R='' REPLACE_READ='' REPLACE_READLINK='' REPLACE_READLINKAT='' REPLACE_REALLOC='' REPLACE_REALPATH='' REPLACE_REMOVE='' REPLACE_RENAME='' REPLACE_RENAMEAT='' REPLACE_RMDIR='' REPLACE_SETENV='' REPLACE_SETSTATE='' REPLACE_SLEEP='' REPLACE_SNPRINTF='' REPLACE_SPRINTF='' REPLACE_STAT='' REPLACE_STDIO_READ_FUNCS='' REPLACE_STDIO_WRITE_FUNCS='' REPLACE_STPNCPY='' REPLACE_STRCASESTR='' REPLACE_STRCHRNUL='' REPLACE_STRDUP='' REPLACE_STRERROR='' REPLACE_STRERROR_R='' REPLACE_STRFTIME='' REPLACE_STRNCAT='' REPLACE_STRNDUP='' REPLACE_STRNLEN='' REPLACE_STRSIGNAL='' REPLACE_STRSTR='' REPLACE_STRTOD='' REPLACE_STRTOK_R='' REPLACE_STRTOLD='' REPLACE_SYMLINK='' REPLACE_SYMLINKAT='' REPLACE_TIMEGM='' REPLACE_TMPFILE='' REPLACE_TRUNCATE='' REPLACE_TTYNAME_R='' REPLACE_TZSET='' REPLACE_UNLINK='' REPLACE_UNLINKAT='' REPLACE_UNSETENV='' REPLACE_USLEEP='' REPLACE_UTIMENSAT='' REPLACE_VASPRINTF='' REPLACE_VDPRINTF='' REPLACE_VFPRINTF='' REPLACE_VPRINTF='' REPLACE_VSNPRINTF='' REPLACE_VSPRINTF='' REPLACE_WCTOMB='' REPLACE_WRITE='' SED='' SET_MAKE='' SHELL='/bin/bash' SIG_ATOMIC_T_SUFFIX='' SIZE_T_SUFFIX='' SRCLIBOBJS='' STDBOOL_H='' STDDEF_H='' STDINT_H='' STRIP='/usr/bin/aarch64-linux-gnu-strip' SYS_TIME_H_DEFINES_STRUCT_TIMESPEC='' TIME_H_DEFINES_STRUCT_TIMESPEC='' UNDEFINE_STRTOK_R='' UNISTD_H_DEFINES_STRUCT_TIMESPEC='' UNISTD_H_HAVE_WINSOCK2_H='' UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS='' USE_EXTRA_ENCODINGS='' USE_MBSTATE_T='' USE_NLS='' VERSION='1.16' WCHAR_T_SUFFIX='' WINDOWS_64_BIT_OFF_T='' WINDOWS_64_BIT_ST_SIZE='' WINDOWS_STAT_INODES='' WINDOWS_STAT_TIMESPEC='' WINDRES='' WINT_T_SUFFIX='' WOE32='' WOE32DLL='' XGETTEXT='' XGETTEXT_015='' XGETTEXT_EXTRA_OPTIONS='' ac_ct_AR='' ac_ct_CC='' ac_ct_DUMPBIN='' am__EXEEXT_FALSE='' am__EXEEXT_TRUE='' am__fastdepCC_FALSE='' am__fastdepCC_TRUE='' am__include='' am__isrc='' am__leading_dot='.' am__nodep='' am__quote='' am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' bindir='${prefix}/bin' build='x86_64-linux-gnu' build_alias='x86_64-linux-gnu' build_cpu='' build_os='' build_vendor='' datadir='${datarootdir}' datarootdir='${prefix}/share' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' dvidir='${docdir}' exec_prefix='NONE' gl_LIBOBJS='' gl_LTLIBOBJS='' gltests_LIBOBJS='' gltests_LTLIBOBJS='' gltests_WITNESS='' host='aarch64-linux-gnu' host_alias='aarch64-linux-gnu' host_cpu='' host_os='' host_vendor='' htmldir='${docdir}' includedir='${prefix}/include' infodir='${datarootdir}/info' install_sh='${SHELL} /home/build-user/.conan/data/libiconv/1.16/_/_/build/a912c88b9dd1c304f719188a6c6186ea001183e9/source_subfolder/build-aux/install-sh' libdir='${prefix}/lib' libexecdir='${prefix}/bin' localedir='${datarootdir}/locale' localstatedir='${prefix}/var' mandir='${datarootdir}/man' mkdir_p='$(MKDIR_P)' oldincludedir='${prefix}/include' pdfdir='${docdir}' prefix='/home/build-user/.conan/data/libiconv/1.16/_/_/package/a912c88b9dd1c304f719188a6c6186ea001183e9' program_transform_name='s,x,x,' psdir='${docdir}' sbindir='${prefix}/bin' sharedstatedir='${prefix}/com' subdirs='' sysconfdir='${prefix}/etc' target_alias='' ## ----------- ## ## confdefs.h. ## ## ----------- ## /* confdefs.h */ #define PACKAGE_NAME "libiconv" #define PACKAGE_TARNAME "libiconv" #define PACKAGE_VERSION "1.16" #define PACKAGE_STRING "libiconv 1.16" #define PACKAGE_BUGREPORT "" #define PACKAGE_URL "" #define PACKAGE "libiconv" #define VERSION "1.16" configure: exit 77 ```
cguentherTUChemnitz commented 3 years ago

It seems only to be the problem of missing deflate dependency for those clang cross-compile jobs using configure. When i add manually libdeflate 1.7 from conan-index and hook dirtily its link-path to the jobs by providing it as LIBS env var in conan profile like: LIBS="-L/home/build-user/.conan/data/libdeflate/1.7/_/_/package/a912c88b9dd1c304f719188a6c6186ea001183e9/lib/deflate.a"

then the build-job completes fine for libiconv and boost.

Does anyone have an idea how to hook this deflate lib dependency correctly in the recipies of libiconv and icu?

SpaceIm commented 3 years ago

I don't understand why libdeflate is required for this specific scenario. icu and libiconv don't depend on libdeflate.

cguentherTUChemnitz commented 3 years ago

I find this also very courious. Something seems to inject the value `LIBS='-ldeflate'. This one is present in the configure logs. Maybe even the configure call itself? The best would be to get rid of the -ldeflate entry, but i do not see where this does come from.

SpaceIm commented 3 years ago

At least, I can tell you that there is no deflate string at all in icu 68.2

By the way, you should use 2 profiles for cross compilation.

cguentherTUChemnitz commented 3 years ago

I not able to get rid of the -ldeflate in the configure step. Does anyone has an assumption, why it is there? Is autotools configure is doing this on its own?

It tried now to split the profile into host and build profiles and install them in this way. It produces the same behavior. Additionally it is not sufficient to add libdeflate to [build_requires] in the profile.

Aditionally it is the desired mechanics to set the C(PP/XX)FLAGS with --target for the conan build? I thought conan and the packages should handle themself the detection of the cross-compilation by given arch in build profile. I get really strange behavior here. When i do not set the flags, the configure runs correctly, but the boost package does not correctly determine its target (building x86_64, when arch is armv8) and getting therefor linker errors. But when i set the --target flags boost does recognize correctly the 64bit arm target build, but messes up completely the configure step. It does not find any of the libs proposed by conan (zlib, bzip2, iconv, etc.)

It seems my real concern here is how to cross-compile boost with clang from x86_64 to aarch64. This described problem above is only one breaking try.

Should i change the scope for this ticket, or should i create another one for this boost cross-compile problem?

perseoGI commented 2 months ago

Hi there, I was reviewing old issues and I have come across this one. The icu/68.2 version is no longer supported by Conan Center Index.

I'm closing this issue as this boost recipe has suffer plenty of modifications since this issue was reported, some of them is that by default now, i18n_backend_iconv is libc and i18n_backend_icu is set to False If for some reason the problem remains nowadays, do not hesitate to reopen this issue or create a new ticket with updated information, preferably using conan v2.

Happy coding 🐸