Skip to content
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] zstd/1.5.6: unknown warning option #23969

Closed
Nekto89 opened this issue May 13, 2024 · 3 comments · Fixed by #23972
Closed

[package] zstd/1.5.6: unknown warning option #23969

Nekto89 opened this issue May 13, 2024 · 3 comments · Fixed by #23972
Assignees
Labels
bug Something isn't working

Comments

@Nekto89
Copy link
Contributor

Nekto89 commented May 13, 2024

Description

zstd recipe injects compile option that isn't supported by compiler.

Package and Environment Details

  • Package Name/Version: zstd/1.5.6
  • Operating System+version: Linux Debian Bullseye 11.9
  • Compiler+version: clang 11
  • Docker image: -
  • Conan version: conan 2.3.0
  • Python version: Python 3.9.2

Conan profile

[settings]
arch=x86_64
os=Linux
compiler=clang
compiler.version=11
compiler.cppstd=17
compiler.libcxx=libstdc++11
build_type=Release
[conf]
tools.cmake.cmaketoolchain:generator=Ninja
tools.build:compiler_executables={"c":"/usr/local/bin/cc","cpp":"/usr/local/bin/c++"}

Steps to reproduce

conan install -pr:b default -pr:h default --build=missing conanfile.py

Logs

There is the same warning for each *.c

Click to expand log
[1/64] Building C object lib/CMakeFiles/libzstd_static.dir/mnt/ccache/.conan2/p/b/zstd963d8984462ca/b/src/lib/common/debug.c.o
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option]
1 warning generated.
@Nekto89 Nekto89 added the bug Something isn't working label May 13, 2024
@uilianries uilianries added question Further information is requested and removed bug Something isn't working labels May 13, 2024
@uilianries uilianries self-assigned this May 13, 2024
@uilianries uilianries added the Feedback please! Waiting for user response label May 13, 2024
@uilianries
Copy link
Member

@Nekto89 Hello! Conan avoids touching the compiler configuration provided by upstream. The error you see is related to the upstream project, not the package. I would suggest ask the the upstream about that warning.

Doing a quick search, I found is a "bug" in LLVM: https://bugs.llvm.org/show_bug.cgi?id=24979

@Nekto89
Copy link
Contributor Author

Nekto89 commented May 13, 2024

@Nekto89 Hello! Conan avoids touching the compiler configuration provided by upstream. The error you see is related to the upstream project, not the package. I would suggest ask the the upstream about that warning.

Doing a quick search, I found is a "bug" in LLVM: https://bugs.llvm.org/show_bug.cgi?id=24979

https://github.com/conan-io/conan-center-index/blob/e6836d3f7920e92efdcc6d3db46c35fdedc4916a/recipes/zstd/all/conanfile.py#L59C13-L59C71

@uilianries
Copy link
Member

e6836d3/recipes/zstd/all/conanfile.py#L59C13-L59C71

Ops! I'll take a look for a hotfix.

@uilianries uilianries added bug Something isn't working and removed question Further information is requested Feedback please! Waiting for user response labels May 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants