@@This is an auto-filed bug@@ Feel free to change the summary at your convenience. Issue: dev-python/grpcio fails to compile. Discovered on: amd64 NOTE: This machine uses a clang/LLVM toolchain. If you think that this issue is strictly related to clang/LLVM please mention it in the summary and block bug 408963. If you need further logs, feel free to ask.
Created attachment 647186 [details] build.log build log and emerge --info
error: invalid argument '-std=gnu99' not allowed with 'C++' clang is a bit stricter about passing C flags to C++ compiler. gcc just emits warnings. will take a look.
Same error here with gcc-11
And compiles fine with gcc-10.3
Can someone add this to the gcc-11 blocker?
this should be fixed in 1.38.0 already https://github.com/grpc/grpc/commit/05ae3c5a87ba1037bd4c7a94e6b574c8df847065 can someone check please?
actually seems to be still failing.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a275799528a1109e58d7191ead0959a8a570cd7a commit a275799528a1109e58d7191ead0959a8a570cd7a Author: Georgy Yakovlev <gyakovlev@gentoo.org> AuthorDate: 2021-06-15 02:49:59 +0000 Commit: Georgy Yakovlev <gyakovlev@gentoo.org> CommitDate: 2021-06-15 02:50:43 +0000 dev-python/grpcio: don't pass gnu99 to cxx Closes: https://bugs.gentoo.org/730228 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org> .../grpcio/files/1.37.1-cc-flag-test-fix.patch | 26 ++++++++++++++++ dev-python/grpcio/files/1.37.1-cxx-no-gnu99.patch | 35 ++++++++++++++++++++++ dev-python/grpcio/grpcio-1.37.1.ebuild | 5 ++++ dev-python/grpcio/grpcio-1.38.0.ebuild | 2 ++ 4 files changed, 68 insertions(+)