Summary: | dev-python/grpcio fails to compile | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Agostino Sarubbo <ago> |
Component: | Current packages | Assignee: | Georgy Yakovlev <gyakovlev> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | gentoo, ilovekiruna |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://github.com/grpc/grpc/pull/26480 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 732706 | ||
Attachments: | build.log |
Description
Agostino Sarubbo
![]() 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(+) |