-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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] fmt/11.0.2: fmt is broken for Clang 20 with C++20 #26169
Comments
Hi @skhaz thanks a lot for taking the time to report the issue. Could you please provide a complete log of the Conan output with the failure? If there are more packages other than fmt failing, you can instead run something like Note that at first glance, if your logs are correct and you're compiling with Also: The image/conan version are quite old, but as per your compilation logs, you seem to be running Conan 2. Could you please clarify also what Conan version you're using? Thanks! |
Hi @AbrilRBS, thank you so much. I also have reported on fmt repository. FROM debian
WORKDIR /opt/playground
ENV PATH="/opt/playground/.venv/bin:$PATH"
RUN <<EOF
#!/usr/bin/env bash
set -euo pipefail
apt-get update
apt-get upgrade -y
apt-get install -y build-essential cmake python3-full
python3 -m venv .venv
. .venv/bin/activate
pip install conan
conan profile detect --force
conan install --build=* --requires=fmt/11.0.2
EOF Running the docker above, I have no errors... 🧐 The logs #7 30.57 Detected profile:
#7 30.57 WARN: This profile is a guess of your environment, please check it.
#7 30.57 WARN: The output of this command is not guaranteed to be stable and can change in future Conan versions.
#7 30.57 WARN: Use your own profile files for stability.
#7 30.57 Saving detected profile to /root/.conan2/profiles/default
#7 30.57 [settings]
#7 30.57 arch=armv8
#7 30.57 build_type=Release
#7 30.57 compiler=gcc
#7 30.57 compiler.cppstd=gnu17
#7 30.57 compiler.libcxx=libstdc++11
#7 30.57 compiler.version=12
#7 30.57 os=Linux
#7 30.57
#7 30.70
#7 30.70 ======== Input profiles ========
#7 30.70 Profile host:
#7 30.70 [settings]
#7 30.70 arch=armv8
#7 30.70 build_type=Release
#7 30.70 compiler=gcc
#7 30.70 compiler.cppstd=gnu17
#7 30.70 compiler.libcxx=libstdc++11
#7 30.70 compiler.version=12
#7 30.70 os=Linux
#7 30.70
#7 30.70 Profile build:
#7 30.70 [settings]
#7 30.70 arch=armv8
#7 30.70 build_type=Release
#7 30.70 compiler=gcc
#7 30.70 compiler.cppstd=gnu17
#7 30.70 compiler.libcxx=libstdc++11
#7 30.70 compiler.version=12
#7 30.70 os=Linux
#7 30.70
#7 30.72
#7 30.72 ======== Computing dependency graph ========
#7 30.72 fmt/11.0.2: Not found in local cache, looking in remotes...
#7 30.72 fmt/11.0.2: Checking remote: conancenter
#7 31.12 fmt/11.0.2: Downloaded recipe revision 5c7438ef4d5d69ab106a41e460ce11f3
#7 31.13 Graph root
#7 31.13 cli
#7 31.13 Requirements
#7 31.13 fmt/11.0.2#5c7438ef4d5d69ab106a41e460ce11f3 - Downloaded (conancenter)
#7 31.13
#7 31.13 ======== Computing necessary packages ========
#7 31.13 fmt/11.0.2: Forced build from source
#7 31.13 Requirements
#7 31.13 fmt/11.0.2#5c7438ef4d5d69ab106a41e460ce11f3:e7870f00101af9c2b65e2aa90d6e4d035ed07954 - Build
#7 31.14
#7 31.14 ======== Installing packages ========
#7 31.23 fmt/11.0.2: Sources downloaded from 'conancenter'
#7 31.24 fmt/11.0.2: Calling source() in /root/.conan2/p/fmt3ed879d141df2/s/src
#7 32.14 fmt/11.0.2: Unzipping fmt-11.0.2.zip to .
#7 32.14 fmt/11.0.2: Unzipping 5.7MB, this can take a while
#7 32.17
#7 32.17
#7 32.17 -------- Installing package fmt/11.0.2 (1 of 1) --------
#7 32.17 fmt/11.0.2: Building from source
#7 32.17 fmt/11.0.2: Package fmt/11.0.2:e7870f00101af9c2b65e2aa90d6e4d035ed07954
#7 32.17 fmt/11.0.2: Copying sources to build folder
#7 32.18 fmt/11.0.2: Building your package in /root/.conan2/p/b/fmtd330cd854bd6c/b
#7 32.18 fmt/11.0.2: Calling generate()
#7 32.18 fmt/11.0.2: Generators folder: /root/.conan2/p/b/fmtd330cd854bd6c/b/build/Release/generators
#7 32.20 fmt/11.0.2: CMakeToolchain generated: conan_toolchain.cmake
#7 32.20 fmt/11.0.2: CMakeToolchain generated: /root/.conan2/p/b/fmtd330cd854bd6c/b/build/Release/generators/CMakePresets.json
#7 32.20 fmt/11.0.2: CMakeToolchain generated: /root/.conan2/p/b/fmtd330cd854bd6c/b/src/CMakeUserPresets.json
#7 32.20 fmt/11.0.2: Generating aggregated env files
#7 32.20 fmt/11.0.2: Generated aggregated env files: ['conanbuild.sh', 'conanrun.sh']
#7 32.20 fmt/11.0.2: Calling build()
#7 32.20 fmt/11.0.2: apply_conandata_patches(): No patches defined in conandata
#7 32.20 fmt/11.0.2: Running CMake.configure()
#7 32.20 fmt/11.0.2: RUN: cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="/root/.conan2/p/b/fmtd330cd854bd6c/p" -DFMT_DOC="OFF" -DFMT_TEST="OFF" -DFMT_INSTALL="ON" -DFMT_LIB_DIR="lib" -DFMT_OS="ON" -DFMT_UNICODE="ON" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Release" "/root/.conan2/p/b/fmtd330cd854bd6c/b/src"
#7 32.20 -- CMake version: 3.25.1
#7 32.21 -- Using Conan toolchain: /root/.conan2/p/b/fmtd330cd854bd6c/b/build/Release/generators/conan_toolchain.cmake
#7 32.21 -- Conan toolchain: Setting CMAKE_POSITION_INDEPENDENT_CODE=ON (options.fPIC)
#7 32.21 -- Conan toolchain: C++ Standard 17 with extensions ON
#7 32.21 -- Conan toolchain: Setting BUILD_SHARED_LIBS = OFF
#7 32.23 -- The CXX compiler identification is GNU 12.2.0
#7 32.24 -- Detecting CXX compiler ABI info
#7 32.28 -- Detecting CXX compiler ABI info - done
#7 32.28 -- Check for working CXX compiler: /usr/bin/c++ - skipped
#7 32.28 -- Detecting CXX compile features
#7 32.28 -- Detecting CXX compile features - done
#7 32.28 -- {fmt} version: 11.0.2
#7 32.28 -- Build type: Release
#7 32.29 -- Configuring done
#7 32.29 -- Generating done
#7 32.29 -- Build files have been written to: /root/.conan2/p/b/fmtd330cd854bd6c/b/build/Release
#7 32.29
#7 32.29 fmt/11.0.2: Running CMake.build()
#7 32.29 fmt/11.0.2: RUN: cmake --build "/root/.conan2/p/b/fmtd330cd854bd6c/b/build/Release" -- -j8
#7 32.31 [ 66%] Building CXX object CMakeFiles/fmt.dir/src/os.cc.o
#7 32.31 [ 33%] Building CXX object CMakeFiles/fmt.dir/src/format.cc.o
#7 34.57 [100%] Linking CXX static library libfmt.a
#7 34.58 [100%] Built target fmt
#7 34.59
#7 34.59 fmt/11.0.2: Package 'e7870f00101af9c2b65e2aa90d6e4d035ed07954' built
#7 34.59 fmt/11.0.2: Build folder /root/.conan2/p/b/fmtd330cd854bd6c/b/build/Release
#7 34.59 fmt/11.0.2: Generating the package
#7 34.59 fmt/11.0.2: Packaging in folder /root/.conan2/p/b/fmtd330cd854bd6c/p
#7 34.59 fmt/11.0.2: Calling package()
#7 34.59 fmt/11.0.2: Running CMake.install()
#7 34.59 fmt/11.0.2: RUN: cmake --install "/root/.conan2/p/b/fmtd330cd854bd6c/b/build/Release" --prefix "/root/.conan2/p/b/fmtd330cd854bd6c/p"
#7 34.59 -- Install configuration: "Release"
#7 34.59 -- Installing: /root/.conan2/p/b/fmtd330cd854bd6c/p/lib/libfmt.a
#7 34.59 -- Installing: /root/.conan2/p/b/fmtd330cd854bd6c/p/include/fmt/args.h
#7 34.59 -- Installing: /root/.conan2/p/b/fmtd330cd854bd6c/p/include/fmt/base.h
#7 34.59 -- Installing: /root/.conan2/p/b/fmtd330cd854bd6c/p/include/fmt/chrono.h
#7 34.59 -- Installing: /root/.conan2/p/b/fmtd330cd854bd6c/p/include/fmt/color.h
#7 34.59 -- Installing: /root/.conan2/p/b/fmtd330cd854bd6c/p/include/fmt/compile.h
#7 34.59 -- Installing: /root/.conan2/p/b/fmtd330cd854bd6c/p/include/fmt/core.h
#7 34.59 -- Installing: /root/.conan2/p/b/fmtd330cd854bd6c/p/include/fmt/format.h
#7 34.59 -- Installing: /root/.conan2/p/b/fmtd330cd854bd6c/p/include/fmt/format-inl.h
#7 34.59 -- Installing: /root/.conan2/p/b/fmtd330cd854bd6c/p/include/fmt/os.h
#7 34.59 -- Installing: /root/.conan2/p/b/fmtd330cd854bd6c/p/include/fmt/ostream.h
#7 34.59 -- Installing: /root/.conan2/p/b/fmtd330cd854bd6c/p/include/fmt/printf.h
#7 34.59 -- Installing: /root/.conan2/p/b/fmtd330cd854bd6c/p/include/fmt/ranges.h
#7 34.60 -- Installing: /root/.conan2/p/b/fmtd330cd854bd6c/p/include/fmt/std.h
#7 34.60 -- Installing: /root/.conan2/p/b/fmtd330cd854bd6c/p/include/fmt/xchar.h
#7 34.60 -- Installing: /root/.conan2/p/b/fmtd330cd854bd6c/p/lib/cmake/fmt/fmt-config.cmake
#7 34.60 -- Installing: /root/.conan2/p/b/fmtd330cd854bd6c/p/lib/cmake/fmt/fmt-config-version.cmake
#7 34.60 -- Installing: /root/.conan2/p/b/fmtd330cd854bd6c/p/lib/cmake/fmt/fmt-targets.cmake
#7 34.60 -- Installing: /root/.conan2/p/b/fmtd330cd854bd6c/p/lib/cmake/fmt/fmt-targets-release.cmake
#7 34.60 -- Installing: /root/.conan2/p/b/fmtd330cd854bd6c/p/lib/pkgconfig/fmt.pc
#7 34.60
#7 34.60 fmt/11.0.2: package(): Packaged 1 file: LICENSE
#7 34.60 fmt/11.0.2: package(): Packaged 1 '.a' file: libfmt.a
#7 34.60 fmt/11.0.2: package(): Packaged 14 '.h' files
#7 34.60 fmt/11.0.2: Created package revision b311c6426f9e6a80ff3c0302918a38b4
#7 34.60 fmt/11.0.2: Package 'e7870f00101af9c2b65e2aa90d6e4d035ed07954' created
#7 34.60 fmt/11.0.2: Full package reference: fmt/11.0.2#5c7438ef4d5d69ab106a41e460ce11f3:e7870f00101af9c2b65e2aa90d6e4d035ed07954#b311c6426f9e6a80ff3c0302918a38b4
#7 34.76 fmt/11.0.2: Package folder /root/.conan2/p/b/fmtd330cd854bd6c/p
#7 34.76 WARN: deprecated: Usage of deprecated Conan 1.X features that will be removed in Conan 2.X:
#7 34.76 WARN: deprecated: 'cpp_info.names' used in: fmt/11.0.2
#7 34.76
#7 34.76 ======== Finalizing install (deploy, generators) ========
#7 34.76 cli: Generating aggregated env files
#7 34.76 cli: Generated aggregated env files: ['conanbuild.sh', 'conanrun.sh']
#7 34.76 Install finished successfully
#7 DONE 35.3s
#8 exporting to image
#8 exporting layers
#8 exporting layers 1.7s done
#8 writing image sha256:e58d0f227a51d992e43ae2db5e3f393498dc748bd0ca16ddadf7abae635ca086 done
#8 naming to docker.io/library/carimbo done
#8 DONE 1.7s |
Description
Package and Environment Details
Conan profile
include(default)
[settings]
arch=wasm
os=Emscripten
[tool_requires]
*: emsdk/3.1.72
Steps to reproduce
N/A
Logs
N/A
The text was updated successfully, but these errors were encountered: