conan-io / conan-center-index

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

[package] icu/73.2: Builds with Clang instead of GCC when Clang is installed #19340

Open jwillikers opened 1 year ago

jwillikers commented 1 year ago

Description

For some bizarre reason, icu will build with Clang on Linux when Clang is installed on the system instead of GCC. This is despite the fact that the Conan profile specifies GCC.

Package and Environment Details

Conan profile

[settings] os=Linux arch=x86_64 compiler=gcc compiler.version=13 compiler.libc=glibc compiler.libcxx=libstdc++11 compiler.cppstd=20 compiler.libc.version=2.37 build_type=Debug [options] [conf] [build_requires] [env]

Steps to reproduce

conan create . icu/73.2@ --build cascade --build outdated --update

Logs

Click to expand log ``` conan create . icu/73.2@ --build cascade --build outdated --update Exporting package recipe icu/73.2 exports: File 'conandata.yml' found. Exporting it... icu/73.2 exports: Copied 1 '.yml' file: conandata.yml icu/73.2: Calling export_sources() [HOOK - conan-center.py] post_export(): [CONANDATA.YML REDUCE (KB-H031)] Saving conandata.yml: {'sources': {'73.2': {'url': 'https://github.com/unicode-org/icu/releases/download/release-73-2/icu4c-73_2-src.tgz', 'sha256': '818a80712ed3caacd9b652305e01afc7fa167e6f2e94996da44b90c2ab604ce1'}}, 'patches': {'73.2': [{'patch_file': 'patches/0001-69.1-fix-mingw.patch'}]}} [HOOK - conan-center.py] post_export(): [CONANDATA.YML REDUCE (KB-H031)] New conandata.yml contents: patches: '73.2': - patch_file: patches/0001-69.1-fix-mingw.patch sources: '73.2': sha256: 818a80712ed3caacd9b652305e01afc7fa167e6f2e94996da44b90c2ab604ce1 url: https://github.com/unicode-org/icu/releases/download/release-73-2/icu4c-73_2-src.tgz [HOOK - conan-center.py] post_export(): [CONANDATA.YML REDUCE (KB-H031)] OK [HOOK - conan-center.py] post_export(): [DEFAULT SHARED OPTION VALUE (KB-H050)] OK icu/73.2: The stored package has not changed icu/73.2: Using the exported files summary hash as the recipe revision: 7fda454a65a205158299111824a06964 icu/73.2: Exported revision: 7fda454a65a205158299111824a06964 Configuration (profile_host): [settings] arch=x86_64 build_type=Debug compiler=gcc compiler.cppstd=20 compiler.libc=glibc compiler.libc.version=2.37 compiler.libcxx=libstdc++11 compiler.version=13 os=Linux [options] [build_requires] [env] [conf] tools.cmake.cmaketoolchain:find_package_prefer_config=True tools.cmake.cmaketoolchain:generator=Ninja tools.env.virtualenv:auto_use=True tools.system.package_manager:mode=install tools.system.package_manager:sudo=True Configuration (profile_build): [settings] arch=x86_64 build_type=Release compiler=gcc compiler.cppstd=20 compiler.libc=glibc compiler.libc.version=2.37 compiler.libcxx=libstdc++11 compiler.version=13 os=Linux [options] [build_requires] [env] [conf] tools.cmake.cmaketoolchain:find_package_prefer_config=True tools.cmake.cmaketoolchain:generator=Ninja tools.env.virtualenv:auto_use=True tools.system.package_manager:mode=install tools.system.package_manager:sudo=True icu/73.2 (test package): Installing package Requirements icu/73.2 from 'conancenter' - Cache Packages icu/73.2:fe6d7166995aa31495896e1d310e0cc0424d3afd - Build Installing (downloading, building) binaries... [HOOK - conan-center.py] pre_source(): [IMMUTABLE SOURCES (KB-H010)] OK icu/73.2: Configuring sources in /home/jordan/.conan/data/icu/73.2/_/_/source/src Downloading icu4c-73_2-src.tgz completed [25898.35k] icu/73.2: 3.2: icu/73.2: [HOOK - conan-center.py] post_source(): [LIBCXX MANAGEMENT (KB-H011)] OK [HOOK - conan-center.py] post_source(): [CPPSTD MANAGEMENT (KB-H022)] OK [HOOK - conan-center.py] post_source(): [SHORT_PATHS USAGE (KB-H066)] OK icu/73.2: Copying sources to build folder icu/73.2: Building your package in /home/jordan/.conan/data/icu/73.2/_/_/build/fe6d7166995aa31495896e1d310e0cc0424d3afd icu/73.2: Generator txt created conanbuildinfo.txt icu/73.2: Calling generate() icu/73.2: Aggregating env generators [HOOK - conan-center.py] pre_build(): [FPIC MANAGEMENT (KB-H007)] OK. 'fPIC' option found and apparently well managed [HOOK - conan-center.py] pre_build(): [FPIC MANAGEMENT (KB-H007)] OK icu/73.2: Calling build() icu/73.2: Calling: > "/home/jordan/.conan/data/icu/73.2/_/_/build/fe6d7166995aa31495896e1d310e0cc0424d3afd/src/source/configure" '--disable-shared' '--enable-static' '--prefix=/' '--bindir=${prefix}/bin' '--sbindir=${prefix}/bin' '--libdir=${prefix}/lib' '--includedir=${prefix}/include' '--oldincludedir=${prefix}/include' '--datarootdir=${prefix}/lib' '--enable-release=no' '--enable-debug=yes' '--enable-dyload=yes' '--enable-extras=no' '--enable-icuio=yes' '--disable-layoutex' '--disable-layout' '--enable-tools=yes' '--enable-tests=no' '--disable-samples' '--with-library-bits=64' '--with-data-packaging=archive' checking for ICU version numbers... release 73.2, library 73.2, unicode version 15.0 checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking whether to build debug libraries... yes checking whether to build release libraries... no checking for clang... clang checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether clang accepts -g... yes checking for clang option to accept ISO C89... none needed checking for clang++... clang++ checking whether we are using the GNU C++ compiler... yes checking whether clang++ accepts -g... yes checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.20... yes checking for ICULEHB... no checking how to run the C preprocessor... clang -E checking for a BSD-compatible install... /usr/bin/install -c checking for python3... python3 checking for gmake... /usr/bin/gmake checking for doxygen... no checking checking for executable suffix... checking whether strict compiling is on... yes checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking size of void *... 8 checking whether runnable 64 bit binaries are built by default... yes checking which Makefile fragment to use for x86_64-pc-linux-gnu... mh-linux checking for floor in -lm... yes checking whether to build shared libraries... no checking whether to build static libraries... yes checking whether to enable auto cleanup of libraries... no checking whether to enable draft APIs... yes checking for ranlib... ranlib checking for a sed that does not truncate output... /usr/bin/sed checking for ar... ar checking whether to enable renaming of symbols... yes checking whether to enable function and data tracing... no checking elf.h usability... yes checking elf.h presence... yes checking for elf.h... yes checking whether to enable dynamic loading of plugins. Ignored if plugins disabled.... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for library containing dlopen... none required checking for dlopen... yes checking for gettimeofday... yes checking if we have a C++ compiler... Good checking for pthread_attr_init in -lpthread... yes checking for mmap... yes checking for genccode assembly... -a gcc checking for inttypes.h... (cached) yes checking dirent.h usability... yes checking dirent.h presence... yes checking for dirent.h... yes checking whether byte ordering is bigendian... no checking for nl_langinfo... yes checking for nl_langinfo's argument to obtain the codeset... CODESET checking for namespace support... yes checking for properly overriding new and delete... yes checking for placement new and delete... yes checking for popen... yes checking for tzset... yes checking for tzname... yes checking for timezone... yes checking for strtod_l... yes checking xlocale.h usability... no checking xlocale.h presence... no checking for xlocale.h... no checking for std::string_view... yes checking for int8_t... yes checking for uint8_t... yes checking for int16_t... yes checking for uint16_t... yes checking for int32_t... yes checking for uint32_t... yes checking for int64_t... yes checking for uint64_t... yes checking wchar.h usability... yes checking wchar.h presence... yes checking for wchar.h... yes checking for library containing wcscpy... none required checking size of wchar_t... 4 checking for UTF-16 string literal support... available checking for a library suffix to use... none checking whether C++ compiler accepts -Wambiguous-reversed-operator... yes CPPFLAGS= -DU_STATIC_IMPLEMENTATION $(THREADSCPPFLAGS) -DU_DEBUG=1 -DU_HAVE_ELF_H=1 -DU_HAVE_STRTOD_L=1 -DU_HAVE_XLOCALE_H=0 -DU_HAVE_STRING_VIEW=1 CFLAGS= -m64 -fPIC -g -FS -std=c11 -Wall -pedantic -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings $(THREADSCFLAGS) -Qunused-arguments -Wno-parentheses-equality CXXFLAGS= -std=c++20 -m64 -fPIC -g -FS -W -Wall -pedantic -Wpointer-arith -Wwrite-strings -Wno-long-long -Wno-ambiguous-reversed-operator $(THREADSCXXFLAGS) -Qunused-arguments -Wno-parentheses-equality configure: creating ./config.status config.status: creating icudefs.mk config.status: creating Makefile config.status: creating data/pkgdataMakefile config.status: creating config/Makefile.inc config.status: creating config/icu.pc config.status: creating config/pkgdataMakefile config.status: creating data/Makefile config.status: creating stubdata/Makefile config.status: creating common/Makefile config.status: creating i18n/Makefile config.status: creating layoutex/Makefile config.status: creating io/Makefile config.status: creating extra/Makefile config.status: creating extra/uconv/Makefile config.status: creating extra/uconv/pkgdataMakefile config.status: creating extra/scrptrun/Makefile config.status: creating tools/Makefile config.status: creating tools/ctestfw/Makefile config.status: creating tools/toolutil/Makefile config.status: creating tools/makeconv/Makefile config.status: creating tools/genrb/Makefile config.status: creating tools/genccode/Makefile config.status: creating tools/gencmn/Makefile config.status: creating tools/gencnval/Makefile config.status: creating tools/gendict/Makefile config.status: creating tools/gentest/Makefile config.status: creating tools/gennorm2/Makefile config.status: creating tools/genbrk/Makefile config.status: creating tools/gensprep/Makefile config.status: creating tools/icuinfo/Makefile config.status: creating tools/icupkg/Makefile config.status: creating tools/icuswap/Makefile config.status: creating tools/pkgdata/Makefile config.status: creating tools/icuexportdata/Makefile config.status: creating tools/tzcode/Makefile config.status: creating tools/gencfu/Makefile config.status: creating tools/escapesrc/Makefile config.status: creating test/Makefile config.status: creating test/compat/Makefile config.status: creating test/testdata/Makefile config.status: creating test/testdata/pkgdataMakefile config.status: creating test/hdrtst/Makefile config.status: creating test/intltest/Makefile config.status: creating test/cintltst/Makefile config.status: creating test/iotest/Makefile config.status: creating test/letest/Makefile config.status: creating test/perf/Makefile config.status: creating test/perf/collationperf/Makefile config.status: creating test/perf/collperf/Makefile config.status: creating test/perf/collperf2/Makefile config.status: creating test/perf/dicttrieperf/Makefile config.status: creating test/perf/ubrkperf/Makefile config.status: creating test/perf/charperf/Makefile config.status: creating test/perf/convperf/Makefile config.status: creating test/perf/localecanperf/Makefile config.status: creating test/perf/normperf/Makefile config.status: creating test/perf/DateFmtPerf/Makefile config.status: creating test/perf/howExpensiveIs/Makefile config.status: creating test/perf/strsrchperf/Makefile config.status: creating test/perf/unisetperf/Makefile config.status: creating test/perf/usetperf/Makefile config.status: creating test/perf/ustrperf/Makefile config.status: creating test/perf/utfperf/Makefile config.status: creating test/perf/utrie2perf/Makefile config.status: creating test/perf/leperf/Makefile config.status: creating test/fuzzer/Makefile config.status: creating samples/Makefile config.status: creating samples/date/Makefile config.status: creating samples/cal/Makefile config.status: creating samples/layout/Makefile ICU for C/C++ 73.2 is ready to be built. === Important Notes: === Data Packaging: archive This means: ICU data will be stored in a single .dat file. To locate data: ICU will look in //lib/icu/73.2 which is the installation location. Call u_setDataDirectory() or use the ICU_DATA environment variable to override. Building ICU: Use a GNU make such as /usr/bin/gmake to build ICU. checking the version of "/usr/bin/gmake"... 4.4 (we wanted at least 3.80) ok ** Note: Python not found. You will not be able to build data from source or run tests. rebuilding config/icucross.mk cd ./config; \ make -f pkgdataMakefile rebuilding config/icucross.inc rm -rf config/icu-config /usr/bin/install -c /home/jordan/.conan/data/icu/73.2/_/_/build/fe6d7166995aa31495896e1d310e0cc0424d3afd/src/source/config/icu-config-top config/icu-config /bin/sh /home/jordan/.conan/data/icu/73.2/_/_/build/fe6d7166995aa31495896e1d310e0cc0424d3afd/src/source/mkinstalldirs lib /bin/sh /home/jordan/.conan/data/icu/73.2/_/_/build/fe6d7166995aa31495896e1d310e0cc0424d3afd/src/source/mkinstalldirs bin chmod u+w config/icu-config make[1]: Entering directory '/var/home/jordan/.conan/data/icu/73.2/_/_/build/fe6d7166995aa31495896e1d310e0cc0424d3afd/build-debug/config' rm -rf pkgdata.inc LC_ALL=C /usr/bin/sed -f /home/jordan/.conan/data/icu/73.2/_/_/build/fe6d7166995aa31495896e1d310e0cc0424d3afd/src/source/config/make2sh.sed < ./config/Makefile.inc | grep -v '#M#' | uniq >> config/icu-config mkdir lib mkdir bin config/icu-uc.pc updated. config/icu-io.pc updated. config/icu-i18n.pc updated. make[0]: Making `all' in `stubdata' LC_ALL=C /usr/bin/sed -f /home/jordan/.conan/data/icu/73.2/_/_/build/fe6d7166995aa31495896e1d310e0cc0424d3afd/src/source/config/make2sh.sed < /home/jordan/.conan/data/icu/73.2/_/_/build/fe6d7166995aa31495896e1d310e0cc0424d3afd/src/source/config/mh-linux | grep -v '#M#' | uniq >> config/icu-config make[1]: Entering directory '/var/home/jordan/.conan/data/icu/73.2/_/_/build/fe6d7166995aa31495896e1d310e0cc0424d3afd/build-debug/stubdata' cat /home/jordan/.conan/data/icu/73.2/_/_/build/fe6d7166995aa31495896e1d310e0cc0424d3afd/src/source/config/icu-config-bottom >> config/icu-config (deps) /home/jordan/.conan/data/icu/73.2/_/_/build/fe6d7166995aa31495896e1d310e0cc0424d3afd/src/source/stubdata/stubdata.cpp chmod u-w config/icu-config make[1]: Leaving directory '/var/home/jordan/.conan/data/icu/73.2/_/_/build/fe6d7166995aa31495896e1d310e0cc0424d3afd/build-debug/config' Note: rebuild with "make VERBOSE=1 " to show all compiler parameters. clang++ ... /home/jordan/.conan/data/icu/73.2/_/_/build/fe6d7166995aa31495896e1d310e0cc0424d3afd/src/source/stubdata/stubdata.cpp ar r libicudata.a stubdata.ao ar: creating libicudata.a ranlib libicudata.a make[1]: Leaving directory '/var/home/jordan/.conan/data/icu/73.2/_/_/build/fe6d7166995aa31495896e1d310e0cc0424d3afd/build-debug/stubdata' make[0]: Making `all' in `common' make[1]: Entering directory '/var/home/jordan/.conan/data/icu/73.2/_/_/build/fe6d7166995aa31495896e1d310e0cc0424d3afd/build-debug/common' generating ../common/svchook.mk && CONFIG_FILES=common/Makefile CONFIG_HEADERS= /bin/sh ./config.status config.status: creating common/Makefile clang++ ... /home/jordan/.conan/data/icu/73.2/_/_/build/fe6d7166995aa31495896e1d310e0cc0424d3afd/src/source/common/appendable.cpp clang++ ... /home/jordan/.conan/data/icu/73.2/_/_/build/fe6d7166995aa31495896e1d310e0cc0424d3afd/src/source/common/bmpset.cpp clang++ ... /home/jordan/.conan/data/icu/73.2/_/_/build/fe6d7166995aa31495896e1d310e0cc0424d3afd/src/source/common/brkeng.cpp clang++ ... /home/jordan/.conan/data/icu/73.2/_/_/build/fe6d7166995aa31495896e1d310e0cc0424d3afd/src/source/common/brkiter.cpp clang++ ... /home/jordan/.conan/data/icu/73.2/_/_/build/fe6d7166995aa31495896e1d310e0cc0424d3afd/src/source/common/bytesinkutil.cpp clang++ ... /home/jordan/.conan/data/icu/73.2/_/_/build/fe6d7166995aa31495896e1d310e0cc0424d3afd/src/source/common/bytestream.cpp clang++ ... /home/jordan/.conan/data/icu/73.2/_/_/build/fe6d7166995aa31495896e1d310e0cc0424d3afd/src/source/common/bytestrie.cpp clang++ ... /home/jordan/.conan/data/icu/73.2/_/_/build/fe6d7166995aa31495896e1d310e0cc0424d3afd/src/source/common/bytestriebuilder.cpp clang++ ... /home/jordan/.conan/data/icu/73.2/_/_/build/fe6d7166995aa31495896e1d310e0cc0424d3afd/src/source/common/bytestrieiterator.cpp clang++ ... /home/jordan/.conan/data/icu/73.2/_/_/build/fe6d7166995aa31495896e1d310e0cc0424d3afd/src/source/common/caniter.cpp clang++ ... /home/jordan/.conan/data/icu/73.2/_/_/build/fe6d7166995aa31495896e1d310e0cc0424d3afd/src/source/common/characterproperties.cpp clang++ ... /home/jordan/.conan/data/icu/73.2/_/_/build/fe6d7166995aa31495896e1d310e0cc0424d3afd/src/source/common/chariter.cpp clang++ ... /home/jordan/.conan/data/icu/73.2/_/_/build/fe6d7166995aa31495896e1d310e0cc0424d3afd/src/source/common/charstr.cpp clang++ ... /home/jordan/.conan/data/icu/73.2/_/_/build/fe6d7166995aa31495896e1d310e0cc0424d3afd/src/source/common/cmemory.cpp clang++ ... /home/jordan/.conan/data/icu/73.2/_/_/build/fe6d7166995aa31495896e1d310e0cc0424d3afd/src/source/common/cstr.cpp clang++ ... /home/jordan/.conan/data/icu/73.2/_/_/build/fe6d7166995aa31495896e1d310e0cc0424d3afd/src/source/common/cstring.cpp clang++ ... /home/jordan/.conan/data/icu/73.2/_/_/build/fe6d7166995aa31495896e1d310e0cc0424d3afd/src/source/common/cwchar.cpp clang++ ... /home/jordan/.conan/data/icu/73.2/_/_/build/fe6d7166995aa31495896e1d310e0cc0424d3afd/src/source/common/dictbe.cpp clang++ ... /home/jordan/.conan/data/icu/73.2/_/_/build/fe6d7166995aa31495896e1d310e0cc0424d3afd/src/source/common/dictionarydata.cpp clang++ ... /home/jordan/.conan/data/icu/73.2/_/_/build/fe6d7166995aa31495896e1d310e0cc0424d3afd/src/source/common/dtintrv.cpp clang++ ... /home/jordan/.conan/data/icu/73.2/_/_/build/fe6d7166995aa31495896e1d310e0cc0424d3afd/src/source/common/edits.cpp clang++ ... /home/jordan/.conan/data/icu/73.2/_/_/build/fe6d7166995aa31495896e1d310e0cc0424d3afd/src/source/common/emojiprops.cpp clang++ ... /home/jordan/.conan/data/icu/73.2/_/_/build/fe6d7166995aa31495896e1d310e0cc0424d3afd/src/source/common/errorcode.cpp clang++ ... /home/jordan/.conan/data/icu/73.2/_/_/build/fe6d7166995aa31495896e1d310e0cc0424d3afd/src/source/common/filteredbrk.cpp clang++ ... /home/jordan/.conan/data/icu/73.2/_/_/build/fe6d7166995aa31495896e1d310e0cc0424d3afd/src/source/common/filterednormalizer2.cpp clang++ ... /home/jordan/.conan/data/icu/73.2/_/_/build/fe6d7166995aa31495896e1d310e0cc0424d3afd/src/source/common/icudataver.cpp clang++ ... /home/jordan/.conan/data/icu/73.2/_/_/build/fe6d7166995aa31495896e1d310e0cc0424d3afd/src/source/common/icuplug.cpp clang++ ... /home/jordan/.conan/data/icu/73.2/_/_/build/fe6d7166995aa31495896e1d310e0cc0424d3afd/src/source/common/loadednormalizer2impl.cpp clang++ ... /home/jordan/.conan/data/icu/73.2/_/_/build/fe6d7166995aa31495896e1d310e0cc0424d3afd/src/source/common/localebuilder.cpp clang++ ... /home/jordan/.conan/data/icu/73.2/_/_/build/fe6d7166995aa31495896e1d310e0cc0424d3afd/src/source/common/localematcher.cpp clang++ ... /home/jordan/.conan/data/icu/73.2/_/_/build/fe6d7166995aa31495896e1d310e0cc0424d3afd/src/source/common/localeprioritylist.cpp clang++ ... /home/jordan/.conan/data/icu/73.2/_/_/build/fe6d7166995aa31495896e1d310e0cc0424d3afd/src/source/common/locavailable.cpp clang++ ... /home/jordan/.conan/data/icu/73.2/_/_/build/fe6d7166995aa31495896e1d310e0cc0424d3afd/src/source/common/locbased.cpp clang++ ... /home/jordan/.conan/data/icu/73.2/_/_/build/fe6d7166995aa31495896e1d310e0cc0424d3afd/src/source/common/locdispnames.cpp clang++ ... /home/jordan/.conan/data/icu/73.2/_/_/build/fe6d7166995aa31495896e1d310e0cc0424d3afd/src/source/common/locdistance.cpp clang++ ... /home/jordan/.conan/data/icu/73.2/_/_/build/fe6d7166995aa31495896e1d310e0cc0424d3afd/src/source/common/locdspnm.cpp clang++ ... /home/jordan/.conan/data/icu/73.2/_/_/build/fe6d7166995aa31495896e1d310e0cc0424d3afd/src/source/common/locid.cpp clang++ ... /home/jordan/.conan/data/icu/73.2/_/_/build/fe6d7166995aa31495896e1d310e0cc0424d3afd/src/source/common/loclikely.cpp clang++ ... /home/jordan/.conan/data/icu/73.2/_/_/build/fe6d7166995aa31495896e1d310e0cc0424d3afd/src/source/common/loclikelysubtags.cpp clang++ ... /home/jordan/.conan/data/icu/73.2/_/_/build/fe6d7166995aa31495896e1d310e0cc0424d3afd/src/source/common/locmap.cpp clang++ ... /home/jordan/.conan/data/icu/73.2/_/_/build/fe6d7166995aa31495896e1d310e0cc0424d3afd/src/source/common/locresdata.cpp clang++ ... /home/jordan/.conan/data/icu/73.2/_/_/build/fe6d7166995aa31495896e1d310e0cc0424d3afd/src/source/common/locutil.cpp clang++ ... /home/jordan/.conan/data/icu/73.2/_/_/build/fe6d7166995aa31495896e1d310e0cc0424d3afd/src/source/common/lsr.cpp clang++ ... /home/jordan/.conan/data/icu/73.2/_/_/build/fe6d7166995aa31495896e1d310e0cc0424d3afd/src/source/common/lstmbe.cpp clang++ ... /home/jordan/.conan/data/icu/73.2/_/_/build/fe6d7166995aa31495896e1d310e0cc0424d3afd/src/source/common/messagepattern.cpp clang++ ... /home/jordan/.conan/data/icu/73.2/_/_/build/fe6d7166995aa31495896e1d310e0cc0424d3afd/src/source/common/mlbe.cpp clang++ ... /home/jordan/.conan/data/icu/73.2/_/_/build/fe6d7166995aa31495896e1d310e0cc0424d3afd/src/source/common/normalizer2.cpp /usr/bin/install -c -m 644 /home/jordan/.conan/data/icu/73.2/_/_/build/fe6d7166995aa31495896e1d310e0cc0424d3afd/src/source/common/unicode/unistr.h /home/jordan/.conan/data/icu/73.2/_/_/package/fe6d7166995aa31495896e1d310e0cc0424d3afd//include/unicode /usr/bin/install -c -m 644 /home/jordan/.conan/data/icu/73.2/_/_/build/fe6d7166995aa31495896e1d310e0cc0424d3afd/src/source/common/unicode/unorm2.h /home/jordan/.conan/data/icu/73.2/_/_/package/fe6d7166995aa31495896e1d310e0cc0424d3afd//include/unicode /usr/bin/install -c -m 644 /home/jordan/.conan/data/icu/73.2/_/_/build/fe6d7166995aa31495896e1d310e0cc0424d3afd/src/source/common/unicode/unorm.h /home/jordan/.conan/data/icu/73.2/_/_/package/fe6d7166995aa31495896e1d310e0cc0424d3afd/src/source/mkinstalldirs /home/jordan/.conan/data/icu/73.2/_/_/package/fe6d7166995aa31495896e1d310e0cc0424d3afd//bin /usr/bin/install -c ../../bin/escapesrc /home/jordan/.conan/data/icu/73.2/_/_/package/fe6d7166995aa31495896e1d310e0cc0424d3afd//bin make[2]: Leaving directory '/var/home/jordan/.conan/data/icu/73.2/_/_/build/fe6d7166995aa31495896e1d310e0cc0424d3afd/build-debug/tools/escapesrc' make[2]: Entering directory '/var/home/jordan/.conan/data/icu/73.2/_/_/build/fe6d7166995aa31495896e1d310e0cc0424d3afd/build-debug/tools' make[2]: Nothing to be done for 'install-local'. make[2]: Leaving directory '/var/home/jordan/.conan/data/icu/73.2/_/_/build/fe6d7166995aa31495896e1d310e0cc0424d3afd/build-debug/tools' make[1]: Leaving directory '/var/home/jordan/.conan/data/icu/73.2/_/_/build/fe6d7166995aa31495896e1d310e0cc0424d3afd/build-debug/tools' make[0]: Making `install' in `data' make[1]: Entering directory '/var/home/jordan/.conan/data/icu/73.2/_/_/build/fe6d7166995aa31495896e1d310e0cc0424d3afd/build-debug/data' /bin/sh /home/jordan/.conan/data/icu/73.2/_/_/build/fe6d7166995aa31495896e1d310e0cc0424d3afd/src/source/mkinstalldirs /home/jordan/.conan/data/icu/73.2/_/_/package/fe6d7166995aa31495896e1d310e0cc0424d3afd//lib/icu/73.2 LD_LIBRARY_PATH=../stubdata:../tools/ctestfw:../lib:$LD_LIBRARY_PATH ../bin/pkgdata -O ../data/icupkg.inc -q -c -s /var/home/jordan/.conan/data/icu/73.2/_/_/build/fe6d7166995aa31495896e1d310e0cc0424d3afd/build-debug/data/out/build/icudt73l -d ./out -m common -r 73.2 -e icudt73 -T ./out/tmp -s ./out/build/icudt73l -p icudt73l ./out/tmp/icudata.lst -I /home/jordan/.conan/data/icu/73.2/_/_/package/fe6d7166995aa31495896e1d310e0cc0424d3afd//lib/icu/73.2 pkgdata: /usr/bin/install -c ./out/icudt73l.dat /home/jordan/.conan/data/icu/73.2/_/_/package/fe6d7166995aa31495896e1d310e0cc0424d3afd//lib/icu/73.2 make[1]: Leaving directory '/var/home/jordan/.conan/data/icu/73.2/_/_/build/fe6d7166995aa31495896e1d310e0cc0424d3afd/build-debug/data' make[1]: Entering directory '/var/home/jordan/.conan/data/icu/73.2/_/_/build/fe6d7166995aa31495896e1d310e0cc0424d3afd/build-debug' /bin/sh /home/jordan/.conan/data/icu/73.2/_/_/build/fe6d7166995aa31495896e1d310e0cc0424d3afd/src/source/mkinstalldirs /home/jordan/.conan/data/icu/73.2/_/_/package/fe6d7166995aa31495896e1d310e0cc0424d3afd//lib/man/man1 /usr/bin/install -c -m 644 config/icu-config.1 /home/jordan/.conan/data/icu/73.2/_/_/package/fe6d7166995aa31495896e1d310e0cc0424d3afd//lib/man/man1 /usr/bin/install -c -m 644 /home/jordan/.conan/data/icu/73.2/_/_/build/fe6d7166995aa31495896e1d310e0cc0424d3afd/src/source/config/mh-linux /home/jordan/.conan/data/icu/73.2/_/_/package/fe6d7166995aa31495896e1d310e0cc0424d3afd//lib/icu/73.2/config/mh-linux /usr/bin/install -c /home/jordan/.conan/data/icu/73.2/_/_/build/fe6d7166995aa31495896e1d310e0cc0424d3afd/src/source/mkinstalldirs /home/jordan/.conan/data/icu/73.2/_/_/package/fe6d7166995aa31495896e1d310e0cc0424d3afd//lib/icu/73.2/mkinstalldirs /usr/bin/install -c /home/jordan/.conan/data/icu/73.2/_/_/build/fe6d7166995aa31495896e1d310e0cc0424d3afd/src/source/install-sh /home/jordan/.conan/data/icu/73.2/_/_/package/fe6d7166995aa31495896e1d310e0cc0424d3afd//lib/icu/73.2/install-sh /usr/bin/install -c -m 644 ./config/icu-uc.pc ./config/icu-i18n.pc ./config/icu-io.pc /home/jordan/.conan/data/icu/73.2/_/_/package/fe6d7166995aa31495896e1d310e0cc0424d3afd//lib/pkgconfig/ /usr/bin/install -c -m 644 /home/jordan/.conan/data/icu/73.2/_/_/build/fe6d7166995aa31495896e1d310e0cc0424d3afd/src/source/../LICENSE /home/jordan/.conan/data/icu/73.2/_/_/package/fe6d7166995aa31495896e1d310e0cc0424d3afd//lib/icu/73.2/LICENSE /usr/bin/install -c ./config/icu-config /home/jordan/.conan/data/icu/73.2/_/_/package/fe6d7166995aa31495896e1d310e0cc0424d3afd//bin/icu-config /usr/bin/install -c -m 644 ./config/Makefile.inc /home/jordan/.conan/data/icu/73.2/_/_/package/fe6d7166995aa31495896e1d310e0cc0424d3afd//lib/icu/73.2/Makefile.inc /usr/bin/install -c -m 644 ./config/pkgdata.inc /home/jordan/.conan/data/icu/73.2/_/_/package/fe6d7166995aa31495896e1d310e0cc0424d3afd//lib/icu/73.2/pkgdata.inc cd /home/jordan/.conan/data/icu/73.2/_/_/package/fe6d7166995aa31495896e1d310e0cc0424d3afd//lib/icu/73.2/..; \ rm -rf current && ln -s 73.2 current; \ rm -f Makefile.inc && ln -s current/Makefile.inc Makefile.inc; \ rm -f pkgdata.inc && ln -s current/pkgdata.inc pkgdata.inc make[1]: Leaving directory '/var/home/jordan/.conan/data/icu/73.2/_/_/build/fe6d7166995aa31495896e1d310e0cc0424d3afd/build-debug' icu/73.2: Copied 1 '.mk' file: icucross.mk icu/73.2: Copied 1 '.inc' file: icucross.inc [HOOK - conan-center.py] post_package(): [PACKAGE LICENSE (KB-H012)] OK [HOOK - conan-center.py] post_package(): [DEFAULT PACKAGE LAYOUT (KB-H013)] OK [HOOK - conan-center.py] post_package(): [MATCHING CONFIGURATION (KB-H014)] OK [HOOK - conan-center.py] post_package(): [SHARED ARTIFACTS (KB-H015)] OK [HOOK - conan-center.py] post_package(): [STATIC ARTIFACTS (KB-H074)] OK [HOOK - conan-center.py] post_package(): [EITHER STATIC OR SHARED OF EACH LIB (KB-H076)] OK [HOOK - conan-center.py] post_package(): [PC-FILES (KB-H020)] OK [HOOK - conan-center.py] post_package(): [CMAKE-MODULES-CONFIG-FILES (KB-H016)] OK [HOOK - conan-center.py] post_package(): [PDB FILES NOT ALLOWED (KB-H017)] OK [HOOK - conan-center.py] post_package(): [LIBTOOL FILES PRESENCE (KB-H018)] OK [HOOK - conan-center.py] post_package(): [MS RUNTIME FILES (KB-H021)] OK [HOOK - conan-center.py] post_package(): [SHORT_PATHS USAGE (KB-H066)] OK [HOOK - conan-center.py] post_package(): [MISSING SYSTEM LIBS (KB-H043)] OK [HOOK - conan-center.py] post_package(): [APPLE RELOCATABLE SHARED LIBS (KB-H077)] OK icu/73.2 package(): Packaged 18 files icu/73.2 package(): Packaged 6 '.a' files icu/73.2 package(): Packaged 195 '.h' files icu/73.2 package(): Packaged 1 '.dat' file: icudt73l.dat icu/73.2 package(): Packaged 1 '.mk' file: icucross.mk icu/73.2 package(): Packaged 1 '.inc' file: icucross.inc icu/73.2: Package 'fe6d7166995aa31495896e1d310e0cc0424d3afd' created icu/73.2: Created package revision 068baecad14cdbc4bc2a37d8ee26031d [HOOK - conan-center.py] post_package_info(): [CMAKE FILE NOT IN BUILD FOLDERS (KB-H019)] OK [HOOK - conan-center.py] post_package_info(): [LIBRARY DOES NOT EXIST (KB-H054)] OK [HOOK - conan-center.py] post_package_info(): [INCLUDE PATH DOES NOT EXIST (KB-H071)] OK icu/73.2 (test package): Generator 'CMakeDeps' calling 'generate()' icu/73.2 (test package): Generator 'VirtualRunEnv' calling 'generate()' icu/73.2 (test package): Generator 'CMakeToolchain' calling 'generate()' icu/73.2 (test package): Preset 'x86_64-gcc-debug' added to CMakePresets.json. Invoke it manually using 'cmake --preset x86_64-gcc-debug' icu/73.2 (test package): If your CMake version is not compatible with CMakePresets (<3.19) call cmake like: 'cmake -G Ninja -DCMAKE_TOOLCHAIN_FILE=/var/home/jordan/Projects/conan-center-index/recipes/icu/all/test_package/build/x86_64-gcc/Debug/generators/conan_toolchain.cmake -DCMAKE_POLICY_DEFAULT_CMP0091=NEW -DCMAKE_BUILD_TYPE=Debug' icu/73.2 (test package): Generator txt created conanbuildinfo.txt icu/73.2 (test package): Aggregating env generators icu/73.2 (test package): Generated conaninfo.txt icu/73.2 (test package): Generated graphinfo Using lockfile: '/var/home/jordan/Projects/conan-center-index/recipes/icu/all/test_package/build/x86_64-gcc/Debug/generators/conan.lock' Using cached profile from lockfile [HOOK - conan-center.py] pre_build(): [FPIC MANAGEMENT (KB-H007)] 'fPIC' option not found [HOOK - conan-center.py] pre_build(): [FPIC MANAGEMENT (KB-H007)] OK icu/73.2 (test package): Calling build() icu/73.2 (test package): CMake command: cmake -G "Ninja" -DCMAKE_TOOLCHAIN_FILE="/var/home/jordan/Projects/conan-center-index/recipes/icu/all/test_package/build/x86_64-gcc/Debug/generators/conan_toolchain.cmake" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Debug" "/var/home/jordan/Projects/conan-center-index/recipes/icu/all/test_package/." -- Using Conan toolchain: /var/home/jordan/Projects/conan-center-index/recipes/icu/all/test_package/build/x86_64-gcc/Debug/generators/conan_toolchain.cmake -- Conan toolchain: C++ Standard 20 with extensions OFF -- The CXX compiler identification is GNU 13.2.1 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Conan: Component target declared 'ICU::data' -- Conan: Component target declared 'ICU::dt' -- Conan: Component target declared 'ICU::uc' -- Conan: Component target declared 'ICU::i18n' -- Conan: Component target declared 'ICU::in' -- Conan: Component target declared 'ICU::io' -- Conan: Component target declared 'ICU::tu' -- Conan: Component target declared 'ICU::test' -- Conan: Target declared 'icu::icu' -- Configuring done (0.2s) -- Generating done (0.0s) -- Build files have been written to: /var/home/jordan/Projects/conan-center-index/recipes/icu/all/test_package/build/x86_64-gcc/Debug icu/73.2 (test package): CMake command: cmake --build "/var/home/jordan/Projects/conan-center-index/recipes/icu/all/test_package/build/x86_64-gcc/Debug" '--' '-j20' [2/2] Linking CXX executable test_package icu/73.2 (test package): Running test() * demo_utf_h_macros() -------------- *** iterate forward through: a𐀀b { 0061 10000 10ffff 0062 } Codepoint at offset 0: U+0061 Codepoint at offset 1: U+10000 Codepoint at offset 3: U+10ffff Codepoint at offset 5: U+0062 iterate backward through: ab\uDC00b { 0061 0062 dc00 10ffff 0062 } Codepoint at offset 5: U+0062 Codepoint at offset 3: U+10ffff Codepoint at offset 2: U+dc00 Codepoint at offset 1: U+0062 Codepoint at offset 0: U+0061 * demo_C_Unicode_strings() --------- *** should be "Aabc": Aabc { 0041 0061 0062 0063 } should be "AC": AßC { 0041 00df 0043 } * demoCaseMapInC() ----------------- *** input string: aBΣiIıİ ß ffiςσΣ { 0061 0042 03a3 0069 0049 0131 0130 0020 00df 0020 fb03 03c2 03c3 03a3 } simple-uppercased: ABΣIIIİ ß ffiΣΣΣ { 0041 0042 03a3 0049 0049 0049 0130 0020 00df 0020 fb03 03a3 03a3 03a3 } simple-lowercased: abσiiıi ß ffiςσσ { 0061 0062 03c3 0069 0069 0131 0069 0020 00df 0020 fb03 03c2 03c3 03c3 } simple-titlecased: ABΣIIIİ ß ffiΣΣΣ { 0041 0042 03a3 0049 0049 0049 0130 0020 00df 0020 fb03 03a3 03a3 03a3 } simple-case-folded/default: abσiiıİ ß ffiσσσ { 0061 0062 03c3 0069 0069 0131 0130 0020 00df 0020 fb03 03c3 03c3 03c3 } simple-case-folded/Turkic: abσiııi ß ffiσσσ { 0061 0062 03c3 0069 0131 0131 0069 0020 00df 0020 fb03 03c3 03c3 03c3 } input string: aBΣiIıİ ß ffiςσΣ { 0061 0042 03a3 0069 0049 0131 0130 0020 00df 0020 fb03 03c2 03c3 03a3 } full-lowercased/en: abσiiıi̇ ß ffiςσς { 0061 0062 03c3 0069 0069 0131 0069 0307 0020 00df 0020 fb03 03c2 03c3 03c2 } full-lowercased/tr: abσiııi ß ffiςσς { 0061 0062 03c3 0069 0131 0131 0069 0020 00df 0020 fb03 03c2 03c3 03c2 } full-uppercased/en: ABΣIIIİ SS FFIΣΣΣ { 0041 0042 03a3 0049 0049 0049 0130 0020 0053 0053 0020 0046 0046 0049 03a3 03a3 03a3 } full-uppercased/tr: ABΣİIIİ SS FFIΣΣΣ { 0041 0042 03a3 0130 0049 0049 0130 0020 0053 0053 0020 0046 0046 0049 03a3 03a3 03a3 } full-titlecased/en: Abσiiıi̇ Ss Ffiςσς { 0041 0062 03c3 0069 0069 0131 0069 0307 0020 0053 0073 0020 0046 0066 0069 03c2 03c3 03c2 } full-titlecased/tr: Abσiııi Ss Ffiςσς { 0041 0062 03c3 0069 0131 0131 0069 0020 0053 0073 0020 0046 0066 0069 03c2 03c3 03c2 } full-case-folded/default: abσiiıi̇ ss ffiσσσ { 0061 0062 03c3 0069 0069 0131 0069 0307 0020 0073 0073 0020 0066 0066 0069 03c3 03c3 03c3 } full-case-folded/Turkic: abσiııi ss ffiσσσ { 0061 0062 03c3 0069 0131 0131 0069 0020 0073 0073 0020 0066 0066 0069 03c3 03c3 03c3 } * demoCaseMapInCPlusPlus() --------- *** input string: aBΣiIıİ ß ffiςσΣ { 0061 0042 03a3 0069 0049 0131 0130 0020 00df 0020 fb03 03c2 03c3 03a3 } full-lowercased/en: abσiiıi̇ ß ffiςσς { 0061 0062 03c3 0069 0069 0131 0069 0307 0020 00df 0020 fb03 03c2 03c3 03c2 } full-lowercased/tr: abσiııi ß ffiςσς { 0061 0062 03c3 0069 0131 0131 0069 0020 00df 0020 fb03 03c2 03c3 03c2 } full-uppercased/en: ABΣIIIİ SS FFIΣΣΣ { 0041 0042 03a3 0049 0049 0049 0130 0020 0053 0053 0020 0046 0046 0049 03a3 03a3 03a3 } full-uppercased/tr: ABΣİIIİ SS FFIΣΣΣ { 0041 0042 03a3 0130 0049 0049 0130 0020 0053 0053 0020 0046 0046 0049 03a3 03a3 03a3 } full-titlecased/en: Abσiiıi̇ Ss Ffiςσς { 0041 0062 03c3 0069 0069 0131 0069 0307 0020 0053 0073 0020 0046 0066 0069 03c2 03c3 03c2 } full-titlecased/tr: Abσiııi Ss Ffiςσς { 0041 0062 03c3 0069 0131 0131 0069 0020 0053 0073 0020 0046 0066 0069 03c2 03c3 03c2 } full-case-folded/default: abσiiıi̇ ss ffiσσσ { 0061 0062 03c3 0069 0069 0131 0069 0307 0020 0073 0073 0020 0066 0066 0069 03c3 03c3 03c3 } full-case-folded/Turkic: abσiııi ss ffiσσσ { 0061 0062 03c3 0069 0131 0131 0069 0020 0073 0073 0020 0066 0066 0069 03c3 03c3 03c3 } * demoUnicodeStringStorage() ------- *** length of short string copy: 2 length of longer string: 28 length of longer string copy: 28 readonly-alias string: a1€ { 0061 0031 20ac } readonly-aliasing string after modification: a9€ { 0061 0039 20ac } readonly buffer[0] after modifying its string: 0x61 readonly buffer[1] after modifying its string: 0x31 readonly buffer[2] after modifying its string: 0x20ac fastCopyFrom(readonly alias of "writeable" array): b2􀀁 { 0062 0032 dbc0 dc01 } verify that a fastCopyFrom(readonly alias) uses the same buffer pointer: 1 (should be 1) verify that a regular copy of a readonly alias uses a different buffer pointer: 0 (should be 0) writeable-alias string: b2􀀁 { 0062 0032 dbc0 dc01 } writeable-alias backing buffer[0]=0x62 after modification writeable-alias backing buffer[1]=0x39 after modification writeable-alias backing buffer[2]=0xdbc0 after modification writeable-alias backing buffer[3]=0xdc01 after modification writeable-alias backing buffer[0]=0x62 after modification of string copy writeable-alias backing buffer[1]=0x39 after modification of string copy writeable-alias backing buffer[2]=0xdbc0 after modification of string copy writeable-alias backing buffer[3]=0xdc01 after modification of string copy string after growing too much and then shrinking[1]=0x25 backing store for this[1]=0x39 writeable-alias backing buffer[0]=0x62 after re-extract writeable-alias backing buffer[1]=0x25 after re-extract writeable-alias backing buffer[2]=0xdbc0 after re-extract writeable-alias backing buffer[3]=0xdc01 after re-extract * demoUnicodeStringInit() ---------- *** C and C++ Unicode strings are equal: 1 char * -> UChar * -> char * with only invariant characters: "such characters are safe 123 %-." german UnicodeString from unescaping: Schönes Auto: € 11240. Privates Zeichen: 􂍅 { 0053 0063 0068 00f6 006e 0065 0073 0020 0041 0075 0074 006f 003a 0020 20ac 0020 0031 0031 0032 0034 0030 002e 000c 0050 0072 0069 0076 0061 0074 0065 0073 0020 005a 0065 0069 0063 0068 0065 006e 003a 0020 dbc8 df45 000a } german C Unicode string from char * unescaping: (length 44) Schönes Auto: € 11240. Privates Zeichen: 􂍅 { 0053 0063 0068 00f6 006e 0065 0073 0020 0041 0075 0074 006f 003a 0020 20ac 0020 0031 0031 0032 0034 0030 002e 000c 0050 0072 0069 0076 0061 0074 0065 0073 0020 005a 0065 0069 0063 0068 0065 006e 003a 0020 dbc8 df45 000a } ```

Full log: https://pastebin.com/QnaDNqDR

hegyizs commented 11 months ago

You should set the CC and CXX environment variables to gcc and g++ or Add

[conf]
tools.build:compiler_executables={ "c" : "gcc", "cpp": "g++" }

to the relevant conan profile.

jwillikers commented 11 months ago

@hegyizs Thanks, that's how I workaround the issue currently, but the recipe should use /usr/bin/cc by default, and it isn't doing that on systems where /usr/bin/cc -> /usr/bin/gcc.

hegyizs commented 11 months ago

It seems to be a problem with icu, quote from configure.ac:

AC_PROG_CC([clang gcc cc c99 c89 xlc_r xlc cl.exe icc])
# Make sure that we try clang++ first, which provides C++11 support.
# The g++ compiler is less likely to support C++11.
AC_PROG_CXX([clang++ g++ c++ gpp xlC_r xlC aCC CC cxx cc++ cl.exe icc FCC KCC RCC])

The configure.ac file should be patched.

jwillikers commented 11 months ago

@hegyizs Thanks! I've reported the issue upstream in ICU-22556.

paulharris commented 5 months ago

This appears to be fixed in ICU 75.1 (so says the upstream issue)

jwillikers commented 5 months ago

This appears to be fixed in ICU 75.1 (so says the upstream issue)

Nice! Glad to see that's in a release now.